fix: lint --clean keeps relates-to note on the typed relation; no orphan warning for preferences; v0.1.4
ci / release (push) Successful in 1m23s

This commit is contained in:
2026-11-22 19:42:41 +01:00
parent dae7313e14
commit e98107dcd7
3 changed files with 45 additions and 12 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ delete an entity that tombstones point to, or one that is the only `applies-to`
silently become "everywhere"); the offending preferences/tombstones are listed.
`sirmem lint --clean` applies structural fixes only and prints each change: removes unreferenced redirect
tombstones, `relates-to` lines whose pair is also linked by a typed verb, and `part-of` lines implied by a
tombstones, `relates-to` lines whose pair is also linked by a typed verb (a non-empty note is appended to the first typed
relation's note, separated by ` | `), and `part-of` lines implied by a
longer `part-of` chain. `sirmem lint --suggest` is read-only and prints numbered candidates (superseded,
contradicted, duplicate by normalised label/alias, orphan) with a suggested action for an LLM to review with the
user. Both flags can be combined (clean first, then lint, then suggest).