diff --git a/CLAUDE.md b/CLAUDE.md index 61ab99c..9c53700 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -35,6 +35,12 @@ Definitions and STATUS: `docs/architecture.md`. Name the primitive before writing code. If it reduces to none it is a **trunk** (wants a permanent service or a core-model change): stop, say so in a paragraph, propose the leaf, wait. +**Name the layer too.** Content on disk · engine (data only the engine can produce) · theme (markup) · +browser (CSS, and only then JS). Build it at the outermost layer that can do the job: a line-breaking or +spacing problem CSS solves is not an engine feature, and code that edits an author's text to fix how it +*looks* is at the wrong layer by definition (ADR-0045 — a whole feature was deleted for this). Layers and +the test: `docs/architecture.md`. + ## 3. Hard rules 1. **No abstraction before its second concrete use** — pipeline, resolver, interface, generic, config diff --git a/HARNESS.md b/HARNESS.md index a36a69d..926f131 100644 --- a/HARNESS.md +++ b/HARNESS.md @@ -52,6 +52,13 @@ must do — not the theme. `verify.sh` fails if the embedded reference theme cha changing, because in practice those two drift together — and it fails on a `