fix(codex): make MCP rollback exact and gate CE by version - #255
Draft
levineam wants to merge 3 commits into
Draft
fix(codex): make MCP rollback exact and gate CE by version#255levineam wants to merge 3 commits into
levineam wants to merge 3 commits into
Conversation
This was referenced Aug 31, 2026
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.
Summary
jarvosregistrationsokOverriddenas a committed user-layer deletion while preserving the higher-priority effective registrationOwnership boundary
The owner-only receipt stores only a normalized fingerprint and bounded lifecycle state. It does not store raw MCP configuration or credentials. Rollback reads the exact user layer, verifies the recorded fingerprint, and submits
config/batchWritewith the matchingfilePathandexpectedVersion. There is no name-only removal fallback. A CAS conflict, unavailable prerequisite, changed value, or inconclusive result preserves the registration and receipt for manual reconciliation.Successful
okandokOverriddenresponses both clear the obsolete user-layer receipt. A higher-priority effective registration and any concurrent post-CAS re-add remain untouched.This PR does not authorize active-profile installation. Hook trust, exact feature/hook restoration, stable publication, and the Mac Mini compatibility audit remain separate gates.
Verification
npm testpassed on exact head60ce30dgit diff --checkand shell syntax checks passedAddresses #254.