← ClaudeAtlas

executor-handofflisted

Use when `executor next` emits `PHASE-ENTER handoff` — an initiative's verification gate has passed and the work must integrate or pause — or when work must stop mid-flight and survive the session, or when a halted initiative is being resumed by a fresh session.
Atri10/executor · ★ 3 · AI & Automation · score 76
Install: claude install-skill Atri10/executor
# Executor Handoff > **Engine.** `executor <verb>` means > `python3 <skills-dir>/executor/scripts/executor <verb>`; the engine ships > inside the router skill, so nothing is on `PATH`. Close-out is the phase where the human learns what you decided for them, where a leaked credential is caught before it becomes permanent, and where the journal stops being a working log and becomes the archive. It is also where a session that ran out of room hands the initiative to the next one. **Nothing in either store is ever deleted by this skill.** ## The gate order Each gate blocks the next. Do not reorder — the secret scan is worthless after a push, and the menu is dishonest before a green run. ```mermaid flowchart TB P["Preconditions, tasks complete, final verdict clean"] --> R["Rulings report, every decision made for the human"] R --> S["Secret scan, executor check --secrets"] S --> V["Re-verify tests, on the current tree"] V --> E["Detect environment, worktree, repo, detached HEAD"] E --> B["Confirm base branch"] B --> M["Present menu, wait for the human"] M --> X["Execute the choice"] X --> C["gate_decision, status closes"] S -->|"any finding"| STOP["STOP - report file, line, kind"] V -->|"red"| STOP X -->|"merged result fails"| STOP2["STOP - leave branch in place"] ``` ## Step 0 — Preconditions Handoff starts only when `executor status` shows all of these. If one does not, you are still in an earlier phase; go back to its skill. |