Title: mcpx opencode v2 plugin: implement the #1858 SET-REMAINDER items (1)-(5) · Issue #2841 · developing-today/code · GitHub
Open Graph Title: mcpx opencode v2 plugin: implement the #1858 SET-REMAINDER items (1)-(5) · Issue #2841 · developing-today/code
X Title: mcpx opencode v2 plugin: implement the #1858 SET-REMAINDER items (1)-(5) · Issue #2841 · developing-today/code
Description: Implementation issue for the SET-REMAINDER of #1858 (origin issue — it stays open as the tracker for this set). Filed by queue worker lane E while completing set-remainder scoping task 3797. Why a separate implementation issue: the repo-...
Open Graph Description: Implementation issue for the SET-REMAINDER of #1858 (origin issue — it stays open as the tracker for this set). Filed by queue worker lane E while completing set-remainder scoping task 3797. Why a ...
X Description: Implementation issue for the SET-REMAINDER of #1858 (origin issue — it stays open as the tracker for this set). Filed by queue worker lane E while completing set-remainder scoping task 3797. Why a ...
Opengraph URL: https://github.com/developing-today/code/issues/2841
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx opencode v2 plugin: implement the #1858 SET-REMAINDER items (1)-(5)","articleBody":"Implementation issue for the SET-REMAINDER of #1858 (origin issue — it stays open as the tracker for this set). Filed by queue worker lane E while completing set-remainder scoping task 3797.\n\nWhy a separate implementation issue: the repo-queue v1 dedupe design makes the open issue number the work identity — exactly one `fix` key exists per issue (`repo-health:v1:fix:\u003crepo>:issue:\u003cn>`), and #1858's was consumed by completed core task 3068 (PR #2489). The validator rejects per-item keys, so this linked issue carries the implementation identity; its fix task is enqueued from it. #1858 remains the set tracker per the cross-repo set rule.\n\n## State of the set\nPR #2489 (merged 2026-10-30, 069aff53) landed the v2 core only: `pkgs/mcpx/plugin/opencode/v2/` = {id, setup}, options, session-env, context hook, ctx.storage remembered daemon, timing, namespaced tool.transform. Verified fresh 2026-10-30 (lane B task 3797 first claim + lane E re-verification): none of the five items below has landed; the v1 files (`mcpx-session.ts`, `mcpx-tui.tsx`, `mcpx/`) still sit beside the v2 tree; `v2/tools.ts` header (lines 24-27) itself names item (2) as SET-REMAINDER work.\n\n## Items — work strictly one at a time, own branch + PR each, PR references #1858 and this issue\nOrder: (2) → (1) → (4) → (3) → (5).\n\n- [ ] **(2) permission.hook(\"evaluate\")** — the real v2 permission hook replacing v1's dead permission.ask. Today v2 `daemon_select` applies the choice it was told to apply with no confirmation (tools.ts header). Route mcpx tool permission prompts through the evaluate hook; update the tools.ts header when it lands.\n- [ ] **(1) mcp.transform** — register a filtered MCP server set per session (named in #1858's \"Also new in v2 and worth using\" and docs/opencode-plugin-v2.md §6).\n- [ ] **(4) ctx.generate.text** — wire it so the plugin can answer mcpx's MCP sampling questions.\n- [ ] **(3) TUI select() daemon picker** — promise-based picker where the pinned v2 surface supports it, choice persisted via ctx.storage (remember.ts). If the pinned surface cannot support a true TUI select, land the closest supported equivalent and record the deviation + evidence here and on #1858.\n- [ ] **(5) Retire the v1 plugin files** (\"v2-only wins\", recorded by triage task 2746) — only after (1)-(4) are landed or explicitly waived on #1858: remove or gate `pkgs/mcpx/plugin/opencode/mcpx-session.ts`, `mcpx-tui.tsx`, `mcpx/`; clear dangling references in pkgs/mcpx docs/README; record the outcome on #1858.\n\n## Out of scope\n- Daemon-side `_meta[\"ai.opencode/sessionID\"]` attribution — #1932 owns it.\n- The deployed `.opencode/plugin/` copy port — #730 owns it (coordinate there if the deployed copy still loads v1 at item (5)).\n\n## Acceptance\nEach item: targeted tests in the v2 tree, CI green on its PR, outcome noted on #1858. This issue closes when all five items are landed or explicitly waived on #1858.\n\n## Acceptance criteria\n\n- [ ] Each of the five SET-REMAINDER items from #1858 lands as its own branch + PR, in the stated order (2) → (1) → (4) → (3) → (5), each PR referencing #1858 and this issue\n- [ ] Item (2): v2 implements permission.hook(\"evaluate\") replacing v1's dead permission.ask path\n- [ ] The v1 plugin files (mcpx-session.ts, mcpx-tui.tsx, mcpx/) are retired or explicitly dispositioned once the v2 items land\n- [ ] #1858 is updated/closed as the set tracker when all five items are merged\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-30T21:57:11Z","url":"https://github.com/developing-today/code/issues/2841"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d90f6e0b-ae6b-3f2e-44f3-a2aec653a323 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97AA:2C6577:8419A8:B02836:6B063458 |
| html-safe-nonce | c3aa3db308cad1504166ac6f92547a0ada206607ba4baba5878b670a5520f554 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0FBOjJDNjU3Nzo4NDE5QTg6QjAyODM2OjZCMDYzNDU4IiwidmlzaXRvcl9pZCI6IjEzODMyOTUyNjI4NzI5NzQ0MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bd883ac2f6e2c1a5698547b99099ef7995bd2a6e554848e3faf2b7d1c611313a |
| hovercard-subject-tag | issue:6127580218 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2841/issue_layout |
| twitter:image | https://opengraph.githubassets.com/709d0c95c803fae67c8890561a7e3b8852e307b91410c4b11481d6e61f34d759/developing-today/code/issues/2841 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/709d0c95c803fae67c8890561a7e3b8852e307b91410c4b11481d6e61f34d759/developing-today/code/issues/2841 |
| og:image:alt | Implementation issue for the SET-REMAINDER of #1858 (origin issue — it stays open as the tracker for this set). Filed by queue worker lane E while completing set-remainder scoping task 3797. Why a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width