packages/omo-senpi/skills/ulw-loop/SKILL.md
Use this skill when the user asks for ulw-loop, ulw, durable goal execution, evidence-led work, manual QA, or checkpointed long-running delivery.
This skill is intentionally compact. The full workflow lives in references/full-workflow.md. Read only the sections needed for the current phase, then execute them exactly.
references/full-workflow.md..omo/ulw-loop; do not hand-edit goal state.omo ulw-loop create-goals, then create_goal from the printed handoff) and mirror every atomic step into the live update_plan checklist: one ultra-granular step per action, exactly one in_progress, transitions marked the instant they happen.omo ulw-loop status --json, then resume; never re-plan from scratch.omo ulw-loop create-goals says the existing aggregate is already complete, start unrelated new work with a fresh --session-id <new-id> instead of steering or forcing the completed default state. Use --force only to intentionally overwrite completed evidence.git rev-parse --short "HEAD^{tree}"); it goes stale only when tracked content changes — a rebase or amend that keeps the tree identical keeps it valid. When the tree differs, re-run at the current HEAD and re-record, never relabel or regenerate. Record only after cleanup receipts exist.task tool.run_in_background: true and keep doing independent root work.WORKING: <task> - <current phase> before long reading, testing, or review passes, and BLOCKED: <reason> only when it cannot progress.task_output for at most one midpoint status or transcript check per child, never a polling loop.WORKING: phase.task_send. Fallback only when the child completed without the deliverable, explicitly reported BLOCKED:, or is no longer running; then record inconclusive and spawn a smaller native task with the missing deliverable.git-master for git-tracked edits: inspect recent and touched-path commit history, then commit each verified work unit atomically in the repository's observed language, scope, and message style with only that unit's files staged. Never carry verified units into a later omnibus commit.Solo execution with parallel background task workers is the default. A team (team_create) adds per-member briefing, shared-state, and relay overhead, so it must be paid for by the work's shape. Decide ONCE, when the plan's work units are known, and record the verdict plus its reason in the notepad.
Stand up a team when BOTH hold:
When the units are genuinely independent — separate files, no shared contract — spawn parallel background task workers instead and avoid the team coordination overhead entirely. When the work is one cohesive unit, do it yourself. Overlap alone is not enough: near-identical units that would collide on the same lines are faster done in sequence by one worker.
Under team mode, isolate and land per unit:
Senpi already exposes its real subagent spawn surface through the omo-senpi task component. Use it directly. Do not route delegation through external app-server threads or another harness.
| Intent | Native Senpi tool |
|---|---|
| Spawn one worker | `task({ prompt, subagent_type |
| Fan out independent workers | `task({ tasks: [{ prompt, subagent_type |
| Send context or correction | task_send({ task_id, message }) |
| Inspect one midpoint | task_output({ task_id, mode: "tail" }) |
| Stop a runaway worker | task_cancel({ task_id }) |
| Coordinate overlapping work | team_create, task_create, task_get, task_list, task_update; communicate with task_send |
Every worker prompt starts with TASK: and names DELIVERABLE, SCOPE, VERIFY, and STOP WHEN. Put requested skill names and all required context inside prompt; children do not inherit interview context automatically.