docs(workflow): require gsd worktrees before edits
This commit is contained in:
@@ -102,6 +102,10 @@ View (thin data-provider)
|
||||
|
||||
This project uses the GSD (Get Shit Done) planning workflow. Planning artifacts live in `.planning/`.
|
||||
|
||||
### Worktree-first rule (Non-Negotiable)
|
||||
|
||||
Before any GSD workflow or agent edits project files, create or switch into a dedicated git worktree for that GSD task. Discussion, read-only inspection, and status checks may run in the main checkout, but planning artifacts, code changes, docs changes, and workflow state mutations must happen inside the task worktree. If a workflow would edit files and no worktree exists yet, stop and create one first.
|
||||
|
||||
### Key files
|
||||
|
||||
| File | Purpose |
|
||||
|
||||
Reference in New Issue
Block a user