From 0e1e107192882809da7e660c09ba501c09331c38 Mon Sep 17 00:00:00 2001 From: godosa Date: Wed, 7 Oct 2026 09:40:59 +0200 Subject: split projects 6/6: wf check split rules; docs Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01JEAjUkQRrCYX5MZhWxdtj2 --- shared/agents/wf-worker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/agents/wf-worker.md') 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 -m "" --commit "" ` (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 [books ] [tool ] [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
`, so logs land in its `out/`), on the merged sha -- cgit