Commit Graph
100 Commits
Author SHA1 Message Date
bchanot aa86fd3e79 Merge feature/bare-model-dialog into develop 2026-10-29 17:47:28 +01:00
bchanot d132e0107d chore(memory): BLK-037 + BDR-132 + LRN-242/243 — feat bare-model-dialog, TODO live checks 2026-10-29 17:47:19 +01:00
bchanot 657e5cb55b feat(router): a bare /model opens the router's model, variant and scope dialog
Picking the session's current model in the native picker fires no PreModelSwitch, so the scope question never came and the project pin stayed. The bare /model now asks model (fable/opus/sonnet or the native picker), Standard or [1m], then the scope.
2026-10-29 17:25:36 +01:00
bchanot 757e686445 chore(contract): bare /model dialog contract + plan r2 (gateway-ids plan superseded) 2026-10-29 16:58:04 +01:00
bchanot 9a20ca797b Merge feature/context-diet into develop 2026-10-29 14:42:43 +01:00
bchanot d1d1127f31 chore: purge transient planning artifacts (BDR-065) 2026-10-29 14:42:42 +01:00
bchanot cdcf28f3dc docs: CHANGELOG, MIGRATION, README, ARCHITECTURE name phase 1 context diet (carriers, auto memory off, doctor check) — ship-feature context-diet 2026-10-29 14:42:27 +01:00
bchanot 6a5208f545 chore(memory): BDR-130 + BDR-131 + LRN-238..241 + EVAL-053 — ship-feature context-diet, TODO phase 1 checked + follow-ups 2026-10-29 14:40:35 +01:00
bchanot a29b6d5871 chore(contract): GATE 1 human micro-gate answers 2026-10-29 14:20:39 +01:00
bchanot 789a2b2027 fix(doctrine): final-review wave — Supabase/functions pointers say Read before a new file, graphify/API/ship-feature wording 2026-10-29 13:51:53 +01:00
bchanot 1c14e31db9 chore(contract): phase 1 controller proofs + GATE 0 evidence 2026-10-29 13:30:14 +01:00
bchanot ce7d426fc7 chore(contract): analyzer memory ruling (gated) 2026-10-29 13:27:41 +01:00
bchanot 22cfcd910b chore(agents): descriptions trimmed to ≤ 200 chars at the source 2026-10-29 13:13:20 +01:00
bchanot c4f3f0b17b feat(memory): autoMemoryEnabled false; doctor warns on leftover auto-memory files 2026-10-29 13:10:44 +01:00
bchanot 363fa90f8f test(census): resolve rules/ and lib/ § citations against their file 2026-10-29 13:08:36 +01:00
bchanot 6a642956d8 test(rules): user-rules suite locks the always-on set; engine matching documented 2026-10-29 13:05:17 +01:00
bchanot 664d1ea839 feat(rules): Supabase and cloud-functions bodies become path rules, one always-on line each 2026-10-29 13:03:31 +01:00
bchanot 2fe5291a13 feat(doctrine): architecture defaults move to lib/architecture-defaults.md, Web APIs to rules/rest-api.md 2026-10-29 13:00:58 +01:00
bchanot de6e51ce7a feat(graphify): usage rules print from session-start only where a graph exists 2026-10-29 12:58:53 +01:00
bchanot 4bbb3c58d4 feat(design): Design work moves to rules/web-building.md, hook points there and skips sub-agent hand-backs 2026-10-29 12:56:58 +01:00
bchanot 45977899ff docs(plan): C5 per gate (stash UI settings around finish) 2026-10-29 12:55:37 +01:00
bchanot 4bbd6e278e chore(contract): phase 1 contract, oracles, gate amendments 2026-10-29 12:54:56 +01:00
bchanot 0441e5647d docs(plan): r3, confirmation-challenge minors 2026-10-29 12:25:37 +01:00
bchanot 242d5bcdba docs(plan): phase 1 plan r2 after the 3-lens challenge 2026-10-29 12:04:57 +01:00
bchanot d2bd20995e docs(plan): phase 1 native context diet 2026-10-29 11:40:10 +01:00
bchanot 6ca2c3b617 docs(spec): phase 1 native context diet (design) 2026-10-29 11:30:31 +01:00
bchanot 017a28b45c Merge feature/memory-v2-write into develop 2026-10-28 19:20:38 +01:00
bchanot a19b46735e chore: purge transient planning artifacts (BDR-065) 2026-10-28 19:20:37 +01:00
bchanot 776a417c5c chore(settings): switchModelsOnFlag on; security-guidance stays enabled 2026-10-28 19:18:41 +01:00
bchanot 5f0d848ce4 chore(memory): BDR-129 + LRN-236 + LRN-237 + EVAL-052 — ship-feature memory-v2-write, TODO phase 4a checked + follow-ups 2026-10-28 18:40:31 +01:00
bchanot 870cdf444e docs: CHANGELOG, MIGRATION, ARCHITECTURE name memory v2 (single writer, v2 registries, upgrade path) — ship-feature memory-v2-write 2026-10-28 18:40:30 +01:00
bchanot a69844bff9 chore(memory): contract proof update — trucks_at_work refused, Date duplicates removed 2026-10-28 18:36:53 +01:00
bchanot aab9e4d9a0 fix(memory): bounded lock loop, entry-ID validation, refuse a non-table Index, check refuses nothing-to-check, Date label spacing 2026-10-28 18:28:54 +01:00
bchanot 14de31cca1 chore(memory): contract proof for criterion 13 — 13/14 copies upgraded, game refused 2026-10-28 17:54:26 +01:00
bchanot 28c5a4209b fix(memory): resolve the lib dir before -C so upgrade finds the templates from a relative path 2026-10-28 17:53:48 +01:00
bchanot 7052c6858e chore(memory): EVAL-005/028/040 Index actions materialized; contract clarifications — memory v2 verifier gap 2026-10-28 17:26:04 +01:00
bchanot 7806ab426b fix(memory): upgrade keeps an EVAL Index action the body lacks; lib lines ≤ 80 2026-10-28 17:25:36 +01:00
bchanot 9698473f8e chore(memory): registries v2 — Index removed, Index-only dates and statuses materialized (memory.sh upgrade) 2026-10-28 16:32:02 +01:00
bchanot c742b1f322 fix(memory): upgrade-side v1 reader skips status lines inside code fences 2026-10-28 16:23:33 +01:00
bchanot 197b899c3f fix(memory): upgrade-side v1 range ignores headings inside code fences 2026-10-28 16:01:22 +01:00
bchanot 7b26000f48 fix(memory): upgrade reads each entry's v1 status within its own range 2026-10-28 15:16:31 +01:00
bchanot fdba49d6a8 fix(memory): upgrade never repairs an entry the v1 reader could not see; RECONCILE_GREP honoured 2026-10-28 14:57:05 +01:00
bchanot 18d1c0b6bc feat(memory): upgrade migrates every v1 dialect — headings normalized, frontmatter added, verdict oracle 2026-10-28 14:34:48 +01:00
bchanot c318ee6297 feat(prune-memory): v2 registries — § D dropped, status and merges through memory.sh, STEP 4 verify = memory.sh check 2026-10-28 14:21:23 +01:00
bchanot f15c360b95 docs(memory): one WRITE section in capitalize-commit.md, every flow cites it; Index steps removed; doctrine names the single writer 2026-10-28 14:19:21 +01:00
bchanot 6c9bb7c58b feat(memory): templates born v2 (format: 2, no Index); session banner names a v1 registry 2026-10-28 14:16:50 +01:00
bchanot f6d29bae93 feat(memory): memory-commit refuses a staged in-place edit or new culprit in a v2 registry (rc 6, unstaged); rc 5/6 documented 2026-10-28 14:09:58 +01:00
bchanot 803a34b89a test(reconcile): T8d reads a lib-shaped v1 fixture instead of a temp registry 2026-10-28 14:08:03 +01:00
bchanot 27643a4429 fix(reconcile): v2 blocker status through the shared memory.sh parser and classifier — BLK-032..034 no longer false-open; v1 reader unchanged 2026-10-28 14:07:08 +01:00
bchanot a423594ee0 feat(memory): lib/memory.sh single registry writer — add/status/journal/index/check/upgrade, shared status parser, noclobber lock 2026-10-28 14:05:18 +01:00
bchanot 0ccd4af88f docs(plan): Task 8 — upgrade migrates every v1 dialect (user ask at the gate) 2026-10-28 14:04:11 +01:00
bchanot bfa062081f docs(plan): memory v2 write r3 — any-level ID allocation, v1 status as body line, verified backup + one trap, token lock 2026-10-28 13:47:44 +01:00
bchanot c1de516b27 docs(plan): memory v2 write r2 — challenge round 1 addressed (one classifier, dialect-tolerant key, ENVIRON, fences, new-culprits-only) 2026-10-28 11:59:28 +01:00
bchanot 90d5f96c95 docs(plan): memory v2 write side — 7 tasks + proven reference lib, suite, fixture 2026-10-28 10:36:29 +01:00
bchanot cdc0a4778b docs(spec): memory v2 write side design + contract seed — phase 4a 2026-10-27 20:40:39 +01:00
bchanot ae9a7e3dcd Merge feature/extract-hardening into develop 2026-10-27 20:13:14 +01:00
bchanot 0d5f78b44f chore(memory): LRN-235 — feat extract-hardening, contract + plan + TODO follow-ups 2026-10-27 20:12:34 +01:00
bchanot 9160ce2826 docs: CHANGELOG names the extract out-path refusals and the untouched-source guarantee — feat extract-hardening 2026-10-27 20:11:59 +01:00
bchanot 14a93e3f19 feat(rules): extract refuses an absolute, .. or existing out path and checks the mkdir and rule-write rc before rewriting the source
A failed rule write used to remove the section with rc 0. Split S0.3 prose follows the lib's heading case order.
2026-10-27 20:03:28 +01:00
bchanot 06012ea12d chore(memory): journal + TODO — phase 0b complete, faunosteo split 2026-10-27 16:05:07 +01:00
bchanot df65052270 chore(memory): journal + TODO 0b — three repos split, seven keep everything 2026-10-27 15:03:07 +01:00
bchanot 45d07c8e0a Merge feature/rules-h3-extract into develop 2026-10-27 14:44:42 +01:00
bchanot f85e9a722c chore(memory): LRN-234 — feat rules-h3-extract, contract + plan + TODO follow-ups 2026-10-27 14:43:19 +01:00
bchanot c446caeae6 docs: CHANGELOG names the ### extract and sections --depth 3 — feat rules-h3-extract 2026-10-27 14:43:13 +01:00
bchanot ab5049e5b1 feat(rules): extract accepts a ### heading, sections --depth 3 lists subsections, split mode names the ### row
A ### section ends at the next heading of level <= 3 outside a fence; a last ### gives its parent's trailing --- back. Bare headings stay ##.
2026-10-27 14:38:57 +01:00
bchanot 925dafa4bc Merge feature/claude-md-split into develop 2026-10-27 13:24:37 +01:00
bchanot 9e116a48d7 chore: purge transient planning artifacts (BDR-065) 2026-10-27 13:24:19 +01:00
bchanot dc6580a6e5 docs: ARCHITECTURE tree, README/USAGE /onboard split, CHANGELOG path rules + InstructionsLoaded logger — ship-feature claude-md split 2026-10-27 12:05:38 +01:00
bchanot 336e7a7e4e chore(memory): BDR-128 + LRN-232/233 + EVAL-051 — ship-feature claude-md split, contract + TODO 0b note 2026-10-27 11:36:37 +01:00
bchanot 0b59687e1e fix(rules): extract rc 2 on a failed rewrite, H1 ends a section, split S0 ordered with row allowlist, stage per row 2026-10-26 21:53:49 +01:00
bchanot 89334f2901 fix(rules): named dep-dir globs match, inline-paths error names the form, gitignore newline guard, no | in globs 2026-10-26 18:04:15 +01:00
bchanot 7b878b5dc3 chore(todo): phase 0 done in-repo, per-repo pass queued as phase 0b 2026-10-26 17:58:23 +01:00
bchanot dbd20dd575 feat(generators): onboarder and scaffolder emit docker/testing/ci path rules from templates/project-rules 2026-10-26 17:55:01 +01:00
bchanot 041e04b1d6 feat(onboard): split mode classifies CLAUDE.md sections, onboarder MODE: split executes (RED: current skill ran archetype detection on split) 2026-10-26 17:51:20 +01:00
bchanot b4131666af chore(citers): rules/README and doctor point at .claude/rules after the split 2026-10-26 17:49:07 +01:00
bchanot 433c10d78f refactor(claude-md): four sections become .claude/rules path rules (phase 0) 2026-10-26 17:47:53 +01:00
bchanot ce8e60ee7c chore(gitignore): un-ignore .claude/rules/ here and in the gitflow socle 2026-10-26 17:46:24 +01:00
bchanot e7d800f053 feat(hooks): InstructionsLoaded logger, the proof channel for path rules 2026-10-26 17:44:17 +01:00
bchanot abfa4167ea feat(rules): lib/project-rules.sh check/matches/sections/extract + suite 2026-10-26 17:41:07 +01:00
bchanot 36dfee0b26 docs(plan): r3 after correctness confirmation — awk matches (SIGPIPE), $BASH no-jq test, dry run branches first, commit rc + cat-file HEAD, 80 cols, 4-backtick fences 2026-10-26 17:27:47 +01:00
bchanot 11119d8d6d docs(plan): r2 after 3-lens challenge — compgen matcher, -C root, matches, preflight+rollback, hook ids 2026-10-26 08:49:47 +01:00
bchanot 420448a93b docs(plan): phase 0 claude-md split implementation plan 2026-10-26 01:16:50 +01:00
bchanot 2c8e4a20c0 docs(spec): phase 0 claude-md split design 2026-10-26 01:02:02 +01:00
bchanot aaeaac82f7 Merge bugfix/router-haiku-effort into develop 2026-10-25 23:34:08 +01:00
bchanot 1114c985a4 chore(memory): BLK-035 closed, BDR-107/123 amended for Haiku 5 effort, LRN-230 addendum 2026-10-25 22:41:51 +01:00
bchanot 8e93507b19 fix(router): only Haiku 4.x takes no effort; Haiku 5.x gets its route's
The no-effort rule was keyed on every claude-haiku id, so Haiku 5.5 ran at the engine default instead of its phase effort (mechanical: low). The guard now names Haiku 4.x; status-reporter pins effort: low.
2026-10-25 22:19:55 +01:00
bchanot a6b94a4c46 Merge feature/model-scope-dialog into develop 2026-10-25 20:48:19 +01:00
bchanot 438462f084 chore(memory): BDR-127 picker scope, LRN-231, EVAL-050, BLK-036 resolved 2026-10-25 20:42:34 +01:00
bchanot 5d262d3054 docs(router): /model picker scope and hand pick in README, USAGE, CHANGELOG 2026-10-25 20:41:37 +01:00
bchanot 2202964d02 feat(router): the /model picker asks its scope; a hand pick always switches
A pick in the picker is held (PreModelSwitch deny), then the same project / conversation / everywhere question runs; only Everywhere reaches the native write to user settings.json. A model chosen in that dialog bypasses the cold-read caps but waits while held down.
2026-10-25 20:36:49 +01:00
bchanot 48778af154 chore(memory): BLK-035/036, LRN-230, queue haiku effort fix and picker scope feat 2026-10-25 18:46:54 +01:00
bchanot 2c39524473 fix(router): haiku maps to claude-haiku-5-5, not Haiku 4.5
The native haiku alias moved to claude-haiku-5-5, so haiku sessions were unknown to the table and never routed. The 200K window entry was Haiku 4.5's; 5.5 is 1M like the rest.
2026-10-25 18:35:18 +01:00
bchanot 20c66238fc chore(memory): BDR-126 /model scope dialog, LRN-228/229, EVAL-049 2026-10-25 17:01:50 +01:00
bchanot 773fe17a85 docs(router): /model scope dialog in README, USAGE, CHANGELOG 2026-10-25 16:31:32 +01:00
bchanot 1fde5bbc76 feat(router): /model <name> asks its scope: project, conversation, everywhere
This project writes model into .claude/settings.local.json and sets a sticky route; This conversation sets the sticky route only; Everywhere runs the native write. Links refused in the project tree, native never runs after an answer.
2026-10-25 16:21:39 +01:00
bchanot 5ee74bbb81 chore(memory): queue the /model scope dialog feat before phase 0 2026-10-25 14:44:25 +01:00
bchanot 1fcb6cae7f Merge chore/router-feat-row into develop 2026-10-25 14:40:47 +01:00
bchanot c5434e7de2 chore(memory): BDR-125 amendment 8, model per project and per conversation 2026-10-25 14:37:55 +01:00
bchanot 3228e45e79 chore(memory): phase 5 carries the model per project and per conversation (measured) 2026-10-25 14:18:23 +01:00
bchanot 0da7ac604c chore(router): confirmed row bugfix → reflect (dialog write) 2026-10-25 13:58:14 +01:00