pass: Keep actionable approvals through needs-you fitting #723
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.45) × (1 − Review Confidence (0.35)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 424 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 66% · 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.362
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #723"
general
weight: 0.35
github-actions[bot]
When the needs-you publication is over 60,000 characters, fitting dropped cards from the bottom of the ranking. A
pr.operatorPathsapproval wait has no Priority and is the newest, so it was the first card dropped. Review then showed it as an Inspect placeholder instead of an approval it could act on (#722, the producer half of review#251). Now the lowest-ranked card that is not an actionable approval goes first. A card counts as an actionable approval only when its own descriptor offers a supportedreview-at-headat the card's full head. Approval cards go only once nothing else is left, and the remaining cards keep their Priority-then-age order. Canonical totals and identities don't change. Evicted cards are counted indetails_omittedas before.The new re-publication test found a churn bug that predates this change. A review wait whose card was dropped published no head, so the next pass restarted its age. That changed its identity and moved
changed_aton every pass. Such a wait now keeps the age its identity published. The cost is that it keeps that age even if its head moves while it has no card (documented in docs/pass.md).Reproduced and fixed with a derived 174-decision board, now the shared fixture
fixtures/needs-you-approval-fit-174.json. It has the operator-path approval ranked 174th, two groups with 30 members in all, and large holds and descriptors. With the old cut order every approval card was dropped; with the old age handling the next pass movedchanged_at. Both tests now pass. A second test covers approvals that don't fit even on their own: the highest-ranked keep their cards, the rest are counted, and the body stays within 60,000 characters with no rewrite on the next pass. A descriptor with no supported review action, or with no head, protects nothing.Remaining limit: each card costs about 3,000 characters with its descriptor and source record. About 1,000 of those are fixed action and resolution text, so on this board only five cards fit. Sharing that text between descriptors needs a new contract with review, which this change doesn't add. I haven't run review's parser on the fixture; that has to happen in review.
Verified:
just fmt,just check(exit 0) and the three offline CLI commands from AGENTS.md (exit 0). One review pass found no blockers. Open follow-ups from it: the exact-match fixture has no regeneration command; there is no negative test for a carried approval; and the age kept across a head change, described above.Generated-by: https://github.com/cgwalters/#llms
Closes #722
<!-- agentic-job-applied: 42153811256/0/ac3f7e4ec4adad21 -->
<!-- gh-aw-workflow-id: agentic-job -->
<!-- gh-aw-agentic-workflow: dispatch, id: 42153811256, workflow_id: agentic-job, run: https://github.com/cgwalters-forge/tracker/actions/runs/42153811256 -->
<!-- gh-aw-execution: {"version":1,"repo_id":"1389152030","repository":"cgwalters\u002dforge/tracker","aw_workflow_id":"agentic\u002djob","run_id":"42153811256","run_attempt":"1","run_url":"https://github.com/cgwalters\u002dforge/tracker/actions/runs/42153811256","publishing_job":{"key":"apply","check_run_id":"127694514608"}} -->