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: capabilities declared to upstreams that nothing answers, and host gates that ignore sub-capabilities · Issue #1930 · developing-today/code

mcpx: capabilities declared to upstreams that nothing answers, and host gates that ignore sub-capabilities #1930

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: capabilities declared to upstreams that nothing answers, and host gates that ignore sub-capabilities#1930
Copy link
Assignees
dezren39
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)bugSomething isn't workingeffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue tasksource/humanFiled directly by a humanstatus/needs-triageNot yet triaged; needs a first looktask/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#210 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: #177

Summary

mcpx declares sampling to every upstream because the daemon always installs an elicitation handler, and docs/protocol.md says it is declared only when a handler exists. It declares roots to every upstream and always answers []; the doc says "the configured roots" and the daemon passes nil. Toward hosts, the elicitation gate treats any declared elicitation as form-capable, so a host that declared only url would be sent a form. Sampling is relayed after checking only that sampling is present, not sampling.tools or sampling.context. mcpx never asks its host for roots, which would be the honest source for the roots it answers upstream.

Found while writing the comparison register (pkgs/mcpx/docs/compare/) and checked against the code at 05c78b2. Each row below links its register entry, which carries the value, effort, risk, the specification text and every source.

Register rows

row difference mcpx @ 05c78b2 effort
CAP-02 client roots; deprecated to a bare {} in 2026 partial — declared to every upstream; always answers an empty list S
CAP-04 client sampling; structured in 2025-11-25, deprecated in 2026 partial — declared to every upstream; only a broker agent answers S
SMP-09 Client declares sampling only when something can answer ✗ — declared to every upstream; doc says otherwise S
CAP-08 client elicitation.form; {} means form only partial — form gate ignores a url-only declaration S
SMP-11 Relaying sampling to a host checks sub-capabilities and revision ✗ — only sampling presence checked S
ROOT-04 Server asks its host for roots ✗ — never sends roots/list to a host M

Evidence

  • internal/mcpclient/modern.go:46-58 (sampling when a handler exists), internal/daemon/hooks.go:69 (always a handler), internal/daemon/server.go:176 (nil roots).
  • internal/mcpserver/conn.go:191-211 (CanElicit, CanSample).

What to do

Declare sampling only when a sampler is configured; answer roots from configuration or the host (or stop declaring roots); gate form mode on form present or neither key present; check sampling.tools/context before relaying.

Ease · Impact · Related

Ease S · Impact low · Related: #177, #110 (where the model comes from, after Sampling's deprecation)

Acceptance criteria

  • mcpx declares sampling and roots to an upstream only when the corresponding handler actually exists — code matches docs/protocol.md (CAP-02/CAP-04).
  • roots/list is answered from configured or host-provided roots, not unconditionally [].
  • Host-facing gates check sub-capabilities: elicitation form vs url, sampling.tools / sampling.context — not merely the parent capability's presence.
  • mcpx obtains roots from its host where the host offers them, as the honest source for what it answers upstream.
  • Tests cover declaration and gating per sub-capability.

Activity

Next
  1. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

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


    @dezren39 · 2026-10-28T04:31:21Z

    🤖 Intake review — fleet monitor, 2026-10-27 run

    • Related: parent tracker feat(nix): Android SDK + JDK 21 in the system and dev shells, and the OpenChamber release signing key #177; register rows CAP-02/CAP-04 and neighbours in pkgs/mcpx/docs/compare/register/capabilities.md; cross-referenced by the register issue 🎨 Palette: Add ARIA labels to theme buttons #222 and conformance matrix test(mcpx): execid tests use testsupport.TempDir (fixes macOS failures, #282) #283.
    • Evidence caveat: the register evidence was verified against mcpx at 05c78b2 (2026-09-30). Re-verify each row against current main before fixing — a row may have moved since.
    • Still live: checked this run — no merged PR references this issue (cross-references are the register/tracker issues themselves).
    • Risks: tightening declarations can break upstreams that relied on the unconditional declarations — that's the point, but note it in the PR.
    • Suggested approach: gate checks first (host-facing, self-contained), declaration honesty second.
  2. dezren39
    added
    bugSomething isn't working
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    status/needs-triageNot yet triaged; needs a first look
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued queue task
    on Oct 28, 2026
  3. developing-today commented on Oct 28, 2026

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

    CODE-856

  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    work/assignedQueue 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. 96 remaining items

  7. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up — docs fix in PR

    • Agent: repo-worker-code, OpenChamber scheduled lane
    • Task: 8151 (docs-only small_fix from triage task 7785) — correct the three stale protocol.md passages.
    • Fresh check: mcpx: capabilities declared to upstreams that nothing answers, and host gates that ignore sub-capabilities #1930 OPEN, code remainder still zero at main b9e2eaf2; no hard-stop labels.
    • Artifact: PR docs(mcpx): protocol.md describes the capability gates as built (#1930) #4993 — §3.1 gate paragraph, §4 "declared to servers" row, §4.1 roots/list row, and the fixed §6 bullet removed; change fragment docs/changes/protocol-capability-claims.md.
    • Duplicates: PR docs(mcpx): correct protocol capability claims (#1930) #3689 (older, conflicting, untouched since 2026-11-01) diffed — nothing unique — and closed as superseded by docs(mcpx): protocol.md describes the capability gates as built (#1930) #4993.
    • Verification: go run ./tools/docs-history check docs/*.md → ok; no #210/coarser/passes none matches left.
  9. dezren39
    added a commit that references this issue on Nov 3, 2026

    Merge pull request #4993 from developing-today/queue/8151-1930-mcpx-p…

    9637e16
  10. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · docs remainder landed — #1930 complete

    • Fix: PR docs(mcpx): protocol.md describes the capability gates as built (#1930) #4993 MERGED (merge 9637e164). pkgs/mcpx/docs/protocol.md now describes the capability gates as built:
      • §3.1 — elicitation read per mode (form key; {} form-only; url key) and sampling per sub-capability (tools refused whole, includeContext dropped), citing internal/mcpserver/conn.go CanElicit/CanSampleTools/CanSampleContext.
      • §4 declared-to-servers row and §4.1 roots/list row — declarations only when a handler is installed and the daemon handler answers; roots relayed to a declaring host, else configured daemon.roots.
      • §6 — the "capabilities declared upstream that nothing answers" gap removed.
    • Verification: go run ./tools/docs-history check docs/*.md → ok (also the change fragment docs/changes/protocol-capability-claims.md); no #210 / "coarser" / "passes none" text remains in protocol.md; docs-only diff.
    • Duplicate: PR docs(mcpx): correct protocol capability claims (#1930) #3689 diffed (nothing unique) and closed as superseded.
    • Code remainder: zero, per triage task 7785 (verdict on this issue 2026-11-03). Acceptance met — closing as implemented.

    Cross-repo propagation to dezren39/nix's mcpx copy remains tracked by the cross-repo set rule (not this task).

  11. dezren39
    closed this as completedon Nov 3, 2026
  12. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  13. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  14. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  15. developing-today
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  16. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)bugSomething isn't workingeffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue tasksource/humanFiled directly by a humanstatus/needs-triageNot yet triaged; needs a first looktask/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.