task-close-postmortemlisted
Install: claude install-skill bks-lab/open-bridge
# Task-Close Postmortem
Captures a short reflection at task close, maps any surfaced gaps to concrete
Bridge-File-Improvement-Proposals, and writes both back as structured artifacts.
The skill is **always optional and always interruptible** — every question is
skippable, and skipping all six leaves the task unchanged from today's behavior.
Default-on (per `bridge-config.yaml.learning.postmortem.enabled`) but cost-light:
fast-path through all six skips is <20 seconds.
## When this skill runs
1. **Auto, via `task-sync.md` Phase 3b** — every time a task closes, after the
dual_doku self-check passes and before the 3-step move.
2. **Manual** — when the user says any of: "/postmortem the last hour",
"reflect on the piece just finished", "post-mortem this", "what did we
learn from X". In manual mode the scope is **not bound to a task folder** —
the skill reflects on the recent activity (last log.md entries, recent
commits, recent file edits). No frontmatter writes happen in manual mode;
output is only the proposals.
## Inputs
**Auto mode:**
- `work/tasks/<slug>/STATUS.md` — the task being closed
- `workflow/contexts/<context>.yaml` if STATUS references a context
- recent entries from `work/log.md` (last 24h or all entries since task `created`)
**Manual mode:**
- last N log.md entries (N defaults to last 10, or "the last hour")
- recent uncommitted git diff in this Bridge repo and any other repos touched
## The six questions
(Full script in [`references/pos