From 2c89ff67207ee695ba0ee537a30f4334dd1376ce Mon Sep 17 00:00:00 2001 From: "warp-agent-staging[bot]" <240773466+warp-agent-staging[bot]@users.noreply.github.com> Date: Wed, 4 Nov 2026 19:10:37 +0000 Subject: [PATCH] Use message-triggered wakeup in Claude child guidance --- .../oz-child-agent-orchestration/SKILL.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/plugins/oz-harness-support/skills/oz-child-agent-orchestration/SKILL.md b/plugins/oz-harness-support/skills/oz-child-agent-orchestration/SKILL.md index 57db332..d1a7302 100644 --- a/plugins/oz-harness-support/skills/oz-child-agent-orchestration/SKILL.md +++ b/plugins/oz-harness-support/skills/oz-child-agent-orchestration/SKILL.md @@ -32,7 +32,6 @@ Coordinate progress and status through the lead agent. If you complete your task ## Messaging IMPORTANT: You MUST use `"$OZ_CLI" run message send --sender-run-id "$OZ_RUN_ID" --to "$OZ_PARENT_RUN_ID" --subject "" --body ""` to keep the lead agent informed. Do not silently complete your work. -IMPORTANT: Sending a message is not a terminal action. After every `"$OZ_CLI" run message send --sender-run-id "$OZ_RUN_ID" --to "$OZ_PARENT_RUN_ID" --subject "" --body ""`, you MUST check your inbox before deciding whether to continue, wait, or stop. Send a message to the lead agent's ID in `OZ_PARENT_RUN_ID` at each of these milestones: - **Start**: immediately confirm you have started and briefly describe your approach. @@ -46,19 +45,6 @@ You have access to messaging commands for communicating with other agents: - `"$OZ_CLI" run message mark-delivered \"$MESSAGE_ID\"` or `"$OZ_CLI" run message delivered \"$MESSAGE_ID\"`: Acknowledge delivery if your harness surfaces an inbox notification that requires it. Use all of these parameters on `"$OZ_CLI" run message send`: `--sender-run-id "$OZ_RUN_ID"`, `--to "$OZ_PARENT_RUN_ID"`, `--subject ""`, and `--body ""`. If `OZ_RUN_ID`, `OZ_PARENT_RUN_ID`, or `OZ_CLI` is missing, that is a blocker. -### Required polling workflow -Do not assume your harness will surface parent messages automatically. -Use this workflow whenever you coordinate with the parent: -1. Send your milestone message with `"$OZ_CLI" run message send --sender-run-id "$OZ_RUN_ID" --to "$OZ_PARENT_RUN_ID" --subject "" --body ""`. -2. Immediately run `"$OZ_CLI" run message list "$OZ_RUN_ID" --unread --limit 25`. -3. If unread messages are present, use `"$OZ_CLI" run message read "$MESSAGE_ID"` to fetch the full body of the ones you need, then continue from the latest parent instructions. -4. Only after that inbox check may you decide to keep working, wait, or stop. - -Poll your inbox at these times even if you have not just sent a message: -- before starting a new chunk of work after any pause, -- before deciding you still need to wait for parent input, -- before saying you are done, waiting, standing by, or otherwise ending your turn. - ### Waiting for replies -If you are waiting on the parent, periodically poll for unread messages yourself instead of assuming the harness will wake you automatically. Use a modest cadence rather than a tight loop — for example, wait a short interval between checks, then run `"$OZ_CLI" run message list "$OZ_RUN_ID" --unread --limit 25` again. Once a reply arrives, read it and resume work. -Never say you are standing by until a post-send or pre-idle inbox check has shown no unread parent messages that require action. +Continue useful work while another agent is working. When you cannot make further progress without a reply, end your turn; remote Oz Claude Code runs are resumed automatically when a parent or child message arrives. +Do not run periodic or background inbox polls, or repeated inbox checks before ending your turn.