Label / QR Print
A label represents an existing ORDRE identity. Generating or printing it must not alter the order lifecycle.
- Local orders: 0
- Latest order:
none - Pending outbox: 0
- Held carts: 0
- Commerce invariant unchanged: false
The same order + label scope + encoding + version produces the same logical artifact identity and payload.
- Artifacts: 0
- Idempotent artifact replay: not yet
Label output uses the same PrinterAdapter boundary as receipt printing. Failure is a device effect only.
- Print jobs: 0
- Pending: 0
- Failed: 0
- Printed: 0
- Confirm an existing official local order and commerce invariant true.
- Generate the order QR artifact.
- Generate the same artifact again and confirm idempotent replay true with the same artifact ID/payload.
- Queue one label print job.
- Simulate printer failure and confirm commerce remains unchanged.
- Force-close ORDRE and reopen this diagnostic; confirm the same failed print-job ID and artifact survive.
- Retry the same job successfully.
- Confirm status printed, retry count 1, and commerce invariant remains true.