بنقرة واحدة
worker
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
[OMAGY] Run an anti-slop cleanup/refactor/deslop workflow
Run read-only deep repository analysis with ranked synthesis, concrete evidence, and explicit Evidence/Inference/Unknown boundaries.
Full OMX-style autonomous pipeline for Omagy: interview, plan, goal execution, optional team, review, and UltraQA.
Professor-critic research workflow with durable Omagy artifacts for agy.
Stateful validator-gated research loop with artifact-gated completion.
[Omagy] Bounded best-practice research wrapper using official/upstream evidence first
| name | worker |
| description | Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based Omagy teams. |
This skill is for an Antigravity CLI session started as an Omagy Team worker inside a tmux pane. It is not a user-facing planning or review workflow.
You MUST be running with OMAGY_TEAM_WORKER set:
<team-name>/worker-<n>
Example:
alpha/worker-2
Parse it into team_name and worker before any task work.
Use omagy team api ... --json for all team state reads and writes. Do not
directly edit .omagy/state/team/** JSON files.
Use these environment variables when present:
OMAGY_TEAM_WORKER: canonical <team>/<worker> identity.OMAGY_TEAM_STATE_ROOT: canonical state root for this worker.OMAGY_TEAM_LEADER_CWD: leader workspace path.If environment variables are missing, stop and report the missing value. Do not guess a sibling team.
Before task work, send one deterministic ACK to the leader mailbox:
omagy team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"ACK: <workerName> initialized"}' --json
Then read your mailbox and inbox:
omagy team api mailbox-list --input '{"team_name":"<teamName>","worker":"<workerName>"}' --json
Your inbox is informational; the task lifecycle still goes through the API.
omagy team api list-tasks --input '{"team_name":"<teamName>"}' --json
omagy team api claim-task --input '{"team_name":"<teamName>","task_id":"<id>","worker":"<workerName>"}' --json
omagy team api transition-task-status --input '{"team_name":"<teamName>","task_id":"<id>","from":"in_progress","to":"completed","claim_token":"<token>","result":"PASS: <evidence>"}' --json
Use to:"failed" with an error field when the task cannot be completed.
Use release-task-claim only for rollback or requeue, not for successful
completion.
Mailbox messages are durable state. A tmux nudge is only a wake-up signal.
After reading a mailbox message, mark it delivered:
omagy team api mailbox-mark-delivered --input '{"team_name":"<teamName>","worker":"<workerName>","message_id":"<messageId>"}' --json
Reply to the leader with short status messages when useful:
omagy team api send-message --input '{"team_name":"<teamName>","from_worker":"<workerName>","to_worker":"leader-fixed","body":"DONE: <summary>"}' --json
Record heartbeat evidence during long work:
omagy team api update-worker-heartbeat --input '{"team_name":"<teamName>","worker":"<workerName>","turn_count":1,"alive":true}' --json
If the leader sends a shutdown request, finish any safe cleanup, acknowledge via the API, then exit the worker session:
omagy team api write-shutdown-ack --input '{"team_name":"<teamName>","worker":"<workerName>","reason":"worker drained"}' --json