GeezerVison is showing github.com — docs(mcpx): level-2 plugin pages (#1855) by dezren39 · Pull Request #2452 · developing-today/code
Conversation
dezren39
commented
Oct 29, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Implements #1855 (queue task 3067) — the level-2 mcpx plugin pages, per triage task 2744 (CONFIRMED, Approaches C/C/C).
What this adds
pkgs/mcpx/docs/plugins.md — one page, all six page-map anchors from #1848's map (PR #2433):
#plugins — Approach C naming: "Harness plugins: mcpx inside your agent" (what the plugin adds: session id, socket fast path, optional extras; MCP-only hosts need no plugin) and "mcpx plugins: extending mcpx" as a short honest status stub (not built; no plugin concept in the daemon).
#plugin-compatibility — the issue's matrix in its exact structure; unknown cells stay unknown; no support claimed before an adapter exists; the Bun/Node runtime note included.
#plugin-interface-and-config — the four hooks and what each degrades to (using the code's variable names MCPX_SESSION_ID / MCPX_CALL_ID / MCPX_PARENT_SESSION_ID), DaemonClient/connect() and the 7-rung discovery ladder, the §5 adapter contract (six items, two required), and configuration with precedence plugin option > env > default.
#opencode-v1-plugin — what ships (files table), the cp -R install as-is with the subdirectory rule, skills, options via the two-element config array, what gets injected per env level, the opt-in tools and daemon tools, instructions/toolTiming, the TUI picker, and the code-mode interplay paragraph.
#opencode-v2-plugin — Approach C status section: not built, what works today (shell + AGENTS.md; stdio MCP with the code-mode caveat flagged unknown), and what the rewrite changes in the four §4 groups (unnecessary / possible / breaks / same).
#vibemcp — one-line placeholder only. Its meaning is escalated to Drew (open question 1 on mcpx docs: plugin pages -- plugins, compatibility, interface and config, opencode v1 and v2, vibeMcp #1855); nothing is guessed.
Options table (Approach C, as corrected by triage 2744): derived from the one declared list on the current machinery — pluginSettings() in internal/settings/plugin.go (12 plugin.* settings at HEAD, now including headless/daemonTools declared with auto defaults) plus the two non-setting options endpoint/socket, which the page declares alongside the table with the reason they are not settings. The table includes discoveryRetry (MCPX_PLUGIN_DISCOVERY_RETRY, default 60s from internal/defaults/defaults.json).
pkgs/mcpx/plugin/opencode/README.md — adds the missing discoveryRetry row to the hand-maintained options table, the concrete drift that motivated the one-list rule.
Notes
- Verified while writing:
docs/opencode-plugin.md §6 already uses the correct MCPX_SESSION_ID/MCPX_CALL_ID names at HEAD — the stale-name doc fix the issue recorded is already done, so no change there.
- No link to a
modes page: that page is mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848 part 2 and does not exist yet; the docs link test would (rightly) fail it. Server modes are referenced in prose.
- Docs checks run in CI on this PR (no builds on the sandbox, per fleet rule).
Queue task 3067 · branch queue/3067-1855-mcpx-plugin-pages
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
New pkgs/mcpx/docs/plugins.md covering all six page-map anchors (plugins, plugin-compatibility, plugin-interface-and-config, opencode-v1-plugin, opencode-v2-plugin, vibemcp) with Approach C naming throughout: harness plugins vs mcpx plugins qualified every time, the mcpx-plugins section an honest status stub, the compatibility matrix with unknown cells left unknown, the v2 section as status not a shipped feature, and vibemcp as a one-line placeholder (meaning escalated to Drew, open question 1).
The options table is derived from the one declared list: pluginSettings() in internal/settings/plugin.go (12 plugin.* settings, including discoveryRetry) plus the two non-setting options endpoint/socket. Also adds the missing discoveryRetry row to the plugin README options table - the drift that motivated the one-list rule.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-29T22:58:13.617041Z |
e6b7efb |
New commits |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 14 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a33613dd-a3fe-40a3-8e94-b78b09d86aad
Commits
-
Reviewing files that changed from the base of the PR and between 5a34fa7 and e6b7efb.
Files selected for processing: 2
-
pkgs/mcpx/docs/plugins.md
pkgs/mcpx/plugin/opencode/README.md
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f878e20086
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
All four verified against the code before fixing: (1) MCP hosts do get transport session scoping (mcp-<pid> in internal/cli/serve.go) - what they lack is harness-session identity; (2) missing MCPX_SESSION_ID falls back to per-call isolation (internal/config/scope.go fallback()), not whole-daemon scope; (3) discoveryRetry is environment-only - mcpx-session.ts reads MCPX_PLUGIN_DISCOVERY_RETRY and the plugin option is silently ignored, now documented as such; (4) backend: v1 does not suppress discovery spawns (the guard covers the tool-execution fallback) - only bin: "" forbids spawning.
#1855)
Same Codex P2 correction as the plugin pages: v1 refuses the spawn fallback for tool execution, but discovery can still spawn when no daemon is discoverable; only bin: "" forbids spawning.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 16, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|