Loading...
Loading...
Wrap up completed work. Council validates the implementation, then extract learnings. Triggers: "post-mortem", "wrap up", "close epic", "what did we learn".
npx skill4agent add boshu2/agentops post-mortemPurpose: Wrap up completed work — validate it shipped correctly and extract learnings.
/council validate/retro/post-mortem # wraps up recent work
/post-mortem epic-123 # wraps up specific epic
/post-mortem --quick recent # fast inline wrap-up, no spawning
/post-mortem --deep recent # thorough council review
/post-mortem --mixed epic-123 # cross-vendor (Claude + Codex)
/post-mortem --explorers=2 epic-123 # deep investigation before judging
/post-mortem --debate epic-123 # two-round adversarial review# Check for closed beads
bd list --status closed --since "7 days ago" 2>/dev/null | head -5
# Or check recent git activity
git log --oneline --since="7 days ago" | head -10bd show <id>ls .agents/plans/ | grep <target-keyword>git log --oneline | head -10context.spec{
"spec": {
"source": "bead na-0042",
"content": "<the original plan/spec text>"
}
}/council/council --deep --preset=retrospective validate <epic-or-recent>plan-compliancetech-debtlearnings--deepplan-compliance/council --quick validate <epic-or-recent>/post-mortem --debate epic-123/council--mixed--preset=<name>--preset=ops--explorers=N--debate/retro/retro <epic-or-recent>| Failure | Behavior |
|---|---|
| Council fails | Stop, report council error, no retro |
| Retro fails | Proceed, report learnings as "⚠️ SKIPPED: retro unavailable" |
| Both succeed | Full post-mortem with council + learnings |
.agents/council/YYYY-MM-DD-post-mortem-<topic>.md# Post-Mortem: <Epic/Topic>
**Date:** YYYY-MM-DD
**Epic:** <epic-id or "recent">
**Duration:** <how long it took>
## Council Verdict: PASS / WARN / FAIL
| Judge | Verdict | Key Finding |
|-------|---------|-------------|
| Plan-Compliance | ... | ... |
| Tech-Debt | ... | ... |
| Learnings | ... | ... |
### Implementation Assessment
<council summary>
### Concerns
<any issues found>
## Learnings (from /retro)
### What Went Well
- ...
### What Was Hard
- ...
### Do Differently Next Time
- ...
### Patterns to Reuse
- ...
### Anti-Patterns to Avoid
- ...
## Status
[ ] CLOSED - Work complete, learnings captured
[ ] FOLLOW-UP - Issues need addressing (create new beads)mkdir -p .agents/knowledge/pending
if command -v ao &>/dev/null; then
ao forge index .agents/learnings/ 2>/dev/null
echo "Learnings indexed in knowledge flywheel"
else
# Retro already wrote to .agents/learnings/ — copy to pending for future import
cp .agents/learnings/YYYY-MM-DD-*.md .agents/knowledge/pending/ 2>/dev/null
echo "Note: Learnings saved to .agents/knowledge/pending/ (install ao for auto-indexing)"
fi/plan epic-123
│
▼
/pre-mortem (council on plan)
│
▼
/implement
│
▼
/vibe (council on code)
│
▼
Ship it
│
▼
/post-mortem ← You are here
│
├── Council validates implementation
└── Retro extracts learnings/post-mortem/post-mortem epic-123/post-mortem --deep epic-123/post-mortem --mixed epic-123| Skill | When | Purpose |
|---|---|---|
| Before implementation | Council validates plan |
| After coding | Council validates code |
| After shipping | Council validates + extract learnings |
| Anytime | Extract learnings only |
skills/council/SKILL.mdskills/retro/SKILL.mdskills/vibe/SKILL.mdskills/pre-mortem/SKILL.md