Fold the formatters plan into design.md
Phases 1-4 of docs/plans/formatters.md are built and described in design.md, and every phase 5 item now has a plan of its own, under Planned next. So the plan goes, and what still matters moves into design.md. A new decision says that existing jobs keep their meaning and their bytes: /print stays strictly decoded, TestRenderCompat and TestPaperReceipts pin the bytes, and Renderer.Render is the only path to printer bytes. The labels and footer settings join "Modules build ordinary jobs". Deferred gains nested boxes and goldmark, and the geometry checks in the HTTP handler that stay rejected. The plan's other invariants were already design.md decisions. The plans that cited formatters.md now cite design.md, or drop the reference: job-store.md, printers.md, blocks.md and templates.md. job-store.md's phase 5 list moves to design.md's Deferred section once its other phases are done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68bce4db59
commit
709e7904e9
6 files changed
+25
-71
No files matched your search
@@ -382,7 +382,7 @@ COMPATIBILITY
|
||||
|
||||
INVARIANTS
|
||||
1. Nothing reaches a printer unless the whole receipt rendered for it, with its own profile and options. A failover to a printer with other options renders in full before it sends.
|
||||
2. Layout comes from each printer's profile. A job stays printer-neutral (formatters invariant 1), so any delivery can go to any printer. The exception is a `raw` element, whose bytes are written for one model; a rule on `types` keeps them there.
|
||||
2. Layout comes from each printer's profile. A job stays printer-neutral (design.md, "Blocks are laid out when the job renders"), so any delivery can go to any printer. The exception is a `raw` element, whose bytes are written for one model; a rule on `types` keeps them there.
|
||||
3. A job no rule matches prints on the default printer, and a config without `[printers]` or `[routing]` prints as today.
|
||||
4. A rule sees routing facts only, never print content, a token, a secret, a `ref` or a printer's state, its down mark included. Neither the env, the facts nor an Expr run-time message reaches logs, Sentry, the store or job status. A compile error leaves out the rule's source line.
|
||||
5. A route is decided once, at `Submit`, from the job's facts, its acceptance time and the rule set, and stored. A restore never decides again.
|
||||
|
||||
Reference in new issue
Block a user