chore(memory): D1+D5+D6 done, BDR-144, LRN-279, D1b queued

This commit is contained in:
bchanot committed 2026-11-12 12:24:24 +01:00
1 parent a37df2fb95
commit 762ccabfbb
6 files changed
+199 -3

No files matched your search

+6
View File
@@ -1542,3 +1542,9 @@ Supersedes [[BDR-030]].
- **Decision**: one classifier `reconcile_status_classify <file> <PREFIX>` (lib/reconcile.sh) for decisions + blockers: strict word v2, one-word status/statut label v1 (`RECONCILE_BDR_RE` widens v1 selector), never `## Index`. `reconcile_blk_classify` = BLK wrapper, output byte-identical. Unreadable status = one info-only count line per registry, outside "all", never written by skill, word from user per ID. User gated 2026-11-11.
- **Alternatives**: `memory.sh index decision` (reads no status on dialect/v1 projects); one reader per registry (duplicate parsers, BDR-129 drift class); guess word from prose (false open/close).
- **Consequences**: dialect projects (game, faunosteo) get no prune candidate until dialect migration (BUGS-FOUND follow-up). Commit 99f10b2, test RED-9.
## BDR-144 — Session start reads TODO and the digest, registries on demand [accepted] (2026-11-12)
- **Context**: CLAUDE.global.md Session start said read all 5 registries + TODO at every start; phase 4c digest (hooks/session-start.sh) already prints open BLK, Actionable TODO, last journal.
- **Decision**: read `.claude/tasks/TODO.md` + apply banner `memory digest` (open BLK, last journal); `+N` count line -> read those BLK in blockers.md; no digest (foreign repo, memory mod off) -> list open BLK by hand. Registries read when task needs; planning flows scan per `lib/analyze-before-plan.md`. capitalize closing line aligned. User gated 2026-11-12 (2 re-gates after challenge).
- **Alternatives**: digest only (rejected: `_digest_todo` reads only `### Actionable`, init-project/onboard TODOs lack it -> TODO unread in other projects); full 5-registry read each start (rejected: 78-357 KB files, cost 4a/4c removed).
- **Consequences**: D1b follow-up makes every project TODO digest-readable. Commit c69ce9c.
+1
View File
@@ -723,3 +723,4 @@ rules:
## 2026-11-12
- 2026-11-12: /feat D4 done on feature/prune-memory-status-reader: 99f10b2 one status classifier for prune-memory (v1+v2), docs bd0687d. 3 challenge rounds (r1 FATAL: memory.sh index reads no status on 4 projects). Gates: floor MET, verifier CONFORME, security PASS (4 LOW). 5 follow-ups in BUGS-FOUND. Merge awaits user.
- 2026-11-12: /feat D1+D5+D6 on feature/doctrine-rules-graphify: c69ce9c Session start TODO+digest, web-security deduped, graphify claude install from $REPO; docs a37df2f. 2 challenge rounds (r1 FATAL x2: D5 oracle clash, digest TODO only under ### Actionable -> D1 re-gated, D1b logged). Gates: floor MET, verifier CONFORME, security PASS. Merge awaits user.
+5
View File
@@ -2041,3 +2041,8 @@ Rule: when editing a doctrine file under structure locks, grep the test's lock s
- **Pattern**: before plan swaps a registry reader, probe candidate reader read-only on real registries of every project (game, config, faunosteo, faunosteo-v1-2), count readable vs empty.
- **Context**: D4 r1 assumed `memory.sh index decision` gives decision status. Probe: Status empty 107/107 game, 19/19 config, 76/80 faunosteo, 79/110 faunosteo-v1-2. Challenge correctness FATAL, plan r2-r3 needed.
- **Apply**: STEP 0.6 / plan phase of any memory-reader change: run reader on all known project registries first, put counts in plan. Fixtures alone hide dialects.
## LRN-279 — graphify install appends to CLAUDE.global.md, claude install writes the cwd (2026-11-12)
- **Pattern**: graphifyy 0.9.67 `graphify install` (default platform claude, install.py:691) copies skill into ~/.claude/skills AND appends H1 `# graphify` block at EOF of ~/.claude/CLAUDE.md = CLAUDE.global.md (exact-line marker, curated `## graphify` not matched). `graphify claude install` (install.py:1827) writes ./CLAUDE.md + ./.claude/settings.json (+ .graphify-bak) in cwd, never copies skill.
- **Context**: LRN-154 said `graphify install --platform claude` "touches nothing else": wrong. install-plugins.sh ran `graphify claude install` in caller cwd -> polluted foreign project outside trap. Fixed c69ce9c: `(cd "$REPO" && graphify claude install)`.
- **Apply**: run `graphify claude install` only from $REPO under guarded-config trap (`make plugin`). Manual recovery `graphify install --platform claude` -> delete trailing `# graphify` EOF hunk, never `git checkout` whole CLAUDE.global.md (loses uncommitted doctrine). Supersedes LRN-154 graphify specifics line.