Title: mcpx: the backlog build-out — every theme, in one order, with the disagreements between them (super tracker) · Issue #1900 · developing-today/code · GitHub
Open Graph Title: mcpx: the backlog build-out — every theme, in one order, with the disagreements between them (super tracker) · Issue #1900 · developing-today/code
X Title: mcpx: the backlog build-out — every theme, in one order, with the disagreements between them (super tracker) · Issue #1900 · developing-today/code
Description: Relocated from dezren39/darwin-nix#181 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/ni...
Open Graph Description: Relocated from dezren39/darwin-nix#181 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue referenc...
X Description: Relocated from dezren39/darwin-nix#181 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue refe...
Opengraph URL: https://github.com/developing-today/code/issues/1900
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx: the backlog build-out — every theme, in one order, with the disagreements between them (super tracker)","articleBody":"Relocated from dezren39/nix#181 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue references inside it are historical (dezren39/nix numbering).\n\nThe whole mcpx backlog in one place: seven category trackers, 111 open issues, what is already done, a proposed\norder, and the collisions between themes, each with an owner.\n\nEvery open issue in the milestone `mcpx: backlog build-out` descends from this one through native sub-issue links.\nThe only deliberate exception is #11 (Renovate's dependency dashboard), which the bot owns.\n\n> **Revised 2026-09-30 (issues pass, at `05c78b2`).** Every open issue was re-checked against current `main`. What\n> changed here: a **Done** section; #52, the CI cache line and \"no Containerfile\" moved to it (all #182); the\n> static-binary evidence corrected (a `CGO_ENABLED=0` build is fully static -- nothing in mcpx blocks it); every\n> collision given an owner, three of them new design issues (#185, #186, #187); two new bugs from the pass under #177\n> (#192, #193); the grid and order re-rated from the leaves' own footers; the graph's wrong edges removed (#6 does not\n> block #81's bus, #78 does not block #88, #88 does not block #87). Issues other architects were changing while this\n> pass ran are marked *in flight*.\n\n---\n\n## Categories\n\n| Category | Tracker | Open issues | Scope in one line |\n| --- | --- | --- | --- |\n| Testing | **#91** → #93 #95 #97 #99 | 28 | Fuzzing with one seed per run, integration tests per feature, a sharded CI with a time budget, and the policy for what an agent runs. |\n| Documentation | **#89** (under #91) → #90 #92 #94 #96 #98 | 26 | The book: a 30-second layer, a manual, a compendium; a site that deploys; reference pages generated from the binary so they cannot drift. |\n| Runtimes, languages, dependencies | **#175** | 9 | What runs a script, in what language, with which packages -- runtime selection, the dependency chain, import resolution, one cache mechanism, Python, shebangs, flake refs. |\n| The AI layer and search | **#176** | 10 | Where a model comes from, and what would use one -- search, repair, hooks, admin-by-intent, composed tool sets, connectors -- plus the shared matcher and the settings ceiling they need. |\n| Extensibility | **#173** | 6 | A plugin is an MCP server; hooks over the event bus; anything as a tool source; embedding mcpx. |\n| Surfaces | **#174** | 5 | Reaching the daemon over ssh and the browser, and keeping what you reached -- socket discovery, lifetimes, ssh, a web frontend. |\n| A promise and a behaviour that disagree | **#177** | 16 | The bug class where something declared does not do what it says, and the guard-test pattern that closes it. 15 children, most of them found since the build-out began — nine of the fifteen were filed during this pass. |\n| Pre-existing, no tracker | -- | 10 | #5 #6 #7 #47 #48 #49 #76 #77 #78 #79 -- each a dependency of something above, placed in the order below. |\n\n**111 open issues in the milestone**, 17 of them trackers (this one included). Verified at the end of the\n2026-09-30 pass by walking `repos/dezren39/nix/issues/\u003cn>/parent` for every open issue: **all 110 below this\none reach it, and the walk has exactly two roots — this issue and #11.** No chain is orphaned and none\ncycles.\n\n## Children\n\nSix category trackers, and the pre-existing issues that predate the build-out and have no tracker of their own because\neach is a dependency of several parts of it.\n\n- [ ] #91 design a comprehensive docs and testing strategy -- the joint root; #89 (the book) hangs under it\n- [ ] #173 extensibility -- plugins, hooks, tool sources, embedding\n- [ ] #174 surfaces -- ssh, a web frontend, lifetimes, socket discovery\n- [ ] #175 runtimes, languages and dependencies\n- [ ] #176 the AI layer and search\n- [ ] #177 a promise and a behaviour that disagree -- the bug class, and the guard-test pattern\n- [x] #5 `paths.config` should govern the rest of the config chain -- phase 3; dead on all three channels today (#159 item 19)\n- [ ] #6 event store -- phase 3 for its **gap contract** (S, which #81 and #193 need); the store itself is phase 6\n- [ ] #7 launcher placeholders -- fill-in, self-contained\n- [ ] #47 port the opencode plugin to opencode v2 -- phase 6\n- [ ] #48 a harness-free plugin core -- phase 6, related to #80/#82\n- [ ] #49 CI: build every flake package -- phase 1\n- [x] #52 the e2e suite leaks daemons -- **closed, fixed in #182**\n- [ ] #76 CLI commands for the operations only /v1 and MCP have -- phase 3, **hard-blocks #113**; *in flight*\n- [ ] #77 protocol follow-ups -- phase 6, related to #112; *in flight*\n- [ ] #78 daemon state and cache correctness -- phase 6; its `MCPX_SOCKET` item moved to #88 (collision 8)\n- [ ] #79 faster CLI and exec, typecheck default -- phase 3, **lands on #100's rename decision** (collision 1)\n\n---\n\n## Done\n\nWhat this backlog asked for that has already landed. Closed issues stay attached to their trackers as checked items.\n\n| Done | By | What it settled |\n| --- | --- | --- |\n| #52 -- the e2e suite leaked daemons for four hours | **#182** | Cleanup calls `stop --all`, which finds daemons through their info files, not a recomputed socket path; every test env sets `MCPX_AUTOSTART_IDLE_EXIT=60s` (`internal/e2e/e2e_test.go:68-83`). The test was falsified by reverting the fix. **No longer blocks sharding.** |\n| #135's one-line cache fix (`cache-dependency-path`) | **#182** | `.github/workflows/mcpx.yml:50`. The key now saves; no warm run has been observed yet -- the first push to `main` after #182 was the one that saved it. The rest of #135 is open. |\n| \"There is no Containerfile\" (#134, #158, #97) | **#182** | `pkgs/mcpx/Containerfile`, `docs/container.md`: pinned by tag and digest, debian-slim, ships bun, 413 MB. Not built or tested by CI yet (#134). |\n| Whether mcpx *can* be a static binary (#136) | **#182** | Yes: `CGO_ENABLED=0` gives a fully static, working linux ELF. #136 is now the policy decision about which *shipped* artifacts should be. |\n| The settings registry declared settings nothing read | **#171** | `consumed_test.go`'s three guards; 24 settings wired, dead ones removed; `logging` no longer declared; push capabilities gated per connection. It also let `registry.pageSize` through -- collision 15. |\n| #74 -- exec flags accepted and ignored | **#75** | Five flags now work for inline snippets, with a guard table that asserts an observable outcome. Local path only -- the remote path is #192. |\n| `--typecheck` works (`deno check`) · upstream completion (`/v1/complete` forwards `completion/complete`, `internal/api/ops.go:256`) | **#66** · **#61** | Making the check the default is #79 on #100's decision (collision 1). Anything calling `/v1/complete` local-only is stale. |\n| #40 artifacts / ExecOptions · #41 diagnostics, recipes, intent · #44 the plugin without the binary | **#57** · **#58** · **#53** | Closed before the build-out began. The plugin reaches the daemon over the socket and spawns `mcpx` only as its last fallback. |\n| #160-#170 duplicate testing issues | this pass | Closed earlier \"until reconciled\"; their remaining unique content was carried into the survivors (#132-#143), each listed in a comment. |\n\n*In flight at the time of this revision* (other architects, merging now): #76, #77, #102, #108, #116, #172, #178,\n#179, #180, #183 and #153; decision records for collisions 2, 3 and 10. When they land, this section gains rows.\n\n---\n\n## Ease vs impact\n\nRatings are the leaves' own footers, and each category tracker's table agrees with its leaves. Four quadrants.\n*Quick wins* pay immediately and cost hours to days. *Big bets* are what the project is for and cost weeks.\n*Fill-ins* are cheap and change nothing structural. *Thankless* is expensive work with a narrow beneficiary -- do it\nwhen someone asks by name.\n\n### Quick wins -- do these first\n\n| Issue | Ease | Impact | Why |\n| --- | --- | --- | --- |\n| **#108** *(in flight)* | S | high | One flag. `--runtime node` restricts the language it claims to enable. |\n| **#116** *(in flight)* | S | med-high | `diagnose.CallError` is written, tested, and called by nothing. |\n| **#192** | S (B) / M (C) | med-high | A remote exec accepts and drops most exec flags -- including `--env` and inline `--export`, whose wire fields already exist. #74's class on the path #75 did not cover. |\n| **#138** | S-M | high | e2e still appends `os.Environ()` (`e2e_test.go:52`), so a developer's `MCPX_*` leaks in. The last precondition for `t.Parallel`. |\n| **#129**'s settings-effect guard | M | high | Collision 15: a setting must be able to change behaviour, not merely be read. Before or with #172. |\n| **#193** | S / M | med | `/v1/events` replay drops past 256 events with no `gap`, though reconnection is documented as lossless. |\n| **#102** *(in flight)* · **#178** *(in flight)* · **#179** *(in flight)* · **#180** *(in flight)* · **#183** *(in flight)* | S each | med / low-med | The rest of #177's small promise/behaviour fixes. |\n| **#189** · **#196** · **#188** · **#190** · **#191** | S · S · S · M · S | high · high · med · med · low-med | Found by the merging architects while this pass ran, all under #177: the plugin's `DaemonClient.call` sends field names `/v1/call` does not read (#189); `PoolID` hashes headers in map order (#188); a wrong-case cwd keys a second daemon (#190), and so does any cwd under `$HOME`, which lists the user config twice (#196, PR #197 open); a log line misnames the scope (#191). Likely fixed in those architects' PRs -- check before starting. |\n| **#88** | S → M | med | Resolve the socket through the info file; owns `MCPX_SOCKET` precedence (collision 8). #182's `stop --all` already works this way. |\n| **#101** | S (B) / M (C) | med | `docs/runtimes.md` -- still does not exist. Its probe suite can run in the existing CI job. |\n| **#143** | M | high | First real CI iteration with a recorded baseline (at `05c78b2`: test step 148 s, e2e 108.9 s, nix build 70 s). |\n| **#141** | M | med | Formatters and linters in the matrix; the plugin's 21 `bun test` tests have never run in CI. |\n| **#117** | S | high | Pick the site generator; the recommendation is already made. Everything in #90 waits on it. |\n\n### Big bets -- the work the project is for\n\n| Issue | Ease | Impact | Why |\n| --- | --- | --- | --- |\n| **#175** | L-XL | high | #100 M, #103 L, #104 L, #105 XL (slice 1 M), #106 M/L, #107 L, #187 M. \"mcpx runs your code\", currently one runtime deep. |\n| **#176** | L-XL | high | #109 M, #110 L, #111 L, #113 L, #114 L. Where a model comes from, and what uses one. |\n| **#173** | L-XL | high | #83 up to XL; #80 and #81 M/L. The plugin contract every future integration hangs off. |\n| **#97** | XL | high | Integration tests for every feature across environments. Without it every other bet is unverifiable. |\n| **#93** | L | high | One seed per run, a seed store, bug-shape generators -- the notes' \"hack job of antithesis/tigerbeetle\". |\n| **#89** / **#98** | XL | high / med | The book. The compendium is open-ended by design. |\n| **#158** | L | high | Release workflow and artifacts. Gates the download link and install commands on the home page. |\n| **#177** | M overall | high | Fourteen children, individually S-M; the value is in doing the set and guarding the frame afterwards. |\n| **#6** (the store) | M-L | med | The durable event store. Its gap contract (S) is split out and comes first. |\n\n### Fill-ins -- cheap, safe, do them when blocked on something else\n\n| Issue | Ease | Impact | Note |\n| --- | --- | --- | --- |\n| #119 | S | med | Subdomain + CNAME, after #118 creates the Pages site. |\n| #149 | S (gallery M) | med-high | The FAQ, in the notes' own voice. |\n| #153 *(in flight)* | M | med | Comparisons and the project's history; COMPARE is writing `docs/compare/` now. |\n| #126 | S | low now, med long-term | Research only -- deterministic execution as an aspiration. |\n| #131 | S | high | A contributor test page agents load. |\n| #150 | M | med | Release markers and `\u003cdetails>` section history. |\n| #7 | M | med | Launcher placeholders. Self-contained. |\n| #5 | S-M | med | `paths.config` -- currently dead on config, env and flag alike. |\n| #78 | S | low-med | Daemon state and cache correctness; none of its items was touched by #69/#70/#73. |\n| #11 | S | low | Renovate's dashboard. Outside the milestone; the bot maintains it. |\n\n### Gating design objects -- small, and three issues each wait on them\n\nEasy to misfile: by ease they look like fill-ins; by consequence they are phase-3 design. Each came out of a\ncollision nobody owned. Do them **before** their consumers.\n\n| Issue | Ease | Impact | Waited on by | Why it gates |\n| --- | --- | --- | --- | --- |\n| **#186** one near-miss matcher | S | med | #109, #111, #7 | Two implementations already exist and disagree; a third arrives the moment #109 or #111 starts. |\n| **#185** `ClampedBy` | M | med (high once a dial ships) | #111, #112, #113 | A daemon-set ceiling a caller may lower but not raise -- a settings capability, not a repair feature. |\n| **#187** one cache mechanism | M | med-high | #103, #104, #107, #78 | Cheap now, a migration after the first of the three ships its own cache. The prior art is already in the tree: #69/#70/#73 gave exec content-addressed workdirs, sized for scripts rather than `node_modules` trees or Nix closures. |\n\n### Thankless -- real work, narrow beneficiary. Wait to be asked.\n\n| Issue | Ease | Impact | Why it waits |\n| --- | --- | --- | --- |\n| #84 (C ABI, WASM halves) | L each | med overall, low until a caller names itself | The Go package API half is not thankless; the ABI and WASM halves are. |\n| #105 slice 2 (the Python runner) | L | high if wanted | The notes do ask for it (\"support python wherever and however typescript is used 1:1\"), so it is not unwanted -- but slice 1 (a typed Python client, M) should prove demand before the runner. Slice 1 is a big-bet item, not thankless. |\n| #136 (Windows tier) | L | low | Zero `//go:build windows` files. A port, not a matrix leg -- recommendation 3. |\n| #136 (flatpak tier) | M | very low | Drop, do not schedule -- recommendation 2. |\n| #156 (beyond copy-as-command) | M (XL hosted) | med | #156 recommends a copy-as-command example (S) and an in-browser simulation (M), never a hosted daemon; WASM is not the plan. |\n| #152 | L | med | Migrating the existing design docs into the compendium. |\n| #82 | L | med-high, **or near zero** | High if plugins land, near zero without them. Strictly after #80. |\n| #86 (embedded UI slice) | M-L | med | Serving a directory is S. An embedded frontend is where a second toolchain sneaks in. |\n\n---\n\n## Proposed order\n\nSeven phases. The reasoning is in each header; hard dependencies are in the graph below. *In flight* means another\narchitect is merging it now -- do not start it, check it.\n\n### Phase 0 -- the one-line wins\n\n**~~#135's cache line~~ (done, #182) · #108 *(in flight)* · #116 *(in flight)* · #192 (B) · #186**\n\nThe cache line and #52 are done. What remains here costs hours: #108 and #116 are already being merged; #192's B half\nis filling two `execsvc.Options` fields the CLI never sets; #186 unifies two disagreeing matchers before a third is\nwritten.\n\n### Phase 1 -- make the suite trustworthy before making it bigger\n\n**#138 → #143 → #49 → #141**, with **#127 + #131** (the agent test policy) alongside\n\n#52 no longer blocks anything. The remaining isolation hole is #138 -- e2e appends the caller's whole environment --\nand it is also the last precondition for `t.Parallel` in #139. Then **#143 records a baseline**, because #139 shards by\nmeasured time and #140 budgets against it. The baseline at `05c78b2` (run 36693030957): setup 22 s, test step 148 s of\nwhich `internal/e2e` is 108.9 s across 209 tests, `nix build` 70 s of which `checkPhase` is 18.5 s.\n\n### Phase 2 -- close the promise/behaviour class while it is small\n\n**#129's settings-effect guard (before or with #172) → #177's children · #128 · the rest of #129**\n\nMost of #177's fourteen children are small and several are *in flight* (#102, #108, #116, #172, #178, #179, #180,\n#183). The one ordering constraint that matters: **#129's guard that a setting can change behaviour must land before\nor with #172**, which is about to declare 44 more `MCPX_*` variables into a registry whose guard only proves a\nsetting is *read* (collision 15). #192 and #193 are this pass's additions and are not in flight.\n\n### Phase 3 -- the design objects other issues extend\n\n**#100 · #103 · #187 · #110 (decide) · #83 slice 1 → #83 slice 2 → #80 · #76 *(in flight)* · #6's gap contract · #5 · #185**\n\nEach of these is extended by several other issues, so getting it wrong is expensive and getting it late is worse.\n\n- **#100 before #79** (collision 1): #100 recommends keeping `script.typecheck` as an alias of `script.check` with a\n value map; #79's default flip lands on that decision.\n- **#187 before #104 and #107 ship a cache** (collision 12).\n- **#110: decide now, build later.** Sampling is deprecated (recommendation 5), so where a model comes from is a\n prerequisite decision for #111-#114; #176 builds it fifth.\n- **#83 slice 2 before #80** -- a fourth `mcpserver.Extra` list is how this ends with four half-integrated surfaces.\n (The previous revision put #80 beside slice 1; #173's own order is slice 1 → slice 2 → #80.)\n- **#76 hard-blocks #113** -- the intent router's vocabulary is the ops table.\n- **#6's gap contract (S) before #81** -- #81 needs gap semantics (collision 13), not the durable store. The bus\n already exists (`internal/events/events.go`). The previous revision said \"#6 blocks #81\"; only the contract does.\n- **#185 before any autonomy dial ships** in #111, #112 or #113 (collision 5).\n\n### Phase 4 -- release and packaging\n\n**#134 → #136 → #178 *(in flight)* → #158**\n\nA Containerfile exists now, but nothing builds or tests it (#134), and Renovate is already bumping it to Go 1.27 while\n`go.mod` says 1.26.7 (#184) -- a drift nothing catches. #136 is now a **policy** decision (which shipped artifacts are\nstatic; recommended: add a Linux `mcpx-static` output, keep the default nix package as is -- but open PR #194\nflips the default instead, which would settle it as option A). The version is hard-coded\nin **four** places (`package.nix:19`, `:61`, `cmd/mcpx/main.go:18`, `Containerfile:40`) and the man page stamps\n`time.Now()` (#178). **#158 blocks #155's download link and install commands**; #157 can ship before it with an honest\nstatus column.\n\n### Phase 5 -- the site, then the pages\n\n**#117 → #118 → #119 · #144 → #145 → #146 → #147 #148 #149 · #157 · #120 · #155 → #156**\n\nPut **#144/#145 before the manual pages** so they are generated from the binary rather than hand-copied (#96, and the\nlesson of #159). #119 needs the Pages site #118 creates, so it follows rather than runs alongside.\n\n### Phase 6 -- the big bets, in dependency order\n\n- **#175**: #104 → #106 → #105 (slice 1 may start earlier) → #107 → #101 finalised\n- **#176**: #109 alongside #111 → the autonomy-dial record + #185 → #114 alongside #115 → build #110 → #112 → #113\n- **#173**: #81 slice 1 → #81 slice 2 → #82 → #84's rest\n- **#174**: #87 alongside #85 docs and #86 slice 1 → #85 `ssh://` and #86's embedded frontend\n- **#93** and **#97** alongside, now that phase 1 made the suite trustworthy; #6's store; #47, #48; #77 *(in flight)*\n\nEvery child in #176 has a deterministic lower half that ships without a model and a model-backed upper half that does\nnot, and in every case the deterministic half carries more value. Do all the lower halves first.\n\n### Phase 7 -- the compendium and the long tail\n\n**#150 · #152 → #151 · #153 *(in flight)* · #154 · #126 · #84's ABI/WASM halves · #105 slice 2**\n\nOpen-ended by design. #150 and #152 come first (#98's own order); #151 needs #150 and #158.\n\n---\n\n## Dependency graph\n\nHard dependencies only -- \"B cannot be done correctly until A is\". Done nodes are grey.\n\n```mermaid\ngraph TD\n subgraph DONE[\"Done\"]\n I52[\"#52 leaked daemons\u003cbr/>fixed in #182\"]\n CACHE[\"#135 cache line\u003cbr/>fixed in #182\"]\n CF[\"Containerfile\u003cbr/>#182\"]\n SET[\"settings guard\u003cbr/>#171\"]\n end\n\n subgraph P0[\"Phase 0 · one-line wins\"]\n I108[\"#108 --runtime node\u003cbr/>(in flight)\"]\n I116[\"#116 wire CallError\u003cbr/>(in flight)\"]\n I192[\"#192 remote exec drops flags\"]\n I186[\"#186 one matcher\"]\n end\n\n subgraph P1[\"Phase 1 · a trustworthy suite\"]\n I138[\"#138 e2e env allowlist\"]\n I143[\"#143 first CI + baseline\"]\n I139[\"#139 shard by measured time\"]\n I140[\"#140 time budget\"]\n I49[\"#49 build every package\"]\n I141[\"#141 linters + formatters\"]\n end\n\n subgraph P2[\"Phase 2 · guard the frame\"]\n T177[\"#177 promise vs behaviour\"]\n I172[\"#172 44 undeclared MCPX_*\u003cbr/>(in flight)\"]\n I129[\"#129 settings-effect guard\"]\n I193[\"#193 events replay loss\"]\n end\n\n subgraph P3[\"Phase 3 · shared design objects\"]\n I100[\"#100 runtime + script.check\"]\n I79[\"#79 typecheck default\"]\n I103[\"#103 dependency chain\"]\n I187[\"#187 one cache mechanism\"]\n I110[\"#110 provider layer\"]\n I83[\"#83 anything as a tool source\"]\n I80[\"#80 plugin contract\"]\n I76[\"#76 CLI for /v1-only ops\u003cbr/>(in flight)\"]\n I6G[\"#6 gap contract\"]\n I5[\"#5 paths.config\"]\n I185[\"#185 ClampedBy\"]\n end\n\n subgraph P4[\"Phase 4 · release\"]\n I134[\"#134 container in CI\"]\n I136[\"#136 static-artifact policy\"]\n I178[\"#178 man/completions/version\u003cbr/>(in flight)\"]\n I158[\"#158 release.yaml + artifacts\"]\n end\n\n subgraph P5[\"Phase 5 · the site\"]\n I117[\"#117 pick generator\"]\n I118[\"#118 build + deploy\"]\n I119[\"#119 subdomain\"]\n I120[\"#120 agent markdown\"]\n I144[\"#144 reference pages\"]\n I145[\"#145 emitters + drift check\"]\n I155[\"#155 home page\"]\n I159[\"#159 docs contradict code\"]\n I150[\"#150 release markers\"]\n I151[\"#151 history renderer\"]\n end\n\n subgraph P6[\"Phase 6 · big bets\"]\n I104[\"#104 import graph\"]\n I106[\"#106 shebangs + resolution\"]\n I105[\"#105 Python\"]\n I107[\"#107 flake refs\"]\n I109[\"#109 better search\"]\n I111[\"#111 check / refuse / repair\"]\n I112[\"#112 exec lifecycle hooks\"]\n I113[\"#113 admin by intent\"]\n I114[\"#114 tool views\"]\n I81[\"#81 hooks over the bus\"]\n I82[\"#82 privileged plugin surface\"]\n I84[\"#84 embedding mcpx\"]\n I85[\"#85 ssh\"]\n I86[\"#86 web frontend\"]\n I88[\"#88 socket resolution\"]\n I97[\"#97 integration tests\"]\n I93[\"#93 fuzzing\"]\n end\n\n CACHE --> I143\n I138 --> I139\n I143 --> I139\n I139 --> I140\n I49 --> I141\n\n I116 --> I111\n I108 --> I100\n SET --> I129\n I129 --> I172\n I172 --> T177\n I192 --> T177\n I193 --> T177\n T177 --> I97\n\n I100 --> I79\n I100 --> I104\n I103 --> I104\n I187 --> I104\n I187 --> I107\n I5 --> I103\n I104 --> I106\n I106 --> I105\n I106 --> I107\n\n I186 --> I109\n I186 --> I111\n I185 --> I111\n I185 --> I112\n I185 --> I113\n I110 --> I111\n I110 --> I112\n I110 --> I113\n I110 --> I114\n I109 --> I111\n I76 --> I113\n I6G --> I81\n I6G --> I193\n I83 --> I80\n I83 --> I114\n I80 --> I82\n I80 --> I84\n\n I88 --> I85\n I88 --> I86\n\n CF --> I134\n I134 --> I158\n I136 --> I158\n I178 --> I158\n I158 --> I155\n I158 --> I151\n I150 --> I151\n\n I117 --> I118\n I118 --> I119\n I117 --> I120\n I117 --> I155\n I159 --> I144\n I144 --> I145\n\n I139 --> I93\n\n classDef done fill:#555,stroke:#888,color:#ddd\n classDef quick fill:#1f6f3f,stroke:#0b3,color:#fff\n classDef bet fill:#5a2d82,stroke:#93c,color:#fff\n class I52,CACHE,CF,SET done\n class I108,I116,I192,I186,I138,I88 quick\n class I93,I97,I110,I83,I104,I105,I113,I114 bet\n```\n\nRemoved from the previous revision because they were not hard dependencies: `#52 → #139` and `#52 → #97` (done),\n`#78 → #88` (#88 decides the `MCPX_SOCKET` question itself, collision 8), `#88 → #87` (independent per #174),\n`#6 → #81` (only the gap contract is needed), `#145 → #159` (a cycle with `#159 → #144 → #145`; #159's findings feed\n#144, and #145's drift check then keeps them fixed), and `#103 → #107` (#107 sits on #106's interpreter seam).\n\n---\n\n## The evidence behind the dependencies asserted here\n\nChecked by hand on `8001f23` when this tracker was written and re-checked on `05c78b2` in the 2026-09-30\nissues pass. Each item names the leaf that owns it, where the detail lives.\n\n- **Fixed since (see Done):** the Go cache never restored (#182 added `cache-dependency-path`); #52's\n leaked daemons blocked sharding (#182); there was no Containerfile (#182). **Still true:** CI is one job\n running `go test ./... -count=1`, and `internal/e2e` is 108.9 s of its 148 s test step, so e2e is the\n thing worth sharding; the other half of isolation -- e2e inheriting the caller's environment -- is #138.\n- **Corrected: nothing in mcpx blocks a static binary.** The previous revision said `os/user` and `net`\n \"pull libc on a default toolchain\". They pull libc only **under cgo**; with `CGO_ENABLED=0` Go uses\n pure-Go implementations, and #182 verified a 21 MB, fully static, working linux ELF. The **shipped**\n artifacts are not static *by choice*: `package.nix` sets no `CGO_ENABLED` and wraps the binary with a\n `PATH` suffix of git, deno, bun and node (`:96`); the Containerfile keeps `ARG CGO_ENABLED=1`. So #136\n decides policy, and only for Linux (pure-Go `os/user` reads `/etc/passwd` instead of NSS; the resolver\n bypasses NSS modules). On macOS `CGO_ENABLED=0` changes nothing (Go 1.20+). `exec` needs a JS runtime\n regardless. The static claim is made only in the notes.\n- **The version is hard-coded in four places** -- `package.nix:19`, `:61`, `cmd/mcpx/main.go:18`,\n `Containerfile:40` (the fourth added by #182) -- and `internal/testsupport/build.go:63` builds the test\n binary without ldflags, so e2e and the package will disagree on the first bump (#178, #158).\n- **`nix build` re-runs tests CI already ran, and not all of them.** `checkPhase` lists 18 packages (17\n with tests), took 18.5 s at `05c78b2`, and omits twelve tested packages -- neither a full second run nor\n a deliberate subset (#135).\n- **`mcpx init` writes a key the loader drops.** `internal/cli/commands.go:1390,1400` emit `\"mode\"`; the\n server struct has `sharing`/`scope` and no `mode` (`internal/config/config.go:93-94`), so every new\n user's config is inert on its most important knob. Taught twice more: `mcpx help`'s CONCURRENCY block\n (`internal/cli/root.go:597-604`, with a nonexistent `pooled`) and `docs/proposals.md:45-50`, which\n claims `mode` is \"now a hard error\" (#159 item 2).\n- **The registry never returned duplicates.** `internal/registry/registry.go:158` pins `version=latest`\n on every search through the one query builder; five live searches were all-distinct. The \"nine times\"\n figure came from querying without the pin. Recorded in #179; #115's item 2 is struck as never needed.\n- **The settings registry is merged**: 149 declared settings and `consumed_test.go`'s three guards (#171).\n #172's 44 undeclared variables can now be declared into it -- after #129's effect guard (collision 15).\n- **The guard pattern is widespread** (`internal/api/parity_test.go`, `ops_test.go:117`,\n `internal/settings/`, `internal/defaults/guard_test.go:92`, `internal/e2e/v1ops_test.go:287`), and **its\n conspicuous hole is the CLI command table**: `Commands()` (`internal/cli/manual.go:33`) has 32 entries\n while `cmd/mcpx/main.go:119` dispatches 39 -- `serve`, `openapi`, `adapter`, `registry`, `api`, `man`,\n `completion` run undeclared, and no test compares the two (#76 *in flight*, #159 item 1).\n- **`docs/parity.md` did not drift; it stopped**: 33 rows against 60 operations, 27 absent -- every\n artifact, ask, recipe, settings and servers op, plus `exec`, `diagnose`, `intent` and others. Its\n `## Known gaps` covers gaps *within* the 33 only (#159 item 11; collision 18 -> #145).\n- **mcpx already speaks the revision that deprecated Sampling**: `internal/mcpserver/revisions.go:93`\n maps `FeatInputRequired` to `2026-07-28`, and `ask.go:251` implements the MRTR `inputRequired` round\n trip. The protocol work is done; the *recommendation* in `docs/consumer.md` is what is backwards (#110).\n\n---\n\n## Conflicts between themes that no single tracker can see\n\nThese surfaced only when the themes were put side by side. Each is a real collision between two\nissues written by people who could not see each other's work. When this tracker was written none\nhad an owner; **each now has one** (2026-09-30 issues pass), and every affected issue carries a\ncomment naming it. The owner decides; the other issues adopt the decision rather than making their\nown.\n\n| # | Collision | Issues | What happens if nobody decides | Owner |\n| --- | --- | --- | --- | --- |\n| 1 | **Two breaking changes to one shipped setting in one cycle.** #100 renames `script.typecheck` → `script.check`; #79 flips its default `off` → `on`. It is documented in `docs/configuration.md` and still `Default: \"off\"` at `internal/settings/registry.go:244`. | #100, #79 | Users who set it get broken twice, or whoever lands second silently reverts the first. **Decide alias-vs-replace once, in #100, before #79.** | **#100** -- recommends an alias with a value map (an unknown config key only warns, `settings/file.go:32-58`); #79's default flip lands on it. `daemon.inline` (#79) needs the same registry capability |\n| 2 | **Four hook vocabularies.** `script.*` (shipped), #81's hook-point table, #82's runtime hook registration, and #112's `prePrompt`/`postPrompt`/`onError` list. | #81, #82, #112, shipped | Reconciling them later is a breaking config change. #112 is in a different theme from #81/#82, so nobody currently owns the overlap. | **#81**, via a SURFACES decision record in `docs/decisions/` (in flight); #82 and #112 adopt it. Input: shipped `script.*` has five phases and its `onError` rethrows, while #112's may replace the result |\n| 3 | **Three autonomy dials, independently invented.** #111's `repair.level`, #112's hook `effect`, #113's `prompt.mode: plan`. | #111, #112, #113 | A user learns three vocabularies for one concept. **Settle it in #111**, which is the earliest of the three. | **#111**, via a SURFACES decision record in `docs/decisions/` (in flight); #112 and #113 adopt it |\n| 4 | **Namespacing and collision rules designed twice.** #83's tool-source interface and #114's cross-server namespaces, script-backed tools and generated declarations are substantially the same problem. | #83, #114 | Two namespace schemes that must later be merged. #83 is in #173, #114 is in #176. | **#83** -- defines namespace and collision rules; #114 builds on them |\n| 5 | **`ClampedBy` has no owner.** #111 proposes a settings-registry feature — a daemon sets a ceiling, a caller may lower but not raise — and #112 and #113 both need it. It exists only as a paragraph inside #111. | #111, #112, #113, #172 | Implemented three ways by whoever reaches it first. It is an `internal/settings` capability, not a repair feature. | **#185** (new design issue under #176) |\n| 6 | **The edit-distance matcher has no owner.** #109's typo tolerance over tool names and #111's near-miss detection on a failed call are the same algorithm over the same corpus. Both mention the other; neither claims it. | #109, #111 | Written twice and diverges, so search and diagnostics disagree about what \"close\" means. | **#186** (new design issue under #176) -- two implementations already exist and disagree. The notes' own example (`search` → `query`) is not a typo (distance 5), so argument-shape fit stays with #111 |\n| 7 | **The exec `Frame` ordering contract is extended by two issues that do not know about each other's placement rules.** #111 adds a `call` frame; #112 adds a `hook` frame with explicit before/after-`result` placement. `docs/exec.md` states the order as a contract. | #111, #112 | A documented wire contract changes twice with no one reconciling it. | **#111** -- states the rule for adding a frame kind; #112 follows it |\n| 8 | **#88 cannot be finished while #78 is open.** `MCPX_SOCKET` overrides both the computed path *and* the info file, so \"the record is authoritative\" is not true until #78 decides how. | #88, #78 | #88 ships a rule with a hole in it, and #85/#86 build on the hole. | **#88** -- decides `MCPX_SOCKET` vs info-file precedence; #78 drops it |\n| 9 | **Three surfaces, one lifetime question.** A browser tab vs `daemon.idleExit` (#86), leftover ssh `ControlMaster` processes (#85), and leaked e2e daemons (#52) are the same class. #86 says \"decide deliberately\" about its own case. | #85, #86, #52 | Decided three times, three ways. | **#87** -- activity on any surface renews the idle deadline; #85/#86 apply it. The e2e case is closed (#182) |\n| 10 | **Nobody owns the declared-vs-enforced capability boundary.** #82 says capabilities should be declarable now and enforceable later; every other child defers security to this tracker. | #82, all | The deferral has nowhere to land. Noted here so it is at least visible; out of scope for now. | **#82**, via a SURFACES decision record in `docs/decisions/` (in flight). Security still deferred |\n| 11 | **`auto` hides all Node breakage from this repository.** `package.nix` suffixes deno, bun and node onto `PATH`, so on any Nix install `script.runtime: auto` always resolves to Deno. Nobody testing through the flake will ever see what #100 and #108 describe. | #100, #108, #49 | The bugs stay invisible until a user without Deno installs it. Needs a pinned-runtime CI matrix. | **#100** -- partly outdated: e2e already pins each runtime explicitly; what remains is `auto` itself and non-erasable TS under node. The no-Deno CI leg is #134's `e2e-no-deno` row |\n| 12 | **Three new content-addressed caches.** #103, #104 and #107 each introduce one, sized for `node_modules` trees and Nix closures — orders of magnitude larger than what `pruneWorkDirs`/`defaults.ExecWorkDirs` was sized for. | #103, #104, #107, #78 | #78 gets a fourth instance of the same problem. One cache design across the three. | **#187** (new design issue under #175) |\n| 13 | **`events.history` already answers #81's open question**, and changes its design. The default is **1024** (`internal/defaults/defaults.json:52`, wired at `internal/daemon/server.go:165`). A saturated hook pool is therefore *gapped*, not merely slow, which the `seq`-watermark design has to handle. | #81, #6 | #81 designs against an assumption that is already false. | **#6** -- a `gap {since, latest}` contract (S) split out from the store; #81 and #193 consume it |\n| 14 | **Line references in the leaves have drifted past `8001f23`.** #88 cites `maxSocketPath` at `paths.go:78` (now `:96`); #80 cites `serve.go:322-336` for extras (`WithExtras` is now `serve.go:346`); #159 cites `Commands()` at `manual.go:12-17` (now `:33`) and \"~130 per-command flags\" (the previous revision said this measures 118; it does not -- 118 typed flags plus 12 `fs.Var`, so 130 is right). | #80, #88, #159, #172 | Cosmetic, but a reader following them lands in the wrong place. | **resolved, not assigned** -- every leaf was re-cited against `05c78b2` in the 2026-09-30 issues pass, including the three named here (#88 `paths.go:96`, #80 `serve.go:328-346`, #159 `manual.go:33`), and #159 corrected this row's own flag count: **130**, not 118 -- 118 typed `fs.String/Bool/Int/Duration` plus 12 `fs.Var`. Standing rule for the next drift: cite a commit beside the line number |\n| 15 | **The newest guard test has a hole, and it let a defect through.** `consumed_test.go` proves a setting is *read*; it cannot prove that reading it can *change behaviour*. `registry.pageSize` is consulted only inside `if limit \u003c= 0` (`internal/registry/registry.go:154-156`), so no ordinary caller reaches it — and it passed #171's sweep anyway. | #179, #129, #172 | The same hole may hide among the other 148 settings, and #172 is about to declare 44 more into the registry that would inherit it. **Check it before #172 lands, not after.** | **#129** -- a setting must be able to change an observable outcome; apply before/with #172 |\n| 16 | **#159's item 13 is wrong, and acting on it would break the generated client.** It claims `MCPX_SESSION` is misnamed and implies `MCPX_CALL`. `MCPX_SESSION` is set at `commands.go:672`, `execsvc.go:575` and `internal/daemon/consumer.go:536`, read by the generated TypeScript client at `internal/codegen/emit.go:253`, and asserted in `internal/e2e/runtime_test.go:43,65`. `MCPX_CALL` exists nowhere. | #159, #180 | A \"cleanup\" rename breaks every generated client. #180 carried the correction; #159 now carries it too. | **#159** -- corrected in the 2026-09-30 issues pass: item 13 struck with the reason. What remains is a doc line: `docs/opencode-plugin.md:406` says the plugin sets `MCPX_SESSION`/`MCPX_CALL`; it sets `MCPX_SESSION_ID`/`MCPX_CALL_ID` |\n| 17 | **Two counts of the same thing that have never been reconciled.** #172 says 44 undeclared `MCPX_*` of 64 referenced; #159 says \"about 49\". The two used different allowlists. | #172, #159, #180 | Whoever implements #172 will pick one and quietly contradict the other. Define the allowlist once. | **#172** -- defines the allowlist once. **Resolved on #159's side**: it now cites #172's 44 |\n| 18 | **`docs/parity.md` cannot distinguish its two kinds of gap.** 33 rows against 60 operations — 27 absent — while its own `## Known gaps` section describes gaps *within* the 33 documented ones. | #159, #144, #145, #180 | A reader believes the missing 27 are complete-and-undocumented rather than undocumented-and-unknown. #145's drift check should fail on an absent row, not only a wrong one. | **#145** -- decided in its step 7: one generated row per op, an absent row fails naming the op, a known gap is an explicit `—` with a reason |\n\n---\n\n## Standing recommendations — where I would pick differently from the notes\n\nThe notes are the source of truth for *what* to build. These six are places where I would build it\ndifferently. Every one is quoted verbatim in the leaf that owns it and argued there too; this\nsection exists so the disagreements are visible from the root rather than buried five issues deep.\n\n### 1. `sudo $(curl \u003cshort> | sh)` is not a system-wide install — it is a root code-execution primitive\n\nThe notes propose, for the home page:\n\n> - per-user `curl \u003cshort> | sh` [copy-button]\n> - ~system-wide `sudo $(curl \u003cshort> | sh)` [copy-button]\n\n`$(...)` is command substitution. The shell runs `curl \u003cshort> | sh` **first, as the unprivileged\nuser** — so the installer never sees root and either fails or installs per-user anyway. Then the\nshell takes that command's **stdout**, word-splits it, and hands the result to `sudo` as a command\nline. If the script prints `Installed mcpx to ~/.local/bin`, `sudo` tries to execute a program\ncalled `Installed`. If anything can influence what the script prints — a mirror, a proxy, a\ncompromised CDN edge, a stray `set -x` — it controls a root command line directly. This is strictly\nworse than the thing it is trying to be.\n\n**Use `curl -fsSL \u003cshort> | sudo sh`.** Better still, do what rustup and Deno do: one unprivileged\n`curl | sh`, and let the script ask for elevation only for the step that needs it, so the user can\nread the prompt and see what is being elevated. Owned by #155 (copy buttons) and #157 (install\npage); the script itself is #158.\n\n### 2. Flatpak is a poor fit and should be dropped from the wishlist, not merely deprioritised\n\nThe notes list it twice:\n\n> - bash/nix/agent-prompt\n> - (pwsh/rpm/flatpack/pkg/docker/justThePlugin)\n\n> - alpine-slim/FROM scratch/distroless/flatpak\n\nFlatpak packages sandboxed desktop applications; host access is mediated by portals. mcpx is a CLI\nplus a background daemon that must (a) bind a unix socket at a host path that *other* processes —\nopencode, agents, `mcpx` itself — open by name, (b) spawn `deno`/`bun`/`node` subprocesses, (c) read\nthe user's whole config chain, and (d) execute arbitrary user scripts against arbitrary paths.\nSupporting that under Flatpak means `--filesystem=host --share=network --device=all --talk-name=*`,\nat which point the sandbox is off and what remains is a tarball with extra indirection and a worse\n`$PATH`. Flathub is also not a distribution channel for CLI-only software.\n\n**The channels that actually fit** are a tarball plus an install script, Nix (already works),\nHomebrew, and an OCI image. Owned by #136 and #158. I would put the saved effort into the OCI\nimage, which the notes also ask for. A first `Containerfile` landed in #182 (bun, debian-slim,\n413 MB); what it still lacks is a CI job, tests, and a release channel (#134, #158).\n\n### 3. Windows is a port, not a matrix leg\n\n> - windows-11\n\nThere are **zero** `//go:build windows` files and zero `_windows.go` files in the tree. The daemon\nbinds unix sockets (`internal/daemon/server.go`, `internal/cli/client.go`,\n`internal/daemon/routes_resolve.go`), resolves paths through an XDG chain, detaches itself to\noutlive its parent with `--idle-exit`, and dispatches shebangs. Windows has AF_UNIX, but the\ndetachment model, the service model, the path chain, signal handling and shebang execution each need\na deliberate implementation. That is a port with a design issue in front of it; a `windows-latest`\nline in `runs-on` would fail on the first test and tell you nothing you do not already know.\n\n**Tier it as \"port, unscheduled\".** If anyone wants it, the first deliverable is a design issue\nnaming the five boundaries and choosing named pipes vs AF_UNIX. Owned by #136.\n\n### 4. Alphabetical sharding is the wrong partition once timings exist — but the timings come first\n\nThe notes anticipate this themselves, which makes it a refinement rather than a contradiction:\n\n> at some point start splitting logical units by like, e.g. maybe a-f/g-s/t-z, balance number of letters by time.\n\nLetter ranges are an arbitrary partition with no relationship to runtime, and the only way to\nrebalance one is to move a boundary — which moves many tests at once and usually overshoots.\n`go test -json` emits an `Elapsed` per test for free. With that, greedy bin-packing (LPT: sort\ndescending, assign each test to the currently-shortest shard) is the standard makespan\napproximation and is provably within 4/3 − 1/(3m) of optimal, versus no bound at all for letters.\n\n**Measure first, shard second, and never shard alphabetically once you have numbers.** The notes'\nown warning about the pathological case is exactly right and is the one thing LPT cannot fix:\n\n> consider if theres lengthy tests which are '1' test but re-exec N times 'in parallel': they will only run 1-3 at a time and so 30 cases _could_ take up to 10 tests worth of time even in parallel and may need to be examined.\n\nA test larger than the target shard size is indivisible to *any* scheduler. That one has to be split\nat the source. Owned by #139, with #143 producing the measurements.\n\n### 5. Sampling is deprecated, which inverts what `docs/consumer.md` recommends\n\nMCP revision **2026-07-28** deprecates Sampling, Roots and Logging under **SEP-2577**. The spec names\nthe migration for sampling explicitly: *integrate directly with LLM provider APIs*. Deprecation is\nannotation-only with a twelve-month floor, so nothing breaks before 2027-07-28 — but \"new\nimplementations SHOULD NOT adopt it\" is the spec's own wording.\n\nmcpx already speaks 2026-07-28 and already implements the MRTR `inputRequired` round trip that\nreplaced the held-open stream. But `docs/consumer.md:156-170` still frames sampling as *the* path for\n`prompt.sample`, and mcpx declares `roots` to every upstream server (`docs/protocol.md:271`; code at\n`internal/mcpclient/modern.go:52`) — deprecated by the same SEP. It also declares `sampling` whenever an\nelicitation handler is installed (`modern.go:54-56`), which the daemon always installs, so in practice\nevery upstream server is told it may sample.\n\n**A configured provider is no longer the ambitious option; it is the spec's own suggested\nmigration.** That inverts the framing in `docs/consumer.md` and makes #110 a prerequisite rather than\nan enhancement -- in the sense of *decide now, build later*: #176 builds it fifth. The two consequences\nthis section said nobody owned now have one: #110 carries the `roots` and `sampling` declarations and the\n`docs/consumer.md` sentence that must change with its decision.\n\n### 6. Prefer settings over endpoints — restated, because it is the rule most easily lost at scale\n\nThis held. The leaves propose settings and conventions where the notes proposed endpoints: #87\nreplaces a renew-endpoint-per-resource with touch-on-read; #112 replaces four prompt endpoints with\none declared hook list; #86 adds `http.ui` settings rather than a second build system. The place it\nis most at risk now is **#113**, where \"administration by intent\" could easily become a dozen\n`/v1/admin/*` routes. It should not: the ops table already generates routes, MCP tools and OpenAPI\nfrom one declaration, so the correct move is to *declare more operations*, not to hand-write more\nendpoints — and `internal/api/parity_test.go` already enforces that.\n\n---\n\n## Original notes\n\nThis paragraph closes the user's first notes file. It is an instruction rather than a feature, which\nis why every writer obeyed it and none of them quoted it; a coverage audit across all 113 issues in\nthis repository found it in none of them. It belongs here, at the root, because it governs the whole\nbacklog rather than any one issue:\n\n> in some places i used new api endpoints and names but dont take anything i said as authoritative direction, its the idea or vibe that matters, the concept. when possible don't add new endpoints add settings or options, flags, conventions or other best practices way to handle.\n\n\u003cdetails>\n\u003csummary>\u003cb>The user's full original notes, verbatim — both files, concatenated, nothing removed.\u003c/b> (click to expand)\u003c/summary>\n\nTwo files. Nothing below is edited, corrected, reordered or summarised. Typos are the user's.\nEvery non-empty line here is quoted verbatim in at least one open leaf issue, except the closing\nparagraph, which lives here at the root. Re-checked by script against the live issue bodies at the end\nof the 2026-09-30 issues pass: 196 of 197 lines are quoted in at least one open leaf; the 197th is the\nclosing paragraph quoted above.\n\n### Source 1 of 2 — runtimes, extensibility, surfaces, the AI layer\n\n```\n- how do i set the js runtime?\n - you had mentioned node alongside bun etc, would a user run javascript there? typescript would fall over? \n - what is or can be automatically stitched together or compiled to js or doesnt need to can run ts direct?\n - if node would fall over, could existing ts be compiled for a js project?\n - is there a way to support .dt js type files? at least for validation etc?\n - handle validate/import/compile automatically when possible then provide config to disable/skip/run-but-keep-going-on-error/etc.\n- document compare the options and features\n- how to config npm\n - from host default\n - from cli config\n - from cli config dir\n - from pwd dir nodepackages\n - from /v1 /mcp (and cli/plugin)\n - command to pass list of packages, package.json(c) (package.lock supported too)\n - baked into binary\n- can i make a go module accessible c\n- plugins\n - go plugin\n - binary plugin\n - typescript/python plugin\n - script/shebangable plugin\n - config can set hooks for non-go/typescript(/python)\n - config can set hooks to call any command,js/ts/py module\n - remote socket/v1/mcp/otherPlugin plugin\n - go/ts(/py) can directly interact with app set own hooks, get/set vars, trigger any external command internally which can be triggered outside the app or in a script, call public and private functions of app, fork configure socket shutdown and independently interact (maybe this mode also supports still get/set vars transport types rpc anything they could do inside.\n- support python wherever and however typescript is used 1:1\n- can exec call bash across the modes?\n - nearly just allow any shebang\n - drop the user in \u003cuser_config>||\u003cconfig>||pwd\n - if not shebang or --shell||--bash||--shell python3||--#!/usr/bin/python\n - then configured typescript\n - ./mcpx -exec \n- support adding bash/js/ts/py scripts as mcp\n- ssh rpc, ssh server, ssh tui\n- web frontend\n- support embedding/config/dynamic-add \"mcp\" for any plugin above\n- support embedding/config/dynamic-add mcp endpoints, connect to self over sockets?\n- support embedding/config/dynamic-add any binary as mcp\n- binary mcp\n- better natural language processing search\n- mcp-owned opencode api support\n - support multiple providers/models\n - name priority sets of models as an 'agent'\n - ? just embed opencode and call it? is there a golang or rust opencode? \n - proxy\n - respond to elicit/prompt\n - receive errors check io and elicit/prompt caller, or fix-retry, clean up return what worked with explanation of what happened, pass-through\n - install any language/tool/framework/library, clone whatever repo.\n - check inputs, reject any request with/without reason, prompt 'hey are you sure? you did this and that maybe doesnt do what you think', 'hey i mean this probably cant work because y', or it can look at a script and say 'oh, they used search instead of query, query is only thing that makes sense here and they used the args for query, i'll rewrite the script and run that instead (or offer alternative ask them), user can just tell it what to do and then mcpx does the ai part/script-selection, or write a lazy psuedocode script mixing 4 languages and calling packages from different ecosystems and it puts together best it can with some guidance/instruction/accuracy/precision/strictness either decline, propose script ask for approval, emit scriptfile and return fileid, decide to run first part first thats safer, implement a dry-run and try that, disregard users attempt and exec/make/suggest what they actually want.\n - need ways for server and client both to control their section maybe need auth\n - prompt-based served endpoints (tell mcpx to do a thing it tries its best, tell it to install/remove/reconfigure itself, add/remove/configure mcp, administrate, restart mcp servers, force-detach, kill sessions, resume dead sessions, get config, exec/runwhatever. (same interface for this and clients? plugins?) \n - accept prompt/prePrompt/postPrompt/onErrorPrompt/onSuccessPrompt\n - the script interface just runs the scripts, but you can provide a prePrompt saying hey i added a bunch of dependencies please make sure they exist where the job runs, postPrompt to clean up the results and transform, either prompt/pre/post could say to fix error thing but onError gets provided above or below the error and is first seen with the error if theres an error. prompts can use templatevars to put content where they want it or for prompt overall to be stopped/resumed maybe.\n - generate OpenAPI.fromSpec for a binary or script or any executable/whatever and add it as an mcp, save the openapi json for reuse by hash or similarity\n - generate new mcp commands out of existing 1 or more\n - generate new mcp commands that trigger its own prompts/scripts/binaries\n - generate new x_commands for an mcp and add them into the given mcp\n - doesn't have to just be merging transforming filtering limiting existing\n - can extract the creds pull the api and add endpoints from sdk missing in mcp using the sdk descriptions \n - add the dropboxMcp, googleDriveMcp, outlookMcp, tailscaleMcp\n - please make an alias for the tailscaleMcp except it should not require auth it should accept the creds i already used to connect to it and the only skill it should provide is listTailnet and listHostnames\n - accept user feedback, requests, routinely implement features/interfaces that are good idea. \"you should add this mcp it's free.\" \"this mcp is very good you should consider hosting it locally because the public one is slow and limited\" \n- elicit/prompt/session/attachment/mcp/etc renew ttl\n- any exec local or remote should allow file scripts, server looks where it finds scripts and tries to find, same as local.\n- accept a flake url#path anywhere a binary/script/remote/api/etc can be used\n- accept a flake url as an alternative exec env (devshell/shell.nix in default pwd or tempdir or ad-hoc flake that isfully isolated, path executed before script, script executed inside \n- reverse-shell/shell/ssh/tui\n- web server\n- non-ai auto-import dynamic if a script imports something that isnt avaialble\n - because of typescript and esm the entire import tree can be determined without executing anythign right?\n - if i import a file in another dir that has its own package.json/lock can it auto-import, prepare dependencies to be available whereever needed\n- the following is a fixed thing but can that redirect path thing be deterministic so it can be safely followed? or no because reasons? does mac have a mac file length?\n - > A leaked daemon is one the e2e suite started and never stopped. Each test builds a temp config, runs a command, and the command auto-starts a daemon to serve it. The daemon is deliberately detached so it outlives the command, with --idle-exit 4h. Cleanup calls mcpx stop, but when that can't reach the daemon — a different config fingerprint, a socket relocated because the temp path was too long, an interrupted run — the daemon stays up for four hours with a fakemcp child. Fifteen suite runs left 70.\n\nin some places i used new api endpoints and names but dont take anything i said as authoritative direction, its the idea or vibe that matters, the concept. when possible don't add new endpoints add settings or options, flags, conventions or other best practices way to handle.\n```\n\n### Source 2 of 2 — testing and documentation\n\n```\nmake an issue to design a comprehensive docs/testing strategy:\n- testing\n - importantly, as we add more testing agents should not run every single test basically ever. below documents a rough idea of a ci job design/policy, the main priority is being short as possible.\n - agents should make at least 1 simple, new test for every bug observed from any source, when cheap to do so-- aggresively test many permutations. \n - you can absolutely rely on fuzzing anywhere you can fit it and you should whenever you can-- but you _must_ use a single seed per-run to generate all inputs. (this could eventually be discussed with careful consideration.) it should be appended into a test tracking structured file in the repo and it can be committed. ideally main branch commit's seed or pr merge seed should make it back into file eventually. to prevent churn, maybe ci appends the seed into a gha var (race/overwrite risk?), or attached as artifact to each workflow in init job before tests begin-- a collector job can scoop them up sometime later. once a day/week/on-release/every-100-commits. im thinking touch tests/seeds/\u003cseed> or uv has a seed generate job. anyways ci it should end up in that dir, then as an artifact if gha and main branch, then passed into the test matrix. if uv test without arg- warn, generate and write it yourself pass it to all tests, if some other testing method there should not be a static seed, throw for empty or setup should make the seed. avoid changing how seed generates data. im not sure if a convenient uuid with time, v7?, is valid, but as long as its enough entropy whatever works. either put nothing in their or compact json, consider seeds/v1/id/\u003cfirst 2 char>/\u003cseed>\u003c--symlink: seeds/yyyy/mm/dd/\u003cseed> avoiding conflicts is important.\n - think a hack job of antithesis/tigerbeetle. this is the primary testing method is throw insane amount of variations. if something is found outside this system and a test that could have had missed it, make a different generator that uses the same seed and makes an infinite amount of things matching the offensive shape.\n - make a simple issue for reviewing all tests, setting up framework and policies for the fuzz.\n - we aren't shooting for deterministic execution to start, maybe we should but no. consider it a longterm design aspiration to retrofit or for rewrite in rust (not a plan at all, but could see it). separate simple issue for considering both those things.\n - a general goal is to ensure all features have one or more integration tests\n - the mcp servers can be specialized mocks but the app entrypoint or binary is used and config is passed in or config path set to appropriate test\n - for both binary && app entrypoint (consider binary a superset)\n - all tests should pass for nix flake & container\n - all local also but may need impractical setup\n - very few shouldn't work if user has own real daemon running\n - all non-cli should pass for remote\n - ideally would like if worked:\n - alpine-slim/FROM scratch/distroless/flatpak\n - fedora-kde,silverblue/kinoite,ubuntu\n - windows-11\n - a specific subset should completely work with all real software\n - these should be found/labeled whenever possible\n - the supported mcp version is the one in the flake/containerfile \n - basically everything should work because static binary\n - non-vanilla may need extra config\n - installers make assumptions and require permissions\n - make a comprehensive github action ci.yaml workflow (or test.yaml) that is as fast as possible,\n - splitting sets of tests into as small groups as practical, eg split out unit/integration tests into 2 jobs, whichever one takes longer: shard it into 4 logical groups (or however many) based on an appropriate category, then find the longest job at that point and repeat (you dont want to iterate on this forever, at some point start splitting logical units by like, e.g. maybe a-f/g-s/t-z, balance number of letters by time.\n - continue until the jobs can't get much faster considering setup/teardown and then set a ci testing budget which is a hardcoded default input. after the test matrix have a time budget job when subtracts github workflow request time from now. (this catches if the jobs are impacted by matrix size, could lessen by taking initial job end or matrix start time.)\n - repeat this process whenever testing exceeds some time budget. make setup faster, rebalance alpha splits, split groups of tests on the longest shard. maybe flag that never tears down because just killing the box after. anything downloaded should be cached, shallow clone a partial path to mcpx dir, if there's unexplainable job start delays, try to keep all job times balanced, 10 ultrafast ones can give you quick signals but may put pressure on runner infra and cause the longest jobs to last a little longer. all that matters is how long the longest jobs take. job runners have 2 or 4 cores, consider if theres lengthy tests which are '1' test but re-exec N times 'in parallel': they will only run 1-3 at a time and so 30 cases _could_ take up to 10 tests worth of time even in parallel and may need to be examined. we're using go so im not too worried about time budget but its best to get this early. main focus is strong tests as each step of the lifecycle.\n - all formatters and linters in test matrix, formatters in check mode, linters set to warning or more than minimal.\n - automatically runs for every commit to main and on commit/open/undraft to a non-draft pr\n - separately, format.yaml which auto-commits to main when format has changes and successfully completes all formatters, receives a green test workflow\n- documentation\n - make a book using whatever is the most common and simple modern choice\n - that thing all the rust/k8s people use is fine\n - github static setup. separately, assign a subdomain\n - specialized agent markdown all pages\n - home page has install prompt built into the bot version\n - 3 main things, not book sections jsut like levels of detail-\n - the 30 seconds look at home page click the overview page, click the quick start page, ctrl+w should be simple enough that even this person skimming while doing 3 different things will accidentally learn\n - why you would install it\n - code mode\n - makes shareable, reusable scripts\n - reclaim context, use less tokens\n - smarter, cheaper\n - tame mcp\n - one mcp config\n - share endpoint with your tailnet\n - corral your scripts, apis, and binaries\n - how to install it\n - picture architecturally what it looks like\n - aware of install\n - bash/nix/agent-prompt\n - (pwsh/rpm/flatpack/pkg/docker/justThePlugin)\n - install as\n - just exec the binary\n - per-user|per-host\n - optional:\n - local host\n - system service\n - persistent daemon\n - home page has\n - short flex video\n - simple intro\n - short 1-4 sentence paragraph\n - surrounded by small title/small here-blocks/bigger word lines\n - code block example\n - static syntax-highlighted typescript\n - exec real editable example click button remote\n - wasm, local mcp, daemon/cli-client\n - download link\n - per-user `curl \u003cshort> | sh` [copy-button]\n - ~system-wide `sudo $(curl \u003cshort> | sh)` [copy-button]\n - \u003c`subitem[rand(this.len)]`> [copy-button]\n - `hey please one-shot setup mcpx right now`\n - `hey install this mcpx thing and comment out all my mcp config`\n - `replace mcp with mcpx codemode`\n - `guided install mcpx now plz`\n - quick start\n - now what\n - the 'ok i just installed this thing what even is it' layer\n - basically a more normal set of docs\n - new person might assume this is all there is and wont be upset\n - a page or section in a page for\n - common config\n - server config\n - client config\n - env vars\n - client modes\n - transport options\n - server modes\n - abstract interfaces\n - client interfaces\n - cli\n - cli arguments\n - cli commands\n - mcp\n - mcp sdk\n - mcp compatibility\n - binary\n - script\n - /v1\n - /v1 sdk\n - plugins\n - plugin compatibility\n - plugin interface & config\n - opencode v1 plugin\n - opencode v2 plugin\n - vibeMcp\n - \"so why'd you get rid of all the mcp and then make one, do you like mcp or not\"\n - \"i mean, opencodemode is right there\"\n - \"is it safe?\", no.\n - \"but why would you..\"\n - \"but can i get some examples?\"\n - the compendium\n - basically everything that is built can be described here in as much detail as you want. you don't need to hold back it's an encyclopedia\n - new sections marked with release version during release.yaml?\n - edits start a 'history' openable that is just a sideways triangle out of the way, basically hierarchical updates, md para new version/date->bubbles up through h5 h3 h2 root document version history\n - you dont have to just put strict mcpx things here\n - document mcp servers, resources, indexes, urls, projects\n - compare with lootbin/opencodev2/cf-codemode/etc\n - history - lootbin abandoned (me), i asked to look into a replacement and came back to a built binary, i mentioned hey, did you notice opencodev2 has it built in and i'm already using opencodev1? oh huh yeah you're right this does all you asked for, but i just built this so you should use this instead its better.\n - any research or incidental findings into ai, llm, harnesses, plugins, token providers, cloudflare, the typescript ecosystem, SSE, sockets/rpc/websockets/tcp/mcp/openapi/rest/oauth/command-line, really whatever you come across or we talk about. compendium can have an entire section on nix that is a hundred pages and doesnt mention mpcx at all. you could write a short science fiction in there and i wouldnt mind. i'm not asking you to write a short science fiction story i'm asking for an overview intro and reference website and manual.\n```\n\n\u003c/details>\n\n## Acceptance criteria\n- Every mcpx theme named in this tracker maps to at least one filed, labelled issue in the batch (or an explicit 'not doing' note here).\n- Disagreements between themes are resolved or escalated on this issue; the tracker is kept current until the last themed issue closes.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-28T22:21:29Z","url":"https://github.com/developing-today/code/issues/1900"}
| 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:d541b939-c7ab-5f82-5082-78465ebec419 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8662:83BF7:5A673C:753B7E:6B0620F3 |
| html-safe-nonce | 6349cf4c995eb033ac9ed4d4c16cafde737f63efca28b702ae75579713264209 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjYyOjgzQkY3OjVBNjczQzo3NTNCN0U6NkIwNjIwRjMiLCJ2aXNpdG9yX2lkIjoiNDg1NDY0MjU4Nzc2MTc3ODkzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2fd41c015dca0a8ee8dad9db9802d11890c3193a873364cfab7425b73b597db3 |
| hovercard-subject-tag | issue:6088570288 |
| 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/1900/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9bd26151fa79a658e775f705bd2ca03614f6d2c3d73bc30951c82c630af5d6c/developing-today/code/issues/1900 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9bd26151fa79a658e775f705bd2ca03614f6d2c3d73bc30951c82c630af5d6c/developing-today/code/issues/1900 |
| og:image:alt | Relocated from dezren39/darwin-nix#181 on 2026-10-28 (placement audit): mcpx's single source lives in developing-today/code (pkgs/mcpx); re-home tracked at #309. Original body below; issue referenc... |
| 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 | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| 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 | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| 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