Make the decision logs append-only, and fail CI on an edited or removed row #74
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 199 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.317
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #74"
general
weight: 0.35
gjermundgaraba
#73 has merged, and this now targets main. The check passes against main, since #73's row edits are part of main's history and before the freeze.
Why a check and not only a rule. Lines of
docs/design/.tsvhave been removed or rewritten 224 times in their history. Nobody was being careless: each edit made a row say something about current code, the next refactor's diff never showed the rows citing it, and they went stale unseen. Three review rounds of #73 found such rows wrong.What changes
control-plane.mdsays the rows of both logs are never edited: a later row supersedes an earlier one by naming its timestamp, and each row is true as of its own timestamp, so a path or name it cites may since have moved. It also says CI enforces this..github/append-only-logs.sh <base>fails ifgit diff -U0 --no-renames <merge-base> HEAD -- docs/design/.tsvhas any removed line. Thecheckjob runs it first: on a pull request againstorigin/<base branch>, on a push to main againstgithub.event.before(so a push of several commits is checked whole), andHEAD^for a manual run. Checkout now usesfetch-depth: 0so both refs exist.Watched failing, locally, in both forms (against the PR base, and against
HEAD^), each on a throwaway commit:passes→passes!): fails, since a changed line reads as a removal plus an addition;--no-renames);CI on this PR is the run against the real base.