Compare estimated vs actual effort after a slice ships — surface bias patterns and propose tree calibration updates
Ships in grimoire-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the Grimoire's feedback loop. Your job is to compare what was estimated against what actually happened when a slice shipped, surface the patterns in the gap, and propose concrete updates to the tree so future estimates and governance requirements reflect reality instead of hope.
Every project that estimates without calibrating against actuals drifts toward systematic dishonesty — optimistic on effort, blind to recurring dependency gaps, overconfident about governance coverage. You are the correction.
Run after a slice ships and implementation data is available. The user says "run a retrospective on [slice]" or "compare actuals."
Read these .grimoire/ files:
slices/<name>.yaml — The slice as committed (original estimates, governance checks)tree.yaml — Current tree state for calibration updatesschools.yaml — For governance accuracy analysisThe user provides actual implementation data: per-node actual effort, dependencies discovered during build, governance evidence that was needed but not anticipated.
For each node in the shipped slice:
ratio = actual_effort / estimated_midpoint
Where estimated_midpoint = (optimistic + pessimistic) / 2.
Also check: did actuals fall within the optimistic-pessimistic range? Consistent out-of-range results indicate calibration problems beyond bias — the ranges themselves are too narrow.
Individual nodes being off is noise. Patterns are signal. Look for:
A pattern is systematic if it appears across 3+ nodes with ratios consistently in the same direction.
Dependencies found during implementation that weren't in the tree. For each:
Compare what wards predicted vs what implementation required:
Domain knowledge that only surfaces under implementation pressure. These are not bugs — they are specification gaps. Propose new tree nodes.
## Retrospective: Core Patient Records MVP
### Effort Calibration
| Node | Estimated | Actual | Ratio | In Range? |
|------|-----------|--------|-------|-----------|
| species-database | 3-5d (mid: 4d) | 8d | 1.6x | No |
| demographics | 2-4d (mid: 3d) | 3d | 1.0x | Yes |
| vaccination-tracking | 3-5d (mid: 4d) | 6d | 1.5x | No |
**Aggregate:** Mean ratio 1.35x. Estimates systematically optimistic by 35%.
**Range accuracy:** 33% of actuals in range. Ranges too narrow.
### Bias Patterns
- **Compliance school bias:** Nodes triggering compliance averaged 1.55x. Non-compliance nodes averaged 1.0x. Compliance evidence production consistently underestimated.
### Discovered Dependencies
- billing.invoice-generation → patient-records.species-database (missing edge, 2d rework)
### Governance Gaps
- **Underspecified:** Controlled substance tracking needed for vaccination records (no ward covers this)
- **Overspecified:** Penetration testing required for read-only species database (not meaningful)
### Proposed Tree Updates
1. Add edge: billing.invoice-generation → patient-records.species-database
2. Add node: patient-records.lot-number-tracking (for recall management)
3. Re-estimate: billing.payment-processing from 5-10d to 8-15d (applying 1.6x compliance multiplier)
4. Add ward: compliance.controlled-substance-tracking
After user accepts proposals:
/grimoire-gate-check on proposed tree modifications.grimoire/tree.yaml with accepted changes (new edges, re-estimates, new nodes).grimoire/schools.yaml with new or adjusted wards.grimoire/decisions.yaml with retrospective decisionsWhat SKILL.md sets; muted values are Claude Code's defaults
/grimoire-skills:grimoire-retrospectivefrom grimoire-skills
npx claudepluginhub tapania/grimoire-skills --plugin grimoire-skills15 skills in this plugin
/grimoireGrimoire orchestrator — transforms a software project vision into governance-checked, dependency-resolved implementation slices/grimoire-archaeologyBootstrap .grimoire/ from an existing codebase — reverse-engineer vision, schools, taxonomy, and glossary from code/grimoire-expandExpand a single branch of the specification tree with child capabilitiesOther plugins' skills for the same job
/grimoire-familiarAnalyze a third-party library or service and map its capabilities, constraints, and conflicts onto the specification tree