Commit Graph
22 Commits
Author SHA1 Message Date
bchanot 9c038fd22b chore(hooks): retire the design-toolchain reminder hook
59 fires, 0 Reads of web-building.md (2026-10-31); the path rule and the
CLAUDE.global.md pointer carry design routing. Hook, its test and its
UserPromptSubmit entry removed; doctrine-citers T7c becomes T8i on a
synthetic one-line fixture (quoted label kept whole).
2026-11-13 10:13:04 +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 3da9d67ebb docs: README make profile dir=, stale 21st/higgsfield lines, MIGRATION heading 2026-11-02 01:47:25 +01:00
bchanot 438cd57818 docs: profiles and packs (README, USAGE, MIGRATION 2.1.0 bashrc step, ARCHITECTURE, CHANGELOG, global routing) 2026-11-02 01:44:49 +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 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 b4131666af chore(citers): rules/README and doctor point at .claude/rules after the split 2026-10-26 17:49:07 +01: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 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 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 ee767239f2 chore(rules): Rust as default language for new projects and whole-project rewrites
rules/default-language.md loads always-on (CLAUDE.global.md at 317/320,
BDR-085 exception path). Interviewer proposes Rust when the language is
not stated; init-project captures the language choice as a founding BDR.
2026-10-12 23:03:02 +02:00
bastien 68fcdaf4d0 Merge feature/web-building-microrules into develop
# Conflicts:
#	.claude/memory/journal.md
#	.claude/tasks/TODO.md
#	CHANGELOG.md
2026-09-27 23:29:02 +02:00
bastien a2e654d89f feat(rules): write-time UI reflexes in web-building.md, from ui-skills
Fourteen lines of stack-agnostic micro-rules (dvh, safe-area, paste,
tabular-nums, text-wrap, z-index scale, compositor-only motion, 44 px
targets, focus-visible, status not by color alone, errors by the field,
one accent per view). Case 3 of the 6-repo review: nothing installed.
2026-09-27 20:23:52 +02:00
bastien 1a8e6decdb feat(rules): rest-api path-scoped rule distilled from agent-skills
Contract-first order, one error envelope + HTTP map, paginated lists,
idempotency (key from intent, atomic claim, payload guard, duplicate
policy, retention), naming, Hyrum's law. Versioning points to CLAUDE.md
§ Web APIs — always versioned; the upstream one-version rule is dropped.
2026-09-27 20:17:38 +02:00
Bastien Chanot 12e5324065 feat(rules): user permanent rules — writing style, web building, web security (BDR-085)
Three rules/ files from the user's permanent-rules text:
- writing-style.md (always-on): em-dash ban, no it's-not-X-it's-Y, no
  emoji, no decorative bold, no reflex triads, no hedging chains, slop
  vocabulary ban, sentence-length variety, deliverable self-check.
  Scope carve-outs keep caveman registries, code comments, skill
  templates intact.
- web-building.md (path-scoped): design anti-default list + public-site
  done checklist (report missing items, never invent them).
- web-security.md (path-scoped): browser-exposed keys, service-key/client
  split, RLS, server-side auth, IDOR, cookie flags, field minimization,
  rate limiting — extends §Security, no dup of the core.
Project CLAUDE.md rules/ doctrine: 320-budget exception for standalone
always-on user rule sets.
2026-08-25 19:48:02 +02:00
Bastien Chanot 1534b2202a docs: slim rules/README to a pointer; README tree lists both memory files 2026-07-14 04:02:47 +02:00
Bastien Chanot dd39193377 chore(ctx7): single surface — installer purges context7.md rule, find-docs skill kept (BDR-053, job1-F10/job2-F13) 2026-07-06 12:40:46 +02:00
Bastien Chanot 10d97df0c8 job1: F9 path-scope rules README 2026-07-06 02:48:16 +02:00
Bastien ChanotandClaude Opus 4.8 06391a6247 feat(rules): rules/ directory symlinked into ~/.claude like the other dirs
Claude Code loads modular rule files from ~/.claude/rules/ (user scope,
recursive, markdown, optional paths: frontmatter for lazy path-scoped
loading — stable, symlink-supported). The repo had no rules/ at all, so
the ctx7 setup had created ~/.claude/rules as a REAL directory outside
version control — invisible to the repo, unreproducible on a new machine.

- rules/README.md — doctrine: one rule per file; paths:-scoped extraction
  is the token win, always-on doctrine stays in CLAUDE.md
- link.sh — rules added to the symlinked-dirs loop
- .gitignore — rules/context7.md ignored (machine-owned: `ctx7 setup`
  (re)writes it, same treatment as skills/find-docs/)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XpphkdTosUzokBDNG7PToS
2026-07-04 13:32:55 +02:00