Commit Graph
100 Commits
Author SHA1 Message Date
bchanot f21e2655ab feat(hooks): code-limits PostToolUse reports added lines over 80 columns in our code, once per file per session 2026-11-02 18:38:38 +01:00
bchanot 22ff57b57b feat(model-router): redirect main-loop code writes until a skill ran in the session 2026-11-02 18:37:29 +01:00
bchanot 60ee4a996e fix(rtk-hook): rtk ask (rc 3) passes the original command to the native rules; re-pin 2026-11-02 18:33:55 +01:00
bchanot d8b9a97980 chore(bench): phase 2 rule-shape bench (cases, isolated auto-mode runner) 2026-11-02 18:32:24 +01:00
bchanot eb29e8ce5e chore(contract): phase 2 STEP 3 gate [gated] (plan r3, amendments a-c, interactive ask fact), criteria 11-15 2026-11-02 18:30:09 +01:00
bchanot fccdb1e8c9 docs(plan): phase 2 plan r3 after the confirmation challenge 2026-11-02 18:05:53 +01:00
bchanot 516f39e6bb docs(plan,spec): phase 2 plan r2 after the three-lens challenge; spec R2 amendments 2026-11-02 17:38:52 +01:00
bchanot 3ac939a553 docs(plan): phase 2 guards implementation plan r1 2026-11-02 17:11:17 +01:00
bchanot 030189726a chore(tasks): phase 2 contract (brainstorm answers gated), TODO router ask-tier done, phase 2 in progress 2026-11-02 17:04:28 +01:00
bchanot 78a66c0e60 docs(spec): phase 2 guards design (merge gate, routing guard, shell deny hygiene, code-limits hook) 2026-11-02 17:04:27 +01:00
bchanot 13ccef67a2 Merge chore/todo-reconcile-bdr125 into develop 2026-11-02 17:03:39 +01:00
bchanot d4416fe26a Merge feature/router-ask-tier into develop 2026-11-02 17:03:20 +01:00
bchanot 19dc1da424 chore(memory): router ask-tier — BDR-135, LRN-254/255, EVAL-055, journal; contract + plan r3 2026-11-02 16:30:56 +01:00
bchanot 789fd00b23 docs: README ask-before-Fable bullet, /route list and config keys; CHANGELOG Unreleased; effort-shift toggle list — feat router-ask-tier 2026-11-02 16:06:40 +01:00
bchanot 9a24a6229a feat(model-router): ask before a route lifts main or a rowed spawn onto Fable
routing.json askTier (best | false), /route ask-tier on|off, one question per span with origin, phase, about, model and effort: Fable, Opus instead (big tier), stop for the session. The choice is a tier name stamped on the turn and run slots, inherited by same-tier helper routes only; spawns remember one answer per agent type per session; never headless or inside an agent. 28 TIER tests.
2026-11-02 15:59:24 +01:00
bchanot e58a617e54 chore(todo): reconcile the BDR-125 phases 0, 1, 4a, 5 against git and the registries
Gates re-run (phase 5, memory v2 write and minors MET; phase 0 and 1 oracles drift from later gated changes), 31 SHAs checked. Five done-but-open items ticked, phase 5 follow-ups split, router ask-tier marked in progress.
2026-11-02 15:28:53 +01:00
bchanot 3cc4e0d541 Merge feature/phase5-profiles-packs into develop 2026-11-02 13:25:40 +01:00
bchanot 7fb64ac3b2 chore: purge transient planning artifacts (BDR-065) 2026-11-02 13:25:39 +01:00
bchanot 9cd9591f11 docs(phase5): MIGRATION steps 1-2 fail closed and re-derive the clone root; cc.sh sourcing at install; pack skills noted in the tables; absolute profile.sh paths 2026-11-02 13:10:42 +01:00
bchanot 3e021b2564 chore(memory): phase 5 profiles+packs — BDR-134, LRN-248..253, BLK-039/040, BLK-021 resolved, EVAL-054, journal, TODO tick 2026-11-02 12:47:13 +01:00
bchanot ebfe2159b8 chore(contract): phase 5 scope note for the TODO commit [gated] 2026-11-02 12:28:02 +01:00
bchanot 04635833a2 fix(migration,profile): recipe resolves the clone root and fails closed before cp; find -mindepth 1; grep -F id match; local JSON on stdin; -L guard before the impeccable refresh 2026-11-02 12:21:10 +01:00
bchanot 08ae797ba5 chore(todo): model-router ask before routing to Fable (queued after phase 5) 2026-11-02 12:14:15 +01:00
bchanot 55b55d21b5 chore(contract): phase 5 SC2086 authorization [gated], root-rule wording, criterion 3 deny set 2026-11-02 12:09:59 +01:00
bchanot 94ce345aa2 docs(phase5): higgsfield citers, MIGRATION fenced steps + real-dir impeccable, gate header, /profile allowed-tools, wording 2026-11-02 11:48:46 +01:00
bchanot 9327b4fcd0 fix(census,install): moved dirs scanned, real-dir remedy, impeccable adoption, retired list carries its rationale
Census scans the four moved dirs and bare skills/<n>/ citers, warns on
a pack id with no manifest, refuses equal fragments. Installers adopt a
real skills/impeccable with mv, never rm.
2026-11-02 11:48:46 +01:00
bchanot 9baba8a88a fix(profile): root follows the git common dir, managed-connector match, name allowlist, nine profiles
backend and web-full were identical to dev and full: removed. Root =
parent of the git common dir (worktree-safe, stops at HOME); shared
settings read from the -C dir. diff and unset skip no-op output/writes;
flag note says the write applies to other sessions only.
2026-11-02 11:48:36 +01:00
bchanot ffac7e539e chore(contract): phase 5 STEP 6 rulings [gated] (nine profiles, websites in pack-higgsfield, .env export kept, root rule, managed-connector match, name allowlist) 2026-11-02 11:06:05 +01:00
bchanot e1c102ab03 docs(plan): spike 3 run labels F0-F5 per the controller's notes; untrack the gitignored gate report 2026-11-02 10:21:45 +01:00
bchanot 3a589f9fa4 docs(phase5): spike methods and commands in § Facts, one-session reload canary, policy warning attributed to the deny profiles 2026-11-02 10:20:50 +01:00
bchanot e99cc2d7ef chore(contract): phase 5 floor-guard authorizations [gated] (4 shellcheck directives, 5 retired suites) 2026-11-02 10:18:18 +01:00
bchanot 2dab937f53 chore(contract): phase 5 GATE 0 evidence (7 runnable criteria MET) 2026-11-02 09:57:42 +01:00
bchanot cfdbf228ca fix(phase5): routing test: 21st parked rows resolve on a fresh clone 2026-11-02 09:48:05 +01:00
bchanot 44d1e79e70 docs(phase5): CHANGELOG under Unreleased, MIGRATION by feature with autostash, 158-tools caveat, advisor table 2026-11-02 09:47:14 +01:00
bchanot 04b9b865f8 fix(phase5): final review wave: cc.sh width, design-gate remedy + resolve check, routing test on a fresh clone, doctor fail-closed, dead column 2026-11-02 09:47:13 +01:00
bchanot fc6e270b7c chore(contract): phase 5 criteria 6 and 9 amended [gated] (fixtures excluded; MIGRATION section named by feature) 2026-11-02 09:41:29 +01:00
bchanot cfccbe930b docs(changelog): listing budget 50000 under the corrected name-only parse, dev delta, haiku caveat 2026-11-02 01:56:48 +01:00
bchanot f5b720bae7 feat(settings): SLASH_COMMAND_TOOL_CHAR_BUDGET=50000: 0 name-only skills on full under the corrected parse (+4.5k tokens est.) 2026-11-02 01:56:47 +01:00
bchanot a116cccec0 docs(changelog): listing budget numbers 2026-11-02 01:54:08 +01:00
bchanot 908c3cf39f feat(settings): SLASH_COMMAND_TOOL_CHAR_BUDGET=40000: 0 name-only skills on full (+2.5k tokens est.), measured 2026-11-02 01:54:07 +01:00
bchanot 08ed3b8dd7 docs(plan,changelog): phase 5 proof — concurrent profiles, per-project profiles, reload + slash forms, current --plain timing 2026-11-02 01:47:26 +01:00
bchanot 3da9d67ebb docs: README make profile dir=, stale 21st/higgsfield lines, MIGRATION heading 2026-11-02 01:47:25 +01:00
bchanot 438cd57818 docs: profiles and packs (README, USAGE, MIGRATION 2.1.0 bashrc step, ARCHITECTURE, CHANGELOG, global routing) 2026-11-02 01:44:49 +01:00
bchanot 1fb07050da chore(routing): skill census globs pack skills; long-name rows for pack skills; every row resolves to a skill 2026-11-02 01:38:59 +01:00
bchanot aef7d1fdc7 chore(install): installers fill skills-external only; impeccable moves to skills-external/impeccable; gstack setup needs the helper tree first; no default-profile step 2026-11-02 01:37:14 +01:00
bchanot 6509ab2958 feat(hooks,doctor): statusline and banner read profile.sh current --plain once; doctor runs the pack census and checks cc.sh sourcing, user-scope residue and the opus default 2026-11-02 01:34:50 +01:00
bchanot 58958229d9 docs(plugin-gate): probe reads current --plain, advisor emits profile.sh set/enable, /profile rewritten for packs 2026-11-02 01:31:35 +01:00
bchanot 350e658b60 feat(design-gate): the gate reads profile.sh current --plain; remedy is set web / enable design + reload, or a relaunch under --settings 2026-11-02 01:29:42 +01:00
bchanot ddd2cdb3ac feat(cc): cc <name> [profile] runs claude --settings lib/profiles/<profile>.json and exports CLAUDE_PROFILE* 2026-11-02 01:27:36 +01:00
bchanot babf232594 feat(packs): nine skills-dir packs, profiles as settings fragments, profile.sh on one jq pass; symlink toggling and toggle-external retired 2026-11-02 01:25:36 +01:00
bchanot f3569f2689 docs(plan): Task 1 fact — a dangling pack symlink hides nothing (FACT-DANGLING = kept) 2026-11-02 01:13:13 +01:00
bchanot caf3e65c1f chore(contract): phase 5 design-derived acceptance criteria [gated], final file scope 2026-11-02 01:04:32 +01:00
bchanot 4d1a00ebc5 docs(plan): phase 5 plan r3 after the confirmation challenge 2026-11-02 01:01:41 +01:00
bchanot 45c5e9d931 docs(plan): phase 5 plan r2 after the three-lens challenge 2026-11-02 00:34:34 +01:00
bchanot 97ecf531b7 chore(contract): phase 5 pass B clarifications 2026-11-01 21:33:32 +01:00
bchanot 0f3fd013eb docs(plan): scratchpad path generalized, facts kept in the plan 2026-11-01 21:20:38 +01:00
bchanot b14ab576fe docs(plan): phase 5 profiles and packs implementation plan (13 tasks) 2026-11-01 21:20:07 +01:00
bchanot 2c08307c20 docs(spec): phase 5 profiles and packs design + contract clarifications 2026-11-01 20:25:31 +01:00
bchanot a526bc792a Merge feature/memory-v2-minors-docs into develop 2026-11-01 12:21:55 +01:00
bchanot c5e49a3393 chore(memory): journal — feat memory-v2-minors-docs + TODO ticks 2026-11-01 12:21:53 +01:00
bchanot 8b175e41d1 docs(changelog): tour, deploy and audit-delta capitalize offers write through § WRITE 2026-11-01 12:21:52 +01:00
bchanot f83fcedaf6 chore(contract): memory-v2-minors-docs plan r2 + contract 2026-11-01 12:08:48 +01:00
bchanot dfbc8a7e4e docs(memory): § WRITE says -C cds first and --body-file is absolute; tour/deploy/audit-delta point at § WRITE; evals template Later status line
Phase 4a parked minors, doc half.
2026-11-01 12:08:48 +01:00
bchanot c92381e492 Merge feature/memory-v2-minors into develop 2026-11-01 11:45:59 +01:00
bchanot 3873e35133 chore(memory): BDR-133 negation rule, LRN-246 reflow proof, LRN-247 awk RSTART, journal + TODO ticks 2026-11-01 11:45:51 +01:00
bchanot 18e63705c5 docs: memory-v2-minors — add refusal, rc 6 causes and partial stages, negated status words 2026-11-01 11:45:50 +01:00
bchanot 6edf781a1a chore(contract): memory-v2-minors plan r3 + contract 2026-11-01 11:39:59 +01:00
bchanot 48ade8f405 style(lib): reflow reconcile.sh and memory-commit.sh under 80 bytes
Comment reflow and line breaks only; `declare -f` output identical
except two hand-reviewed string splits with identical output. Also
refreshes two stale reconcile.sh comments (status source on v1 vs v2,
`## ID` headings only).
2026-11-01 11:39:58 +01:00
bchanot e4fb8f7670 fix(memory): phase 4a minors — negated status words, dead empty steal, body heading, blob errors, dropped partial stages
- status parser: a word negated in its clause (not|no|never|pas, at most
  one word between, no `, ; . : ( ) -> → —`) is not a status; shared by
  the v2 parser and the v1 legacy word reader, so `upgrade` refuses a
  "not resolved yet" instead of writing resolved
- lock: an empty memory.lock.steal older than 60 s is a dead stealer
- add: refuse an unfenced `## ` body line (rc 2, line named)
- _mem_blob: rc 1 absent, rc 2 read error; check --staged refuses rc 2
- memory-commit rc 6 names each dropped partial stage with its blob id
  and a `git update-index --cacheinfo` restore line
- upgrade header: a non-table `## Index` is refused (rc 2)
Tests: memory.test.sh T17 block, run-deterministic rc 6 partial-stage case.
2026-11-01 11:39:51 +01:00
bchanot 4175401516 Merge feature/citers-blind-spots into develop 2026-10-31 17:45:26 +01:00
bchanot 2e6f13c5e9 chore(memory): journal — feat citers-blind-spots + hotfix dispatcher-applies 2026-10-31 17:45:25 +01:00
bchanot 25ccfff7b2 docs(changelog): doctrine-citers census widening 2026-10-31 17:45:24 +01:00
bchanot 3330f0b558 fix(agents): geo and seo analyzer descriptions say the dispatcher applies the fix bundle 2026-10-31 16:09:57 +01:00
bchanot ef7ebd9035 chore(contract): citers-blind-spots plan r3 + contract 2026-10-31 16:08:01 +01:00
bchanot 5bd0de4498 test(citers): census reads nested lib paths, home prefixes, project rules and templates
A bare .claude/rules/ citation resolves by citer (this repo's own rules, else templates/project-rules); T3 keeps its roots, T6 also scans templates/ and .claude/rules/.
2026-10-31 16:08:00 +01:00
bchanot 5e8f4e51c5 Merge bugfix/rule-paths-absolute into develop 2026-10-31 14:50:59 +01:00
bchanot a31a535ec6 chore(memory): journal + TODO — step 2 hotfixes, design-hook measure, Bash path-rule probe 2026-10-31 14:50:58 +01:00
bchanot 8537126ec9 docs(changelog): absolute rule paths in /guardrails and the interviewer 2026-10-31 14:50:57 +01:00
bchanot 7899670670 fix(agents): drop analyzer's dead memory: project field (auto memory off) 2026-10-31 14:39:56 +01:00
bchanot 40a993c3e0 fix(docs): interviewer and guardrails cite rule files by absolute ~/.claude/rules path 2026-10-31 14:38:11 +01:00
bchanot c859a8ad8d Merge bugfix/memory-upgrade-prose-closure into develop 2026-10-31 14:34:21 +01:00
bchanot 1407c0e712 chore(memory): TODO phase 4a per-repo pass done, faunosteo deferred, BLK-038 residuals 2026-10-31 14:33:55 +01:00
bchanot bb7c158187 chore(memory): BLK-038 resolved + LRN-244 + LRN-245 — bugfix memory-upgrade-prose-closure, phase 4a pass 2026-10-31 14:33:38 +01:00
bchanot ce9dc8ec22 docs: memory v2 upgrade refuses a prose or mixed v1 closure (BLK-038) 2026-10-31 13:20:47 +01:00
bchanot cc9b868204 chore(contract): memory-upgrade-prose-closure plan r3 + contract (BLK-038) 2026-10-30 20:23:41 +01:00
bchanot 2dae5282f6 fix(memory): upgrade refuses a prose or mixed v1 closure instead of writing resolved
The repair copied the v1 reader's lexical verdict, read the verdict diff while rewriting the file, and listed same-ID sub-headings twice. It now writes only a single closed word from a Status label, names and refuses the rest, and asserts one upgrade line per entry.
2026-10-30 20:23:40 +01:00
bchanot b8eb5de805 chore(memory): TODO robin_petier merge checked 2026-10-29 17:50:34 +01:00
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