Repository navigation
Nexus governance hardening, Quantinuum CI job, claims register update (E-46..E-50) - #75
Merged
Merged
Conversation
… (E-46..E-50) nexus_sdk / osiris nexus: - Remote side effects need explicit operator approval: preflight (upload, compile, costing) and Tier 2 emulator jobs refuse without approve_remote; the CLI asks [y/N] with what will be sent, or takes --approve-remote, and refuses when not interactive. Nothing is called before the check. - circuits.cost(...) now gets project=. - Preflight is ledgered as PREFLIGHT_CHECKED, not SIMULATED. - HARDWARE_ATTESTED only after an attestation step that asks Nexus again: jobs.status COMPLETED, the job record fetched by id names the requested QPU, and every result's backend info names it. Otherwise the run is recorded HARDWARE_UNVERIFIED with hardware=false and the reason. CI: new `quantinuum` job installs .[quantinuum,nexus] (pytket + qnexus) and runs test_nexus_sdk, test_quantinuum_client and test_tket_and_quantinuum_nexus; any skip fails the job (38 tests, 0 skips locally). claims.py: CRSM_ARCH -> REFUTED, "FAIL under Amendment 3 (N=2, adopted after seed 200); incomplete against 8-seed pre-registration", citing the result and Amendment 3. New entries XTOP005_DD (SUPPORTED), XTOP005_ENCODING (NULL), ADV0_PEAKED (REFUTED, offline, not preregistered). Full suite (pytket + qnexus installed): 3106 passed, 26 skipped, 0 failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remediation items E-46 to E-50 from the 2026-11-21 evidence reconciliation.
osiris nexusgovernance (providers/nexus_sdk.py,quantinuum_cli.py)Operator approval before remote side effects.
preflight(upload, compile, costing) and Tier 2 emulatorrunraiseGovernanceErrorunlessapprove_remote=True. The CLI shows what it will send and asks[y/N], or takes--approve-remote; without a terminal it refuses. Tests assert that no SDK call is made before the check.circuits.cost(..., project=...).Preflight is ledgered as
PREFLIGHT_CHECKED, notSIMULATED.HARDWARE_ATTESTEDonly after attestation._attest_hardwareasks Nexus again, separately from the submit call. It requires all three checks to pass:jobs.statusreportsCOMPLETED;jobs.get(id=...), names the requested QPU inbackend_config_store.device_name;download_backend_info().device_namenames the same QPU.If any check fails, the run is recorded as
HARDWARE_UNVERIFIEDwithhardware=false, and the diagnostics give the reason. The tests cover the pass case, a wrong device and a failed status.CI
New
quantinuumjob (Python 3.12). It installs.[quantinuum,nexus](pytket and qnexus 0.51.4) and runstest_nexus_sdk.py,test_quantinuum_client.pyandtest_tket_and_quantinuum_nexus.py. Any skip fails the job, so the real pytket path and the qnexus signature-binding test always run.Claims register (
claims.py)CRSM_ARCH: changed fromUNTESTEDtoREFUTED. Finding: "FAIL under Amendment 3 (N=2, adopted after seed 200); incomplete against 8-seed pre-registration". It now cites the RESULT and the Amendment 3 entry.XTOP005_DD: SUPPORTED (H2, H3);XTOP005_ENCODING: NULL (H1, H4);ADV0_PEAKED: REFUTED (offline, not preregistered).Verification
bootstrap --verify-only,py_compileandgit diff --checkall pass.🤖 Generated with Claude Code