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
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
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
7806ab426b
fix(memory): upgrade keeps an EVAL Index action the body lacks; lib lines ≤ 80
2026-10-28 17:25:36 +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
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
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
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
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
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
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
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
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
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
34c6534620
Merge feature/router-keyword-cap into develop
2026-10-23 17:40:14 +02:00
bchanot
5c6e368937
test(gitflow): start outside a git repo exits non-zero
2026-10-23 17:09:56 +02:00
bchanot
70e0f9ac41
feat(lib): code-origin.sh tells our code from foreign code
2026-10-23 16:54:15 +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
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
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
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
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
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
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
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
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