Skip to content

feat(enforcement): prepare retained main role inspection - #831

Merged
antropos17 merged 1 commit into
masterfrom
codex/main-admission-20261010
Oct 10, 2026
Merged

antropos17 merged 1 commit into
masterfrom
codex/main-admission-20261010

Conversation

@antropos17

Copy link
Copy Markdown
Owner

Add an inactive native controller-main admission path that binds the original enrollment/server association, a held main process, its native operator tuple and pinned role/inventory/image records. After authenticating the actual named-pipe peer and reverting impersonation, it publishes a private context for one fixed inspect-owned inventory observation. Invalid, replaced or revoked authority terminally refuses; borrowed enrollment and server resources retain their owners.

The existing observed-only caller API did not promise role qualification. The new path rejects an unlisted main and legacy frames, verifies retained role/inventory state before and after observations, and refuses an already mismatched server before acquiring its unrelated gate. A deterministic held-gate control reproduced the blocking behavior before the association precheck. Real metadata changes prove post-publication terminal refusal, and lifecycle controls prove borrowed-owner survival.

Six fixture executable budgets increase to 256 KiB to accommodate the added source. The production supervisor image guard remains 4 MiB and native buffers/streamed main-image bounds are unchanged. The maintained helper measures 75,776 bytes. Remove the independently proven unused ServerRights declaration; the active pipe DACL remains intact.

Validation: 159/159 affected native tests, including 31 dedicated controls; ten required local repository checks on the integrated source. Each retained result records its actual source inputs/base and binary identity. Program, Electron IPC, protected provisioning and VM launch remain inactive. The observation reports ownershipQualified=false and launchAllowed=false; full E1/A1, protected cross-account and VM qualification remain open.

@antropos17
antropos17 merged commit bfc03c4 into master Oct 10, 2026
5 checks passed
@antropos17
antropos17 deleted the codex/main-admission-20261010 branch October 10, 2026 00:58
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