Repository navigation
feat(modes): add authenticated host bridge with exact rollback - #18
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.
Adds a disabled-by-default root-owned C4M1 bridge to the existing mode controller. Linux peer credentials bind requests to the inspected production engine PID, executable inode and container cgroup; only fixed mode targets and durable nonce IDs are accepted. Both immutable images require independent qualification, image-bound security review and explicit activation approval.
Detached workers survive engine replacement; shared deployment leases, durable orphan markers and journaling serialize transitions. Failed switches restore the exact previous image, Compose configuration and archived private home bytes. Homologation is untouched. No rebuild, checkout or download happens during switching. See docs/authenticated-mode-bridge.md for threat model, recovery and gated installation.
Validation: 67 Python tests, existing mocked operations suite, 12/12 disposable Compose checks (real Docker recreation, published UDP from another network namespace, exact private-byte rollback, homolog sentinel isolation and kernel credential binding). Fixture evidence: /tmp/c4-mode-test-56f39bbe23-ces3j3ij/results.json. Fixture images are authored UDP responders, not games; this does not qualify live-image transitions or a different-machine external observer. Companion engine: ghptc/cod4x-server#26.
Independent security review approved source/local qualification with no blocking finding and independently passed engine79/workspace67 plus full mocked Operations. Existing Operations CI passed. This is not production activation approval.
No services installed or changed; no approvals overwritten. Real-image operator qualification, protected admin transport and explicit production activation remain mandatory. Do not merge/deploy automatically.