GeezerVison is showing github.com — mcpx: generalised live add + generated declarations for bare binaries (split of #1875) · Issue #2118 · developing-today/code
mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118DescriptionSplit of #1875 by triage task 2769 (verdict on #1875, 2026-10-29). Slices 4+5 of the parent, plus one verification:
- Generalised live add.
/v1 has servers_add/servers_remove only (internal/api/ops_settings.go at 42796be). Add POST/DELETE equivalents for adapters, API specs and recipes with the same persist-to-config + reload semantics as /v1/servers, with CLI parity.
- Generated declarations for bare binaries. One-shot generation into an editable declaration file recording the binary name + version it was written against (runtime
--help parsing is rejected in the parent — generation is one-shot, human-edited after). mcpx adapter check validates the result.
- Verify OpenAPI's place on the tool-source interface: adapters became first-class via
mcpx adapter serve; confirm OpenAPI-produced tools ride the same namespace path, or bring them onto it, and record the finding on mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875.
Acceptance: a live-added adapter/spec/recipe is callable immediately and persists across restart; a generated declaration for a fixture binary serves and records its version; pkgs/mcpx go test ./... green in CI. Parent: #1875. Tracker: #1885.
Acceptance criteria
- A live-added adapter, API spec, or recipe (POST/DELETE
/v1 equivalents with persist-to-config + reload semantics, CLI parity) is callable immediately and persists across restart.
- A generated declaration for a fixture binary serves via the adapter path, records the binary name + version it was written against, and validates with
mcpx adapter check.
- OpenAPI's place on the tool-source interface is verified and the finding recorded on mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875.
- pkgs/mcpx
go test ./... is green in CI.
Activitydeveloping-today commented on Oct 29, 2026 added effort/lLarge: multi-day or open-ended; expect staged check-ins app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo) meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Oct 29, 2026dezren39 commented on Oct 29, 2026 Intake review
- Related: parent mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875 (slices 4+5), tracker mcpx: extensibility -- plugins, hooks, tool sources, embedding (tracker) #1885, sibling split mcpx: recipes as MCP tools + runtime on adapter declarations (split of #1875) #2117 (slices 1+3). A live fix task (3104) is already queued for this issue.
- Notes: Still live — filed today by triage task 2769's split of mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875, with file:line evidence against main at 42796be. Filed with no labels; normalized here.
- Risks: Three deliverables in one issue (live add ×3 kinds, generated declarations, OpenAPI verification) — the worker may reasonably land them as sequential PRs under this one issue rather than one large change.
- Suggested approach: Mirror the existing
/v1 servers_add/servers_remove persist+reload path for adapters/specs/recipes first; declaration generation second; record the OpenAPI finding on mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875 either way.
🤖 Fleet monitor intake enrichment, 2026-10-29. Acceptance criteria appended to the body (original preserved verbatim above it); labels normalized. dezren39 commented on Oct 29, 2026 🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane C shift
- Session / ID: queue task 2862 (triage of mcpx:
mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962)
- Found via: queue claim (triage of mcpx:
mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962)
- Task: Cross-linking a partial overlap found during mcpx:
mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962's triage.
- Expectation: Whoever works slice 2 of this issue reads mcpx:
mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962 first.
- Links: mcpx:
mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962, queue task 2862
Overlap notice (from triage of #1962, task 2862): slice 2 of this issue — "generated declarations for bare binaries: one-shot generation into an editable declaration file recording the binary name + version; mcpx adapter check validates" — overlaps the core of #1962 (mcpx adapter import: a declaration generated deterministically from completions/man/--help, with provenance incl. the binary's version, and check doing the version-drift comparison). #1962 is the older, fully-designed issue (relocated from dezren39/darwin-nix#295; source ladder, provenance fields, and the check comparison are specified there).
Recommended split of ownership, recorded on #1962's triage verdict: #1962 is canonical for declaration generation (its ship steps 2–5: --help source, provenance + check version comparison, completion parser/extraction, man); this issue keeps slice 1 (generalised live add) and slice 3 (OpenAPI verification), and slice 2 should be satisfied by #1962's generation work rather than a second generator. #1962's own step 1 (--bare passthrough) does not overlap this issue and is already enqueued separately (task 3260). dezren39 commented on Oct 29, 2026 Correction (queue worker, lane C, task 2862): the --bare follow-up for #1962 was enqueued as queue task 3258, not 3260 as stated in my cross-link above. Everything else in that note stands. dezren39 commented on Nov 11, 2026
Agent note — picked up and handed off
- Agent: OpenChamber scheduled lane (
repo-worker-code, any-o)
- Session / ID:
ses_e5e36e13797ffe09S0c3ZoN3UB, queue task 6260
- Finding: canonical PR feat(mcpx): live API-spec add/remove over /v1 + CLI parity (#2118 item a) #4637 remains open and Drew-owned, so this lane must not modify it or create competing work.
- Disposition: released claim via park; resume by revalidating PR ownership and state. No code changed.
dezren39 commented on Nov 11, 2026
agent-note:v1 — state: parked — lane any-b, task 6260 (issue #2118 item a, PR #4637).
Fresh revalidation 2026-11-11: PR #4637 OPEN, head 6f26f0e, NO labels (no held / user/owned / do-not-merge / do-not-auto-edit — authorship by the fleet account is not a hold per the 2026-11-07 rule, so the older Drew-owned verdict in the task progress is superseded on that point). But the PR is not mergeable: mergeStateStatus DIRTY / CONFLICTING against current main, and the Codex review on head 6f26f0e reports has_unresolved_findings: true. It needs a rebase plus Codex disposition, not a merge.
Coordination: the task lane row (fleet queue lane 6260) is assigned opencode with bound session ses_e5e37c941faffe30SE1EyCOtU3, and the assignment does not flip to direct — per runbook 1b that session owns the task. Parked 30 minutes naming the bound session; resume = that session (or a lane after the row clears) rebases PR #4637, dispositions the Codex findings, and merges on green. dezren39 commented on Nov 11, 2026 Parked by lane code-c (task 6260): this task has a bound opencode execution session — lane row 319, session ses_e5e37c941faffe30SE1EyCOtU3, executed_at 2026-11-11T01:34:47Z — which owns the task under the #8187 bound-session rule. Not flipping it direct and not creating competing work.
Fresh state for the owner session's resume:
Resume: bound session rebases PR #4637 onto current main, dispositions the 2026-11-08T19:12Z Codex round, runs pkgs/mcpx tests, merges when verified.
🤖 agent-note:v1 — queue task 6260 (lane code-c), parked 30m; bound opencode session owns the task. dezren39 commented on Nov 11, 2026
state: parked (bound opencode session owns task 6260)
task 6260 (small_fix) — issue #2118 — lane any-d, 2026-11-11
Claimed task 6260 and ran the lane assignment: the assignment row (id 319) is assigned_lane=opencode with a session already bound — session ses_e5e37c941faffe30SE1EyCOtU3, executed_at 2026-11-11T01:34:47Z. Per runbook 1b a bound session owns the task and the assignment never flips; PR #4637 (queue/6260-2118-apis-live-add, head 6f26f0e) is that work's artifact and stays untouched by this lane — no competing work, no duplicate PR.
Terminal for this claim: task 6260 parked 30 minutes naming the bound session. Resume: if the bound session's claim lapses and PR #4637 is still open/unmerged, the next claimant verifies it against current main (rebase + mcpx go tests) and merges, or closes it as superseded with evidence. dezren39 commented on Nov 11, 2026
Agent note — picked up, then parked
dezren39 commented on Nov 11, 2026
Agent note — lane code-c, task 6260
dezren39 commented on Nov 11, 2026
Agent note — lane code-c, task 6260
dezren39 commented on Nov 11, 2026
Agent note — lane code-c, task 6260
dezren39 commented on Nov 11, 2026
Agent note — task 6260 blocked session-bound (lane code-d)
dezren39 commented on Nov 11, 2026
Agent note — task 13398 PARKED (lane code-d): PR #4637 is owned by a bound opencode session and carries 4 unresolved Codex findings
The authorship blocker in this task's packet was answered by Drew's 2026-11-11 #7297 ruling, so the PR was revalidated per-item. It is not mergeable, for reasons that have nothing to do with authorship:
Parked 30 minutes naming the bound session. Resume: the bound session (or the steward acting on task 6260) dispositions the four Codex findings and lands CI; a shepherd claim then merges PR #4637 under the standing criteria. dezren39 commented on Nov 14, 2026 90-day closed-item review — WRONGLY_CLOSED, reopening with evidence (batch 104).
This issue was auto-closed on 2026-11-11T10:31:53Z, 2 seconds after PR #4637 merged. PR #4637's body says "Closes #2118 item (a)" — it implements only the API-spec write side of item 1 — and states in the same paragraph: "bare-binary generated declarations remain with the sibling packet coordinating with #1962." GitHub's keyword scan closed the whole issue on the scoped phrase "Closes #2118 item (a)" (the #787 mechanism: a closing keyword attached to a partial scope).
The remaining acceptance is not met:
- Item 2 / acceptance criterion 2 (a generated declaration for a fixture binary serves via the adapter path, records name + version, validates with
mcpx adapter check) is the subject of issue mcpx: mcpx adapter import — a declaration generated from completions, man and --help, and a loud --bare for the rest #1962, which is still OPEN today (verified via the GitHub API; its latest note, 2026-11-13, records residual acceptance still to be dispositioned and instructs keeping it open).
- Item 1's other parts are done (adapters via PR feat(mcpx): live add/remove for adapter declarations (#2118) #2565; recipes verified already present per PR feat(mcpx): live API-spec add/remove over /v1 + CLI parity (#2118 item a) #4637's body; API specs via PR feat(mcpx): live API-spec add/remove over /v1 + CLI parity (#2118 item a) #4637) — only item 2 (and the item-3 finding's home on mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875, closed 2026-11-10) were outside PR feat(mcpx): live API-spec add/remove over /v1 + CLI parity (#2118 item a) #4637, and item 2 is demonstrably still live work.
Classification in the review ledger: WRONGLY_CLOSED. Reopening so the item-2 remainder stays tracked here alongside #1962; when #1962's declaration work lands, this issue can close on that evidence. dezren39 commented on Nov 17, 2026
Agent note — state: triaged · task 18198, lane code-c
- Picked up: bulk-intake triage task 18198 for issue mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118, lane code-c, assignment direct.
- Fresh verification this shift (2026-11-16): issue mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Its status/blocked + queue/blocked labels are stale — no live blocked or parked queue task for this issue exists (lists checked this shift); cleared with this note.
- Disposition against the acceptance criteria, spot-verified on current origin/main:
- Live add for adapters and API specs: present — adapters_add (pkgs/mcpx/internal/api/ops_settings.go:155) and apis_add (:204); PR feat(mcpx): live add/remove for adapter declarations (#2118) #2565 (adapter declarations) and PR feat(mcpx): live API-spec add/remove over /v1 + CLI parity (#2118 item a) #4637 (API-spec add/remove, merged 2026-11-11) are merged.
- Generated declarations for bare binaries: present — buildGeneratedImport in pkgs/mcpx/internal/cli/adapter_import.go:419, with generation tests.
- Recipes live-add route: NOT found in ops_settings.go — unverified, the most likely remaining gap.
- OpenAPI tool-source finding for parent mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875, and the end-to-end acceptance (callable immediately, persists across restart, fixture declaration validates): not yet recorded.
- Routing (scoped follow-on, dedupe-checked): task 19695 enqueued — small_fix closeout: verify each criterion, implement only a verified-missing piece, record the OpenAPI finding on mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875, and close mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 when all criteria verify (dedupe repo-health:v1:fix:developing-today/code:issue:2118). The earlier closeout attempt (task 5574, 2026-11-02) did not finish and holds no live claim.
- Outcome for task 18198: completed as triaged, naming task 19695 as the follow-on.
dezren39 commented on Nov 17, 2026 🤖 Agent note · verification — task 19695
- State: mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 verified criterion by criterion against main
8046b00102 (2026-11-17). Three of four acceptance criteria verify complete; criterion 1 verifies for adapters and API specs but NOT for recipes. The issue stays OPEN for that one piece; a follow-on fix packet is filed (below).
- Criterion 1 — generalised live add:
servers_add (internal/api/ops_settings.go:109), adapters_add/adapters_remove (:155) and apis_add/apis_remove (:204) all exist, with daemon handlers in internal/daemon/routes_settings.go (handleAdaptersAdd :876, handleApisAdd) that persist the declaration to the first paths.adapters/paths.apis file and reload, plus CLI parity (adapter add, api add). Recipes gap (verified absent): no recipes_add/recipes_remove anywhere in pkgs/mcpx/internal/; the daemon exposes only GET /v1/recipes (routes_consumer.go:30). Recipes are .ts script files scanned by recipes.Load over recipes.Dirs() (internal/recipes/dirs.go) and re-scanned on every list/run via Server.loadRecipes() (consumer.go:904), so a live-add writes a file rather than a config declaration — its own design, now packeted.
- Criterion 2 — generated declarations:
buildGeneratedImport (internal/cli/adapter_import.go:419) generates the declaration, records the binary name and the version it was written against (:30, :519-521) so mcpx adapter check reports drift; the generation test suite passes (below).
- Criterion 3 — OpenAPI on the tool-source interface: already recorded on parent mcpx: anything as an MCP server -- scripts, bare binaries, recipes, plugins, as first-class namespaces #1875 by task 3104 —
augmentAPIs registers every paths.apis declaration as a first-class server (PR feat(mcpx): declared OpenAPI APIs are first-class servers (#2118) #2514), riding the same pool/ls/search/catalog path as configured servers and adapters. Nothing further owed.
- Criterion 4 — tests: targeted suite green locally at this main:
internal/cli ok (44.1s, includes the generation and add-command tests), internal/api ok, internal/recipes ok, internal/adapter ok. Full go test ./... exceeds a 15-minute local run (e2e legs), and recent main CI is cancellation-dominated (last 30 mcpx-test runs all cancelled), so no fresh green CI run exists to cite; the packet's follow-on re-checks CI.
- Follow-on: recipes live add (
POST/DELETE /v1/recipes + handlers + CLI parity) is packeted as a small_fix (packet: packet-2118-recipes-fix.json, dedupe repo-health:v1:fix:developing-today/code:issue:2118) and enqueued as this task completes. When it lands, every criterion verifies and mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 can close.
dezren39 commented on Nov 18, 2026
Agent note — task 20701 parked after revalidation
- Agent: OpenChamber scheduled lane (
repo-worker-code, oc-code-01)
- Task: 20701, follow-on for mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 recipes live add/remove
- Finding: mcpx: generalised live add + generated declarations for bare binaries (split of #1875) #2118 remains OPEN and assigned to
dezren39. The packet's premise that recipes have no POST route is stale: POST /v1/recipes/{name} is registered in pkgs/mcpx/internal/daemon/routes_consumer.go:32; handleRecipeSave writes via recipes.SaveDir (line 195+); API op recipe_save is in internal/api/ops_consumer.go:73; CLI parity currently is mcpx recipes save (internal/cli/consumer.go:352).
- Remaining: implement
DELETE /v1/recipes/{name} and CLI remove parity; audit cross-directory duplicate detection, overwrite/replace behavior and project/user scope against recipes.Dirs() and the packet. Existing save only checks the target file and does not cover that full contract.
- Disposition: parked for a dedicated mcpx implementation session; no code changed. Resume from the narrower missing slice above. Queue task 20701 parked for 30 minutes.
backlog_updated: false.
dezren39 commented on Nov 18, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|