Settle fast-forwards the pruned planning store cannot #137
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.47) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 488 lines diff across 6 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.370
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #137"
general
weight: 0.35
pjbgf
Why
The planning fetch names every target ref as a
have, so a branch tip the target already holds under another ref is pruned from the pack.ReachesCommitthen aborted the whole sync:A NixOS/nixpkgs mirror hits this whenever
nixos-unstableadvances to a commitmasteralready delivered, i.e. routinely. No flag avoids it: the error fires before the force path.What
CheckAncestryreturns reachable / unreachable / indeterminate instead of crashing on a pruned start commit. On its own that still blocks the ref.PlanConfig.ResolveAncestry: an indeterminate check is settled by onetree:0commit-graph fetch of the tip with only that ref's own target hash ashave(the sameFetchCommitParentsbootstrap uses).AncestryFromParentsanswers from the result, so a real fast-forward updates and a rewind blocks asnot an ancestor. The extra round trip happens only for refs the pruned store cannot settle. A source that cannot serve it (v1, no filter) keeps #79's block, with the failure in the reason.Verification
TestAncestryFromParents,TestPlanRefResolvesIndeterminateAncestry(resolver answers, resolver failure keeps the block, settled checks never call it), plus #79's tests.TestRun_IntegrationFastForwardsTipTheTargetHoldsreproduces the nixpkgs shape against the in-process v2 server (which prunes withrevlist.Objects): seedmaster+trailing, advancetrailingto a commitmasteralready delivered → 1 push, 0 blocks, target ref moved; then rewind it → blocked asnot an ancestor, target untouched.Closes #79.
🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->