aih-resumelisted
Install: claude install-skill overdrive-dev/aihaus-flow
## Task
Pick up an interrupted autonomous run and continue it. No slug required — detects candidates from RUN-MANIFEST.md files across `.aihaus/milestones/`, `.aihaus/features/`, `.aihaus/bugfixes/`.
$ARGUMENTS
## Phase 1 — Detection
### 1. Scan for interrupted runs
`Glob` for RUN-MANIFEST.md files in:
- `.aihaus/milestones/*/RUN-MANIFEST.md`
- `.aihaus/features/*/RUN-MANIFEST.md`
- `.aihaus/bugfixes/*/RUN-MANIFEST.md`
**For each, FIRST call `bash .aihaus/hooks/manifest-migrate.sh` with `MANIFEST_PATH=<path>`** (ADR-004 / story B.3). Migrates v1 → v2 in place (backup to `.v1.bak`); no-op if already v2. Required before parsing — v2 uses `Metadata` block not `**Status:**` bullets.
Then read Metadata `status:` field (v2) or fallback to `**Status:**` line (legacy, pre-migration). Collect those where status is `running`, `paused`, or any value that is NOT `completed`.
### 2. Legacy fallback (pre-manifest milestones)
For milestone dirs WITHOUT a RUN-MANIFEST.md, check for presence of `execution/MILESTONE-SUMMARY.md`. If missing, treat as "legacy interrupted" and include with a flag.
### 3. Present candidates
**When slug is given:** look up directly, error if not found or already completed.
**When no slug given:**
- **One interrupted run** → proceed silently; log one line: *"Resuming [slug] at [phase]."* (No Y/n — see `_shared/autonomy-protocol.md`.)
- **Multiple** → present a table:
```
# | Type | Slug | Phase | Status | Last updated