compactlisted
Install: claude install-skill morphaxl/ultragoal
Run a lint-and-compact pass over `.ultragoal/memory/` (MEMORY.md, facts.md, patterns.md, failures.md).
**The cardinal rule: only the compiled layer (above the `---`) is ever rewritten. Evidence logs below the line are append-only history — never edit, reorder, or delete their lines.** Compaction that touches evidence is corruption, not cleanup.
## 1. Lint — triaged findings first
Read every file end to end, then report findings in three tiers before changing anything:
- **Errors** (fix now): compiled claims that contradict each other across files; compiled claims contradicted by *newer* evidence in any log; index lines pointing at entries that no longer exist; the same fact compiled in two places.
- **Warnings** (fix if cheap, else flag): `[VERIFIED]` claims whose evidence is old and whose subject area has changed since (check `git log` on the relevant paths); `[INFERRED]` entries no session has touched since they were written; entries the repo or git history now records on its own.
- **Info**: `[no data yet]` slots in MEMORY.md that sessions keep needing; areas with lots of evidence but no compiled rule yet.
## 2. Compact — above the line only
- **Merge** near-duplicate compiled claims into the strongest one, keeping the best provenance.
- **Generalize**: observations sharing a cause become one rule; cite the supporting evidence dates ("evidence: S2, S6, S11 below").
- **Re-verify cheaply**: if a `[VERIFIED]` claim has a one-command check, run it. Passes → refresh its