pruning-view
When to use
- Weekly hygiene pass.
- After a noticeable increase in friction records.
- When
stable/global.mdapproaches the configured budget.
Protocol
- Run:
bash ~/.claude/evolution/bin/evolve-prune.sh - Run:
bash ~/.claude/evolution/bin/evolve-regression.sh - Read the resulting
reports/YYYY-MM-DD-prune.mdandreports/YYYY-MM-DD-regression.md. - Summarize to the user:
N stale candidates, M stale promotions, K suspected regressions. - For each finding, propose the safest action:
- Stale candidate → move to
rejected/(operator decides). - Stale stable learning → suggest
/evolution demote <id>. - Suspected regression → suggest
/evolution demote <id>with the contradicting record IDs as evidence.
- Stale candidate → move to
- Do not execute any mutation. The operator confirms each action.
Staleness definition
From config.yaml: stale_after_days (default 90). A candidate or promoted learning is stale if last_confirmed is older than that cutoff.
Regression definition
config.yaml: regression_failure_count (default 3). A promoted learning is suspected-regression if ≥ N records since its promoted_at share token overlap with its text and are of type correction or friction.
Output
Summary of the two reports inline + the paths to the full files. No writes to stable/.