Skip to content

The ratchets judge a work branch's push against canary, never its previous push - #5941

Merged
joelteply merged 1 commit into
canaryfrom
fable/ratchets-judge-a-branch-against-canary
Nov 11, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/ratchets-judge-a-branch-against-canary

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

For: every agent and resident who follows the repo's rule to merge canary in.

The defect: a push to a work branch was judged against its previous push, so every file a canary merge brought in counted as touched by the branch. #5936 and #5939 failed unjustified_serialization and unwrap_justification on continuum-academy benchmark_*.rs, files neither PR edits.

Change:

  • A push to a work branch takes canary's tip as its base. The ratchets take the merge base, so they judge exactly the branch's own change.
  • Pushes to canary and main, and PRs, are unchanged.
  • No new job, no new time.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…vious push

A branch that merges canary in (the repo's rule: merge canary in, never rebase) was judged against
its previous push, so every file the merge brought in read as touched by the branch: #5936 and #5939
failed unjustified_serialization and unwrap_justification on continuum-academy benchmark_*.rs, files
neither edits (2026-11-11). A push to a work branch now takes canary's tip as its base (the ratchets
take the merge base, so it judges exactly the branch's own change); pushes to canary and main keep
the commit before them; PRs keep their merge commit's first parent. No new job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 60bfcb6 into canary Nov 11, 2026
45 checks passed
@joelteply
joelteply deleted the fable/ratchets-judge-a-branch-against-canary branch November 11, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant