CLAUDE.md · git:20260804.f397b3a · 2026-08-04 · sha256 1565155937271e46

CLAUDE.md git:20260804.f397b3aA

Immutable. This exact content never changes and is served at /api/v1/blob/1565155937271e46.

@AGENTS.md

## Git workflow — worktrees, never branches

Multiple agent sessions work these repos in parallel. Isolation is by **git
worktree**, not by branching or stashing.

- **ALWAYS worktree.** Do work inside a dedicated worktree (`git worktree add`).
  Never edit, branch-switch, or otherwise disturb a shared checkout — another
  session may be using it, and switching branches under them destroys their work.
- **NEVER create branches.** No feature-branch or PR ceremony on your own
  initiative. A worktree's auto-created backing branch is plumbing, not workflow.
- **NEVER `git stash`.** It is invisible to everyone else and easy to lose.
- **Small changes commit directly to `main`, no ceremony.** From a worktree,
  push with `git push origin HEAD:main` (expect to rebase).
- If you find yourself on a branch in a primary checkout, you are already in the
  wrong place — make a worktree and clean up after yourself.