You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Carry publication runs pre-push validation in the wrong checkout #578
Ordinary carry bootstrap and carry revision publication can run the pre-push hook in a different checkout from the candidate named by the publication guard.
With --push-tags --no-smoke, the guard compares the candidate to the automation worktree HEAD, while git push runs from the source checkout. The pre-push hook therefore observes the source HEAD instead of the candidate it is meant to validate.
Focused existing Git fixtures reproduce both paths by recording the hook HEAD and comparing it with the retained candidate. Both fail on the current implementation because the identities differ.
Run the tag push from the corresponding candidate checkout so the hook and guard refer to the same commit. Preserve hook rejection, retained recovery, immutable tag/source refs, and the existing full-validation and promotion safeguards.
Related modernization work: #577. This finding came from a review-policy evaluation; it is an additional defect outside that evaluation's frozen scoring denominator.
Activity