test(runtime-host): pin the settlement coverage window to the usage window #6023
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.35) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 171 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.308
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6023"
general
weight: 0.35
Astro-Han
Summary
Follow-up to #5890 (merged). The review's non-blocking suggestion: the runner passes the same startedAt/settledAt window to the settlement-completeness check and to the usage summary, and nothing asserted it — a later edit could quietly separate the two and re-open the delegated-Session undercount that window scoping closed.
The coverage stub now records its calls, and the residencies test asserts it received exactly the window the usage summary read (
100, 200with the harness clock). Swapping the runner's arguments turns the assertion red.Verification
| Check | Result |
| --- | --- |
| Mutation: swap coverage args in the runner | assertion red (1 fail, target test) |
| Restored head:
hosted-execution-runnersuite | 9/9 pass ||
npx biome checkon the touched file | clean ||
npm run check:asf-headers| pass |Not run: the full workspace suite (test-only change, single suite covers the seam).
AI use
Tool(s) and scope: GLM-5.3-Flash (ZCode) authored the assertion and this description; all verification ran locally with outputs reported above.
Generated-bytrailer on the commit.Checklist
Does this PR entail a change in behavior?