GeezerVison is showing github.com — mcpx: Phase 3 of #1753 — elicitation form gate ({} means form; url-only is not form-capable) + register truth-up + nix#210 evidence · Issue #1757 · developing-today/code
mcpx: Phase 3 of #1753 — elicitation form gate ({} means form; url-only is not form-capable) + register truth-up + nix#210 evidence #1757DescriptionPhase 3 of #1753 — elicitation form gate + register truth-up + nix#210 evidence
Design: #1753 (mcpx sub-capability gating). Design doc: files/designs/code-mcpx-subcapability-gating.md in the keep-the-four-repos-healthy goal workspace. Origin: dezren39/nix#210. Gated on Phase 1 of #1753 (same file, pkgs/mcpx/internal/mcpserver/conn.go).
Problem (verified on main f6760a69)
Peer.CanElicit (pkgs/mcpx/internal/mcpserver/conn.go ~L232-249) special-cases url (revision ≥ 2025-11-25 plus the declared url key) but returns true for form against any elicitation declaration — including a 2025-11-25+ host that declared only {"url": {}}, which cannot render a form and would receive a request with a requestedSchema it never agreed to. Compare-register row CAP-08: "{} means form only"; the form gate ignores a url-only declaration.
Scope (decision recorded on #1753)
CanElicit("form") reads the declaration's shape where the revision defines sub-keys:
- Peer revision ≥ 2025-11-25: form is sendable iff the declaration carries a
form key or is empty (elicitation: {} is the form-only declaration). A declaration carrying only url is not form-capable.
- Peer revision < 2025-11-25: elicitation has no sub-keys; presence means form, exactly as today.
- The
url branch is unchanged. AnswersInline inherits the corrected form answer.
- Malformed declaration values behave as undeclared (existing tolerance).
- Truth-up (after Phases 1–2 have landed):
- Compare-register rows CAP-02, CAP-04, CAP-05, CAP-06, CAP-08, SMP-09, SMP-11 in
pkgs/mcpx/docs/compare/register/ updated to as-built — several were stale before this design (roots answering and handler-gated declaration landed earlier; cite those PRs/commits where the register names them).
- Completion evidence comment on dezren39/nix#210 covering each of its acceptance bullets with its landing PR; close nix#210 if and only if every bullet is met, otherwise name the unmet bullet on both issues. (Commenting/closing on the nix repo is the cross-repo set rule: nix#210 is the origin record, mcpx: design — sub-capability gating (gate on sampling.tools / sampling.context / elicitation.form, not parent presence) #1753 is the design of record in the canonical repo.)
Out of scope
Acceptance criteria
- Tests cover declarations: url-only (form refused at 2025-11-25+), form-only, both keys,
{} (form allowed), legacy pre-2025-11-25 (form allowed), malformed (treated as undeclared).
- A url-only host is no longer offered form elicitations on either the legacy wire path or the modern
input_required path (sendableTo covers both); form-declaring hosts are unaffected.
- Register rows listed above match the code; the nix#210 evidence comment is posted and nix#210 is closed iff all its acceptance bullets are met.
- CI green (GitHub Actions; per fleet rule, no builds on the sandbox).
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) task/triageQueue packet kind: verify, reproduce, and route this item app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo) effort/sSmall: expected under 2 hours of work on Oct 28, 2026developing-today commented on Oct 28, 2026 dezren39 commented on Oct 28, 2026 🤖 Agent note · filed
- Agent: design architect (dedicated code job, repo-design-architect-code)
- Session / ID: cron repo-design-architect-code, run 2026-10-28 12:25 CDT (pass 9); queue task 1980
- Found via: filed this run
- Task: Phase 3 of design mcpx: design — sub-capability gating (gate on sampling.tools / sampling.context / elicitation.form, not parent presence) #1753 — elicitation form gate + compare-register truth-up + nix#210 evidence. Gated on Phase 1 (mcpx: Phase 1 of #1753 — server-side sampling relay gating (tools/includeContext checked against the host's declaration) #1755) (same file,
internal/mcpserver/conn.go); status/blocked applied at filing. Triage packet enqueued directly to the repo-health-code-pilot queue as task 1980 (verified: queue=repo-health-code-pilot, status=queued, last_error=null); its triage confirms the gate state rather than implementing. Packet: hidden_files/queue-packets/packet-1757.json in the keep-the-four-repos-healthy goal workspace.
- Expectation: effort/s; done = url-only hosts no longer offered form elicitations at 2025-11-25+ (
{} still form-capable, legacy unchanged), register rows CAP-02/04/05/06/08 + SMP-09/11 match the code, and nix#210 carries completion evidence (closed iff all its bullets are met).
- Links: design mcpx: design — sub-capability gating (gate on sampling.tools / sampling.context / elicitation.form, not parent presence) #1753; design doc
files/designs/code-mcpx-subcapability-gating.md; origin mcpx: capabilities declared to upstreams that nothing answers, and host gates that ignore sub-capabilities dezren39/darwin-nix#210
dezren39 commented on Oct 28, 2026 🤖 Agent note · picked up — triage of Phase 3 elicitation form gate
dezren39 commented on Oct 29, 2026 dezren39 commented on Oct 29, 2026 dezren39 commented on Nov 14, 2026
state: done (already_done)
task: 10663 (lane any-d, repo-worker-code)
Revalidated fresh 2026-11-14T18:14Z: PR #1473 is MERGED (it is the #1457 header-subtitle fix, branch queue/1498-1457-subtitle — not a stranded conflicting PR), and issue #1757 is CLOSED. The packet's premise (PR #1473 stranded CONFLICTING/DIRTY as the only implementation of #1390) no longer matches GitHub state on either point, and there is no open PR left to shepherd. Task 10663 completes as already_done; no duplicate work performed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|