oficina / memoria Public

WIP: AGENTS.md spacing note

Paul Campbell pushed by claude agent, operated by paul@keymail.dev 07e611f1e0e7b84844d7d0de08e83398b04262d3 parent f619119
1 file changed, +15 −1
  • AGENTS.md +15 −1

CI passed — run details

CI log
=== vet ===
go vet ./...
go vet -tags browser ./internal/memoria/ ./internal/memoriatest/
=== fmt ===
=== test ===
go test ./...
?   	amadan.net/oficina/memoria/cmd/memoria	[no test files]
?   	amadan.net/oficina/memoria/cmd/memoria-contract	[no test files]
ok  	amadan.net/oficina/memoria/internal/memoria	12.921s
ok  	amadan.net/oficina/memoria/internal/memoria/chunk	0.006s
ok  	amadan.net/oficina/memoria/internal/memoria/fact	0.685s
?   	amadan.net/oficina/memoria/internal/memoria/icons	[no test files]
ok  	amadan.net/oficina/memoria/internal/memoria/index	0.056s
ok  	amadan.net/oficina/memoria/internal/memoria/notion	0.040s
ok  	amadan.net/oficina/memoria/internal/memoria/provider	10.644s
ok  	amadan.net/oficina/memoria/internal/memoria/query	0.003s
ok  	amadan.net/oficina/memoria/internal/memoria/seal	0.003s
ok  	amadan.net/oficina/memoria/internal/memoria/sibling	3.042s
?   	amadan.net/oficina/memoria/internal/memoria/teamstate	[no test files]
ok  	amadan.net/oficina/memoria/internal/memoriatest	5.162s
?   	amadan.net/oficina/memoria/scripts/writeestilo	[no test files]
?   	amadan.net/oficina/memoria/tools/bench	[no test files]
?   	amadan.net/oficina/memoria/tools/drive	[no test files]
?   	amadan.net/oficina/memoria/tools/seed	[no test files]
?   	amadan.net/oficina/memoria/tools/vendorassets	[no test files]
=== migration-check ===
go tool rastrillo migration check
rastrillo migration check: models and migrations agree
=== spacing ===
go tool fiesta spacing -skip tokens.css internal/memoria/static
diff --git a/AGENTS.md b/AGENTS.md
index 76a15b0..99d7936 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -160,6 +160,20 @@ so; it never renders as a confident zero.
as the markup. Grep the stylesheet for the attribute before writing it.
Gate: `TestEveryTemplateAttributeIsInTheDesignSystem`, which checks
names *and* whether a value is one anything selects on.
+- **Spacing is on the scale, and a stack spaces the page** (Paul,
+ 2026-11-22; Fiesta's DESIGN.md, "The stack"). `<main>` is
+ `rst-stack`, and so is any region holding blocks of its own (a
+ form, a section, the results); `rst-section` opens a section and
+ `rst-actions` is a row of buttons. No hand margins between a page's
+ blocks; every other margin, padding and gap is a `var(--rst-sp-N)`,
+ or carries `/* spacing-allow: why */` for real geometry. `make
+ spacing` (in `make ci`) reads static/; `TestEveryScreenKeepsTheRhythm`
+ (`make browser`) runs Fiesta's rhythm audit over every screen. A new
+ screen goes in its list, and a new region of Memoria's own with an
+ rst- name goes in `rhythmRegions`, because the audit does not walk
+ into rst- names it does not know. Field rules are `form[rst-stack]`,
+ never a bare `[rst-stack]`, which since `<main>` is one reaches every
+ field on every page.
- **Look at the page.** `tools/drive` serves the app with sign-in off so a
browser can see it. It found three bugs in its first run that the whole
Go suite passed over — a heading trail rendering as "› Revenue", a
@@ -211,7 +225,7 @@ so; it never renders as a confident zero.
- **A field styled with `font: inherit` under a selector heavier than a
bare `input`** loses tokens.css's 16px-on-touch rule, and iOS zooms on
tap. Restate `font-size: max(1rem, 1em)` for it under `(pointer:
- coarse)`, as memoria.css does for `[rst-stack]`'s fields.
+ coarse)`, as memoria.css does for `form[rst-stack]`'s fields.
`TestNoZoomOnTap` (`make browser`) measures every field.
**Auth**