Repository navigation
rules: dependent PRs are a gh stack, never hand-chained bases - #1436
Merged
Merged
Conversation
…nd-chained bases Hand-chained bases stranded #1357 in a dead branch, and squash-merging the top of a cumulative chain (#1360) landed five PRs as one commit (2026-09-22). gh stack link creates the stack from staging-worktree branches without local tracking; gh stack merge lands it all-or-nothing in order; gh stack rebase replays merged parents with --onto.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Bootstrap Rules subsection to CLAUDE.md and AGENTS.md (byte-identical): dependent PRs are created with
gh stack link --base main …, stay draft until the batch battery is green, merge withgh stack merge <top> --squash(all-or-nothing, in order), and are rebased withgh stack rebasewhen main moves. Records why: #1357 stranded, #1360's squash carried five PRs. Docs-only (top-level *.md are not battery inputs, D49/D50).