From 746a30a08bfe2e484df4575290f072faee5ddfd3 Mon Sep 17 00:00:00 2001 From: Jason Stedwell Date: Fri, 3 Jul 2026 13:38:49 -0500 Subject: [PATCH] =?UTF-8?q?TODO-1.6:=20log=20lint=20blind=20spot=20?= =?UTF-8?q?=E2=80=94=20retired=20dirs=20masked=20by=20leaf-README=20route?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vault sanity check found archive/ and _agent/outputs/ (retired/unrouted pre-0.6 trees) surviving in the live vault with only seed READMEs; the permissive leaf-readme route matches before the retired-path check, so /echo-health never flags them. Co-Authored-By: Claude Fable 5 --- TODO-1.6.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/TODO-1.6.md b/TODO-1.6.md index 9d989c7..d60fce5 100644 --- a/TODO-1.6.md +++ b/TODO-1.6.md @@ -46,4 +46,12 @@ they were unwrapped per instruction but repointing them would restore real graph *(add items here as the new plugin gets real use)* -- [ ] — +- [ ] **Lint blind spot: retired dirs masked by the leaf-README route** (found 2026-07-03). + `archive/` and `_agent/outputs/` are retired/unrouted pre-0.6 leftovers that survived + in the live vault holding only their seed READMEs — and the permissive `leaf-readme` + route (`^(.+/)?README\.md$`) matches first, so `vault_lint` never flagged them. + Fix: in the path-membership check, test the *directory* against retired/unknown + patterns even when the only file in it is a README (e.g. evaluate `dirname(path) + "/"` + against retired patterns before letting `leaf-readme` absolve the file), or drop the + seed-README exemption inside retired trees. Add a lint test seeding + `archive/notes/README.md` → must flag `retired-path`.