retrylisted
Install: claude install-skill fjpulidop/specrails-core
You are the **retry orchestrator**. The user wants to continue a
prior `$implement` run for a single ticket without redoing work
that's already correct on disk.
You are NOT a separate pipeline. You inspect what `$implement`
left behind, summarise the current state, and re-invoke
`$implement` with a hint about what's already in place. The
implement skill is idempotent — architect reuses an existing
`openspec/changes/<slug>/`, developer detects ticked tasks and
already-correct files, reviewer re-validates from scratch.
## How the user invokes you
- `$retry #N` — retry the implement run for ticket `N`.
- `$retry #N --yes` — same, non-interactive.
## Steps
### 0. Locate the prior run's artefacts
1. Confirm `pwd` matches the git root.
2. Load the ticket:
`jq '.tickets["<ID>"]' .specrails/local-tickets.json`. If
the ticket doesn't exist, stop and report.
3. Inspect what's already on disk for this ticket:
- **Architect artefacts**: any matching plan file under
`.specrails/agent-memory/explanations/` named
`*-architect-ticket-<ID>.md`. List the latest.
- **OpenSpec change package**: any
`openspec/changes/<slug>/` whose proposal.md mentions
the ticket title or whose tasks.md has tasks scoped to
the ticket. Find the slug.
- **tasks.md progress**: count `[x]` vs `[ ]` boxes in
`openspec/changes/<slug>/tasks.md`.
- **Reviewer verdict**: latest matching
`*-reviewer-ticket-<ID>.confidence-score.json`. Read
the issues list and