Files
uberbringer/docs/plans
57_WolveandClaude Opus 5.5 bdda410deb Close stage 1d of the job-store plan
Stage 1d is done: jobs survive a restart in the SQLite store, and a
restart never prints a receipt twice. Its paper checks passed on the
TM-T88IV, with the owner's OK for each:

- A receipt printed once, read done, and still read done after
  restarts.
- With the printer off, a receipt was sent and the daemon stopped
  gracefully while it retried; with the printer on again, the restart
  printed it once.
- With the cover open, the daemon was killed while a 128 KB receipt
  waited for the printer; after the restart it read uncertain, was
  never sent again, and printed once, cut short, when the cover closed.
  The printer then needed switching off and on.
- With confirmation, a receipt read done on the printer's answer, and
  one sent with the cover open waited, with nothing sent, and printed
  once when the cover closed.
- With GS a 0 and DLE EOT 1, a receipt printed once with nothing extra
  and read done on the printer's answer; after a power cycle, with
  /healthz polled every 250 ms, one sent with the cover open waited
  15.7 s with nothing sent and printed once when the cover closed.
- With each connection opened by DLE EOT 1, GS a 0 and GS r 1, and
  everything before the DLE EOT answer dropped, a receipt printed once
  with nothing extra and read done on the printer's answer.

The plan's status says so, and stage 1d records the confirmation the
owner had built after the first try at the third check. The
Investigation findings are folded into design.md, apart from Epson's
acknowledgement and its sources, which phase 5 still needs and which
stay under Findings for phase 5. The references to them point to
design.md. The job states, which receipts printed, decision 16's count
of uncertain jobs, decision 21 and phase 5's config key now match the
confirmation, and the Architecture says the connector runs the pragmas
in order and that Idle checkpoints once 64 commits have gathered. The
RECORDS schema keeps refs in the order they were kept, by kept, as the
store does, since job IDs need not sort in that order.
docs/plans/printers.md notes that confirmation takes only a GS r 1
answer with bits 4 and 7 clear, which stage 4a checks on the TM-T88VII.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 21:28:38 -06:00
..