Bump go-git and go-billy to v6.0.0-beta.1 #139
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 373 lines diff across 4 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.354
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #139"
general
weight: 0.35
pjbgf
Summary
github.com/go-git/go-git/v6andgithub.com/go-git/go-billy/v6from alpha tov6.0.0-beta.1.testifytov1.12.1and the indirect dependencies:golang.org/x/netv0.62.0,golang.org/x/syncv0.24.0,ProtonMail/go-cryptov1.5.2,cloudflare/circlv1.6.5,pjbgf/sha1cdv0.7.0,Microsoft/go-winiov0.6.4,spf13/pflagv1.0.10.go mod tidydrops a few indirect entries that are no longer needed.1.27.3, which is the current release.Behavior change: refs starting with a dash are now mirrored
go-git beta.1 removed the leading-dash rule from
ReferenceName.Validate. Git applies that rule only when a branch or tag is created (check_branch_ref/check_tag_ref), not incheck_refname_format, andgit fetchandgit clonereplicaterefs/heads/-foowithout complaint.PartitionRefNamesand--mapvalidation both defer toValidate, so such refs are now mirrored instead of skipped.The rejection was never a deliberate git-sync choice. 0f6a015e adopted
Validateto block path traversal and NUL injection, and the dash rule came along with it. That commit's stated goal was to match git and skip nothing git accepts, which this restores. No ref name reaches a command line in a position where a leading dash would be read as an option. The only place one is passed to a subprocess isgit tag -s converted/<short> refs/heads/<short>insha256convert.The test case moves from
TestPartitionRefNamesRejectsDangerousNamestoTestPartitionRefNamesKeepsLegitimateNames, and the doc comment onPartitionRefNamesis updated to match.Test plan
go test -race ./...golangci-lint run ./...(0 issues)🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->