bchanot
afb209a577
chore(memory): queue re-challenged on Fable, TODO phases rewritten, BDR-125 amendment 7
2026-10-25 13:57:41 +01:00
bchanot
dfaa5a0acd
chore(memory): re-challenge synthesis of the context mod queue (4 lenses + guide)
2026-10-25 13:41:41 +01:00
bchanot
b56bc94316
chore(memory): plan file for the full queue re-challenge
2026-10-25 03:24:49 +01:00
bchanot
7e3efc7109
chore(router): confirmed row feat → reflect (dialog write)
2026-10-25 03:11:14 +01:00
bchanot
8be5ecabed
chore(memory): phase 2 challenge input plan, cited by TODO
2026-10-25 03:11:12 +01:00
bchanot
2a60c93801
chore(memory): shell deny fixes queued in phase 2, BDR-125 amendment 6
2026-10-25 03:10:37 +01:00
bchanot
ece04fa809
chore(memory): bash deny evasion probe, rtk rewrite bypass measured
2026-10-25 02:41:46 +01:00
bchanot
0b6443011d
chore(memory): routing guard, listing budget, phase order; BDR-125 amendment 5
2026-10-25 01:46:01 +02:00
bchanot
8e575c7e46
chore(memory): routing probe bench and its measured results
2026-10-25 01:36:30 +02:00
bchanot
625b90bcbf
chore(memory): phases 2 and 5 redesigned, BDR-125 amendment 4
2026-10-25 00:38:09 +02:00
bchanot
2c9ed20782
chore(memory): phase 1 redesigned as native context diet
2026-10-24 19:31:41 +02:00
bchanot
d157032616
chore(memory): phase 0 covers every project via onboard split mode
2026-10-24 15:00:24 +02:00
bchanot
c4a23890f1
chore(memory): context mod queue order, 4a after phase 0
2026-10-24 14:21:01 +02:00
bchanot
962a56fc99
chore(memory): phase 4 redesigned as memory v2, measured
2026-10-24 13:50:40 +02:00
bchanot
4881fe8cba
chore(memory): phase 4 action-triggered recall, generated index
2026-10-24 03:58:07 +02:00
bchanot
45b2b6b592
chore(memory): phase 4 keeps judgment capitalization triggers
2026-10-24 03:47:39 +02:00
bchanot
15d9dae964
chore(memory): BDR-125 amendment, phase 5 per-project profiles
2026-10-24 03:40:43 +02:00
bchanot
dd663792db
Merge chore/bdr-context-mod into develop
2026-10-24 03:40:31 +02:00
bchanot
68816fe0b2
chore(memory): context mod phases 0-5 in TODO, probe bench kept
2026-10-24 03:40:30 +02:00
bchanot
4992598032
chore(memory): BDR-125 context mod plan, supersedes BDR-031
2026-10-23 20:57:52 +02:00
bchanot
9fba6d1715
Merge bugfix/settings-deny-patterns into develop
2026-10-23 19:40:06 +02:00
bchanot
d5c897f622
chore(memory): settings deny hotfix journal, TODO, contract
2026-10-23 19:31:27 +02:00
bchanot
ac23cc6d2e
fix(settings): deny forms that actually match root mounts and refspec deletes
2026-10-23 19:31:26 +02:00
bchanot
8a45e83ce5
Merge chore/todo-reconcile into develop
2026-10-23 18:42:09 +02:00
bchanot
325e502a41
chore(memory): reconcile TODO, drop done history, group open items; BLK-018 status
2026-10-23 18:19:50 +02:00
bchanot
34c6534620
Merge feature/router-keyword-cap into develop
2026-10-23 17:40:14 +02:00
bchanot
b097c894a1
chore(memory): feat C BLK-032 resolved, BDR-123 amendment, LRN-226, EVAL-048, plan and contract
2026-10-23 17:05:16 +02:00
bchanot
d2d590f834
docs(router): keyword rules, ultrathink and dispatches set effort only
2026-10-23 01:30:50 +02:00
bchanot
786ee13c24
feat(router): keyword rules, ultrathink and dispatches set effort only
...
Prompt rules and the derived orchestrate route write effort-only routes, so
they never lift main above the session model; a held run keeps its model.
Fable on main comes from skill rows, the route tool or /route (BDR-123).
2026-10-23 01:24:16 +02:00
bchanot
eb4771e635
chore(router): record the confirmed audit phase in routing.json
...
First-use dialog write from feat A (feature/routing-audit-phase): the audit
phase was kept, the answer lands under confirmed.phases.
2026-10-23 01:04:32 +02:00
bchanot
6168d90fac
Merge bugfix/mods-validate-advisory into develop
2026-10-22 23:34:56 +02:00
bchanot
2741f603bb
chore(memory): BLK-034, LRN-225, mods bugfix plan and contract
2026-10-22 22:03:40 +02:00
bchanot
35d923d9d6
docs(changelog): mods suite gates validate on --strict
2026-10-22 22:03:10 +02:00
bchanot
801992a2ce
fix(tests): mods suite gates validate on the --strict exit code
...
CLI 2.1.306 prints an advisory plugin-directory section (ICON_MISSING,
blocking: false) that the whole-output `warning` grep counted as a
failure. The verdict is now the rc of `claude plugin validate --strict`
(per-file warnings → 1, directory advisory never), through one helper
shared with a positive control on two scratch manifests.
2026-10-22 21:07:25 +02:00
bchanot
df38fd46f7
Merge feature/routing-ceiling-rule into develop
2026-10-22 20:03:31 +02:00
bchanot
9e0deccbb0
chore(memory): feat B BDR-123, TODO, journal, plan and contract
2026-10-22 19:45:56 +02:00
bchanot
887cf89004
docs(changelog): ceiling rule and deploy row
2026-10-22 19:45:14 +02:00
bchanot
ef13713f09
feat(doctrine): main on Fable writes no code past the /hotfix scope
...
The Sub-agents rule gains the ceiling and hands the rest to /feat or /bugfix; README and the challenge citers now say the main loop reaches Fable through best-tier rows from an opus session. /deploy's floor follows its verify row and its stale changed entry goes.
2026-10-21 22:18:16 +02:00
bchanot
b961ce6b98
Merge feature/routing-audit-phase into develop
...
# Conflicts:
# .claude/memory/journal.md
# .claude/memory/learnings.md
# .claude/tasks/TODO.md
2026-10-21 17:45:01 +02:00
bchanot
68d774fd49
Merge bugfix/guardrails-residuals into develop
2026-10-21 17:44:17 +02:00
bchanot
69e8cd24b0
Merge chore/prune-learnings-index into develop
2026-10-21 17:44:07 +02:00
bchanot
c03ad8c949
chore(memory): feat A audit phase, LRN-224, plan and contract
2026-10-21 17:42:28 +02:00
bchanot
dae142ba44
docs: audit phase, session model opus, deploy row in CHANGELOG and USAGE
2026-10-21 17:39:11 +02:00
bchanot
a7d747c65f
feat(model-router): audit phase puts the verifier and security-auditor on Fable
...
New best-tier phase audit (xhigh) carries both merge gates; their opus frontmatter stays the outage floor, since inTier never writes below a tier head. The census floors best-tier rows on the second alias, and the citers now name the audit row.
2026-10-21 16:50:47 +02:00
bchanot
d3635b6c33
chore(model-router): dialog decisions and session model opus
...
deploy apply→verify and the release-executor row, written by the router's first-use dialog; settings.json model claude-fable-5-1[1m] → opus (BLK-032 policy, point 1).
2026-10-21 16:11:53 +02:00
bchanot
8555bff217
chore(memory): BLK-033 guardrails residuals, LRN-222/223, plan and contract
2026-10-21 15:00:01 +02:00
bchanot
c053c7992d
docs(changelog): guardrails residuals fixed
2026-10-21 15:00:00 +02:00
bchanot
633faa293d
docs(guardrails): IN() placeholder list is flagged, not ignored
2026-10-21 00:18:24 +02:00
bchanot
5a98c2c095
fix(guardrails): probe fails closed on budget, redirects and unread bodies; rules lose five false positives and gain seven misses
...
The probe trusted the plan's Supabase url, followed redirects for free,
crashed on deep JSON and stopped at the first unconfirmed map candidate.
Rules now scope hydrated state to the export chunk, silence dev configs,
UI-suffixed data attributes, GraphQL types and metadata keys, and catch
Go raw strings, triple-quoted f-strings, sql.raw, empty select() and
multi-line hidden inputs; text output is sanitised; per-variant locks.
2026-10-21 00:13:32 +02:00
bchanot
c7ebc3de59
chore(memory): backfill learnings index LRN-191..218 — prune-memory
2026-10-20 22:05:18 +02:00
bchanot
f586304ba1
Merge feature/a11y-split-inj-exp into develop
2026-10-20 21:57:31 +02:00
bchanot
7206f0c1a5
chore: purge transient planning artifacts (BDR-065)
2026-10-20 21:57:05 +02:00
bchanot
367b30b138
docs(readme): 17 reflection skills behind the model gate (guardrails, a11y)
2026-10-20 20:34:04 +02:00
bchanot
defe446a42
chore(memory): BDR-122 + LRN-219..221 + BLK-032 — ship-feature guardrails a11y split
2026-10-20 20:30:48 +02:00
bchanot
274396da6e
docs(guardrails): checks.md injection precedence and row order, spec grammar
2026-10-19 12:20:56 +02:00
bchanot
63a88bc91d
fix(guardrails): CONCAT before RAW, probe row newline kept, malformed urls handled, sa.text matched
2026-10-19 12:17:56 +02:00
bchanot
9275e0d82b
fix(guardrails): Ruby where interpolation stays FAIL under CONCAT, PHP shell variables always count
2026-10-19 11:59:40 +02:00
bchanot
c0fdbec3c1
fix(guardrails): probe map and fields verdicts fail closed, console rule sees public/, raw escape WARN, argv silent, plan validation
2026-10-19 11:56:25 +02:00
bchanot
6c0006bce3
fix(guardrails,a11y): CLOSED fields probe assertion, drop floor suppressions
2026-10-19 10:52:27 +02:00
bchanot
91b988b3a5
docs(a11y): STEP 3 names the real false-positive classes
2026-10-19 01:19:41 +02:00
bchanot
5643e9dbd4
fix(guardrails): bound DATA_ATTR, SCRIPT_SRC, TRACE_MARKERS and the comment blankers, SENSITIVE_KEY aligned with the spec, 5xx map SKIPPED, base64 inline maps only, RecursionError and supabase shape guarded, large .map head read
2026-10-19 01:19:40 +02:00
bchanot
0de2e8a48a
docs: /a11y and the injection and exposure domains in README, USAGE, CHANGELOG; routing boundaries (web-validate, seo, harden, global line, interviewer)
2026-10-19 00:52:23 +02:00
bchanot
fe0b229efc
docs(guardrails): injection and exposure in the skill, the rule catalogue, the probe plan and secure-by-default; a11y handed to /a11y
2026-10-19 00:50:34 +02:00
bchanot
60d447e544
feat(a11y): skill (scan, keyboard walk, report, fix loop on the bugfix circuit), lazy rules/a11y.md, profiles, locks
2026-10-19 00:48:09 +02:00
bchanot
45e3454b99
chore(model-router): a11y skill row (reflect)
2026-10-19 00:47:59 +02:00
bchanot
811077da2b
fix(guardrails): probe reads inline maps anywhere in the body, SKIPPED on an oversize map, validation never raises, bounded trace marker, .map guess from the path
2026-10-19 00:45:25 +02:00
bchanot
8b6472b8c4
feat(guardrails): exposure probe (source maps served or inline, error bodies, sensitive keys) that fails closed; every plan path validated; fetch keeps error bodies
2026-10-19 00:42:13 +02:00
bchanot
6e79d182e3
feat(a11y): standalone scanner on the shared engine (A11Y-CLEAR / A11Y-NO-NEW); guardrails drops the a11y domain
2026-10-19 00:40:26 +02:00
bchanot
b4ef6ae359
fix(guardrails): bounded comment/env patterns, multi-line errorhandler guard, WIDE mutants
2026-10-19 00:38:21 +02:00
bchanot
d46201c561
feat(guardrails): exposure domain (EXP-*): console data, source maps (config, public dir, large files), hydrated state, shipped comments, data attributes, error bodies in routes, debug mode, wide responses
2026-10-19 00:34:57 +02:00
bchanot
7500a618fe
feat(guardrails): injection domain (INJ-*): per-language SQL concat and raw escapes, dynamic EXECUTE, PostgREST, NoSQL, shell into DB tools; shared code_files/hits/dedupe helpers
2026-10-19 00:32:06 +02:00
bchanot
988038cce3
refactor(guardrails): extract the scan engine into scanner.py, scan.py keeps the catalogue
2026-10-19 00:30:03 +02:00
bchanot
ed06e8cc1d
docs(ship-feature): plan revision 3 and spec amendments after the confirmation pass (fail-closed sourcemap, quote-matched concat, scoped dev-env lock)
2026-10-19 00:19:18 +02:00
bchanot
6eba3248b0
docs(ship-feature): plan revision 2 after the three-lens challenge (per-language injection, fail-closed probe, scoped exposure rules)
2026-10-18 23:51:57 +02:00
bchanot
fa20562cac
docs(ship-feature): spec and plan for the a11y split, injection and exposure domains
2026-10-18 22:59:12 +02:00
bchanot
bee377af1a
Merge feature/secure-by-default into develop
2026-10-18 19:13:55 +02:00
bchanot
abe2ca3b60
chore(memory): BDR-121 guardrails fix loop
2026-10-18 19:13:42 +02:00
bchanot
794e720658
chore(memory): guardrails fix loop, TODO T10-T14, journal
2026-10-18 19:04:14 +02:00
bchanot
73c25d759e
feat(guardrails): propose, apply accepted fixes, re-pass to prove them
...
After the report the skill proposes fixes (plan phase), stops for the
user's acceptance, applies accepted ones via bugfixer and the
verify-secure gates, then re-scans. scan.py gains --assert-absent
(contract oracle, positive control) and --baseline (no new hit).
2026-10-18 19:04:13 +02:00
bchanot
b17de15c22
chore(memory): guardrails live probe, TODO T9, journal
2026-10-18 18:49:51 +02:00
bchanot
f0bcbfef46
feat(guardrails): read-only live probe to confirm a hole from outside
...
probe.py observes a running target the user owns and names, driven by a
plan built from the static findings. Five probes: anon-read, cross-user,
no-auth route, CORS reflection, capped rate-limit burst. GET/HEAD/OPTIONS
only, --authorized gate, secrets from the environment, same-host redirect
only, bounded request budget. SKILL STEP 5, checks.md reference, docs.
Suite guardrails-probe.test.sh (16 checks) against a localhost fixture.
2026-10-18 18:49:51 +02:00
bchanot
dbf409f6e6
chore(memory): BDR-120 guardrails, TODO T1-T8, journal
2026-10-18 18:10:21 +02:00
bchanot
558c49e1a1
feat(guardrails): secure-by-default rule and /guardrails scanner
...
Always-on rules/secure-by-default.md: hosting, a11y, Supabase RLS,
SMS/email consent, cloud functions, API hygiene incl. password storage.
Stdlib scanner (FAIL/WARN/MANUAL) + skill, 89-check suite, auditor
gate wiring, profiles, routing row (plus Explore rows confirmed
through the router dialog).
2026-10-18 18:10:20 +02:00
bchanot
c5fad5ee8f
Merge feature/explain-diff into develop
2026-10-17 18:24:27 +02:00
bchanot
e21cd23bf5
chore(memory): explain-diff iteration 1 — TODO, journal
2026-10-17 13:12:55 +02:00
bchanot
faedb98699
fix(explain-diff): arrow class no longer collides with edge callout; bundle fill_template.py
...
Eval iteration 1: the callout 'edge' variant picked up the diagram connector styles, and all three skill runs hand-wrote a template filler. fill_template.py takes values.json with @fragment files, escapes </ in the quiz; suite 21 checks.
2026-10-17 13:10:37 +02:00
bchanot
b353fac2ba
feat(explain-diff): explain a diff as one self-contained HTML page
...
Adapted from Geoffrey Litt's explain-diff gist: background, intuition, grouped code walkthrough, 5-question quiz, saved outside the repo. Bundled template, components catalog and checker with its test suite. Row reflect; profiles full, max, dev.
2026-10-17 13:05:01 +02:00
bchanot
a8eb3f2e90
Merge chore/router-confirmed-rows into develop
2026-10-16 18:36:54 +02:00
bchanot
f8665b292b
chore(model-router): routing.json — confirm 7 agent rows, reflect/plan/apply phases, gitflow + ship-feature skills
2026-10-16 18:36:36 +02:00
bchanot
eb1cfe55a9
Merge branch 'develop' of ssh://git.bchanot.fr:49222/bchanot/claude into develop
2026-10-15 00:12:57 +02:00
bchanot
84e3511b30
Merge bugfix/router-probe-before-route into develop
2026-10-15 00:12:23 +02:00
bchanot
304270fe5b
chore(memory): BLK-030, LRN-218, TODO + journal, router-probe-before-route contract + plan
2026-10-15 00:12:18 +02:00
bchanot
da0b4a65ba
docs: model-router move-target probe, probe key, stand-in effort — bugfix router-probe-before-route
2026-10-15 00:12:10 +02:00
bchanot
2cccc43d37
fix(model-router): probe a move target before routing main to it
...
The breaker learned availability only from a failed request: with
Fable out of usage credits, every new session and every hold lapse
routed main to Fable and lost the turn to a 429
(model_requires_usage_credits, typed rate_limit).
decideFor now probes the model a decision moves main to, once per
session, with a 1-call $.model.complete raced against 8 s: a timeout
or rejection marks it down (reason "probe") and re-decides once. The
current model and held ids are never probed; `probe: false` in
~/.claude/model-router.json turns it off. When a model ranked below
its tier head stands in where the head would have run, the phase's
own effort goes one notch up (reflect xhigh, plan max on Opus).
2026-10-15 00:07:10 +02:00
bchanot
fce24644b4
Merge feature/router-downgrade-cap into develop
2026-10-13 21:59:39 +02:00
bchanot
aaeb125490
docs: model-router general-purpose pin, prompt estimate, engine cache TTL — feat router-cap-residuals
2026-10-13 21:37:52 +02:00
bchanot
2b91ce26bd
chore(memory): BDR-116 amendment 2, LRN-217, TODO + journal, router-cap-residuals contract + plan
2026-10-13 21:37:30 +02:00
bchanot
1be57a382c
feat(model-router): close the cap residuals: session pin for inheriting spawns, prompt-size estimate, engine cache TTL
...
A built-in general-purpose agent with no explicit model, spawned by main
while main sits below the session model, is sent the session model
instead of inheriting the demoted one (narrow: built-in source, no fork,
no workflow, main's own child; other types carry their own frontmatter
model the hook cannot see). The cold-read cap now counts the prompt the
engine's usage may not include yet: code points / 3 of the submitted
text, its context entries and main's typed skill body, summed, added at
the turn's first main step unless usage already grew by half of it;
a document attachment makes the size unknown (blocks). Texts and the
step read the same adjusted size; the served record stays raw. The
cache TTL follows the engine's cache_ttl ('5m' | '1h') from main's
PostModelSwitch events, survives /clear, and /route show prints it.
2026-10-13 19:56:17 +02:00
bchanot
ab963e97dc
chore(memory): BDR-116 amendment, LRN-216, EVAL-047, TODO + journal, router-downgrade-cap contract + plan
2026-10-13 09:42:47 +02:00
bchanot
e8186409df
docs: model-router cold-read caps, switch on by default, classifier routes down — feat router-downgrade-cap
2026-10-13 09:42:46 +02:00