Repository navigation
Description
Operational gap
Reviewed Nano integration b6ba6542 (PR #52, including #54), ATLAS 81b23df, and Predator integration 5a7b3ddc. The accounting fix correctly keeps missing/provisional usage held, but there is no supported completion path for a submitted job whose authoritative final usage is genuinely zero.
- Nano runtime_ibm.py accepts only positive settled usage.
- Nano service.py returns
ACCOUNTING_PENDING_TERMINAL. - ATLAS CampaignLedger.finalize rejects usage <= 0;
release_unsubmittedrefuses an existing provider job ID. - Predator J11's journal restores the held reservation after restart.
Cancelling a queued job therefore does not itself restore usable lane budget.
Required design
Introduce a reviewed accounting transition for confirmed terminal zero, distinct from unknown zero. Bind its evidence to the exact job, instance, backend and request. Preserve the cancelled/failed execution outcome and accounting history; a zero-cost cancellation is not a successful computation.
First establish which job-specific provider evidence on the pinned SDK/API establishes finality. Do not invent a finality field. Neither job.usage()==0 nor an unchanged aggregate account counter alone qualifies. If evidence is insufficient, the reservation stays held. IBM documents provisional zero and cancellation consumption: RuntimeJobV2, workload usage.
Propagate the authoritative ATLAS transition through Nano's sealed outcome, offline recovery and Predator's budget/journal. Never solve this by deleting ledger rows, reusing unsubmitted-release, resetting budgets, or broadly treating zero as final.
Acceptance
- Unknown zero remains held, including after process restart.
- Confirmed terminal zero reconciles once; replay is idempotent and performs no submission.
- Cancellation racing execution charges actual settled usage and preserves any real outcome.
- Positive final usage and existing fix(qsearch): hold live v2 receipts until provider usage is final (accounting gate) #54 recovery behavior remain unchanged.
- Wrong instance/backend/job evidence cannot close a reservation.
- Cancelled outcomes remain visibly cancelled; replaying an already settled outcome needs no live credentials.
- Cross-repo contract tests cover Nano, ATLAS and Predator; no hardware required.
Delivery
Coordinated small PRs on the current reviewed quantum stack or its merged successor, with explicit schema compatibility. This issue authorizes engineering and offline tests only, not cancellation, new QPU submissions or larger budgets.
Activity
AetherAI3 commentedon Nov 1, 2026
Engineering checkpoint for #58; not merged acceptance or issue closure.
179d733591db05ac02ccd747117e8d97248dba40fdfe927bbbc2c2b66fc4b17117c8b24efe98694d4a8c827fe8779f935dd4ccfe2882c7c1e0eb62d7The expanded three-repository contract/smoke suite passed 45 tests with a fake provider through the real ATLAS ledger, Nano hardware seal, and Predator verifier/journal/budget. Unknown zero remains held after restart; confirmed zero remains a FAILED cancelled/error outcome; replay is idempotent and makes no submission; positive consumption and real outcomes remain preserved. The ATLAS branch includes merged successor
ad06bb2, including the provider-creation-time guard.Provider evidence is version-specific: SDK 0.46.1's normal API 2025-05-01 does not document billing finality. The narrow separate read explicitly selects API 2026-04-15, exact billing status
completeand explicit billed zero, while verifying job/instance/backend/request identity. Full prior row, receipt and metrics evidence are retained, and PUB consumption remains counted. The v2 schema and HMAC domain are unchanged;usage.zero_usage_evidenceis strictly versionedAqrcQSearchZeroUsageEvidenceV1. Older pins keep zero held/reject settled zero.Exact commands and source/compatibility details are in the coordinated PR descriptions and committed provider-evidence documentation. Nano's 3 skips are optional Protocol-C, the opt-in standalone FakeFez v2 dry run, and an intentionally removed README test-count claim. Original failed runs and independent controls are retained in #75: the FakeFez near-tie fixture reproduces on untouched b6ba654; its fixture-only unique-minimum correction changes no production selector or registered metric. The timeout crash-counter test helper now publishes atomically; original budget, retry and elapsed-time assertions remain unchanged. Independent review found no outstanding blocker in the reviewed source/merge.
Hosted checks are unreported, not green. The authenticated Nano repo runner inventory currently has zero runners and no AETHER_CI_RUNNER variable; no runner selector or job was changed/dispatched. Per the latest user direction, #59 is the single merge captain and will confirm existing self-hosted labels/capacity, serialize integration checks and any authorized admin merges. Combined #59 lifecycle/zero-accounting projections remain untested. Opt-in v3 provenance activation/adapters remain outside this change.
No provider job reads, QPU submissions, cancellations, credential changes, budget increases/resets, deployments or live mission changes were performed. Keep #58 open until coordinated merges and merged acceptance are verified.
AetherAI3 commentedon Nov 1, 2026
Acceptance audit complete: all seven engineering criteria are met in the merged trees. Unknown/provisional zero remains held through restart; authoritative complete zero is bound to exact request/job/backend/instance and reconciles once without submitting; races charge actual positive consumption and retain actual outcomes; positive/#54 behavior remains compatible; wrong or forged identity/finality is refused; FAILED/CANCELLED and accounting remain separate; settled offline replay requires no live credentials. Actual ATLAS ledger -> Nano hardware seal -> Predator verifier/journal/Budget contract cases executed for CANCELLED and ERROR, with no hardware. Independent #58 final audit confirmed every criterion. The strict additive v2 proof and history are retained; v3 zero authority was not activated.
Regression sources: strict zero/lifecycle integration, real-ledger accounting contract. This engineering completion does not assert settlement of any live J11 reservation.
Merged integration receipts:
cb6ea884d63dcaa8cc0e7c0b952bb88784e8219f, tree04a3ea8489259583f5cbb274dc94f3bd7f1a98fb.claude/qcomms-hw0-atlas-multipubatdb6a30eb50fd096af870843e80e31385629ba7a3, treeeb68e5ef09909395d6bd86c6a763e73b92ad37a7.claude/qcomms-hw0-pilotat34adff73a31631be5b3c2b49303a42416f258a2e, tree13eab966351332c2fad58f380c6a37e76cf497e4.Actual target branches, parents and trees were verified after each merge. Private integration branches are stated precisely; their default main branches were not these merge targets. The human explicitly answered “Yes, merge using local tests” to waiving the earlier self-hosted gate for these three named integration PRs. That waiver and exact commands/source pins/counts/skips/review limitations are preserved in their bodies. Cloud41322926091 remains FAILED STARTUP: zero jobs/check runs, not a passing test or runner result.
Local combined Nano: 2446 passed,3 unrelated optional skips, zero failures/errors at
5e4373dbd8e093f50398ed46146ec167911352cc. Merged runtime/compiler/test code is byte-identical; only README/status differ. Final availability/docs/host checks at7d8fdaeb6d35eebe374b9a1c9f16809b07795578: 26 passed,1 existing README-count skip, local ideal demo100/verified. Exact merged Predator tree: 522 passed,zero skipped/failed atefa7cb6ef0b3481330eb6db1634ecc99f0835ad8. ATLAS combined local evidence201passed/0failed, plus the108-pass nonblocking component suite and cross-repo execution in the full Nano/Predator tests. No live quantum job, cancellation, spend, credential/runner/security setting change, production activation or formal GitHub approval was performed. Default-off hardware gates and existing budgets are preserved.Issue #61 remains open for its separate unfinished prepare/sample service-wire acceptance; its partial source inclusion is not treated as completion.