Repository navigation
Description
Design (fleet design architect, pass 13): finish the spec-revision choice work originated in #1974 (ex-nix#307) — every revision conflict gets a disposition, the internal/spec predicates get their callers, and the policy is demonstrated end to end.
Full design doc: files/designs/code-mcpx-spec-revision-choice.md in the keep-the-four-repos-healthy goal workspace (register: files/potential-projects.md).
Audit summary (origin/main 319e6c2)
The foundation of #1974 is LANDED: settings spec.precedence / spec.first (--mcp-spec, MCPX_MCP_SPEC) / spec.lenient (internal/settings/spec.go), the internal/spec Policy (Governs, Winner, Strict, predicates AtOrAfter/Before/Only/Between), adoptSpec (internal/cli/root.go:236), and reporting on GET /v1/protocol (internal/daemon/routes_proto.go:761).
What is not finished:
- Exactly TWO behaviours consult the policy: progress
messagestripping (internal/mcpserver/relay.go:106) and answering 2026-07-28 server-initiated requests when lenient (internal/mcpclient/client.go:550).docs/protocol.md§1.1 says so itself. - The predicates have ZERO callers outside
internal/spec. Scattered comparisons remain: a duplicate package-localAtLeast(internal/mcpserver/revisions.go:40), raw>=inModern()(internal/mcpserver/server.go:1285),internal/mcpclient/modern.go(CallerLegacy),internal/mcpclient/client.go:455. docs/spec/revision-conflicts.mdstill claims headline items 1, 3–13 are all "not yet converted", lumping together peer-settled decisions (disconnect-as-cancel by session presence,server.go:1988; cursor era key,client.go:1214; batches,transport.go:110), recorded readings of intra-revision contradictions (subscription teardown,listen.go:347), and stale text (C5's-32022claim — replaced by the counter-offer atserver.go:1341; C23'sprotocolVersionsclaim — code emitssupportedVersions,server.go:851).
Decision recorded by this design
Precedence is for conflicts the peer cannot settle — docs/protocol.md §1.1 already scopes it that way. #1974's "every conflict resolves through the precedence list" is reinterpreted deliberately: every conflict gets a DISPOSITION of exactly three kinds — (1) peer-settled (code site + era key named; no policy consultation), (2) precedence-governed (spec.Current() decides, both behaviours implemented), (3) recorded reading (intra-revision contradiction; the reading is recorded, as headline 1 already does). A conflict with no disposition is the defect. This reinterpretation is also posted on #1974 (Phase 1 acceptance).
Phases (each independently landable)
- Classification and truth-up (docs only). Every headline (1–13) and per-area (A–E) item in
revision-conflicts.mdgets a disposition naming its code site; the header's blanket claim is replaced by the disposition index; stale C5/C23 fixed;protocol.md§1.1 updated to match; unclassifiable items listed as undisposed with their specific question. Reinterpretation posted on mcpx: choose between MCP spec revisions where they truly conflict -- a precedence list, --mcp-spec, and version predicates #1974. - One predicate vocabulary (no behaviour change).
mcpserver.AtLeastdelegates tospec.AtOrAfteror is deleted for direct predicate use;Modern(),CallerLegacy, and the>= "2025-03-26"check usespecpredicates. Acceptance: no test changes its verdict. Genuine identity equalities (e.g.request.go:54) stay, named out of scope. - Demonstrate the policy in the full stack + mcpx: choose between MCP spec revisions where they truly conflict -- a precedence list, --mcp-spec, and version predicates #1974 closure. Daemon-level e2e (the
internal/e2e/proto_test.goharness) showing--mcp-spec 2024-11-05stripping a relayed progressmessageend to end, andMCPX_SPEC_LENIENT=2026-07-28answering a 2026 server-initiated request that the default drops; then evidence posted on mcpx: choose between MCP spec revisions where they truly conflict -- a precedence list, --mcp-spec, and version predicates #1974 and it is closed or its remaining acceptance lines named precisely.
Open questions (in the design doc, NOT filed)
Headline 5's validation-error form vs #1481's recorded -32602 decision at the client choke point (should the MCP serve seam era-split?); headline 7's non-object structuredContent translation for object-only hosts; headline 9's logging relay gating; whether Governs should gain any more call sites at all.
Origin: #1974 — its triage must not re-file these phases; this design's Phase 1 posts the disposition plan there and Phase 3 closes it with evidence.
Activity
developing-today commentedon Oct 29, 2026
CODE-1091
dezren39 commentedon Oct 29, 2026
Filed by the design architect (pass 13). Phases, all sub-issues of this design: #2210 (Phase 1, classification + truth-up, pilot task 3318 queued), #2211 (Phase 2, predicate unification, pilot task 3319 queued), #2212 (Phase 3, end-to-end demonstration + #1974 closure, gated on Phases 1–2 + status/blocked, pilot task 3320 queued). The reinterpretation note is posted on origin #1974 (comment 6493196974). Register entry added in files/potential-projects.md; two older entries moved to landed this pass (#1601, #1753 — all phases closed).
mcpx: route revision comparisons through internal/spec predicates (#2211
Merge pull request #2892 from developing-today/queue/3951-2210-revisi…
206 remaining items
dezren39 commentedon Nov 10, 2026
agent-note:v1 — state: handed_off (task 13890, lane code-t)
dezren39 commentedon Nov 10, 2026
🤖 Agent note · handed off
opencode(lane row 5270), so this lane handed it off per runbook §1b and did not work it itself.handed_off(reason: scheduled shift is time-bounded; claimant is the persistent execution session) and parked task 13890 for 1200s.dezren39 commentedon Nov 10, 2026
🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-b — Session/ID: task 13890, repo-queue-worker-shift-b 2026-11-09 run. Task 13890 (small_fix) for issue #2209: mcpx spec-revision choice remainder — every conflict gets a disposition; attempts 3/3 (at cap). Fresh check: issue #2209 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels, no status/needs-triage. Execution lane row 5270 = opencode. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Checkpointed handed_off; parking task 13890 for 20 minutes for the claimant window.
dezren39 commentedon Nov 10, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 10, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 10, 2026
agent-note:v1
state: done (triage verdict: fully satisfied by landed work — closing)
task: 13890
lane: code-p
Triage verdict — task 13890, fresh verification 2026-11-10
Issue #2209 is FULLY SATISFIED by landed work. All three of its phases are closed with merged PRs:
pkgs/mcpx/docs/spec/revision-conflicts.md; the reinterpretation (every conflict gets a disposition: peer-settled / precedence-governed / recorded reading) was posted on mcpx: choose between MCP spec revisions where they truly conflict -- a precedence list, --mcp-spec, and version predicates #1974 on 2026-10-31.internal/specPolicy + predicates are the one decision surface; the call sites consult it;GET /v1/protocolreports the effective precedence.pkgs/mcpx/internal/e2e/proto_test.godemonstrates both behaviours under default and non-default--mcp-spec/ lenient settings.Phase 3's #1974 obligation is also discharged in its stated alternative form: the evidence comment on issue #1974 (2026-11-03T14:47Z, "Evidence: all three phases of #2209, and the one acceptance line that stays open") posts the phase evidence there and names #1974's remaining acceptance line precisely — line 3, unmet only for the four undisposed items (5, 7, 9, 13), each of which names its open question in the disposition index instead of a decision.
That remainder is #1974's work, not #2209's: #2209's own design deliberately left those four as recorded open questions (not filed), #1974 remains OPEN for exactly that line, and it has a live queue task (task 14583) as of today. No remainder packet is filed from this triage — filing one would duplicate #1974's live task.
Closing issue #2209 with this evidence, per the triage packet's third acceptance branch.