Unified health dashboard + consolidation cycle
Purpose: Unified entry point for Brain health monitoring and knowledge consolidation. Default mode shows a live dashboard; --consolidate triggers the full consolidation cycle (episode processing, proposal review, escalation, weight decay, cleanup).
Token Budget: Dashboard 5k in / 3k out | Consolidation 15-25k in / 8k out
| Command | Mode | Description |
|---|---|---|
/brain-health | Dashboard | Read-only health report with metrics and recommendations |
/brain-health --consolidate | Consolidation | Full consolidation cycle with approval gates |
Collect from:
updated_at)Use templates/health-report.md to produce a formatted dashboard. Fill all template variables from Step 1 data.
Output the report directly to the terminal.
Flag automatically:
/brain-health --consolidateRegenerate .brain/brain-graph.html:
python scripts/generate_viz.py .brain
--consolidate)Follow references/consolidation-pipeline.md for the full 7-step cycle:
references/weight-decay-rules.mdEach step that modifies knowledge requires explicit developer approval via AskUserQuestion.
| Rule | Rationale |
|---|---|
| NEVER auto-update sinapses | All changes require developer approval |
| Present ALL proposals before applying | Developer reviews the full batch, not one at a time blindly |
| Weight decay runs AFTER review | Decay only applies once approved updates are committed |
| Archive, don't delete | Working-memory files move to completed-contexts/, never deleted |
| Update BOTH file and DB | Sinapse markdown + brain.db row + FTS5 rebuild on every approved change |
During consolidation, any write to .brain/hippocampus/ (convention promotions, escalation approvals) will trigger the hippocampus-guard hook. This is expected behavior — the guard will prompt for confirmation. Do not treat guard prompts as errors.
Inputs: episode-*.md, task-completion-*.md, sinapse-updates-*.md (working-memory), brain.db + FTS5, conventions.md
Outputs: Dashboard report, updated sinapses (file + DB), .brain/progress/brain-health.md, consolidation checkpoint, brain-graph.html