From hotl
Delegates independent workflow steps to fresh subagents while the controller retains governance, verification, and stop conditions. Useful for parallelizing HOTL execution workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hotl:subagent-executionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is a **delegation profile** over the HOTL execution state machine defined in `skills/loop-execution/SKILL.md`. It follows the same resolve → preflight → lint → execute → verify → loop → gate → summarize flow, but eligible steps are delegated to fresh subagents instead of running inline.
This is a delegation profile over the HOTL execution state machine defined in skills/loop-execution/SKILL.md. It follows the same resolve → preflight → lint → execute → verify → loop → gate → summarize flow, but eligible steps are delegated to fresh subagents instead of running inline.
Core principle: delegation is allowed; governance is not delegated.
docs/plans/YYYY-MM-DD-<slug>-workflow.md preferred; legacy root hotl-workflow-<slug>.md still accepted during migration)Follow the HOTL Execution State Machine in skills/loop-execution/SKILL.md for the full execution flow (workflow resolution, interrupted run detection, branch/worktree preflight, structural lint, execution state persistence, typed verification, loop rules, gate rules, completion).
The controller owns all hotl-rt runtime calls. The controller calls hotl-rt init, hotl-rt step N start/verify/retry/block, hotl-rt gate N, and hotl-rt finalize from the resolved execution_root and pins every call to the captured run_id (--run-id <run-id> or HOTL_RUN_ID=<run-id>). Subagents never call the runtime directly. The runtime-managed .hotl/state/<run-id>.json and .hotl/reports/<run-id>.md are the source of truth; delegated workers do implementation only. After execution is finalized, use hotl:finishing-a-development-branch to decide what happens to the execution branch/worktree.
The only difference is how each step body runs:
Every delegated implementation prompt must include:
action, loop, verify, gate, and any relevant frontmatter contexthotl-rt, mark workflow checkboxes, run gates, or finalize the runStatus: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED
Summary:
Files changed:
Tests or checks run:
Concerns or blockers:
Treat the worker's status as an input to controller judgment, not as proof of completion.
DONE: Continue with controller-owned verification for the step.
DONE_WITH_CONCERNS: Read the concerns before verification. If they raise correctness, scope, safety, or architecture risk, address them before marking the step verified. If they are non-blocking observations, record them in the runtime report and continue to verification.
NEEDS_CONTEXT: Provide the missing context and re-dispatch the same step. Do not count this as a failed loop iteration unless the worker had enough context and still could not proceed.
BLOCKED: Stop the step and assess the blocker. Options are: provide more context, split the step, run the step inline in the controller, or mark the step blocked through hotl-rt step ... block. Do not retry the same prompt unchanged.
Never mark a delegated step complete from the worker report alone. The controller must inspect the changed files as needed, run the configured verification, apply loop rules, and record the result with the pinned run_id.
These rules apply regardless of delegation decisions:
gate: human pauses the controller, not the subagentDelegate by default:
Keep controller-owned by default:
Record git rev-parse HEAD as the review base before delegating each reviewable batch.
After a meaningful batch of delegated implementation completes and verification passes:
requesting-code-review from the controller (not from a subagent)
receiving-code-review in the controller
Review is not required after every single delegated step. The controller decides when a batch is "meaningful" based on:
A final review is required unless the most recent review already covers all current changes and no code changed afterward.
requesting-code-review with review type: final
receiving-code-reviewReview happens after step verification, before verification-before-completion, before hotl-rt finalize.
Execution report output must conform to docs/contracts/execution-report-output.md. This is the canonical reporting contract from skills/loop-execution/SKILL.md. Live step visibility follows the same rules as skills/loop-execution/SKILL.md — per-step chat logs on all platforms, deterministic renderer for final summary.
hotl:loop-execution — the canonical execution state machine (this skill builds on it)hotl:verification-before-completion — required before claiming donehotl:dispatch-agents — use for generic parallel independent tasks, not governed workflow executionnpx claudepluginhub yimwoo/hotl-plugin --plugin hotlDispatch implementation tasks to subagents in isolated git worktrees with full context, TDD requirements, and progress monitoring. Supports parallel and sequential modes, fixer dispatch, and oneshot fallback.
Use when executing implementation plans with independent tasks in the current session
Orchestrates sub-agents for parallel development, task dispatch, and result coordination. Handles delegation, progress tracking, and multi-stage review without context pollution.