Add opt-in delegated dispatch and durable custody library - #17
Merged
Merged
Conversation
jmcentire
force-pushed
the
codex/delegated-custody-reconcile
branch
from
June 20, 2026 05:18
014110a to
06107d4
Compare
Contributor
Author
|
Reconciliation update at
Verification:
This remains a draft: it is executable reference evidence, not authorization to merge or deploy the production provider path described in the remaining-dependencies section. |
This was referenced Jun 20, 2026
Contributor
Author
|
Final current-main verification update at
#17 remains a draft by design. Its production gates remain unresolved: a concrete trusted Signet verifier transport, HA durable journal/ledger, custody-internal provider backend, externally anchored audit and failure-notification operations, provider idempotency/reconciliation, shared circuit state, and Signet key-free cryptographic evidence. Do not merge or integrate it into MEA until those gates are separately satisfied. |
jmcentire
force-pushed
the
codex/delegated-custody-reconcile
branch
from
June 20, 2026 05:24
06107d4 to
57d8fd5
Compare
Reject expired reservations and stale journal leases after durable-state waits, enforce exact route handle identities and integer budgets, and document the opt-in library release boundary. New regressions reproduce each defect before the fixes. Co-Authored-By: Codex <noreply@openai.com>
jmcentire
force-pushed
the
codex/delegated-custody-reconcile
branch
from
September 13, 2026 04:34
57d8fd5 to
f5d04f0
Compare
jmcentire
marked this pull request as ready for review
September 13, 2026 04:35
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.
Adds an opt-in Python library for delegated provider dispatch with opaque custody references. No CLI command, default configuration, or adapter enables this path automatically. Callers supply a trusted authorization verifier and custody-internal operation factory; the SQLite constructor provides a single-node durable reference implementation.
The runtime binds dispatch and custody to one verified authorization, exact request fingerprint, audience/workload/purpose/policy context, enabled connector ceiling, single-use authorization, and bounded provider-attempt budget. Durable claims and consumption reservations retain budgets across recovery. Sanitized outcomes, audit events, and an acknowledgeable failure queue provide local operational evidence.
Review fixes recheck authorization validity before and after reserving each provider attempt, evaluate journal lease time after obtaining the SQLite write lock, enforce exact handle connector identities, and reject non-integer authorization budgets. Regression tests reproduced the validity, contention, handle-binding, and malformed-budget defects before the fixes.
Validation: 91 focused custody/runtime/connector/Signet-adapter tests and the full 1,186-test Python 3.12 suite passed. Changed-module/test Ruff, CRLF-aware diff validation, and isolated sdist/wheel build passed. Hosted checks are attached to the current head.
Deployment prerequisites remain explicit in
docs/credential-custody-boundary.md: concrete trusted verifier transport and issuer/rotation policy enforcement, custody provider backend, provider idempotency/reconciliation, external audit and alert operation, plus HA persistence/shared circuit policy when required by the deployment. The library's local reference tests establish none of those external capabilities. No provider credentials, signing keys, or live provider calls were used.Supersedes the closed overlapping drafts #13 and #16.