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: administration by intent — finish the operation surface, then route a sentence to a declared operation · Issue #1931 · developing-today/code

mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931

New issue
Copy link
New issue
Copy link
Open
1 / 11 of 1 issue completed
Open
mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation#1931
1 / 11 of 1 issue completed
Copy link
Labels
enhancementNew feature or requestepic/mcpx-platformReprioritization program epic (2026-11-12)kind/enhancementsource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item
Milestone
mcpx platform program

Description

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

Relocated from dezren39/darwin-nix#113 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: #176

Summary

"Tell mcpx to do a thing and it tries its best" — administration by intent rather than by remembering which of sixty operations does what.

Most of the specific operations listed in the note already exist, and the ones that do not should be built as ordinary declared operations first, because the ops table is the thing that makes them reachable from every surface at once. The prompt layer on top is then a router from a sentence to an operation, not an interpreter that invents behaviour — which also answers the note's own parenthetical, "(same interface for this and clients? plugins?)": mcpx already solved that, and the answer is the ops table.

The second bullet — provisioning arbitrary languages, tools and repositories — is a genuinely different and much larger problem, and is treated separately below.

Original notes

  • mcp-owned opencode api support
    • install any language/tool/framework/library, clone whatever repo.
    • 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?)

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

The "same interface" question is already answered architecturally. One ops table (internal/api/ops*.go) generates HTTP routes, MCP tools and the OpenAPI document; internal/settings gives every setting a config key, an MCPX_* variable, a CLI flag, /v1/settings and an MCP tool; the repository has an automated parity check (internal/api/parity_test.go). The rule is CLI = /v1 = MCP = plugin.

Against the note's list:

asked for exists today where
add/remove/configure an mcp yes POST /v1/servers, DELETE /v1/servers/{name}, mcpx servers, live add/remove
find an mcp that is not configured yet yes GET /v1/registry/search, mcpx registry search|show|add (internal/cli/registry.go:15; there is no mcpx connect)
get config yes GET /v1/settings, GET /v1/settings/{path}, mcpx config, mcpx schema
reconfigure yes PUT /v1/settings/{path} with persist, DELETE /v1/settings/{path}
restart mcp servers yes POST /v1/refresh, POST /v1/restart, mcpx refresh/restart
administrate / inspect yes /v1/status, /v1/health, /v1/stats, /v1/log, /v1/events, mcpx doctor, mcpx daemons
exec/run whatever yes POST /v1/exec, mcpx exec/run, mcpx api, CLI→MCP adapters
stop the daemon yes POST /v1/shutdown, mcpx stop
release a session's hold on an instance partly POST /v1/session/release — releases, does not kill
kill a session no there is no session-level operation beyond release
force-detach no mcpserver.Detached() is an internal notion of a connection with no client; there is no operation to force an instance off its holder
resume dead sessions no nothing persists or revives a session
install/remove mcpx itself no no mcpx install; the command list is 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 (internal/cli/manual.go; the dispatch table at cmd/mcpx/main.go also has registry, adapter, api, openapi, serve, man, completion — none installs mcpx)
prompt-driven administration no mcpx prompt / POST /v1/intent exists but targets scripts, not operations: it matches a recipe or generates TypeScript (docs/consumer.md §4)

Also relevant: #76 already tracks the operations that exist on /v1 and MCP but have no CLI command (resolve, protocol, artifacts, tasks, ask) and proposes generating the CLI from the ops table so it cannot fall behind again. That is the same rule this issue depends on, from the other direction.

Approaches

Approach A — least recommended: a POST /v1/admin that takes a sentence and does its best

One endpoint, free-text in, a model with shell access behind it.

Why not:

  • It bypasses the one invariant the codebase enforces automatically. Every capability in mcpx is declared once and appears on four surfaces. A prompt endpoint that "does its best" is a capability surface with no declaration, no schema, no OpenAPI entry, no parity test, and no way for mcpx schema to tell you what it can do. The parity test would pass while the actual surface area doubled invisibly.
  • It is strictly more powerful than the sum of the declared operations, because "do a thing" includes things nobody decided to expose. Every bounded operation mcpx has — settings_set with its persist scope, servers_remove with its project/user scope — becomes bypassable.
  • Irreversibility. "Tell it to remove itself" executed by a model that misread the request is not recoverable, and there is no dry-run, no confirmation and no audit trail unless each is built anyway — at which point the declared-operations approach was the cheaper route.
  • Undiagnosable failures. When a declared operation fails you get a structured error. When "do your best" fails you get a paragraph.

Approach B — middle: finish the deterministic surface, no prompt layer

Build the missing operations properly and stop:

  1. Session operations as a group. GET /v1/sessions (what exists, what each holds, idle time, pid), POST /v1/sessions/{id}/release (generalising the existing endpoint), DELETE /v1/sessions/{id} (kill: release holds, cancel in-flight calls, drop state). The data is already there — the disambiguation elicitation from Bump build/buck/preludes/buck2-prelude from d956689 to 6f75473 #41 renders exactly this per instance: "holders, calls, idle time, pid — because a choice without that is not a choice."
  2. Force-detach. POST /v1/servers/{name}/detach with a scope key: take a pooled instance away from whatever holds it. The pool already knows which scope key a connection serves (docs/protocol.md §3.4). Needed for the case where a holder died without releasing, which today requires restarting the daemon.
  3. Resume a dead session. Depends on what a session is that could survive: today it is a scope key plus pooled instances, and reviving it means re-establishing leases, not restoring state. Worth scoping honestly — "resume" may only ever mean "reattach a new caller to the same scope key and its still-warm instances", which is useful and achievable, versus "restore a session that ended", which needs the event store (Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 4371899 #6) and possibly per-server state that servers do not expose.
  4. Self-management. mcpx install / uninstall / upgrade — harness registration (writing mcpx into an agent's MCP config), service installation (launchd/systemd), and the reverse. docs/proposals.md §"Harness integration and installation" and §"Packaging and service management" already design this; mcpx init exists as the nearest thing. Note it is partly outside the daemon's reach: a daemon cannot cleanly uninstall the binary running it, so the CLI owns that half.
  5. Update Rust crate clap to 4.5.4 - autoclosed #76's missing CLI commands, generated from the ops table.

After that, "administrate mcpx" is fully expressible as declared operations on all four surfaces — which is most of the note's list, done deterministically, with schemas and errors and an audit trail.

Approach C — recommended: B, then extend mcpx prompt to route to operations as well as scripts

Do B. Then make the prompt layer a router over the declared operations, not a general executor. Three things make this small, safe and mostly already built:

1. mcpx already publishes a machine-readable description of every operation it has. GET /v1/openapi.json is generated from the ops table with full parameter schemas and descriptions (internal/cli/openapi.go — "it cannot describe an endpoint that does not exist or omit a parameter that does"). So operation selection is a constrained choice from a known list with known arguments — the same problem shape as tool-calling, which models are good at, rather than open-ended generation, which they are not.

2. It is the same code path /v1/intent already runs. Today intent ranks recipes, then optionally generates a script. Add a third candidate class — operations — ranked by the same deterministic scorer over name, description and parameter names, with the same recipes.matchMargin refusal when the leader is not clearly ahead. mcpx prompt "restart the github server" should match POST /v1/refresh deterministically, with no model at all, exactly as recipe matching does today. That is most requests, for free.

3. The existing gates apply unchanged. prompt.mode: script becomes prompt.mode: plan for operations: return what it would do — operation, arguments, effect — and execute only on explicit confirmation or mode: run. Destructive operations route through elicit.confirmDestructive's existing policy, and an unanswered confirmation refuses, because "there, doing nothing is safe" (docs/consumer.md §2). Every operation the router may reach must carry an explicit annotation in the ops table. Corrected at 05c78b2: most of that already exists — Op has Admin, Mutating and Destructive (internal/api/ops.go:59-67), and Op.Annotations() (:654-667) maps them to MCP readOnlyHint/destructiveHint/idempotentHint. Five operations are marked destructive (restart, shutdown, servers_remove, artifact_delete, ask_abandon). What the router needs is for its confirmation gate to read those flags, and an audit that the marks are complete; a separate Irreversible is only worth adding if some operation turns out to be one and not the other (Destructive is already documented as "cannot undo").

#181 collisions 3 and 5: prompt.mode: plan is one of three autonomy dials. #111 carries the one vocabulary, decided in a decision record SURFACES is writing under pkgs/mcpx/docs/decisions/; the mode names here are input to it, and this issue adopts what it decides. The daemon-set ceiling a caller may lower but not raise is #185.

So: no new endpoint. POST /v1/intent gains a scope parameter (scripts | ops | any), and mcpx prompt gains the same flag. That satisfies the note's requirement — a prompt-based way to administrate — while the actual capability surface stays exactly the set of declared operations. And it answers "(same interface for this and clients? plugins?)" with: yes, necessarily, because the router's entire vocabulary is the ops table, which is already the shared interface.

The provisioning bullet is a different feature

"Install any language/tool/framework/library, clone whatever repo" is not administration of mcpx; it is arbitrary environment mutation on the daemon's host. It is also a real need — #112's motivating example is "I added a bunch of dependencies please make sure they exist where the job runs" — and today mcpx has nothing for it: exec runs in a content-addressed workdir with a runtime that is already installed.

What exists to build on: script.runtime (auto/deno/bun/node), and the installed toolchain here is Node v24.20.0, Deno 2.9.6, Bun 1.3.11, Python 3.14.7, uv 0.9.28. Deno and Bun both resolve npm: and jsr: specifiers at import time with no install step, and uv run --with <pkg> does the same for Python — so for the two ecosystems mcpx scripts actually use, "make sure the dependencies exist" is already solved by the runtime, and the honest first answer to the bullet is a documented convention plus a preflight check that the specifiers resolve, not an installer.

Beyond that, three levels, and they should be separate decisions:

level what it is verdict
declared dependencies a script header declares // @dep npm:zod@3, // @dep py:httpx; mcpx verifies resolvability in preflight and reports precisely what is missing do this; it is deterministic, matches the existing @param recipe-header convention, and makes the failure legible instead of a runtime import error
managed provisioning mcpx materialises the declared dependencies into the run's workdir — a lockfile, a per-run cache keyed by the existing content-addressed workdir scheme, uv/bun install under the hood plausible, scoped, cacheable; a real feature with real value, worth its own issue — #103/#104 under #175 are where it lands
arbitrary install / clone by prompt a model decides what to install and runs a package manager or git clone the only genuinely agentic operation in this whole theme. If it happens at all it should be a recipe — a saved, reviewable script exposed as an operation with its own confirmation — not an unnamed capability of the prompt router. And it should run somewhere disposable; the daemon's host is not that.

Recommended split: declared dependencies now, managed provisioning in #103/#104, arbitrary provisioning deferred and reconsidered only after the confinement question has an answer.

Open questions

  • What is a session, precisely, such that it can be killed and resumed? This needs settling before the session operations can be specified; it touches Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 4371899 #6 (event store) and fix(deps): update rust crate leptos_router to v0.8.17 #78 (daemon state correctness).
  • Should force-detach notify the dispossessed holder? An MCP client that loses an instance mid-call will see a confusing error otherwise.
  • Do Destructive/Irreversible annotations on ops belong in this issue or in the ops-table work Update Rust crate clap to 4.5.4 - autoclosed #76 is already doing? Probably Update Rust crate clap to 4.5.4 - autoclosed #76 — flag it there. They exist (internal/api/ops.go:59-67). What is open is whether every op is marked correctly — an audit that belongs with Update Rust crate clap to 4.5.4 - autoclosed #76, which is regenerating the CLI from the same table.
  • Should intent --scope ops be allowed to chain operations ("add this server then refresh")? Sequences multiply the blast radius; a plan-then-confirm flow handles it, but it needs a transaction story for partial failure.
  • mcpx install: which harnesses, and does the plugin install itself? build(deps): bump actions/checkout from 3 to 4 #47 owns the plugin half (Bump rustls-webpki from 0.100.1 to 0.100.2 in /sources/pavex/examples/realworld #44 is closed, fixed in chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to 880be56 #53: the plugin needs no binary).
  • Is the route to run a deterministic provisioning step better served by the CLI→MCP adapter mechanism (declare uv, git and bun as adapter servers) than by anything bespoke? That would make "clone whatever repo" a declared tool with declared parameters and no shell escape — internal/adapter's stated design goal is exactly "not a general shell escape". Likely yes, and it is cheap.

Ease · Impact · Related

Ease L overall; the session/detach operations are M, the prompt-routing layer is M given /v1/intent exists, mcpx install is M, and provisioning is L–XL and should be split out · Impact medium-high — mostly it makes an existing surface reachable by people who do not have the ops table memorised, which is the actual complaint.

Depends on / related: #76 (hard prerequisite, in flight with SURFACES: CLI parity for /v1-only ops — the same rule, and the table the op annotations live in), #111 (owns the autonomy dial plan must adopt — #181 collision 3), #185 (owns ClampedBy — collision 5), #41 (closed, fixed in #58: /v1/intent, recipe matching, elicitation defaults — this extends all three), #6 (event store, for session resume), #78 (daemon state/cache correctness), #5 (config chain, for persist scoping), #52 (closed, fixed in #182 with stop --all over the daemon info files and a 60 s idle exit — existing operations, so it no longer argues for the session operations here), #103/#104 (managed provisioning). Siblings: #110 (the router's model), #112 (the dependency-provisioning example), #115 (intent --scope ops is what acts on its feedback).

Security/auth deferred; see tracker.

Sub-issues

Collapse Sub-issuesSub-issues

1 of 11 of 1 Issues completed
Loading 1 sub-issues

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-857

  2. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

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


    @dezren39 · 2026-09-30T07:21:52Z

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

    • Tracker: Nix Playwright E2E suite fails after vendoring dependencies #176 (the AI layer and search)
    • Siblings under that tracker: Bump build/buck/preludes/buck2-prelude from d956689 to d460fcc #109 Bump build/buck/preludes/buck2-prelude from d956689 to 52604b1 #110 Bump checkmarx/ast-github-action from 2.0.19 to 2.0.23 #111 Update module gopkg.in/go-jose/go-jose.v2 to v2.6.3 [SECURITY] - autoclosed #112 Update checkmarx/ast-github-action digest to 6c56658 - autoclosed #114 Update github.com/charmbracelet/promwish digest to 6c16e8f - autoclosed #115
    • Root: Phase 3: sync, blob gate, and relays #181
    • Proposed order: phase 6 -- the big bets, in dependency order

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

    Integration pass -- cross-theme collision. Surfaced only when the themes were put side by side; the authors of these issues could not see each other's work. Recorded at the root in #181.

    Three autonomy dials, independently invented

    #111's repair.level, #112's hook effect, and #113's prompt.mode: plan are the same dial. Settle it in #111, which is the earliest of the three. Otherwise a user learns three vocabularies for one concept.

    Also on: #111 #112. Nobody currently owns this.


    @dezren39 · 2026-09-30T07:28:02Z

    Integration pass -- cross-theme collision. Surfaced only when the themes were put side by side; the authors of these issues could not see each other's work. Recorded at the root in #181.

    ClampedBy is a settings-registry feature with no owner

    #111 proposes floor/ceiling clamping -- a daemon sets a maximum, a caller may lower but not raise -- and #112 and #113 both need it. It currently exists only as a paragraph inside #111. It is an internal/settings capability, not a repair feature; whoever reaches it first will implement it, and the other two will implement it again differently.

    Also on: #111 #112 #172. Nobody currently owns this.


    @dezren39 · 2026-09-30T07:29:06Z

    Integration pass — a line from the user's notes that no issue was quoting.

    A coverage audit of both source notes files against all 113 issues in this repository found
    exactly one non-empty line with no home: the paragraph that closes the first notes file. It is an
    instruction rather than a feature, which is why every writer obeyed it and none of them quoted
    it. Recording it here, and canonically at the root in #181.

    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.

    It lands on this issue in particular because this is the one issue whose entire argument is that
    form. The notes asked for "prompt-based served endpoints"; this issue answers with the existing
    ops table plus a router, rather than a dozen hand-written /v1/admin/* routes. That is the rule
    being applied, so it should be visible here.

    Worth keeping in view while implementing: internal/api/ops*.go declares an operation once and
    generates the route, the MCP tool and the OpenAPI entry from it, and internal/api/parity_test.go
    already fails if a route exists without a declaration. Declaring more operations is cheap;
    hand-writing endpoints is what the guard test is there to stop.


    @dezren39 · 2026-09-30T11:06:09Z

    Collision ownership (issues pass, 2026-09-30, at 05c78b2). #181 listed these cross-theme collisions with no owner. Each now has one:

    #181 row Collision Owner What the owner decides
    3 three autonomy dials (#111 repair.level, #112 hook effect, #113 prompt.mode: plan) #111, via a decision record SURFACES is writing under pkgs/mcpx/docs/decisions/ (in flight; linked here when it merges) One dial vocabulary; #111 carries it because it is the earliest of the three. The ceiling mechanism is #185.
    5 ClampedBy -- a daemon ceiling a caller may lower but not raise #185 (new) A settings-registry capability, owned by its own design issue under #176. #111, #112 and #113 consume it.

    Where this issue is the owner, the decision is made here; where it is not, it adopts the owner's decision rather than making its own.


    @dezren39 · 2026-09-30T11:57:47Z

    Issues pass (2026-09-30, at 05c78b2).

    • Added Parent: #176.
    • Wrong: "MCP tool annotations, which mcpx currently generates without them." Op already has Admin, Mutating and Destructive (internal/api/ops.go:59-67). Op.Annotations() (:654-667) maps them to MCP readOnlyHint, destructiveHint and idempotentHint. Five ops are marked destructive: restart, shutdown, servers_remove, artifact_delete and ask_abandon. Corrected in place. What remains is for the router's gate to read them, plus an audit of coverage (with Update Rust crate clap to 4.5.4 - autoclosed #76). The matching open question is struck and restated.
    • mcpx connect does not exist. The command is mcpx registry search|show|add (internal/cli/registry.go:15). Fixed in the table.
    • chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to e7457f6 #52 is closed (fixed in Phase 5: tag event bodies must travel with the event #182 by stop --all over the info files and a 60 s idle exit). Those are existing operations, so it no longer argues for the session operations here. Related: updated. Bump rustls-webpki from 0.100.1 to 0.100.2 in /sources/pavex/examples/realworld #44 is marked closed (fixed in chore(deps): bump build/buck/preludes/buck2-prelude from d956689 to 880be56 #53).
    • Collisions 3 and 5: prompt.mode: plan defers to Bump checkmarx/ast-github-action from 2.0.19 to 2.0.23 #111's dial vocabulary (via the SURFACES decision record) and to Phase 5: who may clear a tag claim #185's ceiling. The mode names are kept as input.
    • Kept the hard dependency on Update Rust crate clap to 4.5.4 - autoclosed #76 (in flight with SURFACES). Pointed managed provisioning at Bump build/buck/preludes/buck2-prelude from d956689 to 062245a #103/Bump tracing from 0.1.38 to 0.1.40 in /sources/pavex/examples/skeleton #104. Siblings are named by number. Label design added. Ease/Impact unchanged (L / medium-high).

    @dezren39 · 2026-09-30T16:58:19Z

    Decided (SURFACES, 0002-autonomy-dial, merged in #228).

    What changes in this issue:

    • prompt.mode: plan is prompt.autonomy: propose on the shared dial. The shipped prompt.mode: script is propose and run is run; the setting is renamed with no alias (no users). An unknown value is rejected -- today plan silently means script.
    • Routing to an operation at run still passes every consent gate, so a destructive operation still asks.
    • Found: a caller's prompt.mode from the environment, --prompt-mode or PUT /v1/settings is ignored, because the daemon reads a private settings set once at start (daemon/consumer.go), and the PUT answers applied: true anyway. The rename must read the policy per request.
    • Update Rust crate clap to 4.5.4 - autoclosed #76 (this issue's hard dependency) is in fix(id): refuse a complete journal line this binary cannot read #244: every /v1 operation gets a CLI command generated from the ops table, so the intent router's vocabulary is the whole table.

    @dezren39 · 2026-09-30T19:35:57Z

    Follow-up: the rename and the bug from the decision comment above are done in #266. prompt.mode is prompt.autonomy: propose|run (MCPX_PROMPT_AUTONOMY, --prompt-autonomy); the body field on /v1/intent and /v1/recipes/{name}/run is autonomy, and an unknown value such as plan is a 400. The daemon now resolves the prompt/recipe policy per request, so a caller's env, flag or PUT /v1/settings reaches it. autonomy.max/ClampedBy are not added yet: per 0002 they land enforced with a refusal test, when something consumes them.


    @dezren39 · 2026-10-28T22:27:15Z

    Triage verdict (task 2156, repo-health-nix-pilot): CONFIRMED + RELOCATED — the ops table is finished for the operations that existed, but the five gaps this issue names are still gaps, and the sentence-to-operation router does not exist. Implementation routes in developing-today/code; no fix packet in this repo.

    Verified against current main on both sides (nix 224c7b738e88c7a8e5d406987a7d88257e229db2, code d2cb60fe8e08cd6fee149b930187b610299c1fa7):

    • Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed #113 is OPEN with labels enhancement, design — no hard-stop labels. Parent tracker Nix Playwright E2E suite fails after vendoring dependencies #176 is OPEN.
    • The mcpx source no longer lives in dezren39/nix: no pkgs/mcpx at HEAD; the extraction plan (planning/plans/mcpx-extraction.md, steps 4–5, lab-ops-hub container crawler accepts inet_aton IPv4 spellings (127.1, 2130706433, 0x7f.1) — loopback SSRF bypass in validate_crawl_url #468) records the build switch and deletion done 2026-10-19, and this repo now only builds mcpx from the pinned code rev.
    • In developing-today/code, the ops surface the issue surveyed is intact (internal/api/ops*.go, one table generating HTTP/MCP/OpenAPI), and the gaps it named are still exactly gaps:
      • Kill a session: no. The only session operation in the table is session_release (internal/api/ops.go:527, POST /v1/session/release) — releases, does not kill, as the issue said.
      • Force-detach: no. No force-detach operation anywhere in ops*.go or the daemon routes.
      • Resume dead sessions: no. No resume operation; the word survives only in unrelated comments (e.g. internal/daemon/server.go:1244, a connection resuming, not a session revival operation).
      • Install/remove mcpx itself: no. No install command in the CLI dispatch/manual.
      • Prompt-driven administration: no. POST /v1/intent (internal/api/ops_consumer.go:103) is still "A request in words, a script back" — it matches a recipe or generates a script via sampling; it does not route a sentence to a declared operation, and per this issue's own ordering it should not until the missing operations exist as ordinary declared operations first.
    • No re-homed equivalent of Update module github.com/jackc/pgx/v5 to v5.5.4 [SECURITY] - autoclosed #113 exists in developing-today/code; the relocation pass for the Nix Playwright E2E suite fails after vendoring dependencies #176 tree is still owed under mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309, OPEN.

    Route: no small_fix packet in dezren39/nix — this repo holds no mcpx source to fix. The scoped order the issue itself prescribes (declare the missing session operations as ordinary ops first, router last) belongs with the source in developing-today/code, referencing #113, via the #309 relocation pass; per the cross-repo rule, do not re-file it there. #113 stays open on the nix side until implemented there or transferred. The second bullet (provisioning arbitrary languages/tools/repos) is the separate, larger problem the issue already splits out — nothing in this triage changes that split.

  3. dezren39
    added
    enhancementNew feature or request
    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 29, 2026
  5. dezren39
    added a parent issue on Oct 29, 2026
    • mcpx: the AI layer and search -- where a model comes from, and everything that would use one (tracker) #1891
  6. 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
  7. 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), OpenChamber scheduled lane
    • Session / ID: queue task 2827
    • Found via: queue claim
    • Task: Code-side triage of this relocated mcpx issue (was mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation dezren39/darwin-nix#113): dedupe in this repo, scope confirmation against current pkgs/mcpx, and the implementation follow-up. No implementation in this task.
    • Expectation: verdict below, plus a follow-up packet (or a split).
    • Links: re-home tracker mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309 · re-homed parent mcpx: the AI layer and search -- where a model comes from, and everything that would use one (tracker) #1891
  8. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Triage verdict (task 2827): CONFIRMED — no duplicate, scope holds at current main, slice 1 routed as queue task 3226

    Code-side triage of the relocated issue (was dezren39/darwin-nix#113). Revalidated fresh at developing-today/code main c58507a3630e1a5a4935b3279a61c7fb59e3c65b (2026-10-29).

    Revalidation

    • mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 is open, labels enhancement only before this task; no held, user/owned, do-not-merge or do-not-auto-edit. Re-home tracker mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309 is open; re-homed parent mcpx: the AI layer and search -- where a model comes from, and everything that would use one (tracker) #1891 (was nix#176) is open.
    • No superseding PR and no branch owns this work (gh search issues/prs for administration/intent routing returns nothing else).

    Dedupe — checked, nothing closed

    Searched every open app/mcpx issue plus the terms ops table, intent, prompt, session, install, administration, session inventory holders pid:

    • mcpx: natural language to script -- a sentence in, a reviewed script (or its result) out #1961 (nix#294, natural-language-to-script) is the nearest neighbour and is already closed as largely implemented (triage task 2861; remainder in task 2904 / PR mcpx prompt: caller-supplied model/provider on the intent path + remove the MCP sampling fallback from generate() (#1961) #2004). It covers turning a sentence into a script; it does not cover a session inventory, and it does not route to operations. Not a duplicate.
    • mcpx: checking, refusing and repairing a request — a graded ladder from deterministic diagnostics to rewrite-and-run #1927 (nix#111) is the check/refuse/repair ladder for a request; mcpx: /v1/exec leaves session-scoped servers running, /mcp never rebuilds its surface, /v1/protocol reports the default nativeElicit, stats reads one opencode database #1942 is the bug where /v1/exec leaves session-scoped servers running; mcpx: the AI layer and search -- where a model comes from, and everything that would use one (tracker) #1891 is the re-homed AI-layer tracker. None covers the deterministic operations or the router.
    • No open issue covers a GET /v1/sessions, force-detach, session kill or mcpx install. Nothing to close, no two-way links needed.

    Scope confirmed against current pkgs/mcpx — the gaps are still exactly gaps

    • Session kill / inventory: no. The only session operation in the table is session_release (internal/api/ops.go:527, POST /v1/session/release; docs/parity.md:105). There is no GET /v1/sessions.
    • Force-detach: no. No such operation in ops*.go or the daemon routes.
    • Resume: no. Nothing persists or revives a session.
    • Install/remove mcpx: no. No install command in the dispatch table or manual.
    • Prompt → operation routing: no. POST /v1/intent (internal/api/ops_consumer.go:103) still matches a recipe or generates a script; its params are prompt, autonomy, placeholders, session — no scope/ops candidate class.
    • The inventory data already exists: pool.Status() / InstanceStatus (internal/pool/pool.go:1250-1302) reports id, pid, holders, key, calls, uptimeSec and idleSec. Generated CLI commands for /v1 operations already exist (internal/cli/opcmd.go), so a new op reaches CLI/MCP/OpenAPI without hand-writing either.

    Two numbering corrections kept for the record: the body's Parent: #176 is nix numbering — the re-homed tracker is #1891 (root #181 → #1900); and its hard dependency #76 (CLI generated from the ops table) has no re-homed issue yet — that is owed by the #309 relocation pass, though the generator already ships (internal/cli/opcmd.go, docs/parity.md).

    Routing — the issue's own order, one slice at a time

    The issue prescribes deterministic operations first and the router last. The queue's fix key for issue #1931 is now used by the first slice, so the remainder must be split into child issues (one fix key each) rather than re-enqueued under #1931:

    1. Routed now — task 3226: declare GET /v1/sessions (session inventory), reusing pool.InstanceStatus. No design question is open on it, and it is what a router or a human needs before kill/detach make sense.
    2. Remaining, in the issue's order and each needing its own issue once slice 1 lands: session kill + release generalisation (depends on settling "what is a session" for resume), force-detach, resume (design first — mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931's open question), mcpx install/harness registration, then intent --scope ops routing over the whole table with the autonomy/confirmation gates this issue specifies.

    No implementation was done in this triage.

  9. dezren39
    added
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  10. 95 remaining items

  11. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triaged)

    • Agent: repo queue worker, lane code-b (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-code-b run 2026-11-16 19:28 CST; task 18175
    • Task: task 18175 (triage packet, bulk intake 2026-11-16) for issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931: mcpx: administration by intent.
    • Fresh verification (2026-11-17): issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 OPEN, labels enhancement / task/triage / kind/enhancement / epic/mcpx-platform, no status/needs-triage, no held / user/owned / do-not-merge / do-not-auto-edit labels. Per runbook §1c this packet completes as triaged naming the existing triage of record: task 7780 (2026-11-12) recorded the refreshed verdict and the remaining ordered slices (slice 1 landed via PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594, merged at 373d23b; issue deliberately kept open for the remaining slices), confirmed unchanged by follow-on task 15296 the same day. No new triage performed and no duplicate follow-on enqueued; the remaining slices proceed via the packets that triage emitted.
    • Links: task 18175 · issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 · task 7780 · task 15296 · PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594
  13. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  14. dezren39
    removed their assignment
    on Nov 20, 2026
  15. developing-today
    added
    status:in-review
    on Nov 24, 2026
  16. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #14246 from developing-today/queue/22381-1931-sess…

    e33991f
  17. dezren39
    added a commit that references this issue on Nov 26, 2026

    fix(mcpx): resync dogfood plugin copy and move reap retry into defaul…

    ac4affb
  18. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 24915
    lane: any-xalthakfnckkeelmbdblpaknikafidpebfbipf
    state: done
    worker: xaltha
    finding: Triage revalidated 2026-11-26 (queue task 24915, coverage reconciliation import). #1931 remains OPEN and live; completed as triaged, no duplicate implementation started.

    Triage verdict (task 24915): CONFIRMED — keep #1931 open; slice 1 landed, remaining declared-operation slices still unbuilt

    Fresh verification by lane xaltha, 2026-11-26:

    • Issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 is OPEN, labels include enhancement, epic/mcpx-platform, status:in-review, task/triage; no held / user-owned / do-not-merge labels. No open PR references mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931, and no live claim by another lane was found in the issue comments.
    • Slice 1 remains landed: PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594 (sessions_read, GET /v1/sessions) merged 2026-11-04 at 373d23b; the op is still declared in pkgs/mcpx/internal/api/ops.go on current main.
    • Remaining slices confirmed still absent on current main (checked pkgs/mcpx/internal/api/ops*.go): no session kill (DELETE /v1/sessions/{id}), no force-detach (POST /v1/servers/{name}/detach), no session resume, no mcpx install/uninstall/upgrade self-management, and POST /v1/intent still targets scripts/recipes only — it has no scope parameter routing to declared operations. The sessions_read op description itself notes killing, detaching and resuming do not exist yet.
    • No separate child issues exist for the remaining slices; they remain tracked here, in Approach B/C order: (1) session operations group (generalised release, kill), (2) force-detach, (3) resume-as-reattach scoping, (4) self-management CLI, (5) Update Rust crate clap to 4.5.4 - autoclosed #76 generated CLI commands, then (6) the Approach C intent router over declared operations with the existing Admin/Mutating/Destructive confirmation gates.

    Verdict: triaged — issue is valid, current, and correctly scoped as an epic; it stays open for the implementation slices above, each of which is a full slice (not a small edit) and should be taken as its own queue task.

  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · done (triaged) — 1837-A / task 25377

    • Agent: queue worker, lane 1837-A (agent work loop DRIVE)
    • Session / ID: queue task 25377
    • Task: follow-on triage of mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 (from task 24915), mcpx administration by intent.
    • Fresh verification (2026-11-26 18:45 CST): issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 is OPEN, labels enhancement / epic/mcpx-platform / status:in-review / task/triage; no held / user/owned / do-not-merge / do-not-auto-edit labels. No open PR references mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931.
    • Verdict: duplicate of the triage of record — task 24915 (2026-11-26, lane xaltha) revalidated this issue hours ago: slice 1 landed via PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594 merged at 373d23b (sessions_read, GET /v1/sessions); remaining slices (session kill, force-detach, resume-as-reattach, self-management, intent router over declared ops) are still unbuilt and are each a full implementation slice, not a small edit. Nothing has changed since that verdict (issue updatedAt still 2026-11-26T23:49:12Z, the 24915 comment).
    • Disposition: complete task 25377 as triaged, naming task 24915 / PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594 as the triage of record. No duplicate implementation started; mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 stays open as the epic for its remaining slices.
  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · done (triaged) — task 25770

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane code-f
    • Task: task 25770 (triage packet, coverage reconciliation import 2026-11-27) for issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931: mcpx administration by intent.
    • Fresh verification (2026-11-27): issue mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 OPEN, labels enhancement / epic/mcpx-platform / status:in-review / task/triage / source/creator / kind/enhancement; no held / user/owned / do-not-merge / do-not-auto-edit labels. No open PR references mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931. On current main, sessions_read is still declared in pkgs/mcpx/internal/api/ops.go; no session kill, force-detach, resume, mcpx install, or intent scope param exists in ops*.go.
    • Verdict: duplicate of the triage of record — task 25377 (2026-11-26, lane 1837-A), building on task 24915 (2026-11-26, lane xaltha): slice 1 landed via PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594 merged at 373d23b (sessions_read, GET /v1/sessions); remaining slices (session kill, force-detach, resume-as-reattach, self-management, intent router over declared ops) are still unbuilt, each a full slice, not a small edit. Nothing has changed since that verdict.
    • Disposition: complete task 25770 as triaged, naming task 25377 / PR mcpx: session inventory operation (GET /v1/sessions) — slice 1 of #1931 #2594 as the triage of record. No duplicate implementation started; mcpx: administration by intent — finish the operation surface, then route a sentence to a declared operation #1931 stays open as the epic for its remaining slices.
  21. developing-today-fleet
    added a sub-issue on Nov 27, 2026
    • Define mcpx session lifecycle identity and release/termination semantics for #1931 #15959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestepic/mcpx-platformReprioritization program epic (2026-11-12)kind/enhancementsource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      • mcpx platform programNo due date

      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.