fix: restore context-mode MCP - #19
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.
Summary
context-modeMCP declaration inopencode.jsonwith the same bare-binary launch contract used byclaude-configandcodex-config.570f62bf6c6365646ea228feff60b54e04f65207as part of a broader MCP modernization; the commit gives no context-mode-specific rationale and no related PR record was found.enabled: truedespite the generic global disable-by-default guidance.mcp-gatewaydocumentation explicitly classifies context-mode as client-local.Type of change
Validation
The PR workflow ran
pre-commit run --all-filessuccessfully, including JSON parsing andcheck-jsonschemaagainst the upstream OpenCode schema. The schema permits this local-MCP shape. CI cannot prove that thecontext-modeexecutable exists on PATH, starts successfully, or completes an MCP handshake; those remain manual workstation verification after an owner-approved config update and OpenCode reload. No generated or centrally distributed file exists for this change:dotfilesconsumes this canonical repository as a Git external.Impact and rollout
Producer:
xnoto/opencode-config. Consumer: OpenCode after thexnoto/dotfilesexternal Git checkout at~/.config/opencodeis manually updated and OpenCode reloads. No generated files, gateway, release, or GitOps changes.Authored: this PR. Validated: CI passed. Published: not applicable. Installation and functional verification: manual and not performed. Rollback is removal of this five-line declaration.
Safety and secrets
AI-assisted change; an adversarial review and QA coverage assessment were performed before opening this PR.