relay: leave unchanged independent-history tips out of the haves #138
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 447 lines diff across 5 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.365
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #138"
general
weight: 0.35
pjbgf
A relay fetch offers the source every target tip as a have. For refs that each carry their own history, such as one orphan history per session checkpoint, those tips cannot shorten the pack the run needs. A repository with about 4,000 checkpoint refs sends about 4,000 have lines on a run that moved one branch, and the count grows by one per checkpoint.
This adds
RefScope.IndependentHistoryRefPrefixes: literal prefixes of target ref names, such asrefs/entire/checkpoints/. Under those prefixes, a target ref is offered as a have only when the run updates it, as its own old value. Every other target tip is offered as before. Which refs are synced or pruned does not change, and with the option empty the behaviour is identical to today.Where it applies:
Why it's safe: in a sample of 21 checkpoint refs from a real checkpoint repository, each had 1–3 commits and its own root, and none shared an object with another. So leaving their unchanged tips out cannot make a pack larger by more than a few small identical objects.
Tests:
planner.FetchHavesand for prefix validation.go test -race ./..., the git-http-backend suite andmise run lintpass.Trail: https://entire.com/gh/entireio/-/trails/2748
🤖 Generated with Claude Code
<!-- entire-shadow-pr -->
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->