routemark-fixlisted
Install: claude install-skill routemark/routemark
# Reading and fixing a failed delegation
This skill is for the Controller: the powerful model holding the work, with
the user beside it. It is not for a delegate. If you are a delegate reading
this, stop -- it is not your work.
## Read what Routemark saw
A run failed when its exit code was not 0, or when it ended having done no
work -- no session, no finished step, no usage -- whatever its exit code said.
**Routemark names no cause**. It states what it saw, and `routemark
delegate` prints it as the run ends; `routemark progress --run <run id>` prints
it again at any time, and `--json` carries the same facts:
- the exit code, or that the harness was not found on this machine, or
Routemark's own words when it stopped before any harness was started;
- whether the run did work;
- **the harness's own error**, in its own words: its name and status code where
it gave them, quoted as data. It is read off the harness's own error report
(OpenCode's error event, Prime's error field, Pi's error fields), never off a tool's output or
the model's words;
- **how its last step ended**: its reason, its output tokens, and -- when a step
produced output and neither said anything nor called a tool -- that fact, in
one plain line;
- what the harness said last on standard error, quoted as data;
- how many lines of the kept log looked like the harness's events and could not
be read, when any could not;
- **where the full record is**: the kept log (`<state home>/runs/<run
id>/outp