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
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
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
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
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
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
70e0f9ac41
feat(lib): code-origin.sh tells our code from foreign code
2026-10-23 16:54:15 +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
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
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
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
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
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