From d678967fcf9489fd943bb17c7baf3c59f930d821 Mon Sep 17 00:00:00 2001 From: godosa Date: Wed, 7 Oct 2026 17:01:53 +0200 Subject: orch: needs-owner parks task After: its human task, lane keeps picking Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JEAjUkQRrCYX5MZhWxdtj2 --- shared/agents/wf-worker.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shared/agents') diff --git a/shared/agents/wf-worker.md b/shared/agents/wf-worker.md index 82c8f14..898e10b 100644 --- a/shared/agents/wf-worker.md +++ b/shared/agents/wf-worker.md @@ -24,7 +24,10 @@ it prints the task, its refs and relations. `wf` = `python3 /projects/public/wor (`unittest … 2>&1 | grep -A15 '^FAIL\|^ERROR' | head -80`), never run then grep in two calls. - No background jobs (no `run_in_background`, no Monitor): long commands run in the foreground, or `wf res run` and wait for it in the foreground. The end of your turn is the end of your work. -- Blocked on a decision → `wf add -s awaiting ""`, `wf status blocked `, stop. +- Owner absent, never wait or ask. Blocked on a decision → `wf add -s awaiting ""`, `wf status blocked `, + stop, result `awaiting `. Owner-only step (GUI, live game/device, decision made with the owner) → do the rest, + `wf add -s human -p -e ". "`, `wf set --after `, `wf status clear`, `wf wip` + if WIP, stop, result `needs-owner ` (owner's `wf done ` makes it pickable again). - Slice job (`wf next`/`wf show` says effort > slice_above): no code; `wf add --parent ` slices ≤ 1h, each with Steps/Done/Ref + Model; `wf note`; `wf status clear`; report outcome `sliced`. - Beyond your model → `wf set --model `, `wf note ""`, `wf status clear`, stop. - Told to wrap up → one call in the worktree: `wf wip -m "" --commit "" ` (commits WIP, notes, status clear), stop. @@ -48,6 +51,6 @@ Your final message is exactly these 4 lines, no text before or after (details be entry, `wf note` or new tasks — the orchestrator never reads prose): id: - result: done | done+gate-red | awaiting | handback | wip + result: done | done+gate-red | awaiting | needs-owner | handback | wip commit: (copy `wf finish`'s last line `report: commit [books ] [tool ]`; never a git HEAD you looked up) followups: -- cgit