Skip to content

feat: compose isolated P06 enrollment and App issuance - #103

Merged
brettheap merged 11 commits into
mainfrom
017-p3-issuance-prep
Nov 23, 2026
Merged

brettheap merged 11 commits into
mainfrom
017-p3-issuance-prep

Conversation

@brettheap

@brettheap brettheap commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Compose first-pilot T013P06 enrollment and role-scoped App issuance through the existing source-selected approval, kernel credential and retained-state ports. A returned mint token remains privately available for cleanup when delivery loses authority, and known cleanup lookup survives loss of issuance-only TLS/socket dependencies. Default activation and operational acceptance remain gated.

Candidate head: 6796cccfc5912d9ddcf05a8cc5c694e67cb88c33. Brett Heap ratified this exact head for source acceptance only on 2026-11-23 and directed landing when green, independent main CI verification, then T013P07 preparation.

The review corrections preserve the returned-handle cleanup ordering and remove cleanup's dependency on issuance-only liveness. The fixture uses explicit HTTP length validation. Test assertions preserve evaluation and side-effect order, and the allocated-socket oracle checks owned kernel identities, endpoint closure and EOF with traceback retained. Three real mTLS controls establish sanitization of SystemExit, GeneratorExit and custom direct BaseException before effects.

Validation

  • Local frozen runtime/test/matrix source 475efdfceff5e02d0408a6f7fb8d4b072c9bf2a6: all seven ordered gates, 3,581 full parent cases plus 11 subtests, and all 3,159 mandatory native cases pass, with zero failures, errors or skips. The final seven Markdown records pass six fast gates; all 410 other frozen inputs remain identical.
  • All 130 canonical P06 cases and nine external controls pass, for 139 focused cases. Prior identities/order, non-P06 fingerprints and matrix anchor prefixes remain preserved.
  • Local Codex review is complete: all nine roles clear the source and final exact-head Markdown delta, with zero remaining actionable findings. No hosted Codex connector review receipt is claimed under the explicit local-review commission.
  • Hosted CI run 45111796385 passes every job at this exact candidate: isolated coverage, full runtime plus mandatory native conformance, main coverage, source conformance and Sonar. All other PR checks pass. Earlier failed or cancelled runs remain diagnostic and are excluded from this head's qualification.
  • Fresh downloaded artifacts were independently checked against the actual CI synthetic merge fcda99903ad87acd1f42afad20aea1daa1f875b5, whose tree equals this candidate. All 102 production Python files, six analysis configurations, pinned repositories, coverage denominators and raw branch/probe provenance match. The 3,580 main measured cases plus one isolated case form the exact 3,581-case collection; all 3,159 native identities match local qualification. JUnit reports contain zero failures, errors or skips.
  • All six unchanged Sonar conditions were evaluated and pass: new coverage 96.5%, duplication 0.0%, reviewed hotspots 100%, and reliability/security/maintainability ratings all 1. Fresh PR analysis identifies this exact head and reports zero bugs, zero vulnerabilities and one reviewed code smell.
  • Independent full/native audits each verify 130 P06 cleanup receipts, three role positives and five preservation cases. Fresh cleanup confirms all 16 owned P06 volumes and all P06 fixture containers absent. The clean, owned CI verification clone was removed after validation; raw artifacts and receipts remain retained. Candidate/dependency checkouts remain clean and pinned. Known returned handles retire; unknown outcomes remain consumed/indeterminate.

Committed local qualification evidence. The committed records are explicitly prepublication checkpoints; this body records the subsequent final exact-head CI, review and cleanup results.

Reviewed remaining advisory

Sonar retains one OPEN CRITICAL code-smell advisory, python:S5754, on the private BaseException sanitizer. Raw termination payloads can contain credentials, so narrowing or reraising the original object would violate the private wire boundary. Three real mTLS controls substantiate the retained behavior, including traceback/cause/context, representation, pickle and wire canary checks before effects. Reviewed disposition and regression evidence. This advisory remains visible and is not claimed resolved. No suppression, Sonar issue-status mutation, gate/cap change, profile, permission or runtime-limit change was used. There are no actionable local review findings or GitHub review threads.

Authority

Only isolated T013P06 is complete. Provider/admin facts remain isolated doubles; no live qualification is implied. P07-P09 and operational, human, provider and consumer acceptance gates remain open. Setup and dispatch remain unauthorized; feedback remains deferred; neither historical blocked write was replayed. No host/runtime restart or external-model source export was performed. Source-only owner ratification is recorded below. Landing and independent main CI remain separate from operational authority.

Owner source ratification

On 2026-11-23, Brett Heap stated: "I ratify openXwallet #103 at 6796ccc for source acceptance only. Land when green, verify main CI, then prepare T013P07. Keep setup/dispatch unauthorized, feedback deferred; don’t replay blocked writes."

This acceptance covers the exact source head only. P07 preparation does not authorize P07 implementation, setup, protected dispatch or live acceptance.

@sourcery-ai

sourcery-ai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Review the P06 composition and its bounded mint-response and cleanup-ownership corrections, since this is the runtime behavior the other changes qualify.

  • scripts/workload_factory_binding_runtime/azure_composition/issuance.py L1-316

Documentation

Read the P06 subplan and acceptance records together to understand the intended boundaries, qualification claims, and remaining gates.

  • specs/017-protected-runtime-qualification/evidence.md L1-91, L4182-4420
  • specs/017-protected-runtime-qualification/p3-azure-composition-plan.md L1-94
  • specs/017-protected-runtime-qualification/p3-issuance-plan.md L1-298
  • specs/017-protected-runtime-qualification/p3-parent-main-qualification.json L1-90
  • specs/017-protected-runtime-qualification/plan.md L1-91
  • specs/017-protected-runtime-qualification/spec.md L1-91

Check the task and project-status updates for the isolated T013P06 completion and its explicitly ungranted follow-on work.

  • AGENTS.md L1-89
  • specs/017-protected-runtime-qualification/tasks.md L1-91, L566

Review the feature019 closeout records separately to confirm they document source-CI maintenance rather than expanding P06 authority.

  • specs/019-sonar-main-acceptance/plan.md L67-82
  • specs/019-sonar-main-acceptance/tasks.md L20, L26-33

Tests

Read the substantive P06 integration controls alongside their matrix registrations to verify the composition’s positive, refusal, cleanup, and regression behavior.

  • tests/runtime_binding/matrix_contract.py L714-758
  • tests/runtime_binding/test_azure_issuance.py L1-537

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review November 23, 2026 08:03
@sourcery-ai

sourcery-ai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Sorry @brettheap, your pull request is larger than the review limit of 150,000 diff characters

@brettheap
brettheap merged commit 4b64db8 into main Nov 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant