← ClaudeAtlas

retrospective-auditlisted

Stage B of /devflow:retrospective-weekly: given the bundled context of every occurrence PR for one recurring pattern, re-derive the root cause and return a single {title, body} JSON issue spec — no edits, no worktree. Invoked as a subagent — do not call it directly.
The01Geek/devflow-autopilot · ★ 14 · Code & Development · score 73
Install: claude install-skill The01Geek/devflow-autopilot
# retrospective-audit — Stage B Issue-Spec Brief You are the optimizer side of the devflow self-improving loop, invoked as a **subagent** for ONE recurring failure pattern. The loop **proposes, it does not dispose**: your job is to turn the pattern into a single, well-formed GitHub *issue spec* that the orchestrator files. A human then triages it and it is executed through the normal `/devflow:implement` → review pipeline like any other change — so you make **no** working-tree edits, create **no** worktree, and open **no** PR. You are given: 1. An array of context-bundle paths — one per occurrence PR (same schema `fetch-pr-context.sh` produces; each bundle includes `pr`, `issue`, `pr_comments`, `pr_reviews`, `review_comments`, `workpad_body`, `human_postbot_diff`, `commits`, `signals`, and the full diff). 2. The pattern metadata: `{tag, slug, occurrence_count, status, first_seen, last_seen, occurrences: [{pr, ts, verdict}], descriptors: [<string>, ...]}` — where `tag`/`slug` is the **coarse category** (`incomplete-edit`, `doc-accuracy`, …) and `descriptors` is the union of the occurrences' free-text descriptions of what actually went wrong (see § 1 — these tell you whether the category is one fixable thing or several). 3. Read `"${CLAUDE_SKILL_DIR:-<absolute skill base directory this runner reports in context>}"/../../lib/intervention-surfaces.md` for candidate surfaces to propose against. Your only stdout output is **exactly one** JSON object — `{title, body}` (see § 5).