297 Commits
Author SHA1 Message Date
bchanot c3507ea447 docs(doctrine): main loop calls the Fable advisor; Fable prose moves to opus
Global line and effort-shift Advisor section: the main loop calls the advisor when a stronger model is needed, sub-agents do not, advice waives no gate. Skill-runner, Limits, ask-tier and audit-row prose match BDR-150.
2026-11-17 00:37:53 +01:00
bchanot beebfe2d82 feat(routing): skill-runner pins move from fable to opus
Fable is the advisor (BDR-150): the client-handover skill-runner children and the model-gate dispatch doctrine pin opus. A pinned child's route answer "fixed at spawn" passes the gate; a repo-wide census refuses any fable pin.
2026-11-16 23:55:31 +01:00
bchanot 9045a60f11 fix(scripts): close the BUGS-FOUND script items, fail closed on bad reads
profile-state.jq sanitizes printed values and shape-checks plugin ids (no forged plugin: line); the digest prints open: none or unknown instead of nothing; push-guard deny_lost checks every pipe stage, T63 split into ask and deny lists; prune-memory mktemp guarded.
2026-11-13 22:59:50 +01:00
bchanot 77041e5360 fix(agents): close the 10 prose BUGS-FOUND items, root quoting and $HOME refusal
Handover: rooted reads, whole-line PROJECT_ROOT read with a one-line
pre-paste rule, BDR status filter. plugin-gate: single-quoted templates,
unsafe roots printed never run, apply check against the git common dir,
$HOME refused (and in profile.sh). Advisor: minimal only from project
signals, no extras token, ctx7 wording, print-only plugin remedy. Packs
vocabulary in onboard/tour; graphify labels match the trap.
2026-11-13 20:43:59 +01:00
bchanot 7f5995b08c docs: memory feedback post-fix sample, reminder, 3rd pick retired 2026-11-13 19:51:15 +01:00
bchanot 3b3015329c feat(doctrine): Skill routing lines move into skill descriptions
CLAUDE.global.md keeps only the gstack/pack cases (investigate, ship
retired, SEO/GEO/W3C pack-off, cso, media, OFF paragraph). bugfix gains
the triggers error / 500 / stack trace + fix; ship-feature gains
"ship this feature". BDR-125 phase 3 deferred item.
2026-11-13 11:38:23 +01:00
bchanot 63bea87803 feat(doctrine): TODO seeds carry ## Actionable; session start trusts the digest 2026-11-12 21:55:31 +01:00
bchanot 39f979068a feat(prune-memory): step D, gate feedback noisy rewrite and BDR-100 promotion
Reads FEEDBACK.md for this repo's tag; RED-10 runs the real block.
2026-11-12 20:30:46 +01:00
bchanot c69ce9ca88 feat(doctrine): session start reads TODO and the digest, web rules deduped, graphify run from the repo
Session start reads TODO.md and the memory digest, registries on demand.
web-security keeps only its own rules and points to secure-by-default; the
graphify rule names the CLAUDE.global.md append, Step 7 runs from $REPO.
2026-11-12 12:05:55 +01:00
bchanot 99f10b2a26 feat(prune-memory): read statuses through one classifier, v1 and v2
reconcile_status_classify generalizes the BLK classifier to a prefix; STEP 1
runs it on decisions and blockers, unreadable statuses are an info-only count.
RED-9 runs the shipped block on v1 and v2 fixtures.
2026-11-12 00:11:03 +01:00
bchanot 9b12b1226c feat(advisor): packs vocabulary, profile set only on a project without profile
The advisor emits tokens (SET / ENABLE / DISABLE); the plugin gate checks
them against closed lists, prints what a set turns off and on, applies
at the git root only, set first. USAGE and onboard follow; plugin-dev gone.
2026-11-11 19:00:14 +01:00
bchanot 91a32a7a7d docs(profiles): profiles no longer described by connector state 2026-11-09 16:17:26 +01:00
bchanot 9ec5617725 fix(memory-feedback): worksheet prints only a shell-safe repo path 2026-11-08 18:09:14 +01:00
bchanot 027e5b3c21 fix(memory-feedback): gate 2 hardening, commit within 5 locals 2026-11-08 18:04:01 +01:00
bchanot 271172564c fix(memory-feedback): final review: locals, per-trigger n, write order 2026-11-08 17:55:08 +01:00
bchanot c00649f516 feat(memory-feedback): /memory-feedback skill and router row 2026-11-08 17:38:58 +01:00
bchanot a4d29ea9f2 docs: memory capture after the final review 2026-11-04 14:05:06 +01:00
bchanot 76013d6812 feat(skills): capitalize and the CAPITALIZE steps read memory_pending first 2026-11-04 12:43:17 +01:00
bchanot f1d4f9de0a feat(memory): mod skeleton with off switch and fail-open hooks 2026-11-04 11:35:29 +01:00
bchanot 15c3a76b57 fix(release-candidate): split check and finish calls, stop on any finish failure 2026-11-02 19:57:49 +01:00
bchanot 536d39e811 fix(release,capitalize): finish runs in the main loop under the ask prompt; a declined prompt stops the flow (BLK-018 b) 2026-11-02 18:45:26 +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 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 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 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 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 40a993c3e0 fix(docs): interviewer and guardrails cite rule files by absolute ~/.claude/rules path 2026-10-31 14:38:11 +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 664d1ea839 feat(rules): Supabase and cloud-functions bodies become path rules, one always-on line each 2026-10-29 13:03:31 +01:00
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 c318ee6297 feat(prune-memory): v2 registries — § D dropped, status and merges through memory.sh, STEP 4 verify = memory.sh check 2026-10-28 14:21:23 +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 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 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 041e04b1d6 feat(onboard): split mode classifies CLAUDE.md sections, onboarder MODE: split executes (RED: current skill ran archetype detection on split) 2026-10-26 17:51:20 +01:00
bchanot 71d28f8616 docs(doctrine): foreign code keeps its own style, limits stay strict in ours 2026-10-23 16:54:46 +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 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 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