Record the owner's acceptance of the printers plan

The owner accepted every proposed default of docs/plans/printers.md on
2026-12-01. Its open questions become numbered decisions, without the
alternatives, and design.md's Planned next item 2 records them.
Decisions 6, 10 and 17 keep the wording that the remote-printers and
templates plans had already settled. Decision 14 amends the owner's
earlier wording: a rule that fails to compile stops the start rather
than being skipped.

The plan's acceptance edits are made, and its list of them goes.
formatters.md loses its open question, which the routing example
answers, and points to this plan for a second printer and per-model
line spacing, without the printer pool's tests. job-store.md points to
these decisions for the deliveries array, the stored route, failover
after a sending mark, the lanes and their content bound, and a printer
removed from the config. Its invariant 2 speaks of the job's bytes,
since an anycast check sends DLE EOT before the mark. Its findings
confirm the TM-m50II's command list and the power-on part of the
automatic-status side finding. Phase 2b, phases 3c and 4 and phase 5
say how they meet several printers.

The other plans cite printers decisions in place of questions, and
templates decision 1 now follows printers decisions 12, 14, 15 and 17
rather than leaning on assumed defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-12-01 11:07:58 -06:00
1 parent f302b76ef4
commit 68bce4db59
6 files changed
+224 -263

No files matched your search

+3 -17
View File
@@ -2,12 +2,6 @@
Status: **phases 1-4 are done**: the blocks and the preview; the list block, the module layer and the note module; the notify and ntfy modules, their cards and scoped tokens; and the ntfy subscriptions, with their digest, paper budget and quiet hours. All four are built and checked on paper, and docs/api.md, README.md and design.md describe them. Phase 5 is a list of items built one at a time, each when a real need appears, in its own session briefed from its item.
## Open questions
When the second printer arrives:
1. Which jobs and ntfy subscriptions go to which printer, and should urgent messages print on both?
## Rules for phase 5
BACKWARD COMPATIBILITY
@@ -36,24 +30,16 @@ INVARIANTS (all match the current code)
**Work.**
- Second printer, for the TM-T88VII and TM-m50II:
- a printqueue Pool with one Queue and worker per printer
- [printers.<name>] config, each table decoded through Viper onto the printer defaults, with the old [printer] table becoming "default" and strict unknown-key checks kept
- ?printer= on print, preview and modules; printer = "name" per subscription; optional priority routes
- /healthz per printer, with the status still following the default printer
- Jobs stay printer-neutral, so nothing in the block or module code changes.
- Several printers: planned in docs/plans/printers.md.
- User templates: planned in docs/plans/templates.md.
- More blocks: planned in docs/plans/blocks.md.
- Queue.Cancel so message_delete can cancel a still-queued job.
- Webhook sources: planned in docs/plans/templates.md.
- Default line spacing per model in escpos.Profile, once calibrated on each model.
- Default line spacing per model: planned in docs/plans/printers.md (decision 30).
**Tests.**
Each item ships with its own goldens and table tests in the phase 1-4 style. For the printer pool, also:
- a config migration test from [printer] to printers.default
- unknown keys inside [printers.x] still rejected
- two queues printing in parallel
Each item ships with its own goldens and table tests in the phase 1-4 style.
**Done when.**