Skip to content

docs(mcp): stop Codex registration after CLI failures - #479

Merged
drevendev merged 3 commits into
masterfrom
beautifulrepo/codex-mcp-registration-guard
Nov 25, 2026
Merged

drevendev merged 3 commits into
masterfrom
beautifulrepo/codex-mcp-registration-guard

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Outcome

Addresses a documentation gap in #255: the Codex trial now stops on version, registration, list or get failures on POSIX and PowerShell. Check for a pre-existing entry before registering and verify cleanup without removing another trial's entry. The manual preflight is not an automated configuration isolation mechanism.

  • Official Codex MCP documentation rechecked 2026-11-25.
  • Two documentation regression tests: static command guards and mocked POSIX success/failure execution with paths containing spaces. Ten structural/readback checks passed in preparation; full tests require fresh Quality CI. No real Codex/Claude Code command, model call or host installation was executed.
  • Server pin and SDK version unchanged. CHANGELOG updated. No catalog changes.

Separate later-run acceptance required; #255 remains open.

@andy-zen-dev andy-zen-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent exact-head review: b213db15a455b797be45aa0a1bca8333ffc333f6 against 8f9869bc36afd50cb83ae81371eb569a39aea984.

Reviewed all three changed files, the surrounding POSIX/PowerShell preparation and cleanup instructions, repository contribution rules and #255. The four native commands in each registration block now stop on failure; the POSIX mock verifies argument boundaries for paths containing spaces and refuses to execute later commands after each of the four failure points. The manual name preflight and cleanup instructions explicitly avoid replacing/removing another trial's entry. The server SHA and SDK pin remain unchanged; the Unreleased Fixed entry is present. No merge-blocking defect found in this documentation increment.

Quality run 45567650490: all six jobs succeeded, including all five required jobs. All six checkout logs identify merge result adb05ffbdc8c3eb3c9a09968f88a8cf232a4d467 with the exact head and base above. Linux 3.11 and 3.14 each ran 1,050 tests (1,040 passed, 10 skipped); Windows 3.14 ran 1,050 (1,044 passed, 6 skipped). Both new tests passed on all three runners. The branch is zero commits behind master. Reviewer-local execution: NOT_RUN.

Limits: the Windows registration guard is structurally tested, not native PowerShell registration execution. The preflight/cleanup are manual, not atomic or tested configuration isolation. No real Codex or Claude Code host install, discovery, tool invocation or release acceptance was performed. #255 must remain open. After integration, update its tester-facing immutable guide links to the accepted documentation revision while preserving the separate server pin e6c2b3b9817cfbd79d81b44592453e8195819622. APPROVE for this exact documentation head only.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run maintainer acceptance of the exact documentation head b213db1 against master 8f9869b. Read all three patches and surrounding host instructions, #255 and contribution policy. POSIX guards stop at all four failure points, with quoted absolute paths; PowerShell guards check native exit codes. Manual preflight and cleanup are explicitly not atomic isolation. Changelog and unchanged candidate/SDK pins are appropriate. Fresh provider Quality run 45567650490: six successful jobs; inspected all three Python job logs, each checked out adb05ff, both new tests passed, 1050 tests collected per matrix (10 skips each Linux; 6 Windows). Independent approval present, no unresolved review threads; five required checks match active master ruleset. No material finding. Accept this bounded documentation change, not actual client installation, native Windows Codex registration or model tool calls. #255 remains open; local full suite not run in this review.

@drevendev
drevendev merged commit 0fe4445 into master Nov 25, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/codex-mcp-registration-guard branch November 25, 2026 08:25
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.

2 participants