Retro

From huytieu/COG-second-brain · View interactive version

Retro is an AI agent skill from the GitHub repository huytieu/COG-second-brain. CP-7 retrospective: audit checkpoints, evidence quality, action items, and harvest candidates. Closes the V-model cycle and feeds the next run. Use via /retro after ship, escalate, or significant session.

How to use this skill

Skill file

/retro — CP-7 close the V

Every non-tiny shipped or escalated run gets a retro. Retro is advisory but strongly expected: it is how the harness improves.

When to run

Phase 1 — Gather evidence bundle

Read:

  1. Spec or card description + acceptance criteria
  2. 04-projects/harness/runs/<id>/evidence/ (ledger, checkpoints.tsv, CP-* files)
  3. .claude/logs/loop-ledger.tsv (last rows for this run)
  4. 04-projects/<goal>/STATUS.md if an ultragoal phase

Phase 2 — Checkpoint audit

For each CP the lane required, mark Expected vs Actual vs Gap:

| CP | tiny | normal | full |

|---|---|---|---|

| CP-1 spec | skip | required | required |

| CP-3v component | skip | required | required |

| CP-4 integration | skip | skip | required if multi-task |

| CP-5 acceptance | if mutate | required | required |

| CP-6 ship | if external | if external | required |

Phase 3 — Evidence quality pass

Ask:

Phase 4 — Write retro

Copy references/retro-template.md to:

04-projects/harness/retro/YYYY-MM-DD-<slug>.md

Fill all sections. Action items get IDs (AI-01…).

Phase 5 — Feed forward

  1. Harvest: append action items + lessons to today's harvest staging
  2. Backlog: add AI-n rows to 04-projects/harness/BACKLOG.md if harness work
  3. STATUS.md: if an ultragoal phase, advance the phase state + log open AC-n
  4. Spec checkpoint log: update spec ## Checkpoint log CP-7 row
  5. Record: bash .claude/lib/checkpoint.sh record <run-dir> CP-7 PASS "retro: <path>"

Output to the user

TL;DR: outcome, top lesson, top action item, retro path.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.