[Docs] Require cold-load timing for in-process backends #51
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 217 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.322
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #51"
general
weight: 0.35
hsliuustc0106
Why
The backend checklist does not ask contributors to measure cold model loading. Issue #29 describes how throwaway weight initialization previously dominated Laya's startup time.
Addresses #29. The Julia-1 load measurement remains part of #25; this PR adds the contributor guidance, not that measurement.
How
Add step 5 to "Adding a backend" in
docs/decision-models.md. It asks for a fresh-processfrom_env()measurement, separate from warm inference and episode timing, and profiling for loads above 5 seconds.Skipping random weight initialization is allowed only when a checkpoint replaces every weight and loading fails on missing keys. Prefer fixing the loader in its model package. HTTP-served backends are outside this step's scope.
What
Verification
git diff --check: passed.mainate7b7d2bcfb066a912e2e6bd935f1d6608f0fde1b: 8 added documentation lines, 0 authored-code lines.Demo / evidence
N/A for an agent-run video: documentation-only change. Verification is the rendered five-step checklist; no agent behavior or performance result is claimed.