Skip to content

v0.3.1 — delivery orchestration closeout

Choose a tag to compare

@Acfufu Acfufu released this 26 Sep 16:33
· 290 commits to main since this release

LazyZCode 0.3.1 closes the 0.3.1 window: the queue-to-delivery bridge, three correctness fixes surfaced by the closeout goal loop, and the 0.3.1 release candidate freeze.

Highlights

  • Queue × delivery orchestration (ADR-0030): queue items can target endpoint B/C with attached delivery contracts; dispatch runs the delivery chain itself after the goal finishes (bind → act/read-back), multi-page Pages verification, HEAVY items in the queue, delivery-aware reconcile with post-hoc acknowledgement.
  • Drive points axis meters this run's own segments (ADR-0027 amendment): the points hard cap is judged on the run's own per-segment sessionId usage — the account-level 5h rolling waterline is retired to a lzy doctor advisory line and no longer stops a task because another session consumed points. A contract budget-ref: none keeps wall clock only.
  • Verification receipts bind the registered contract hash: the four receipt writers recorded null (a mis-read field); reuse judging now rejects receipts owned by another contract (or taken pre-contract) instead of accepting them as coverage.
  • Delivery completion is judged by the delivery result, not intent status (ADR-0028 semantics): B requires the actual merge identity plus green merge-SHA CI; C additionally requires every declared page to pass. Unverified merges keep the intent done (never re-sent) but the queue item is not completed until verified — recovery is lzy delivery readback.
  • Authorization-ledger race fix: same-millisecond approvals for the same contract no longer overwrite each other (append-only ledger no longer silently truncated).

Quality

  • Full suite 658/658 green on the frozen candidate; CI four legs (node 22/24 × ubuntu/windows) green, including the Windows leg running the full suite.
  • Evidence: goal v031-closeout finished 16/16 with a 4/4 MATCH comparator attestation (red-green pairs per fix, real headless sessions for the metering fix).

Upgrade: npm i -g lazyzcode then lzy sync (two-step semantics, ADR-0012 — update never auto-migrates).