docs: verify the runtime core docs against main (#3522) #6054
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 329 lines diff across 4 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.347
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6054"
general
weight: 0.35
ggbdpq
Summary
Second verification pass over the Runtime-core slice of #3522: both
runtime-core-architecture-draftdocuments (en + synced zh-CN), read line-by-line against currentmain. First pass was #3523 — the oldest verified group in the issue (2026-08-23) — and the runtime area has moved a lot since (read-model, compaction, bots, preview work), so drift was plausible. None found.| Claim | Verified against |
| --- | --- |
|
SessionManager.sendMessage()delegates toRuntimeKernel.startTurn()|session-manager.ts:2299||
respondToSandboxBoundary()/respondToUserQuestion()/stopSession()on the kernel |runtime-kernel.ts:2168,185,1936||
AgentRun.begin()durably writes the initial user RuntimeEvent before backend dispatch |agent-run.ts:974, called fromruntime-kernel.ts:1392|| Legacy
permission_request/permission_answer_ack/permission_closure_ack/permission_decision_ackvocabulary dropped before mapping/persistence |session-event-runtime-mapper.ts:175-192(isLegacyPermissionSessionEventguard at the kernel's ingress boundary) || Log ordering:
UNIQUE (invocation_id, event_seq)onruntime_events|packages/storage/src/sqlite-runtime-schema.ts:62||
missing_terminal_eventconvergence for a stream that ends without a terminal fact |agent-run.ts:1373||
safe_boundary_continuationas the separate verified-boundary resume path |session-manager.ts||
waiting_for_userprojection while parked |agent-run.ts:1570,conversation-copy.ts:111|| Code map: 10 source paths | all exist (
session-manager,runtime-kernel,agent-run,session-event-runtime-mapper,ai-sdk-backend,model-adapter,tool-runtime,core/runtime-event,core/agent-run,storage/agent-run-store) || Test entry points: 4 paths | all exist |
| Tracking links | #615 open; #4311 and #3909 closed (superseded by shipped work — links remain accurate as history) |
last_verifiedand the in-body currency date refresh to 2026-10-10 in both language editions.Verification
grepagainst source, not dist).npm run check:asf-headers: green.AI use
Generated with an AI coding assistant (ZCode / GLM-5.3-Flash) under human direction; every table row was checked against the repository by the assistant and verified by me.
Checklist
translation_status: syncedpreserved)Refs #3522