Record the owner's reprint decisions 25-39
Security / Vulnerability check (push) Successful in 49s
Test / Lint and test (push) Failing after 2m59s

The job-store plan left the details of the reprint routes as open
questions 25-39, each with an assumed default. The owner accepted all
of them as proposed on 2026-12-01.

They become decisions 25-39 under phase 2, beside decision 24, and the
open questions section goes. The status line says phase 2's decisions
are settled, and phase 2's text cites decisions in place of questions.
Decision 30 also says an empty printer is the same as none, as on the
print routes, so the reprint body agrees with the printers plan.

design.md's Planned next item 1 records the decisions in brief and no
longer says they await the owner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-12-01 22:29:02 -06:00
1 parent c0d058c9ce
commit 188230b579
2 files changed
+41 -30

No files matched your search

+18 -3
View File
@@ -169,7 +169,7 @@ client ─HTTPS─▶ Caddy ─▶ server ── validate ──▶ printqueue (
query parameter, and the ID or category in the path is the route
itself. No message a source receives, an ntfy message included, makes
the daemon print a job again. Phase 2 of docs/plans/job-store.md
builds the routes (its decision 24).
builds the routes (its decisions 24-39).
- **Deliveries.** A job has one delivery per printer, one for `default`
until several printers are configured, each with its own state,
attempts and times. A job's `status` derives from them: `queued` while
@@ -734,8 +734,23 @@ before anything is built. They come in this order.
no category takes it again: the user-side path for `uncertain` jobs
and any receipt that went missing, since the daemon never reprints by
itself and no message asks it to (owner, 2026-12-01; the plan's
decision 24). Its details are the plan's questions 25-39, which await
the owner.
decision 24). The owner accepted its details as proposed on
2026-12-01 (the plan's decisions 25-39):
- `last` takes the newest unmarked `done` job, `failed` the newest
unmarked `failed` one, and `uncertain` every unmarked `uncertain`
one, oldest first, with no age limit. Each category is per
printer, named by the body's `printer`, the default printer
without one.
- A job is marked when its reprint is queued, by the new job's
`reprint_of`, kept in the store. The answer is `202` with the new
job's status, or a list of them for `uncertain`.
- Nothing in a category answers `404` `job_not_found`, an
unfinished job `409` `job_not_finished`, and pruned content `410`
`job_content_expired`.
- Full tokens only, and a job with a `raw` element also needs a
`--raw` token. A reprint is never refused as a repeat, prints
unmarked, does not clear the printer first, and has no CLI
command.
- Epson's acknowledgement, ntfy state in the store and an age limit
wait for phase 5.
2. **Several printers**: `docs/plans/printers.md` (written; the owner