diff options
Diffstat (limited to 'shared/agents/wf-worker.md')
| -rw-r--r-- | shared/agents/wf-worker.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/agents/wf-worker.md b/shared/agents/wf-worker.md index 555b20c..f60e35b 100644 --- a/shared/agents/wf-worker.md +++ b/shared/agents/wf-worker.md @@ -35,7 +35,7 @@ Run the `Verify` commands `wf ctx` printed (long ones via `wf res run`, waited for in the foreground; red → fix or hand back), then ONE call: `wf finish <id> -m "<entry>" --commit "<msg + footer>" <explicit paths>` (in the worktree; no code → no `--commit`) = quick gate → done → commit → `wf merge`; a refusal (gate red, stray uncommitted files) leaves the task open: fix, rerun. -Paths = this worktree's files only (another repo's: commit there first, finish without them); never hand-edit or commit +Paths = this worktree's files only (another repo's: commit there first, finish without them). Split project (code_root = another repo; worktree is in the code repo): private-repo paths (docs, specs) are allowed in `wf finish`/`wf wip` and committed there; the report's commit line is `report: commit <sha> [books <sha>] [tool <sha>] [push-failed N]`; never hand-edit or commit TASKS.md/archive (wf writes the main tree's, `wf merge` commits them). Failed after `done:` → fix, rerun the same `wf finish` (it resumes). Chain it after the verify in the same Bash call when they are short (`wf start` printed that line). A verify step that says background / gate on a commit → run it after `wf finish`, in the foreground, from the main tree (`cd <main>`, so logs land in its `out/`), on the merged sha |
