docs(architecture): verify the recovery and resume docs against main (#3522) #6038
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.45) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 444 lines diff across 5 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.365
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6038"
general
weight: 0.35
Astro-Han
Summary
The Recovery and resume group of the #3522 docs-verification campaign: all six documents were checked claim-by-claim against
main, and the stale ones are corrected (7 files, +111/−92).What the verification found and fixed:
events.lengthhigh-water, the in-process claim, and acontinuationSourceheader as current, with PR B as future. The reality isruntime_continuation_claims,continuation_start_v2+replayManifestDigest, andAgentRunLineage;continuationSourcesurvives only in the legacy run-header decoder. The PR ladder diagram and the follow-up-gaps list now reflect merged vs future status.FileRuntimeEventStore), and the extraction ledger (§8.3) all described the JSONL era as current. They now describe the SQLite tool journal and SQLite AgentRun projection (core_agent_runs/core_agent_run_projections), with the remaining open item stated precisely (cross-host exactly-once needs owner lease/fencing).packages/runtime-host/src/protocol/index.ts); a dead desktop path in the code-reading map (use-shell-resume.tsmoved underfeatures/conversation/controller/); a Chinese-only sentence claiming an added system reminder afteroutcome_unknown(the system prompt stays byte-stable,model-history.ts); the ADR'sToolJournalStateunion missedabandoned/interrupted_unknown; the ADR'sactions.stateDelta.replaySourceswas replaced at implementation time byreplayManifestDigest+ the claim boundary cursor (noted as a dated implementation note rather than rewriting the accepted decision); the ledger's historical tables carry a dated erratum (continuation_source_v2now legacy-only, renamed test file, fixtures path).agent-graph-supervisor-wake.ts, so the EN text gained the supervisor wake instead of deleting it from ZH.last_verifiedrefreshed to 2026-10-10 in both main docs and added to phase0/phase1, which had none.Known remaining drift (not in this PR)
Two cosmetic ZH-side extra passages (a Phase 0 aside ~:394 and a CLI streaming bullet ~:823) are plausibly true and not verified false; resyncing them needs a separate look, so they are left untouched rather than blindly deleted.
Verification
RUNTIME_RESUME_FAILPOINTS,RecoveryResolver, and the crash-harness coverage claims all verified clean and are unchanged.Refs #3522
AI use
Select exactly one:
Tool(s) and scope: ZCode (GLM). Ran the doc-vs-code verification pass and drafted the corrections; the human contributor reviewed the findings, ran the pass in their environment, and owns the result. Commits carry
Generated-by: ZCode.