kb-postmortemlisted
Install: claude install-skill Iabstergo1/pdf-to-study-kb
# kb-postmortem — post-publish ingest retrospective (report-only)
After a source publishes, turn the manual "lessons learned" pass into a standard step: deterministic
proxy metrics + digest deviations + backlog delta → one report. **Recommendations only — every follow-up
action (skill-evolve, gate edits, `proposals-resolve --apply`) is decided by the human.**
Project truth: `CLAUDE.md`.
## 1. Triggers / Non-triggers
- **Triggers:** "postmortem <source>", "复盘这次入库", "how did this ingest go", "ingest retrospective / review this book's ingest".
- **Non-triggers (never fire):**
- "run a KB QA / audit coverage / spot-check evidence / run the Q-chain" → `kb-qa`.
- "semantic health check / contradictions / L4 / Q2 added value" → `wiki-lint-semantic`.
- "distill this failure into the skill / evolve a skill / handle backlog item N" → `skill-evolve` (this skill only **recommends** it).
- "work the review queue item by item" → `kb-review`.
- the source is not published yet → finish the ingest (lint gate) first; this skill never runs mid-ingest.
## 2. Inputs
- `source_id` — must show `lint/published` in `status`.
- Proxy metrics via `ingest-stats` (windows, stage durations and reruns, lint failures ≈ rollbacks, pages estimate, violations by kind). Token/cost numbers are not available — never invent them.
- `pipeline-workspace/staging/<src>/digest.md`: the per-chapter content-routing table + logged deviations.
- The old `pipeline-workspace/skill-evolution/backlog.yaml` — **r