Commit Graph
1239 Commits
Author SHA1 Message Date
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