Audit and clean up knowledge base state — archive completed work, fix inconsistencies
Run a health check on the knowledge base and fix issues.
For large vaults (500+ entries), spawn a team to parallelize grooming:
team_spawn(
team_name: "vault-grooming",
purpose: "Audit, archive, and fix issues across a large vault",
roles: [
%{name: "vault-auditor", role: "researcher"},
%{name: "vault-archiver", role: "coder"},
%{name: "vault-fixer", role: "coder"}
]
)
Team roles:
vault_audit(scope: "full") and catalogs all issues. Shares the report with archiver and fixer.vault_kanban(action: "archive")), archives old checkins, and moves stale entries.For smaller vaults, skip team mode and process single-agent.
vault_audit(scope: "full") — get the full quality report.
vault_kanban(action: "list", filter_column: "done") — find completed tasks ready for archive.
vault_kanban(action: "list", filter_column: "in_progress") — check for stale items (no activity in 7+ days).
vault_list(entry_type: "checkin") — find checkins older than 30 days for archiving.
Format as a structured report:
Use ask_user to confirm each category of fix:
vault_kanban(action: "archive")vault_update_entry(status: "archived") for eachvault_update_entry(frontmatter_updates: "...") for eachvault_dashboard(dashboard_type: "index") after all fixes.