Repository navigation
Conversation
Adds .claude/rules/parallel-agents.md and points CLAUDE.md at it as binding on any change bigger than a single-file edit. The rule separates two problems that are easy to conflate: worktrees give isolation, and isolation does nothing for coordination. Layer 2 (decomposition by domain boundary, the single-writer file list, freezing contracts before fanning out) and Layer 3 (sequential rebase-and-merge, the green gate, never letting an agent auto-resolve another agent's conflict) are where the expensive failures actually happen. This session produced the evidence for it. Two efforts independently claimed net.acumenus.nightingale — one renaming the patient app in place, one building a new foundation tree. Both were internally correct, neither could see the other, and the merge reported zero conflicts while producing two applications competing for one App Store record. It was caught by reading diffs by hand, after one had already shipped to TestFlight. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
sudoshi
enabled auto-merge (squash)
July 28, 2026 00:50
This branch has not been deployed
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
.claude/rules/parallel-agents.mdand points CLAUDE.md at it as binding onany change bigger than a single-file edit.
The rule separates two problems that are easy to conflate: worktrees give
isolation, and isolation does nothing for coordination. Layer 2 (decomposition
by domain boundary, the single-writer file list, freezing contracts before
fanning out) and Layer 3 (sequential rebase-and-merge, the green gate, never
letting an agent auto-resolve another agent's conflict) are where the expensive
failures actually happen.
This session produced the evidence. Two efforts independently claimed
net.acumenus.nightingale— #101 renaming the patient app in place, #92building a new foundation tree. Both were internally correct, neither could see
the other, and
git merge-treereported zero conflicts while producing twoapplications competing for one App Store record. It was caught by reading diffs
by hand, after one had already shipped to TestFlight.
Two of the rule's specifics were also violated during this session, which is
part of why it is worth writing down:
.github/workflows/ci.ymlanddocs/hummingbird/api-contract/**aresingle-writer files. Both were edited directly rather than proposed.
Related: #111 adds
verify-app-identity-uniqueness.sh, the CI guard that turnsthe identity half of this rule into something enforced rather than remembered.