Repository navigation
feat(enforcement): prepare retained main role inspection - #831
Merged
Merged
Conversation
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.
Add an inactive native
controller-mainadmission 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 fixedinspect-ownedinventory 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
ServerRightsdeclaration; 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=falseandlaunchAllowed=false; full E1/A1, protected cross-account and VM qualification remain open.