Commit Graph
100 Commits
Author SHA1 Message Date
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
bchanot cf9a3b8ea7 fix(hooks): extract-guard gate findings (size cap, control bytes, obfuscated names, globs, cpio -p, subshell cd) 2026-11-05 09:51:53 +01:00
bchanot 83de325e78 chore(contract): extract-guard gate rulings 2026-11-05 09:46:30 +01:00
bchanot 42e37cbe85 chore(settings): wire extract-guard and its soft_deny line 2026-11-05 00:24:46 +01:00
bchanot 5507972d3a feat(hooks): extract-guard refuses package/archive extraction into system dirs
PreToolUse Bash|Monitor hook: dpkg/dpkg-deb -x, tar x, unzip, cpio -i and cp -r
into /, /usr, /etc or another system root, including inside quoted ssh,
vaas-cli ssh and bash -c scripts; doctrine bullet in Destructive tools.
2026-11-05 00:24:45 +01:00
bchanot bc41d62c89 chore(contract): extract-guard contract and plan r3 2026-11-04 22:39:46 +01:00
bchanot d1f3dacdcd chore(plan): phase 4c plan r1 challenge synthesis (r2 pending) 2026-11-04 22:16:38 +01:00
bchanot fe6f953553 docs(plan): phase 4c memory recall plan r1, pass B gated 2026-11-04 20:19:43 +01:00
bchanot fb6cbf1e34 docs(spec): phase 4c memory recall design, contract and spike 2026-11-04 19:15:34 +01:00
bchanot 06d2576bc0 chore(memory): journal + TODO — phase 4b merged 2026-11-04 18:22:12 +01:00
bchanot dfadf8ad8a Merge feature/memory-capture into develop 2026-11-04 18:20:52 +01:00
bchanot dc9ce6e4e5 chore: purge transient planning artifacts (BDR-065) 2026-11-04 18:20:51 +01:00
bchanot b5e1644a84 chore(contract): phase 4b criterion 9 proven live (/clear half), 4c follow-up noted 2026-11-04 18:13:59 +01:00
bchanot ffa12998c8 chore(contract): phase 4b interactive note check PASS, /clear half pending 2026-11-04 18:10:44 +01:00
bchanot 71fc7e5b92 chore(contract): phase 4b FILE SCOPE memory registries, GATE 0 MET on the final tree 2026-11-04 15:38:28 +01:00
bchanot f166c49d10 docs: memory capture redaction set, store path, switch log after the security rounds 2026-11-04 15:34:49 +01:00
bchanot 5d55585ea5 fix(memory): Set-Cookie header, curl segment prefixes
Header rule names Set-Cookie again behind the lookbehind. The curl
segment test admits sudo, rtk, NAME=value, NAME=$( and $( prefixes.
2026-11-04 15:33:33 +01:00
bchanot 08e36dcc0b chore(memory): BDR-137 + LRN-258..261 + BLK-041 + EVAL-057 — ship-feature phase 4b memory capture 2026-11-04 15:26:01 +01:00
bchanot 181bcfc7f2 fix(memory): hyphenated api-key, URL scheme bound, cookie flag scoped to curl
api[_-]?key in JSON, pair and header rules. URL scheme bound 200 behind a
lookbehind. -b redacted only in a curl segment (quote-aware cut); --cookie
stays global. Timing test slack for load.
2026-11-04 15:25:25 +01:00
bchanot f80b00a997 fix(memory): security re-scan — header tail, cookie flags, JSON key affixes, URL lookbehind
Header rule redacts to end of line. -b/--cookie values redacted before
pattern 1. JSON keys take affixes. URL rules get a lookbehind. A switch
file with no boolean enabled logs one line. Probe skips logging without
CLAUDE_JOB_DIR.
2026-11-04 14:55:08 +01:00
bchanot 24f53afa99 chore(contract): phase 4b GATE 1/2 micro-gates [gated], answers 4-amended, 6-bis, 7-amended, FILE SCOPE 2026-11-04 14:42:39 +01:00
bchanot a403df2472 docs: security gate — data rule in § WRITE, spike probe header, redaction set
capitalize-commit § WRITE: captured text only via a quoted heredoc body
file. Spike probe flagged do-not-load, job path generic. noise.py port
scope stated. README, USAGE, CHANGELOG list the 6-bis redaction shapes.
2026-11-04 14:42:15 +01:00
bchanot d5dd34fc68 fix(memory): security gate — redaction shapes 6-bis, off switch log, span cap, line flatten
Vendor prefixes, --token flags, API-key headers, JSON and key: value
pairs, hex URL user redacted; quoted values redacted to the closing
quote. Unreadable ~/.claude/memory.json logs one line. Registry spans
capped at 300. Stored line gets the newline flatten.
2026-11-04 14:39:50 +01:00
bchanot cbfa79edf8 docs: USAGE capture rule and redaction set after the final review 2026-11-04 14:14:06 +01:00
bchanot c6a5fcea9e fix(memory): linear JWT regex, whole-token credential redaction 2026-11-04 14:14:05 +01:00
bchanot f620d8f894 chore(contract): phase 4b final review [gated], answer 6-amended, PROOF corrections 2026-11-04 14:05:21 +01:00
bchanot a4d29ea9f2 docs: memory capture after the final review 2026-11-04 14:05:06 +01:00
bchanot c81a7a2132 fix(memory): final review — placeholder grams, redaction shapes, letter rule, success fast path 2026-11-04 14:02:42 +01:00
bchanot c0acee6ae8 chore(contract): phase 4b GATE 0 MET (6 oracles) 2026-11-04 13:14:51 +01:00
bchanot 4fb0aefa3e chore(contract): phase 4b Task 9 proof recorded (headless PASS, interactive pending) 2026-11-04 13:10:41 +01:00
bchanot 1ad53eff40 test(memory): errorish edge cases, letterless rule folded into the filter 2026-11-04 13:10:26 +01:00
bchanot 19d063525b chore(contract): phase 4b noise gate [gated], answer 2-amended, criterion 15 2026-11-04 13:07:26 +01:00
bchanot 6fb16a3636 docs: memory capture rule after the noise gate 2026-11-04 13:05:04 +01:00
bchanot 2674bbd997 fix(memory): error-shaped line filter (noise gate option A) 2026-11-04 13:04:45 +01:00
bchanot a10a739388 docs: memory capture mod 2026-11-04 12:52:42 +01:00
bchanot ced6cb96f8 chore(bench): phase 4b capture noise measured on 14 days of transcripts 2026-11-04 12:48:54 +01:00
bchanot 76013d6812 feat(skills): capitalize and the CAPITALIZE steps read memory_pending first 2026-11-04 12:43:17 +01:00
bchanot 01eac15367 fix(memory): heredoc commit form, per-segment milestone matching 2026-11-04 12:38:37 +01:00
bchanot 86fac26390 feat(memory): milestones and one note at the next prompt 2026-11-04 12:28:54 +01:00
bchanot 929c5dc50c fix(memory): fail-open exists probe, drop dead readRegistry 2026-11-04 12:20:03 +01:00
bchanot 0478061457 fix(memory): bound index regexes, skip unreadable registries and malformed entries 2026-11-04 12:14:58 +01:00
bchanot e31baf669c feat(memory): memory_pending tool with the registry error index 2026-11-04 12:07:20 +01:00
bchanot 51828461fd fix(memory): bound redaction pattern 1, adversarial timing cases 2026-11-04 11:55:04 +01:00
bchanot 6072522558 feat(memory): capture Bash failures, redacted and bounded, per project and session 2026-11-04 11:51:28 +01:00
bchanot cc1da66fd4 feat(memory): redaction and normalization 2026-11-04 11:39:43 +01:00
bchanot f1d4f9de0a feat(memory): mod skeleton with off switch and fail-open hooks 2026-11-04 11:35:29 +01:00
bchanot 8e141feeb5 chore(contract): phase 4b STEP 3 gate [gated] (plan r3, build off switch), criteria 10-14 2026-11-04 11:30:29 +01:00
bchanot f2daf76f18 docs(plan): phase 4b plan r3 after the confirmation challenge 2026-11-03 21:47:55 +01:00
bchanot 4888296841 docs(plan): phase 4b plan r2 after the three-lens challenge 2026-11-03 21:29:36 +01:00
bchanot a887a14b98 docs(plan): phase 4b memory capture plan r1 2026-11-03 21:10:16 +01:00
bchanot 55f4b6ab6e chore(contract): phase 4b brainstorm answers [gated] 2026-11-03 14:55:14 +01:00
bchanot fefcd9bfd6 docs(spec): phase 4b memory capture design 2026-11-03 14:55:13 +01:00
bchanot be4c4c49f2 chore(tasks): phase 4b contract seed and engine spike report 2026-11-03 11:18:12 +01:00
bchanot 60f28a66a7 chore(tasks): phase 3 closed with the user's /context measures; dev tool-search measure queued 2026-11-03 11:03:54 +01:00
bchanot 29624d703f Merge feature/phase2-guards into develop 2026-11-02 23:14:03 +01:00
bchanot e81f62c36e chore: purge transient planning artifacts (BDR-065) 2026-11-02 23:14:02 +01:00
bchanot 867a34c326 docs: phase 2 doc sync (static rule limits, release prep span, code-limits hook, merge tier, .env denies, guard in the mod manifest) — ship-feature phase2-guards 2026-11-02 22:50:48 +01:00
bchanot fd31640b9c chore(memory): phase 2 guards — BDR-136, LRN-256/257, EVAL-056, BLK-018 resolved, journal; TODO security follow-ups 2026-11-02 20:59:06 +01:00
bchanot 69a0b9b10c chore(contract): USAGE.md in FILE SCOPE [gated]; TODO punctuation 2026-11-02 20:43:03 +01:00
bchanot 691ff6b44f chore(contract): criterion 13 counts the T15 regression case 2026-11-02 20:32:21 +01:00
bchanot a17dcaeb4a chore(contract): phase 2 merge-gate rulings [gated] (16 replaces 11, criterion 1 residual, 5 and 7 amended) 2026-11-02 20:29:23 +01:00
bchanot b30cf2b7b3 docs(plan): phase 2 results recorded 2026-11-02 20:00:22 +01:00
bchanot e11d1f8a62 fix(settings): the gate hard_deny also names loading an unrelated skill to open the write guard 2026-11-02 20:00:18 +01:00
bchanot fd3a1bf0fa docs(model-router): document the main-loop write guard 2026-11-02 19:57:59 +01:00
bchanot 15c3a76b57 fix(release-candidate): split check and finish calls, stop on any finish failure 2026-11-02 19:57:49 +01:00
bchanot 63f4628452 test(model-router): a denied Skill answer keeps the write guard closed 2026-11-02 19:57:49 +01:00
bchanot db2937d8b7 fix(code-limits): resolve physical path so symlinked dirs see tracked files 2026-11-02 19:56:11 +01:00
bchanot 9d928a266a docs(rtk-hook): reflow exit-code header, fix emit and rc 2 comments, re-pin 2026-11-02 19:50:59 +01:00
bchanot c58b3e7a58 fix(test): rtk pin check falls back to shasum on macOS 2026-11-02 19:50:42 +01:00
bchanot 005bfe185d chore(tasks): phase 2 GATE 0 evidence (criterion 11 abandoned with reason, 16 proposed), TODO phase 2 shipped + residuals + hand-over 2026-11-02 19:06:52 +01:00
bchanot c3a6977aa3 docs(changelog): phase 2 guards, rtk passthrough, release finish in the main loop 2026-11-02 18:47:49 +01:00
bchanot f5e5d9a32b chore(bench): phase 2 live-settings pass L1-L6 2026-11-02 18:46:14 +01:00
bchanot 0bf46202de docs(doctrine): model-agnostic ceiling held by the router guard, finish/merge ask, ask prompts under auto, static rule limits 2026-11-02 18:45:59 +01:00