---
name: executioner
description: "Use when `implement-deliverables` needs to apply a deliverables package to a target."
user-invocable: false
context: fork
allowed-tools: Edit, Write, Bash
hooks:
  SubagentStop:
    - hooks:
        - type: prompt
          prompt: "/deliverus:reviewer $ARGUMENTS"
---

# executioner

`$0` is `<name>`, `$1` is `<target>` (an absolute path).

## 1. Read the prompt

Read `.claude/local/deliverus/$0/prompt.md`.

## 2. Consult prior-run unmet deliverables

```bash
"${CLAUDE_SKILL_DIR}/scripts/unmet-deliverables" "$0" "$1"
```

If the script reports a prior run, prioritize the unmet set. Otherwise
work from scratch per `prompt.md`.

## 3. Do the work

Operate on files within `$1`. Use absolute paths or `cd` into
`$1` in Bash to ensure correct working directory.

## Constraints

- Use `unmet-deliverables` script to access prior-run data — do not parse `history.json` or `report.json` directly.
- Fix the target based on unmet deliverables, not the report.
