Skip to content

feat(gateway): implement AP073 native agent delegation on AP074 - #215

Merged
bordumb merged 31 commits into
mainfrom
codex/ap073-native-delegation
Nov 7, 2026
Merged

bordumb merged 31 commits into
mainfrom
codex/ap073-native-delegation

Conversation

@bordumb

@bordumb bordumb commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

AP074 supplied one bound effect and recovery owner but could not enforce enrolled machine → A → B delegation with shared ancestor capacity and scoped information flow. This implements AP073 on those owners: native enrollment, scoped effects, permanent ancestor reservations, fresh revocation fences, exact independent approval, controlled disclosure, created-resource recovery, commissioned successor identities, coordinated federation and native records conformance.

Provider writes remain data-only gateway recipes. Admission, capacity and recovery use the existing journal and final entry fence. Superseded disposable schemas are rejected directly. The original AP073 checkpoint remains preserved on codex/identity-authority-foundation at 97163513.

Review map:

  • Contract and M0–M4/F01–F16 acceptance: docs/specs/0073-identity-authority-and-enforcement-foundation.md.
  • Source, test, formal and deployment assumptions: docs/plans/0073-assurance-map.md and ADRs0018–0022.
  • Construction results, evidence corrections and failed/repaired cohorts: docs/plans/0073-foundation-assessment.md.

Validation on 804bd57a9fbc95c2d0976dc59c5ac9a9282ce3e4:

  • All 83 applicable checks passed; no failures or pending checks. Five protected production commissioning/signing jobs correctly require manual dispatch on main.
  • Authoritative CI, compliance, dependencies, full-history secrets and formal qualification passed. Kani executed all 49 gated harnesses with zero failures. Translation and authoritative Lean validated reuse against identical source/toolchain/proof inputs; the clean Lean audit contains 329 declarations with only the documented standard axioms. Final formal aggregation binds all three phases to this head.
  • Configured TLS PostgreSQL passed all 89 selected gateway cases, including successful named executions of all twenty AP073 cases previously omitted by fixture selection. The separate exact-selector log passed the unchanged independent differential checker: two native adapters and 22 reference pairs. Crash, concurrent-history and physical backup/restore checks also passed.
  • The source-free installed journey passed all eight scenarios with distinct Linux UIDs, installed Python/npm interfaces, independent process-held keys, zero private-key exports and zero extra replay effects. Native records and commissioned-successor recovery checks passed, as did all 17 owner-browser checks. Retained manifests and reports match this head; artifact digests were verified.
  • The installed Stripe simulation passed its 23 cases. Python/TypeScript package matrices, installed API checks, gateway isolation and recipe-consumer checks also passed. Two transient compiler-cache service failures passed on retry without source changes.

Assurance remains scoped: translated leaves do not establish a full-product theorem; tree/origin/backend composition remains reviewed and tested product glue. Federation requires one coordinated authority store. Safe restoration requires an independently authenticated checkpoint/floor and operator quarantine. The installed signer is scripted independent approval evidence, not a human-presence trial. Native records and provider doubles do not establish production-provider qualification. AP070 remains an independent application-owned reference. No merge or deployment was performed.

@bordumb
bordumb marked this pull request as ready for review November 7, 2026 00:22
@bordumb
bordumb merged commit ac5fcab into main Nov 7, 2026
100 of 102 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