chore(memory): dead-deny lock done, BDR-145, LRN-280, hand edit queued
This commit is contained in:
1 parent
79f1a3fc2c
commit
72ae6084da
6 files changed
+168
-1
No files matched your search
@@ -1548,3 +1548,9 @@ Supersedes [[BDR-030]].
|
||||
- **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.
|
||||
|
||||
## BDR-145 — Released deny removal via justified T42 list expiring by version [accepted] (2026-11-12)
|
||||
- **Context**: 6 dead deny entries in settings.json (2 mixed Bash forms never match, 4 Write(glob) never block Write) kept alive by push-guard T41/T42 non-weakening lock (BDR-111). User removes them by hand; test must stay green before and after.
|
||||
- **Decision**: removal of a released deny entry goes through a justified list in push-guard T42 (exact rows, `#` reason line each), forgiven until `removed_ok_until` (=3.0.0); T42e fails once version.txt passes it while list non-empty, list emptied in that bump. T42c proves unlisted removal still fails, T42d simulates exact hand edit. Write twins never shipped -> just leave T41. User gated 2026-11-12 (2 re-gates).
|
||||
- **Alternatives**: row-absent-from-base -> fail (no green path: base ref flips at finish; red on empty list); NOTE only (not fail-closed); Claude editing settings.json (rejected: own deny list = user hand edit).
|
||||
- **Consequences**: CHANGELOG entries land with the user's settings edit (TODO:92). Commit 79f1a3f.
|
||||
@@ -724,3 +724,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.
|
||||
- 2026-11-12: /feat dead-deny lock on feature/dead-deny-lock: 79f1a3f push-guard T41 drops dead Write lines, T42 justified list until 3.0.0 (T42c/d/e). 2 challenge rounds (r2 FATAL: base-keyed expiry no green path -> version expiry re-gated). Gates MET/CONFORME/PASS, MEDIUM fail-open fixed. User hand edit of settings.json pending (TODO:92).
|
||||
@@ -2046,3 +2046,9 @@ Rule: when editing a doctrine file under structure locks, grep the test's lock s
|
||||
- **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.
|
||||
|
||||
## LRN-280 — Expiry keyed on the release base ref has no green path, key it on version.txt (2026-11-12)
|
||||
- **Pattern**: freshness/expiry check keyed on release base ref (main/origin/main) flips at `gitflow finish`: release prep sees old base, post-merge sees new base -> both states cannot be green. Key expiry on tracked `version.txt` instead (bumped in release/hotfix prep commit).
|
||||
- **Gotcha**: GNU grep 3.12 `grep -c -f emptyfile` prints nothing (rc 1), not `0`: count comparisons break on empty pattern list. Compare named rows (`grep -vxF -f base list` expected "") so failures name the row.
|
||||
- **Context**: /feat dead-deny lock 2026-11-12, challenge round 2 FATAL(2) on plan r2 T42e.
|
||||
- **Apply**: any lock/allowlist with expiry in this repo -> version-keyed, fail-closed on unreadable version.
|
||||
Reference in new issue
Block a user