ワンクリックで
orchestrate
Take an iteration and execute it: dispatch /implement agents per phase, always sequentially (e.g. /orchestrate <iteration-id>).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Take an iteration and execute it: dispatch /implement agents per phase, always sequentially (e.g. /orchestrate <iteration-id>).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Take an iteration and execute it: dispatch /implement agents per phase with git worktree isolation for parallel work (e.g. /orchestrate <iteration-id>).
Take an iteration and execute it: dispatch /implement agents per phase with jj workspace isolation for parallel work (e.g. /orchestrate <iteration-id>).
Promote a gest task to a GitHub Issue (e.g. /promote-task <id>).
Explore a rough idea with the user, clarify requirements, and draft a spec. Also decomposes large specs into smaller ones (e.g. /brainstorm "offline mode", /brainstorm <gest-id>).
Implement a single issue: write code, verify, review, format, and commit (e.g. /implement <gest-id>).
Take a spec and create an implementation plan: tasks, ADRs for large features, and dependency ordering (e.g. /plan <gest-id>).
| name | orchestrate |
| description | Take an iteration and execute it: dispatch /implement agents per phase, always sequentially (e.g. /orchestrate <iteration-id>). |
| args | <iteration-id> |
Execute an iteration by dispatching implementation agents phase by phase. All tasks are executed sequentially in the main workspace.
Git Butler's virtual branch model does not support parallel worktree isolation. Virtual branches operate within a single working directory, and multiple worktrees would conflict with Git Butler's state management. Therefore, all tasks are executed sequentially regardless of phase structure.
Because every task runs inside the main working directory, there is no separate workspace to bring up or tear down,
and no gest project attach / gest project detach calls are needed — the project identity of the main checkout is
already shared across every dispatched task.
Retrieve the iteration and visualize the execution plan:
cargo run -- iteration show --json <id>
cargo run -- iteration status <id> --json
cargo run -- iteration graph <id>
Extract:
phase fieldblocked-by links)Analyze the iteration structure:
/implement <task-id> directly. No phase
logic needed. Skip to step 5 (Clean Up).Present the execution plan (phase breakdown and task order) to the user for confirmation before proceeding.
Group tasks by their phase field:
phase: 1phase: 2Even though execution is always sequential, phase ordering and blocking dependencies must still be respected. A task in phase 2 must not start until all phase 1 tasks are complete.
For each phase:
Claim tasks using iteration next. Use --json for structured output or -q for bare task ID:
# Claim next available task in priority order (returns JSON with task details):
cargo run -- iteration next <iteration-id> --claim --agent implement-agent --json
# Or get just the task ID for scripting:
cargo run -- iteration next <iteration-id> --claim --agent implement-agent -q
Exit code 75 (EX_TEMPFAIL) means no tasks are currently available — an idle signal, not an
error. Script iteration next with this in mind:
cargo run -- iteration next <iteration-id> --claim --agent implement-agent --json
status=$?
if [ $status -eq 75 ]; then
echo "no work available -- idle"
elif [ $status -ne 0 ]; then
echo "error"
fi
Gest follows the BSD sysexits.h convention. Every CLI failure maps to one of:
| Code | Name | Meaning |
|---|---|---|
| 0 | — | Success |
| 64 | EX_USAGE | Command-line usage error |
| 65 | EX_DATAERR | User-supplied data was malformed |
| 66 | EX_NOINPUT | Referenced entity was not found |
| 69 | EX_UNAVAILABLE | Resource not in the required state |
| 70 | EX_SOFTWARE | Internal software error |
| 74 | EX_IOERR | Filesystem or database I/O error |
| 75 | EX_TEMPFAIL | Try again later (e.g., no tasks available) |
| 78 | EX_CONFIG | Configuration or setup error |
See ADR prsooyor (Exit Code Contract for the gest CLI) for the authoritative contract.
For each task in the phase (in priority order):
/implement <task-id> in the main workspace.Check phase progress:
cargo run -- iteration status <iteration-id> --json
Advance to the next phase once the current phase is complete:
cargo run -- iteration advance <iteration-id>
Use --force to advance past stuck tasks if needed.
Report results to the user (successes, failures, tasks needing attention).
Only proceed to the next phase after the user confirms the current phase's results.
After all phases complete:
in-progress represents a failure. Report these to the user with their IDs
and titles.If all tasks completed successfully (done):
cargo run -- \
iteration update <iteration-id> --status completed -q
If any tasks remain in-progress:
cargo run -- \
iteration cancel <iteration-id> -q
Flag this to the user and list the incomplete tasks.