Skip to content

integration(identity): promote merged #172 token-delivery boundary into main - #175

Merged
LIghtJUNction merged 4 commits into
mainfrom
integrate/token-delivery-172-20260929
Sep 29, 2026
Merged

LIghtJUNction merged 4 commits into
mainfrom
integrate/token-delivery-172-20260929

Conversation

@LIghtJUNction

@LIghtJUNction LIghtJUNction commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #162. Refs #172 #83 #85.

Why this promotion exists

#172 merged into fix/executor-core-20260929-2045, not main. This PR promotes its exact merge commit b0b51205c8273c2d89bf99c7facf9e56767bc8d2 to main without modifying either original branch or reimplementing credential delivery. Compared with main261c8816, the six-file delta is only the original token-boundary change.

Reviewed ownership and preserved contract

security.token_delivery.TokenDelivery exclusively owns derivation, recovery binding, transactional recording and response-only release. Application constructs it and retains policy-free compatibility forwarding. Authentication imports the same recovery verifier. The capability takes explicit metadata/key/clock/window dependencies, not Application/Registry/signers/vault/Root. Read the complete owner and all seven new boundary tests.

Issuance/recovery binding remains in the business transaction. Release eligibility is claimed and committed before the adapter sees the secret. A lost response uses the existing bound recovery flow; persisted results/events/receipts never gain the token. IDs, purposes, operation versions, signatures, recovery deadlines and replay policy are unchanged.

Independently inspected current-head evidence

Head b0b5120. Focused source manifest: merge checkout 8c86062ba7c60f63d7a4824bce66db1db0f0001c, tree ebe1facca432803854d0c04aaa93519a589ff93f, Python3.15.0rc2, attempt1.

  • Focused run 36551495692, artifact11024782079: 122 passed, zero failures/errors/skips. Downloaded ZIP SHA256 9079f195d8d49568fe502c140ec7e2f05412bf751852ef180d74e681610a3312 verified.
  • Full run 36551495771: all four shards plus contracts gate succeeded. Independently downloaded all four artifacts and compared every msg.nodeid with each selected list and the shared complete inventory: 1901 passed, no missing/extra/duplicate nodes, zero failures/errors/skips. Shards: 465/496/483/457.
  • Shard0 conformance JUnit: 8 passed, zero failures/errors/skips; actual cl100k_base token-budget measurements present; wheel and sdist are present and the build step succeeded.
  • Architecture36551495793, storage36551495701 and recovery36551495781 report success on this head. These status checks are not represented as independently counted artifact audits.

Full artifact SHA256 by shard:
0 /11025483081 c41a6794601749addc90807efe9d0ec4184bea5db069c30ff120cf136c152ada
1 /11025244066 8bab2e991b774c4c27b28e70c25593d4104105f6750dd77fc3651dbb57b56eea
2 /11025219177 c8e42dba88fe618477ff393827fd11a91c7f90f01c0b0428ae82f24aa5c284b6
3 /11025740416 0dc2452ab2439dcae67de399bb436b5711d7bdf3d156bd8fcf106d424c6681e9

Original RED/history remains in docs/TOKEN_DELIVERY_BOUNDARY_PROGRESS.md; this PR records the final promotion evidence without an unnecessary source-changing documentation commit. #173 already preserves this head as a real parent and is independently testing the combined hosting/token/ownership tree; its gates remain separate. Merge serially with an expected-head check, then verify main's actual tree.

All execution/tests/builds were in GitHub Actions. No deployment, production secrets, real Root/PIN, funds, outbound delivery or recovery promotion. Closing #162 does not close the umbrella/production acceptance issues or reopen completed #67.

… its protocol

Refs #162 #83 #85. Add independent-construction and real one-time-claim regressions before extracting the existing Application policy. Keep existing credential, client recovery, batch and security suites in the cloud gate.
… owner

Refs #162 #83 #85. Preserve issuance/claim transaction timing, legacy derivation and receipt bytes, expiry and one-time response semantics. Application only composes/delegates; authentication shares the exact verifier. Narrow current clock/window providers preserve live settings changes. All three native source blobs match the reviewed local text.
…idence

Refs #162 #83. Correct the new test's nonexistent events.request_id column after independently verified cloud failure. Keep the exact one-event assertion and strengthen subject/secret checks against real stored Event JSON. Production code and schema are unchanged.
…dary-20260929

refactor(identity): separate one-time token delivery from Application composition
@LIghtJUNction
LIghtJUNction marked this pull request as ready for review September 29, 2026 10:06
Copilot AI balanced review requested due to automatic review settings September 29, 2026 10:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-29T10:09:24.226090Z b0b5120 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@LIghtJUNction
LIghtJUNction merged commit edbfbae into main Sep 29, 2026
15 of 20 checks passed
LIghtJUNction added a commit that referenced this pull request Sep 29, 2026
…authority

Closes #161. Independent HostingRuntime and canonical callback-free Registry/auth, no writer secrets or startup writes; explicit group-read publication and dedicated OS/DB deployment. Retains #174 ownership/isolation regression provenance and #175 token history.
Final head2b80 / treef377ce7 verified: hosting41, token122, full1935 exact-node-ID union, conformance8, actual tokenizer, wheel/sdist and contracts gate all pass with zero test failures/errors/skips. Full36553079854; artifact hashes and source identity in #173. Synthetic merge4827630 onto actual mainedbfbae has identical tree. No production deployment or broader acceptance closure.
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.

[P2][架构] Application 同时承担服务装配与凭据一次性交付业务,身份生命周期缺少独立职责归属

2 participants