GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs · Issue #1851 · developing-today/code

mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs#1851
Copy link
Assignees
dezren39
Labels
source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Relocated from dezren39/darwin-nix#147 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).

Parent: #94

Summary

This issue covers the level-2 pages for every way into mcpx: the abstract interface (one ops table behind every surface), client interfaces, the CLI (overview, arguments, commands), MCP (overview, SDK, compatibility), the binary, scripts, /v1, and a /v1 SDK. Anchors are in #146's page map: interfaces#…, cli#…, mcp#…, binary#binary, scripts#script, http-api#….

Four facts found while reading the code change what these pages can promise:

  1. Commands() is not every command. Seven dispatched commands are missing, including the only MCP stdio entry point.
  2. mcpx publishes three different OpenAPI documents, and one of them describes a server that was removed.
  3. "Global flags from the settings registry" is not how flags work. Registry flags are bound per command.
  4. docs/dependencies.md says mcpx has one Go library, but go.mod lists five.

Details are in "Current state".

Original notes

Source-notes lines 1, 2, 7, 49-52 (parents) and 60-71 (this issue). The lines in between are quoted in sibling issues.

  • documentation
    • make a book using whatever is the most common and simple modern choice
      • 3 main things, not book sections jsut like levels of detail-
        • the 'ok i just installed this thing what even is it' layer
          • basically a more normal set of docs
          • new person might assume this is all there is and wont be upset
          • a page or section in a page for
            • abstract interfaces
            • client interfaces
            • cli
            • cli arguments
            • cli commands
            • mcp
            • mcp sdk
            • mcp compatibility
            • binary
            • script
            • /v1
            • /v1 sdk

Current state (what mcpx does today, with file refs)

Paths are relative to pkgs/mcpx/ on main (d0b7e01); re-checked at 05c78b2 in the 2026-09-30 issues pass, and drifted line numbers re-cited.

Finding 1: Commands() omits seven dispatched commands

internal/cli/manual.go says "Commands is every subcommand mcpx has", and describes each command once "so that help, the man page and the command table cannot disagree about what exists". Commands() has 32 entries: run exec scripts recipes prompt diagnose ls catalog types search call client status daemons refresh restart stop daemon config settings servers init schema elicit doctor prompts resources tui explore log stats help.

The dispatch map in cmd/mcpx/main.go:119-161 also routes serve, api, registry, adapter, openapi, man, completion, and the alias logs. mcpx help, the man page and shell completions (internal/cli/completion.go reads Commands()) all leave them out. Current docs already rely on them:

  • docs/protocol.md §5: mcpx serve --transport stdio
  • docs/configuration.md "Servers": mcpx registry add
  • OPENCODE-V2.md: mcpx api --spec

A "cli commands" page generated from Commands() would silently omit the only way an MCP host can spawn mcpx.

Prerequisite, outside docs: add the seven commands to Commands(), plus a test that the dispatch keys equal the Commands() names plus their aliases. Routed as #159 item 1 (still open at 05c78b2). This issue does not implement it.

(The inventory in the docs worker notes says "35 commands" but lists these same 32 names.)

Finding 2: three OpenAPI documents, and the docs must never confuse them

document produced by describes state
GET /v1/openapi.json api.OpenAPI (internal/api/openapi.go:8-17), from the ops table the daemon API (/v1/*) correct; the source for http-api#v1
mcpx schema --format openapi CmdSchema (internal/cli/publish.go) the tools of your MCP servers, as operations for a client generator correct; a different subject
mcpx openapi cli.OpenAPI (internal/cli/openapi.go:14-100) /mcp, /health, /openapi.json, /v1/tools/*, with server http://127.0.0.1:8787 labelled "mcpx serve --transport http" stale: docs/protocol.md §5 says that separate server was removed, /health became /v1/health and /openapi.json became /v1/openapi.json

The comment at internal/api/openapi.go:15-17 also still refers to "mcpx serve --http ... at /openapi.json".

Recommendation: point mcpx openapi at api.OpenAPI. Then the docs build can produce the /v1 spec with no daemon running, and the CLI name means what a reader assumes. Until then, the pages name each document explicitly.

Finding 3: flags come in two kinds

  • Hand-parsed global flags, before the subcommand (cmd/mcpx/main.go:61-104): --json, --tui, --profile <a,b>, --skip-default, --all-profiles, --config <file>, --version/-v, --help/-h.
  • Registry flags, bound per command. parseFlags calls BindFlags(fs, cmd), which calls sch.Bind(fs, cmd) over ForCommand(cmd) (internal/cli/root.go:52-67, internal/settings/bind.go:69-88). A command only accepts the settings it reads. Plumbing flags are marked [plumbing] rather than hidden.

The generated "cli arguments" page therefore has two parts: the global list, and a per-command flag list. It is not one global table.

Finding 4: the binary's dependencies

docs/dependencies.md says "Go libraries: One. modernc.org/sqlite". go.mod:5-11 also requires bubbletea, bubbles, lipgloss and yaml.v3. story.md "The browser › The dependency" records the TUI libraries: 1.2 MB, taking the stripped binary from 11.2 to 12.4 MB. The binary page must use go.mod, not that sentence.

Other facts the pages use

  • One ops table. internal/api/ops*.go declares 60 operations (60 Method: entries across ops.go, ops_consumer.go, ops_exec.go, ops_proto.go, ops_resolve.go, ops_settings.go). From it come the mcpx_<op> MCP tools and /v1/openapi.json. Routes are not generated: they are registered by hand with mux.HandleFunc (e.g. internal/daemon/ops.go:28-38), and internal/api/parity_test.go:21 reads them out of the daemon source with a regex and checks them against the table. parity_test.go enforces three of the four parity columns this way, and the plugin column is not enforced (docs/parity.md).
  • No MCP SDK. mcpx is built on none: go.mod has no MCP module. The MCP client (internal/mcpclient), the server (internal/mcpserver) and the JSON-RPC framing are its own code. docs/dependencies.md says so.
  • Protocol revisions. mcpx serves 2025-03-26, 2025-06-18, 2025-11-25 and 2026-07-28. Upstream it speaks 2025-11-25 by default (docs/protocol.md §1). The matrix lives as data in internal/mcpserver/revisions.go and is served by GET /v1/protocol: "the document defers to the endpoint". There is no CLI command for it (Update Rust crate clap to 4.5.4 - autoclosed #76).
  • The /v1 SDK today is the plugin's DaemonClient (plugin/opencode/mcpx/daemon.ts:338): generic raw/get/text/post/postRaw/putRaw plus 22 typed methods (status, exec, call, logQuery, tasks, putSetting, ...), and connect() for discovery. It is not published as a package.
  • Bare invocation. A first argument that looks like a file (.ts, .js, .mts, .mjs, or an existing file) or like source code runs without run/exec (cmd/mcpx/main.go:25-50, :164-179). Bare mcpx opens the TUI, or prints help when there is no terminal.

Content per item

interfaces#abstract-interfaces

Explain the design in one diagram: one declaration (Op in internal/api/ops.go) produces the mcpx_<op> MCP tool and the OpenAPI entry, and a test holds the hand-registered /v1 route to it (the diagram must not show the route as generated). The CLI and the plugin sit on top of /v1. Quote the parity claim word for word: "Everything the CLI can do can be done from a plugin, can be done over /v1, can be done from MCP." Then state honestly what enforces it (parity_test.go, three of four columns) and what does not (the plugin column, and the CLI gaps in #76). The parity table is generated (#144). This page is the map. The other interface pages are the territory.

interfaces#client-interfaces

Every way code can drive mcpx, with one runnable snippet each:

client interface for reference
generated TypeScript client: tools.<ns>.<fn>(args); globals tools, log, emit; namespaces as bare identifiers in exec; import tools from "./mcpx-client.ts"; in-script search() / describe() scripts AGENTS.md "Scripts"; mcpx client [-o file] [--ns a,b] prints it; mcpx types shows signatures
the CLI people, shells, CI cli#cli
mcpx call <ns>.<tool> [json] one call, no JS runtime needed docs/dependencies.md "External programs"
DaemonClient / connect() harness plugins, and any Bun/TypeScript program plugin/opencode/README.md "Talking to the daemon directly"
any MCP client, through /mcp or mcpx serve --transport stdio MCP hosts mcp#mcp
raw HTTP on /v1 curl, other languages http-api#v1

cli#cli

  • The loop: ls, then search, then types, then run/exec (AGENTS.md "The loop").
  • --json for machines; never parse human output.
  • Exit codes worth knowing: 75 (EX_TEMPFAIL) when a call is waiting on an elicitation (manual.go, elicit Detail); 2 for an unknown command or a settings conflict (cmd/mcpx/main.go).
  • Bare invocation and runnable-first-argument behaviour.
  • The man page (mcpx man, installed by package.nix to share/man/man1/mcpx.1) and shell completions (mcpx completion bash|zsh|fish). Both commands are dispatched but not in Commands() (Finding 1).

cli#cli-arguments

Generated (#144), in two parts (Finding 3): the global flags, then each command's registry flags with their aliases (--runtime for --script-runtime, and so on). Short prose around the tables covers:

  • the precedence chain, linking configuration#common-config;
  • the fact that two different spellings of one setting on one command line is an error (bind.go ApplyTo);
  • the fact that derived names are published as-is (--daemon-lease-t-t-l).

cli#cli-commands

Generated from Commands(), grouped as help groups them (running, discovery, daemon, configuration, inspection). Each command gets its usage, detail and examples. Blocked on Finding 1's prerequisite. Without it, the page leaves out serve, api, registry, adapter, openapi, man and completion.

mcp#mcp

  • mcpx as an MCP client of every configured server: four revisions, two eras; the server-initiated requests it answers (sampling passthrough, the elicitation broker, roots; docs/protocol.md §4).
  • mcpx as an MCP server: /mcp and stdio, the small tool surface and why (story.md "mcpx speaks MCP"), and subscriptions/listen.

Link modes#server-modes and modes#transport-options rather than repeating them.

mcp#mcp-sdk

The item is ambiguous. The page answers the first two readings and routes the third:

  1. Which MCP SDK mcpx uses: none, and why (dependencies stay small; the client, server and framing are about one package each). One paragraph.
  2. Using mcpx from an MCP SDK: any official SDK client (TypeScript, Python, Go, etc.) connects to http://127.0.0.1:<port>/mcp, or spawns mcpx serve --transport stdio. Include one tested snippet using the official TypeScript SDK client.
  3. An SDK mcpx provides for writing servers or extensions: does not exist. Link the extensibility issues chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to 2901d28 #80 and chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to 36464cf #83.

mcp#mcp-compatibility

  • The revision matrix, generated from internal/mcpserver/revisions.go rather than copied from docs/protocol.md §1, since the document itself says it defers to the code. 🎨 Palette: Improve accessibility of editor search panel #144 decides the mechanism.
  • The "accept liberally, send conservatively" rule in two sentences.
  • The known gaps from docs/protocol.md §6, linked to fix(deps): update rust crate leptos to v0.8.22 #77.
  • A second table for host compatibility: which MCP hosts have actually been pointed at mcpx. None are recorded today (open question 3).

binary#binary

  • One Go binary. Every dependency is pure Go (the SQLite driver is modernc.org/sqlite), so CGO_ENABLED=0 builds a fully static binary. Phase 5: tag event bodies must travel with the event #182 verified one: a 21 MB linux/arm64 ELF, "statically linked". The shipped artifacts are not static, by choice. The nix package uses the nixpkgs cgo default and is wrapped with a PATH suffix, and the Containerfile keeps CGO_ENABLED=1. Whether to ship static is a policy question owned by Update dependency happy-dom to v21 [SECURITY] #136: pure-Go os/user reads /etc/passwd rather than NSS/LDAP, and the pure-Go resolver bypasses NSS modules -- on Linux only; on macOS CGO_ENABLED=0 changes nothing, since Go 1.20 uses the system resolver and user database there without cgo. The page states what is shipped, not what is possible, and never says os/user or net prevent a static build.
  • Size, from story.md figures, or measured at release (amd host fails at evaluation: no outputHashes for p2panda-core-0.7.1 #158).
  • External programs, from the docs/dependencies.md table: git for the repo/worktree scopes (git rev-parse, internal/config/scope.go:152-159; GIT's in-flight native resolution may remove this dependency, so re-check when it merges); deno/bun/node for run/exec only (call, ls, types, catalog and search work without one); the configured servers.
  • The Nix wrapper appends git, deno, bun-bin and nodejs to PATH (--suffix, package.nix:96-104), so a runtime already on the user's PATH wins.
  • A container image: pkgs/mcpx/Containerfile (added in Phase 5: tag event bodies must travel with the event #182; docs/container.md). It is Debian bookworm-slim, ships bun, and sets MCPX_SCRIPT_RUNTIME=bun. The page links docs/container.md rather than restating it, because GIT is still changing the container.
  • The version is hard-coded at 0.1.0 (package.nix:19, :61; cmd/mcpx/main.go:18). Release and install channels belong to amd host fails at evaluation: no outputHashes for p2panda-core-0.7.1 #158. This page only states what the binary needs.

scripts#script

The page a script writer lives on:

  • The contract (AGENTS.md "Script contract"; story.md "The script contract"): stdout is the result, stderr is diagnostics; a default export is the entry point; --export <name> spreads arguments; emit() streams; log.info("…{x}", {x}); --json gives one envelope.
  • Named scripts: .mcpx/scripts/<name>.ts, searched upward, then ~/.config/mcpx/scripts/, nearest wins; mcpx scripts lists them and marks shadowed ones.
  • Results: unwrapped values, .raw for the envelope, ToolError on isError.
  • Runtimes: deno, then bun, then node (script.runtime, --runtime). Node runs only erasable TypeScript: an enum fails. --typecheck / script.typecheck runs deno check and only applies on Deno. Link Update dependency @playwright/test to v1.64.1 #79.
  • Authority: scripts run with the user's full permissions; link faq#is-it-safe (⚡ Bolt: Optimize msgpackr structuredClone #149).
  • Where a script runs: exec.where, linking modes#client-modes.
  • Checking before running: mcpx diagnose, and the automatic preflight (diagnose.preflight).
  • Recipes (// @param), and pointers onward to the launcher and placeholders (Bump build/buck/preludes/buck2-prelude from 3a02ea3 to c77fc97 #7), artifacts (docs/exec.md, Bump openssl from 0.10.54 to 0.10.55 in /sources/pavex/examples/realworld #40) and mcpx prompt.

http-api#v1

  • Rendered from /v1/openapi.json (🎨 Palette: Improve accessibility of editor search panel #144), ideally produced without a daemon (Finding 2's recommendation).
  • Prose around it covers: how to reach the API (curl --unix-socket <sock> http://mcpx/v1/health, or the TCP port); the X-Mcpx-Settings header for call-scoped settings; GET /v1/events as SSE with ?since=N; which operations are admin (Op.Admin); request body limits (http.*).
  • Link Update Rust crate clap to 4.5.4 - autoclosed #76 for operations that exist here and in MCP but have no CLI command.

http-api#v1-sdk

There is no /v1 SDK beyond the plugin's unpublished DaemonClient.

Approaches:

  • A (least recommended): hand-written SDKs per language, shipped by mcpx. Each one is a second copy of the ops table that drifts. That is the exact failure internal/api/ops.go's header comment exists to prevent. It also carries release and packaging cost per language before there is one outside user.
  • B (middle): publish DaemonClient as the TypeScript SDK. It already exists, is tested (daemon.test.ts) and knows the discovery ladder, which no generated client will. But it is Bun-first (fetch(url, {unix})), only 22 of the 60 operations have typed methods, and its natural home is the harness-free core in Update Rust crate anyhow to 1.0.75 #48, not a general SDK. Worth doing as part of Update Rust crate anyhow to 1.0.75 #48, not as the answer to this item.
  • C (recommended): document generation from /v1/openapi.json with standard tools, and test it. Name the tools: openapi-typescript + openapi-fetch, openapi-generator, oapi-codegen for Go, openapi-python-client. Show the one mcpx-specific step: most generated clients assume a TCP base URL, so use daemon.port or MCPX_ENDPOINT, or a transport that can dial a unix socket. A CI job generates one client and compiles it against the current spec, so the promise cannot rot (docs checks; see the testing trackers under Bump github/codeql-action from 2 to 3 #91 (CI pipeline Bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /sources/launcher #95, integration/environments Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /sources/chat #97)). It adds no new code to maintain, works for every language at once, and stays correct because the spec is generated. Mention DaemonClient (B) as the option for harness plugins.

Warning for the page: mcpx schema --format openapi describes tools, while /v1/openapi.json describes the daemon. A reader who feeds the wrong one to a generator gets a working client for the wrong thing. Say so in a callout.

Open questions

  1. Finding 1 prerequisite: add the seven commands to Commands() with a dispatch-parity test? Some of them (openapi, adapter) may be meant as plumbing. Then Command needs a Plumbing/hidden group, not an omission.
  2. Finding 2: repoint mcpx openapi to the daemon spec, or remove it in favour of mcpx schema plus /v1/openapi.json?
  3. Host compatibility: which MCP hosts should the compatibility page claim, and should each claim be backed by a CI smoke test?
  4. "mcp sdk": does the notes' item mean any of the three readings above, or something else?
  5. Script arguments: AGENTS.md says run arguments "arrive in Deno.args". The scripts page needs the rule for bun and node. Is Deno.args shimmed on those runtimes, or does a default export's main(args) cover it?

Docs checks run in CI; see the testing trackers under #91 (CI pipeline #95, integration/environments #97).

Ease · Impact · Related

Ease M (the prose is mostly assembly from existing docs; the two generated pages wait on #144 and on the Finding 1 fix) · Impact high: these are the pages people use daily, and Findings 1-2 make generated reference wrong if left alone · Depends on / related: #94, #76, #77, #79, #7, #40 (closed, fixed in #57), #48, #80, #83, #146, #148, #149, #144, #145, #158, #159 (Findings 1, 2 and 4 are filed there as items 1, 3 and 12), #136 (static-binary policy)

Security/auth deferred; see tracker.

Activity

Next
  1. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-779

  2. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    History carried over from dezren39/darwin-nix#147 (verbatim, oldest first):


    @dezren39 · 2026-09-30T07:20:27Z

    Integration pass. Placed in the DAG rooted at #181.

    • Tracker: Bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /sources/data #94 (level 2 / the manual)
    • Siblings under that tracker: 🎨 Palette: Add aria-labels to search and goto-line inputs #146 🎨 Palette: Improve accessibility of search panel #148 ⚡ Bolt: Optimize msgpackr structuredClone #149
    • Root: Phase 3: sync, blob gate, and relays #181
    • Proposed order: phase 5 -- the site, then the pages; 🎨 Palette: Improve accessibility of editor search panel #144/⚡ Bolt: Optimize cursor color generation and position grouping #145 before the manual pages

    @dezren39 · 2026-09-30T11:58:48Z

    Issues pass (2026-09-30, at 05c78b2). I edited the body in place. The page plan and the /v1 SDK approaches are unchanged.

    • binary#binary was wrong about static linking. It said "One static Go binary, CGO-free". That sentence now separates what is possible from what ships. CGO_ENABLED=0 gives a fully static binary (verified in Phase 5: tag event bodies must travel with the event #182). The shipped nix package uses the nixpkgs cgo default and the Containerfile keeps CGO_ENABLED=1, both by choice. The policy question (NSS os/user, the pure-Go resolver and macOS/VPN DNS) belongs to Update dependency happy-dom to v21 [SECURITY] #136. The page must never say os/user or net prevent a static build.
    • The container exists (Phase 5: tag event bodies must travel with the event #182). The binary page now lists pkgs/mcpx/Containerfile / docs/container.md and links it rather than restating it, because GIT is still changing it. The nix wrapper appends runtimes to PATH (--suffix), so it no longer reads as "puts them on PATH".
    • Routes are not generated from the ops table. The body said they were, in two places. Routes are hand-registered (daemon/ops.go:28-38) and held to the table by parity_test.go:21. The abstract-interfaces diagram must not show the route as generated.
    • git dependency: internal/config/scope.go:152-159 still shells out to git rev-parse. GIT's in-flight native resolution may remove this, so re-check it when that merges.
    • Finding 1 is routed as Root flake check fails on nixosConfigurations due to missing clan-core.clanModules #159 item 1. Related now includes Root flake check fails on nixosConfigurations due to missing clan-core.clanModules #159 (Findings 1, 2 and 4 are its items 1, 3 and 12) and Update dependency happy-dom to v21 [SECURITY] #136, and marks Bump openssl from 0.10.54 to 0.10.55 in /sources/pavex/examples/realworld #40 as closed.
    • Re-cited: DaemonClient is at daemon.ts:338 (still 22 typed methods) and parseFlags at root.go:52-67. Checked and unchanged: the 32/39 command counts, the three OpenAPI documents, go.mod:5-11, the four protocol revisions, and bare invocation.
    • Nothing in this issue repeated the /v1/complete or plugin-spawning errors.

    @dezren39 · 2026-09-30T12:17:26Z

    Issues pass (2026-09-30, architect follow-up). The binary-page note said the pure-Go resolver ignores the macOS resolver. It does not: since Go 1.20, net and os/user on macOS use the system resolver and user database without cgo (https://go.dev/doc/go1.20#cgo), so CGO_ENABLED=0 changes nothing there. The trade-off is Linux-only; the sentence now says so.

  3. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Oct 28, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 28, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane C shift
    • Session / ID: queue task 2741
    • Found via: queue claim
    • Task: Triage mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 (mcpx docs interface pages, relocated from mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs dezren39/darwin-nix#147) — dedupe against existing code issues, confirm/correct scope against current pkgs/mcpx main (its four findings especially), and enqueue the follow-up (or split). No implementation in this task.
    • Expectation: effort m (triage) — verdict comment on mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 + follow-up packet enqueued or split recorded
    • Links: issue mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 · page map mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848 · generated reference mcpx docs: markdown emitters in the binary and a drift check for every generated page #1846 · re-home mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309
  7. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — triage verdict: scope CONFIRMED with corrections — all four findings' code prerequisites are already resolved on current main; implementation split into sub-issues #2108 / #2109 with packets 3063 / 3064

    • Agent: queue worker (repo-worker-code), Lane C shift
    • Session / ID: queue task 2741 (triage)
    • Found via: queue claim
    • Dedupe: no existing code issue duplicates this page set. The neighbours are distinct and named: mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848 owns the level-2 page map/anchors (queue/queued), mcpx docs: markdown emitters in the binary and a drift check for every generated page #1846 owns the generated fragments these pages must link rather than copy, mcpx: the sources the reference would be generated from are incomplete, and several docs say what the code does not #1883 owns code-side prerequisite bugs, mcpx docs: site platform -- generator, GitHub Pages, subdomain, agent markdown (tracker) #1890/mcpx docs: choose the site generator (mdBook, MkDocs Material, Docusaurus, Starlight, Hugo) #1939/mcpx docs: build the site in CI and deploy to GitHub Pages #1941 own the site platform the pages will eventually render in. The pages themselves are unowned until this triage — pkgs/mcpx/docs on main has no interfaces/cli/mcp/binary/scripts/http-api pages.
    • Scope corrections against current main 82b019a0 (2026-10-29, via GitHub API) — the body's "Current state" is stale in the pages' favour:
      • Finding 1 (Commands() omits seven dispatched commands): RESOLVED. internal/cli/parity.go generates docs/parity.md and its guard set includes TestEveryDispatchedCommandIsDeclared — dispatch and declaration are held equal by test.
      • Finding 2 (three OpenAPI documents, one stale): RESOLVED. internal/cli/openapi.go is now generated from the /v1 operation table, the settings registry and the MCP tool list; its header comment records the stale hand-written serve-surface document it replaced. The /v1 spec is producible with no daemon running, as this issue recommended.
      • Finding 3 (two flag kinds): still true, and it is a page fact, not a bug — the cli-arguments page in split A states it as specified.
      • Finding 4 (dependencies.md says one library): RESOLVED. The doc now tables the real direct requires (sqlite, bubbletea, bubbles, lipgloss, yaml.v3 — go.mod also lists jsonschema/v6 and wazero, which the binary page must take from go.mod at claim time).
    • Split (per this task's acceptance): the twelve sections are two reviewable pieces, filed as sub-issues with packets enqueued —
      • mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108 → queue task 3063: interfaces (abstract + client), cli (overview, arguments, commands), binary, scripts.
      • mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109 → queue task 3064: mcp (overview, sdk, compatibility), http-api (/v1, /v1-sdk per Approach C).
        Both packets carry: re-verify every factual claim at claim time (this issue's citations are from 05c78b2 and have moved twice since), never hand-copy generated tables, and the mcpx docs: markdown emitters in the binary and a drift check for every generated page #1846-fragment rule for split B.
    • Open questions on this issue (host-compatibility claims, script-args rule for bun/node, plumbing grouping) stay open for the splits' implementers to settle or escalate — they do not block the pages whose content is already specified.
    • Links: page map mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848 · generated reference mcpx docs: markdown emitters in the binary and a drift check for every generated page #1846 · splits mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108, mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109
  8. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 29, 2026
  9. 18 remaining items

  10. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 3, 2026
  11. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane D
    • Session / ID: task 8022
    • Found via: queue claim
    • Task: Resuming task 8022 for issue mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 — script pkgs/mcpx/scripts/openapi-sdk-check.sh already pushed on branch queue/8022-1851-sdk-gen-check (787476d, verified locally by the prior slice: 87 paths, oapi-codegen v2.4.1, go build pass). Remaining: wire the script into .github/workflows/mcpx.yml, demonstrate failure on a broken spec, open a PR, and post evidence on issue mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851.
    • Expectation: s — done looks like a PR wiring the SDK-generation CI proof, with a recorded broken-spec failure demonstration.
    • Links: branch queue/8022-1851-sdk-gen-check
  12. dezren39
    added 2 commits that reference this issue on Nov 3, 2026

    feat(mcpx): generate full client in OpenAPI SDK check, wire into CI l…

    26b183a

    Merge pull request #4959 from developing-today/queue/8022-1851-sdk-ge…

    e7510b9
  13. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — SDK-generation CI proof landed in PR #4959 (merged, merge commit e7510b9)

    • Agent: queue worker (repo-worker-code), lane D
    • Session / ID: task 8022
    • Found via: queue claim (resume of the parked slice; script commit 787476d was already pushed)
    • Task: Wire the SDK-generation proof into CI, resolve or verdict the full-client generation collision, demonstrate failure on a broken spec, open the PR, post evidence here, and close issue mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 if this was its last open item.
    • Result: PR feat(mcpx): OpenAPI SDK-generation CI proof — generate + compile a client in CI (#1851 remainder) #4959 merged. pkgs/mcpx/scripts/openapi-sdk-check.sh now generates a full client (models + client) from the current /v1/openapi.json with pinned oapi-codegen v2.4.1 and go builds it; .github/workflows/mcpx.yml runs the script in the basic: lint job's existing nix develop .#mcpx-lint block next to go vet/gofmt.
    • Collision resolution (stronger proof, not just models): the copy of the spec fed to the generator renames the server path template variable to serverName (it redeclared oapi-codegen's server string builder parameter on /v1/call/{server}/{tool} and /v1/writes/{server}/clear; a template variable name is a label, not URL structure), and the generator config sets output-options.client-type-name: APIClient (the spec's Client enum constant collided with the generated Client struct). The published spec is untouched.
    • Evidence (laptop, Go 1.27.2): pass — script exit 0 (spec ok: 87 paths, OpenAPI 3.1.0; 149 request builders generated; go build pass; generated package also go vet clean). Fail — the same script against a deliberately broken spec (response schema $ref to a nonexistent DoesNotExist schema via a stub mcpx) exits 1 at generation (failed to load OpenAPI specification). Shellcheck (-x -P SCRIPTDIR --severity=warning): clean.
    • CI caveat: the mcpx workflow is currently disabled_manually in Actions, so PR feat(mcpx): OpenAPI SDK-generation CI proof — generate + compile a client in CI (#1851 remainder) #4959 got no live lint run; the only PR check, basic: production line limit (2500), was still pending at merge (unrelated line-count guard; this change is +50/−15 across 2 files). The check runs on the next enabled mcpx run touching pkgs/mcpx/**. Codex review on PR feat(mcpx): OpenAPI SDK-generation CI proof — generate + compile a client in CI (#1851 remainder) #4959 failed on Codex usage limits and posted zero findings — disposition recorded on PR feat(mcpx): OpenAPI SDK-generation CI proof — generate + compile a client in CI (#1851 remainder) #4959.
    • Closure: the docs pages landed via issue mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108 / issue mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109 (PR docs(mcpx): level-2 MCP and /v1 (http-api) pages B (#2109) #2484); this proof was the sole named remainder, so issue mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 closes with this note.
  14. dezren39
    closed this as completedon Nov 3, 2026
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  16. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 7758
    • Found via: queue claim
    • Task: Triage mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 (coverage re-triage) — revalidate the mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108/mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109 splits and route the named SDK-generation CI proof remainder if still untracked
    • Expectation: effort s (triage); done = verdict posted with fresh evidence and the remainder enqueued or named tracked
    • Links: splits mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108, mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109; PR docs(mcpx): level-2 MCP and /v1 (http-api) pages B (#2109) #2484
  17. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 7758 (triage, coverage re-triage) → follow-up queue task 8022
    • Found via: queue claim
    • Task: Triage verdict for mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 — revalidated fresh 2026-11-03
    • Verdict — PAGES LANDED; sole remainder routed as task 8022. The interface page set was split by triage task 2741 into mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108 (pages A: interfaces, CLI, binary, scripts) and mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109 (pages B: MCP and /v1) — both verified fresh this shift as CLOSED; mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109's PR docs(mcpx): level-2 MCP and /v1 (http-api) pages B (#2109) #2484 verified MERGED 2026-10-30T03:50:37Z (merge commit 3891731, docs present on main). The one named remainder, recorded on this issue by task 3064 and never given a task: the SDK-generation CI proof from this issue (generate one client from the current /v1/openapi.json and compile it in CI) — PR docs(mcpx): level-2 MCP and /v1 (http-api) pages B (#2109) #2484 documents Approach C generation but adds no such proof, and a fresh gh search this shift found no issue or task covering it.
    • Routing: remainder enqueued as queue task 8022 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:1851, packet packet-1851-sdk-ci.json in the goal hidden_files): design the CI check deliberately (it does not fit the Go-docs-test pattern), pin the generator, prove it fails on spec drift, post evidence here. mcpx docs: interface pages -- abstract and client interfaces, CLI, MCP, binary, script, /v1 and the SDKs #1851 stays open until task 8022 lands, then closes — its page work is complete.
    • Links: splits mcpx docs interface pages A: interfaces, CLI, binary, scripts prose pages (split of #1851) #2108, mcpx docs interface pages B: MCP and /v1 (http-api) prose pages (split of #1851) #2109; PR docs(mcpx): level-2 MCP and /v1 (http-api) pages B (#2109) #2484; page map mcpx docs: level-2 page map, and the configuration, modes and transport pages #1848 (closed); tracker mcpx docs: level 2 -- the 'ok i just installed this thing what even is it' layer (tracker) #1898
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.