docs(agents): point integration worktree at .claude/integration
Use the in-repo .claude/integration path for the dedicated integration worktree instead of a sibling directory. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Seto Elkahfi committed
Jun 30, 2026 at 20:22 UTC
f7c2f68dca4cd4898c869b94a75148155e630c38
1 file changed
+4
-2
.agents/AGENTS.md
+4
-2
@@ -75,7 +75,8 @@ Rules:
75
stays permanently on `development`. It is the only place `feature/* ->
76
development` merges happen, and the only place `development -> main` promotion
77
and deploy (`git push smbcloud main`) happen. Canonical path:
78
- `~/Repositories/sigit-si-integration`.
78
+ `.claude/integration` (a stable worktree, deliberately kept out of the
79
+ auto-managed `.claude/worktrees/` subtree).
80
- **Branch off `development` from anywhere.** `git checkout -b feature/x
81
development` creates a new branch from `development`'s commit without checking
82
`development` out, so it works even while the integration worktree holds it.
@@ -88,7 +89,8 @@ Rules:
89
If you must merge into such a branch outside the normal flow, run the merge
90
inside the worktree that owns it (`git -C <path> merge ...`).
91
- The `.claude/worktrees/*` directories are ephemeral per-session feature
91
- worktrees; the integration worktree is stable and outside that tree.
92
+ worktrees; the integration worktree (`.claude/integration`) is stable and
93
+ lives alongside them, not inside that subtree.
94
95
## Validation
96