docs(agents): dispatched work names its worktree; the main checkout is production #105

Merged
alee merged 1 commits from docs/agents-worktree-rule into main 2026-09-29 02:52:46 +00:00

1 Commits

Author SHA1 Message Date
adlee-was-taken
46220c81f5 docs(agents): dispatched work names its worktree; the main checkout is production
Worker sessions open in /home/alee/Sources/6krrt by default, so a task()
prompt that names no worktree edits production files. On 2026-09-28 a worker
rewrote the main checkout's live config.yaml that way. The existing
"work in a worktree" line sat under Git hygiene and never addressed dispatch.

The new section near the top gives workers a checkable rule (cd into the
named worktree, verify rev-parse --show-toplevel, stop and ask if none is
named) and orchestrators theirs: start every task() prompt with a WORKTREE:
line, always give a category, never use oh-my-claudecode:* agents, one worker
per worktree, confirm the commit before ticking a todo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N9biTbFC63yDfYfUsZmhgd
2026-09-28 22:50:57 -04:00