Skip to content

[P1] Bind packed quantum receipts to compiled plans and ATLAS child identities #62

Closed

Description

@AetherAI3

Confirmed provenance gap

Reviewed integration b6ba6542b2c311d6354948e528bc64f147911178 (open #52). V1 receipts preserve compiled_plan_digest, compile metadata and atlas_receipt_sha256. V2 block and final receipt check ATLAS child identity internally but omit that identity and compile-plan binding from the signed output.

Offline reproduction with tests/qsearch_v2_support.py: copy a valid one-PUB ATLAS receipt, change both request.envelope.children[0] and pubs[0].child_sha256 to a different matching digest, then call request_receipt() and seal_receipt_v2().

Observed: different ATLAS child identity, identical Nano body, identical Nano seal. This demonstrates lost standalone provenance, not fabricated samples or an authorization bypass.

Work packet

Design a versioned compile-manifest/receipt extension preserving ordered:
PUB index → requested job → recipient/chunk → ATLAS child → compiled plan/ISA artifact digest.

Carry the target snapshot/profile/compiler identifiers needed to reproduce and explain compilation, without keys or private payloads. The verifier must compare against the caller's expected manifest, not only validate a self-consistent received document.

Define stable compile identity separately from mutable usage settlement, so later accounting changes do not alter which computation is claimed.

Acceptance

  • Changing a child, plan, layout/profile, target or order changes the signed artifact or fails expected-manifest verification.
  • Tests include complete/partial/reordered/duplicated results and mixed widths.
  • Positive-usage resealing preserves compile identity and old-accounting history.
  • Legacy v2 receipts remain readable under their original weaker provenance semantics; never silently upgrade their claim.
  • Shared Nano/Predator golden fixtures verify the new schema before activation.
  • Reproduction above becomes a regression test.
  • No hardware or paid model calls are needed.

Delivery and dependencies

Build on #52 or its merged successor; coordinate the Predator receipt verifier and ATLAS evidence availability. One PR introduces the schema/fixture contract; subsequent focused adapters migrate it. Pair with explicit compilation profiles. Keep production activation off until compatibility tests and review pass.

Activity

  1. AetherAI3 commented on Nov 1, 2026

    @AetherAI3
    OwnerAuthor

    Implementation and independent compatibility review are ready; this issue remains open pending the sole merge captain's dependency review and verified merged acceptance.

    Review found and fixed actual ATLAS bare-hex compatibility and strict receipt/consumer parity. No hardware, paid inference, live mission, credential, deployment or budget changes. Close #62 before #63 only after merged acceptance is verified.

  2. AetherAI3 commented on Nov 1, 2026

    @AetherAI3
    OwnerAuthor

    Acceptance audit complete for the documented opt-in compile-manifest/receipt contract. Ordered PUB/job/recipient/chunk/ATLAS child/compiled-plan/ISA/layout/profile/target identities are signed and checked against independently retained caller expectations. Mutating child, plan, layout/profile, target or order changes identity or fails verification; partial/reordered/duplicate/mixed-width results are covered. Positive usage resealing preserves compile identity and authenticated prior accounting history. Legacy v2 remains readable with its original weaker semantics; no silent promotion or production v3 activation.

    Independent post-merge #62/#63 audit verified all138 scoped Nano provenance/prepare/runtime/lifecycle cases and57 Predator v3 cases passed without skips. Both reviewed lazy CLI and frozen v3 usage fixes are included. The original one-PUB lost-child-provenance reproduction is a regression. Actual merged Nano/Predator golden Git-blob bytes match exactly:20659 LF bytes, SHA256 423be995f4ce3f32aa289e15cbeb6951a42a9155d9a49f229d93639d8bfd1aa1; earlier9fc311... was the Windows CRLF checkout representation, not different fixture content. Independent schema fixtures passed before opt-in activation; v3 zero remains pending and v2 zero authority is not inherited.

    Merged regression sources include tests/test_qsearch_provenance.py and Predator tests/test_qsearch_receipt_v3_contract.py; detailed acceptance is in the captain evidence bundle and the #62/#63 final read-only audit. Hardware and paid calls were unnecessary and were not used.

    Merged integration receipts:

    • Nano #82: main cb6ea884d63dcaa8cc0e7c0b952bb88784e8219f, tree 04a3ea8489259583f5cbb274dc94f3bd7f1a98fb.
    • ATLAS #188: claude/qcomms-hw0-atlas-multipub at db6a30eb50fd096af870843e80e31385629ba7a3, tree eb68e5ef09909395d6bd86c6a763e73b92ad37a7.
    • Predator #460: claude/qcomms-hw0-pilot at 34adff73a31631be5b3c2b49303a42416f258a2e, tree 13eab966351332c2fad58f380c6a37e76cf497e4.

    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 at 7d8fdaeb6d35eebe374b9a1c9f16809b07795578: 26 passed,1 existing README-count skip, local ideal demo100/verified. Exact merged Predator tree: 522 passed,zero skipped/failed at efa7cb6ef0b3481330eb6db1634ecc99f0835ad8. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions