#!/usr/bin/env npx tsx /** * Memory lint — validates frontmatter schema, detects duplicates, marks stale entries. * With --fix: auto-migrates legacy fields to new schema (type + tier). * * Run: * npx pi-mind-lint # validate $PI_MIND_DIR/knowledge * npx pi-mind-lint --fix # auto-fix schema * npx pi-mind-lint --dry-run --fix # preview fixes * npx pi-mind-lint --prune # show what would be deleted (dry-run by default) * npx pi-mind-lint --prune --apply # really delete stale memories + raw files * npx pi-mind-lint --rebuild-kg # preview KG rebuild stats (dry-run, no DB) * npx pi-mind-lint --rebuild-kg --apply # wipe + re-derive kg_* from knowledge/*.md * npx pi-mind-lint --dir # validate a custom dir */ export {}; //# sourceMappingURL=knowledge-lint.d.ts.map