From abf9569a9a6a598fd0828be4ef2216aad39654d2 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 22 Jul 2026 14:56:52 -0400 Subject: [PATCH] vault-librarian: drop .00 category-note check per Ryan's 2026-07-22 ruling --- vault-librarian.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/vault-librarian.py b/vault-librarian.py index 48d772a..1b8446b 100644 --- a/vault-librarian.py +++ b/vault-librarian.py @@ -61,15 +61,10 @@ def check_structure(): for fn in fns: if vl.EXTEND_RE.match(fn): out["extend_notation"].append(os.path.relpath(os.path.join(dp, fn), vl.VAULT)) - # (b) missing .00 per category + (c) missing folder-note per structural folder - for code, rel in s["cats"].items(): - catf = os.path.join(vl.VAULT, rel) - has_dot00 = any(vl.id_code(d) == code + ".00" - for d in os.listdir(catf) if os.path.isdir(os.path.join(catf, d))) - # a .00 may also be a bare note; check for any NN.00 leaf - if not has_dot00: - out["missing_dot00"].append(code) - # folder-notes: every area/cat/id folder should contain .md + # (b) .00 category-management notes are NOT a vault-wide requirement (ruling 2026-07-22: + # category-level "about this category" info can live in the category's own SYS.AC note; + # .00 is only added ad-hoc when a category needs its own inbox/archive/store). Not checked. + # (c) missing folder-note per structural folder for level in ("areas", "cats", "ids"): for code, rel in s[level].items(): f = os.path.join(vl.VAULT, rel)