Commit Graph
100 Commits
Author SHA1 Message Date
bchanot b3bc4e0c76 chore(memory): G3 fixed, contract and plan, journal 2026-11-09 18:21:12 +01:00
bchanot 8c284f76a3 fix(hooks): session digest skips HTML comment blocks in journal.md 2026-11-09 18:21:11 +01:00
bchanot db5bbe5fd8 Merge chore/bdr125-obsolescence-clean into develop 2026-11-09 18:10:35 +01:00
bchanot 80f568bcc8 chore(memory): BDR-125 obsolescence audit, 5 bugs logged, 6 decisions queued 2026-11-09 18:02:36 +01:00
bchanot d3943cbce6 chore: drop dead detect-plugins sources, refresh comments left by BDR-125 phases 2026-11-09 18:02:30 +01:00
bchanot 0912918125 Merge chore/connector-deny-cleanup into develop 2026-11-09 17:01:21 +01:00
bchanot 501792aa2c chore(memory): connector-deny cleanup, BDR-134 amended, LRN-272/273, contract and plan 2026-11-09 16:46:11 +01:00
bchanot 5413f4048d docs(changelog): verb agreement in the revert hint 2026-11-09 16:35:48 +01:00
bchanot abacc0bf17 fix(profiles): code review: merge revert hint, design purpose, deny-set identical test 2026-11-09 16:31:01 +01:00
bchanot c5e5490580 docs(changelog): revert hint names both cleanup commits 2026-11-09 16:18:48 +01:00
bchanot 91a32a7a7d docs(profiles): profiles no longer described by connector state 2026-11-09 16:17:26 +01:00
bchanot b80da299c7 chore(profiles): drop the dead higgsfield connector denies and their census rule 2026-11-09 16:14:13 +01:00
bchanot fc65d1e035 Merge feature/claude-ai-skills-off into develop 2026-11-09 15:05:54 +01:00
bchanot dcfa23f3b8 chore(memory): BDR-141, LRN-270/271, TODO, contract and plan — claude.ai skills off 2026-11-09 14:40:16 +01:00
bchanot 07406ce057 docs(migration): claude.ai-synced skills off, per-machine check 2026-11-09 14:39:58 +01:00
bchanot 47438f4900 feat(settings): skillOverrides turns the claude.ai-synced skills off
Listing cost measured on full 2026-11-09: 32.2k to 28.5k headless. A project re-enables one with "on" in its settings.local.json.
2026-11-09 14:36:01 +01:00
bchanot aa69db8aca chore(memory): TODO 4d marked merged 2026-11-08 20:37:21 +01:00
bchanot be472dc9dd Merge bugfix/comm-sort-locale into develop 2026-11-08 20:12:09 +01:00
bchanot 59a83752c7 chore(memory): LRN-269 — hotfix comm sort locale 2026-11-08 19:51:01 +01:00
bchanot 54bdfebd06 fix(memory): partial-stage check sorts and compares in the C locale
uutils sort collates by locale while uutils comm expects byte order: comm warned and could miss a dropped partial stage. Both now run with LC_ALL=C.
2026-11-08 19:49:26 +01:00
bchanot f1332d85e3 chore(memory): 4d GATE 1 closed, exact-field test follow-up 2026-11-08 19:44:38 +01:00
bchanot c5f69c8381 chore(contract): memory feedback 4d execution log and live proof 2026-11-08 19:35:37 +01:00
bchanot dcb593a1b1 Merge feature/memory-feedback into develop 2026-11-08 19:34:59 +01:00
bchanot 9d041226e4 chore: purge transient planning artifacts (BDR-065) 2026-11-08 19:34:58 +01:00
bchanot f93546ded1 chore(memory): BDR-140 + LRN-267, LRN-268 — ship memory feedback 4d 2026-11-08 19:20:26 +01:00
bchanot b44b19fa4a docs: /memory-feedback skill, banner line, log fields 2026-11-08 18:20:29 +01:00
bchanot 929f3dd006 chore(contract): memory feedback 4d gate 0 evidence 2026-11-08 18:13:20 +01:00
bchanot 9ec5617725 fix(memory-feedback): worksheet prints only a shell-safe repo path 2026-11-08 18:09:14 +01:00
bchanot 027e5b3c21 fix(memory-feedback): gate 2 hardening, commit within 5 locals 2026-11-08 18:04:01 +01:00
bchanot 271172564c fix(memory-feedback): final review: locals, per-trigger n, write order 2026-11-08 17:55:08 +01:00
bchanot c00649f516 feat(memory-feedback): /memory-feedback skill and router row 2026-11-08 17:38:58 +01:00
bchanot fcebe19951 feat(hooks): memory feedback reminder in the banner 2026-11-08 17:37:19 +01:00
bchanot 1c53aa05b3 feat(memory-feedback): worksheet, apply and sample reader 2026-11-08 17:34:57 +01:00
bchanot b127b2859b feat(memory-feedback): join log records to transcript turns 2026-11-08 17:33:20 +01:00
bchanot ac477077fe feat(memory-feedback): thresholds, metrics and gate verdicts 2026-11-08 17:27:10 +01:00
bchanot f624ce101c feat(memory-feedback): append-only labels, draft and state 2026-11-08 17:25:07 +01:00
bchanot efe7f78d49 feat(memory): log cands and rerank ms on prompt recall 2026-11-08 17:22:51 +01:00
bchanot 21483dc48c chore(contract): memory feedback 4d enriched at the gate 2026-11-07 03:06:32 +01:00
bchanot 36b089e617 docs(plan): memory feedback r3 after the confirmation pass 2026-11-06 22:16:38 +01:00
bchanot 45cf592ecb docs(plan): memory feedback r2 after the 3-lens challenge 2026-11-06 21:59:28 +01:00
bchanot 8253a92cbc docs(plan): memory feedback 4d implementation plan 2026-11-06 21:33:03 +01:00
bchanot 26f70e1885 docs(spec): memory feedback 4d design 2026-11-06 21:19:16 +01:00
bchanot c10d8590dd Merge bugfix/safety-residuals into develop 2026-11-06 17:40:25 +01:00
bchanot da40dba796 chore(memory): BLK-045 + BDR-139 + LRN-265, LRN-266 — bugfix safety residuals 2026-11-06 17:36:33 +01:00
bchanot 31457c7472 docs(changelog): safety residuals, pre-commit allowlist 2026-11-06 17:36:32 +01:00
bchanot 7ca6b18f08 fix(tests): gate round, fail-closed sources and gitflow-test mktemp
gitflow-test aborts on a failed mktemp or newrepo before its reset --hard; helper sources exit on failure; no lint suppression left; T19c reads a real registry; doctrine rewrapped.
2026-11-06 17:27:44 +01:00
bchanot c5bd0f8312 fix(gitflow): pre-commit exempts only .claude memory, tasks, audits, deploy
Any .claude/** set passed on main/develop, rules and settings included, and a git mv hid its source. The hook now allowlists the side-car dirs and lists with --no-renames; both hook copies regenerated, citers reworded.
2026-11-06 17:13:58 +01:00
bchanot 97c6afcbc8 fix(settings): deny rtk read with a flag before a root .env
rtk read -n .env matched no deny and rtk passed it through. Bench R3-R7 prove the two new rules and that the */ twins already cover flagged forms. Bench hardened: checked mktemp, mandatory dir.
2026-11-06 16:43:45 +01:00
bchanot dc5f127ea5 fix(tests): hook-running suites stub the claude CLI fail-closed
Inline stubs ran claude probe before checking the stub won PATH, and three suites ran the hook with no stub. A shared helper checks resolution, controls from another cwd and exits on any miss (BLK-043 family).
2026-11-06 16:39:38 +01:00
bchanot d93f06cb9b fix(hooks): session-start memory.sh check bounded by timeout 2
An unbounded registry check could stall every session start; it now uses the digest's timeout shape. SD16 proves a hung check returns under 3.5 s.
2026-11-06 16:36:16 +01:00
bchanot 9b3961e622 fix(memory): an assignment-shaped path is read as a file by awk
awk took --body-file x=1.md or a check/upgrade dir like a=b for a var=value operand and read stdin: checks passed vacuously and the entry got stdin. _mem_path_safe prefixes ./ to that shape only.
2026-11-06 16:34:25 +01:00
bchanot ddb04f4794 Merge feature/memory-recall into develop 2026-11-06 15:24:13 +01:00
bchanot e941973df1 chore: purge transient planning artifacts (BDR-065) 2026-11-06 15:23:28 +01:00
bchanot 34e726ae44 chore(memory): journal — hotfix BLK-043 Part B session-digest stub 2026-11-06 14:43:02 +01:00
bchanot 2f45452ce1 test(hooks): session-digest suite stubs the claude CLI (BLK-043 Part B) 2026-11-06 14:42:38 +01:00
bchanot 0da14d8bd8 chore(model-router): capitalize route confirmed (apply) 2026-11-06 14:38:49 +01:00
bchanot d0ba68af0b chore(memory): LRN-263, LRN-264 — capitalize 2026-11-06 14:05:56 +01:00
bchanot 5a080b8267 chore(settings): dark theme, switchModelsOnFlag moved by /config 2026-11-06 13:15:28 +01:00
bchanot 4a7ce37018 fix(memory): enabled:false in memory.json and foreign repos cut the session digest
The digest now honours the mod's switch (boolean false only) and skips repositories with gitflow.protect false, like the recall channels. SD13/SD14 cover both.
2026-11-06 13:15:28 +01:00
bchanot 3564e3ee77 Merge branch 'develop' into feature/memory-recall
# Conflicts:
#	hooks/session-start.sh
2026-11-06 12:48:17 +01:00
bchanot 7e47bead88 Merge hotfix/detect-plan-fork-bomb into develop 2026-11-06 12:06:38 +01:00
bchanot fd646a611a chore(memory): BLK-043 fork bomb resolved in 49aa2ff, BLK-044 open, contract and plans 2026-11-06 11:38:48 +01:00
bchanot 49aa2fff78 fix(hooks): detect_plan no longer calls the claude CLI (fork bomb)
`claude config get planType` started a full session whose SessionStart
hook called detect_plan again: unbounded recursion, OOM, reboot
(BLK-043). detect_plan now reads ~/.claude.json only and defaults to
pro; the hook gets an env recursion guard.
2026-11-06 11:38:13 +01:00
bchanot fb2a4ff5ba fix(memory): sweep before save, retry on a rejected set, foreign repos get no recall 2026-11-05 19:14:26 +01:00
bchanot a8847d7525 chore(contract): phase 4c gates 1-2 decisions [gated], criterion 8 amended 2026-11-05 19:07:55 +01:00
bchanot c8afc03e8a chore(contract): phase 4c GATE 0 MET (GATES_TIMEOUT 540) 2026-11-05 18:49:26 +01:00
bchanot a2e22b4918 chore(contract): phase 4c interactive proof PASS 2026-11-05 18:42:49 +01:00
bchanot a22052e31a chore(bench): phase 4c re-measure after the final-review fixes 2026-11-05 18:23:15 +01:00
bchanot cea9f6a7b9 docs: memory recall facts after the final review 2026-11-05 18:21:46 +01:00
bchanot 2397c36f06 fix(memory): final review — 2-letter stop words, log keys in the sweep, trigger and outcome in the log 2026-11-05 18:19:22 +01:00
bchanot 717e2262e5 chore(contract): phase 4c final review gate [gated] 2026-11-05 18:15:07 +01:00
bchanot c4cc1bb851 chore(contract): phase 4c headless known-line proof PASS 2026-11-05 17:52:34 +01:00
bchanot 2a0d73da12 docs: memory recall, known-error line and session digest 2026-11-05 17:51:19 +01:00
bchanot 3261a919c2 feat(memory): rerank bound 5 s (measurement gate) 2026-11-05 17:47:33 +01:00
bchanot c43b18cdcd chore(bench): phase 4c re-measure after the content floor, 5 s rerank bound gated 2026-11-05 17:46:15 +01:00
bchanot debdead5e0 feat(memory): recall needs five content words (measurement gate) 2026-11-05 17:43:25 +01:00
bchanot adb3db97cb chore(bench): phase 4c recall measured on 14 days of transcripts, content floor gated 2026-11-05 17:38:30 +01:00
bchanot f9787044ff test(hooks): SD12 timing bound with sub-second precision 2026-11-05 17:19:38 +01:00
bchanot d0d119fe30 fix(hooks): digest bash 3.2 safe and time-bounded 2026-11-05 17:17:31 +01:00
bchanot 177502139d fix(hooks): digest keeps the journal line under the cap 2026-11-05 17:11:45 +01:00
bchanot 3937948a2a chore(contract): phase 4c digest cap order [gated] 2026-11-05 17:08:52 +01:00
bchanot 4928c0e5e7 feat(hooks): memory digest at session start 2026-11-05 17:03:23 +01:00
bchanot 8778c9d920 fix(memory): known line rematches on live entries after the status read 2026-11-05 17:02:16 +01:00
bchanot 78eff1cf34 feat(memory): memory_pending lists earlier-session milestones 2026-11-05 16:59:25 +01:00
bchanot 66696e9a3e feat(memory): known-error line on failing commands 2026-11-05 16:52:21 +01:00
bchanot 3bb2eafb0c feat(memory): intent recall at the prompt, once per context 2026-11-05 16:41:34 +01:00
bchanot acbfd71327 feat(memory): recall switch, injection log and per-context ledger 2026-11-05 16:28:54 +01:00
bchanot a75efabbf1 feat(memory): bm25 ranking and the rerank prompt 2026-11-05 16:18:39 +01:00
bchanot 6adb05ce1e fix(memory): errno phrases never make an error known 2026-11-05 16:12:22 +01:00
bchanot 38afa9325d feat(memory): status reader through memory.sh, entries with lessons 2026-11-05 16:06:09 +01:00
bchanot 44e843685f chore(contract): phase 4c STEP 3 gate [gated], criteria 9-12 2026-11-05 15:59:17 +01:00
bchanot c38e602fcd docs(plan): phase 4c plan r3 (confirmation pass) 2026-11-05 15:26:42 +01:00
bchanot 6342798181 docs(plan): phase 4c plan r2 (challenge r1 findings) 2026-11-05 15:11:41 +01:00
bchanot b37d8b2bea Merge branch 'develop' into feature/memory-recall 2026-11-05 15:11:01 +01:00
bchanot 2be5df4eb8 Merge feature/extract-guard into develop 2026-11-05 15:08:11 +01:00
bchanot db499743ef chore(memory): BDR-138 + BLK-042 + LRN-262 — feat extract-guard 2026-11-05 14:43:49 +01:00
bchanot 0ca453f044 fix(hooks): extract-guard keeps <name> placeholders as words 2026-11-05 14:43:48 +01:00
bchanot 8d5a7bdb07 docs: extract-guard in the guardrail table, README, ARCHITECTURE and CHANGELOG 2026-11-05 14:41:00 +01:00
bchanot f02fd8a5db fix(hooks): extract-guard 64 KiB cap, $"…" quotes, expansion-built names in MISSES 2026-11-05 14:33:01 +01:00
bchanot f4b19d0dc1 chore(contract): extract-guard rulings approved by the user, 64 KiB cap 2026-11-05 14:31:20 +01:00