-
Notifications
You must be signed in to change notification settings - Fork 1
Audit The Vault
Note
Goal: Run the read-only vault lint, read the categorized report it writes under _meta/, and apply the suggested fixes by hand — the lint never edits the vault.
Prereqs: agentm v4.9.0+ (ships V4 #33), python3 on PATH, and a reachable vault (MEMORY_VAULT_PATH set, or pass --vault PATH). The lint reads only; it surfaces candidate fixes for you to review and apply.
-
Preview the findings (optional). Run the lint and print findings to your terminal —
textfor skimming,jsonfor piping:python3 harness/skills/memory/scripts/vault_lint.py --format text python3 harness/skills/memory/scripts/vault_lint.py --format json
Narrow the corpus with
--scope(all·always-load·projects·personal-private; defaultall). Point at a specific vault with--vault PATHifMEMORY_VAULT_PATHis unset. -
Write the audit report. Add
--auditto write a grouped operator-review report instead of printing:python3 harness/skills/memory/scripts/vault_lint.py --audit
The report lands at
<vault>/_meta/vault-lint-<YYYY-MM-DD>.md(override with--out PATH). The command prints a one-line summary (N error · N warn · N info across N entries → <path>). This file is the only thing the lint writes — it never touches an entry. -
Read the report. Open
<vault>/_meta/vault-lint-<YYYY-MM-DD>.md. Findings are grouped by severity (Errors → Warnings → Info), then by check, then collapsed by identical message so a repeated pattern (e.g. one unknown key across 30 entries) shows once with the affected entry list. Each finding names the entry path and a suggested fix. -
Apply fixes by hand. Edit the flagged entries yourself. The lint applies nothing — every suggestion is advisory and operator-gated. Re-run step 1 to confirm a clean pass.
For what each finding's check_id and severity mean, see Vault lint checks.
- Vault lint checks reference — the check catalog: id / severity / what each checks / suggested-fix shape.
🔧 How-to
- Your first install
- Install into a project
- Configure a new project
- Update an installed harness
- Cut a release
- Use auto-context in phases
- Use per-project install
- Audit the vault
- Find missing note links
- Use AgentMemory in any agent
- Tune auto-orchestration
- Run without a vault
- Choose a storage backend
- Stand up the memory MCP server