Repository navigation
Description
Current gap
On integration b6ba6542b2c311d6354948e528bc64f147911178, CompileOptions can be selected from ambient environment, and runtime compilation does not receive a fully declared profile from the frozen request. ATLAS still binds the resulting compiled child, so this is not an authorization bypass. The missing capability is for an agent to inspect and approve the complete compilation choice before execution.
The current quantum entry point starts a server; nano CLI has no quantum check/prepare command family.
Work packet
Define an immutable versioned compile profile and artifact: operation/schema, rewrite choices, seed, compiler and SDK versions, target snapshot/calibration identity, circuit layout and ordered PUB mapping. Split logical/source identity from target-compiled identity. A changed target or profile creates a new artifact; it cannot silently reuse approval for another artifact.
Add proposed nano quantum check and nano quantum prepare commands that consume local files and output JSON. They must work without credentials/network. Missing target snapshots are reported as missing; no silent FakeFez substitution. Preserve the zero-dependency core, with Qiskit/IBM extras optional.
Report PUB count, shots, width, gate counts, resource limits and estimated usage separately from observed/settled usage. Execution must consume or revalidate the approved artifact against the current permitted target, leaving the admission gate in the host.
Acceptance
- Same source/profile/pinned target snapshot produces the same semantic plan and expected compile identity under a pinned toolchain.
- Environment changes cannot silently select a different declared profile.
- Target drift invalidates the prepared artifact or requires explicit re-preparation; no recompile-and-submit under old approval.
- Offline commands never instantiate an IBM service or use credentials.
- Diagnostic JSON distinguishes unavailable dependency, unsupported capability, missing target and invalid plan.
- Artifacts round-trip and reject malformed fields, stale versions and mismatched expected digests.
- Test old/new supported SDK adapters with explicit bit-order/PUB-result fixtures; do not blindly upgrade packages against latest documentation.
- Tie prepared artifacts to [P1] Bind packed quantum receipts to compiled plans and ATLAS child identities #62's packed receipt provenance.
Delivery
First PR: schema, local fixtures and check command. Next: target preparation and execution adapter. Follow #52's reviewed stack or its merged successor; no live requests or extra spend. Later Python/Rust/Go clients should consume this protocol rather than reconstruct service environment variables.
Activity
AetherAI3 commentedon Nov 1, 2026
Implementation and independent review are ready in stacked PR #80: #80 . Final head d4fb3db, based on #74 fc64bfb and the reviewed #52 stack. This issue remains open until the sole merge captain verifies dependencies and merged acceptance; #62 closes first.
Shipped on this branch: explicit immutable compile profiles; full local target/calibration/timing snapshots; separate logical/compiled/ISA/artifact identities; local JSON nano quantum check/prepare; required expected digest and target-drift checks; approved saved-ISA execution without recompiling; exact ATLAS frozen-identity reuse and current ledger PUB-cap enforcement. Operation binds nano.quantum.operations.v1/optimize_qubo (#72 pin 45ea683); new prepare_bits/sample kernels stay with their owning lane.
Final clean-head verification (Python 3.12.14/Qiskit 2.3.1):
Review caught and fixed the actual ATLAS bare-hash boundary, discarded frozen-identity reuse, incomplete transitive source pin and first-party CLI import boundary. Core check needs no Qiskit, credentials or IBM service. Production routes remain v2 and v3 activation remains off. Unknown/zero usage stays held; #58's additive zero-proof migration is not claimed by this opt-in v3 adapter. No hardware, paid inference, deployment, live mission or budget changes.
AetherAI3 commentedon Nov 1, 2026
Acceptance audit complete for the immutable explicit profile and offline check/prepare interface, after #62's provenance contract. Deterministic source/profile/pinned-target compilation has stable semantic/compile identity; ambient environment cannot silently switch a declared profile. Target drift invalidates prepared approval instead of recompiling/submitting under an old digest. JSON distinguishes missing dependency, unsupported capability, missing target and invalid plan; artifact/schema/version/expected-digest validation is strict. Resource estimates and declared limits are distinct from observed/settled usage. Offline CLI paths never instantiate IBM service or use credentials; admission remains with the host.
Independent post-merge #62/#63 audit verified all138 scoped Nano provenance/prepare/runtime/lifecycle cases passed without skips, including real Qiskit2.3.1 deterministic prepare/load, raw QPY/ISA freezing and v3 provenance binding. The lazy quantum CLI dispatch fix is included and separately checked with diagnostics isolation. Supported compiler distribution is explicitly pinned to Qiskit2.3.1; old/new public DataBin/Target shapes have explicit bit-order/mixed-width fixtures, not a claim that two SDK distributions were installed. Optional adapters retain explicit fail-closed unsupported dependency behavior; no blind latest-package upgrade or live provider test occurred.
The prepare adapter currently covers optimize_qubo. Native prepare/sample artifact/service-wire integration remains the separate unfinished issue61 boundary and is not claimed here. Production activation stays opt-in. The independently verified caller-expected manifest/golden checks from issue62 are included.
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.