Repository navigation
docs: require a dedicated git worktree + branch per development task (Hard Rule #19) - #3939
Merged
Merged
Conversation
…(Hard Rule #19) Multiple sessions/agents share the main checkout, so a git checkout/branch switch there silently discards another session's uncommitted work. Document the worktree- isolation workflow (ask the operator for the base branch first, cut a dedicated worktree+branch off it, tear down only your own) as a new 'Worktree isolation' subsection under Git Workflow, and codify it as Hard Rule #19.
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Merged
tkgo11
pushed a commit
to tkgo11/OmniRoute
that referenced
this pull request
Sep 23, 2026
…(Hard Rule cheaper-inference#19) (cheaper-inference#3939) Multiple sessions/agents share the main checkout, so a git checkout/branch switch there silently discards another session's uncommitted work. Document the worktree- isolation workflow (ask the operator for the base branch first, cut a dedicated worktree+branch off it, tear down only your own) as a new 'Worktree isolation' subsection under Git Workflow, and codify it as Hard Rule cheaper-inference#19.
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.
What
Documents the worktree-isolation workflow that every development task in this repo must follow, and codifies it as Hard Rule #19.
Why
Multiple sessions/agents work this repo in parallel against a shared main checkout. A
git checkout/ branch switch there silently discards another session's uncommitted work and yanks the branch out from under whatever else is running (observed incidents 2026-06-05, 2026-06-13). The fix is procedural: never develop on the shared checkout.Changes (docs only —
CLAUDE.md)AskUserQuestion) — never assumemainor the current branch.git worktree add … origin/<base>, symlinknode_modules, or the nativeEnterWorktree).fix/*/feat/*wildcards).release/vX.Y.Z, nevermain).No code or test changes.