feat(reliability): measure observer overhead with a synthetic DSH session #6840
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.50) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 614 lines diff across 7 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.384
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6840"
general
weight: 0.35
JasonBuildAI
Goal And Delivered Outcome
real_entrypointvalidation row.mainatdc9fdbb5186618ec2e797a9d7545e2fe524fee56.Author Declaration
Implemented against
| Criterion (spec clause) | Disposition | Symbol / path | Test or command |
| --- | --- | --- | --- |
| Deterministic synthetic DSH event stream | implemented |
bench/overhead-runner.ts|vitest run tests/observer-overhead.spec.ts|| Observer off/on arms with full denominators | implemented |
bench/overhead-runner.ts,bench/overhead-report.ts| same test; CLI run || CPU, RSS, append latency, bytes, event loss, clock uncertainty | implemented |
bench/overhead-report.ts| same test; CLI run || Public-safe report without IDs or paths | implemented |
renderMarkdown, report tests | test asserts fixture IDs absent || No default change and no C1/P0 exit claim | implemented | capability README, report limits | review;
manual: not_run|Scope And Continuation
18b08550f(surface lossy trials and measure the shipped ledger writer) and2f87039a5(a trial whose planned record and envelope-kind mix is not consumed is excluded, and the report is markedNOT USABLE).Validation
2f87039a527b0f769195b40a0679c2a687b6edcf(current head; the initial slice was submitted at0ec1e4143).| Check kind | Result | Public-safe evidence / limitation |
| --- | --- | --- |
|
static| passed |tschost/client/tests project checks exit 0;node scripts/build.mjs;docs-governance-smoke.py;git show --check;loopx checkboundary scan clean (6 files) ||
unit| passed |vitest run tests/observer-overhead.spec.ts→ 11 passed (includes a trial marked unusable when a planned kind is not consumed) ||
real_entrypoint| passed |bench:observer --events 5000 --repeat 3wrote JSON + Markdown with schemareliability_observer_overhead_report_v0;usable, planned-record and envelope-kind mix passed, 5,000 envelopes persisted, 0 dropped ||
integration| passed |pytest tests/capabilities/test_reliability_diagnostics.py tests/capabilities/test_reliability_diagnostics_dsh_provider.py -q→ 117 passed ||
regression_parity| not_run | Additive tool; no runtime, default, or projection behavior changed ||
manual| not_run | No live DSH host, model, or C1 run is claimed |loopx canary premerge --from-git-diffattempt hit environment-level failures (local pnpm 9 cannot parse the pnpm-10 workspace config; Windows install/path smokes); no failure points to this diff.Frontend / Visual Evidence
UI impact: none. This adds a developer bench and bilingual capability documentation; no first-screen or user-facing surface changed.
Boundary Checklist