Repository navigation
Description
Relocated from dezren39/darwin-nix#253 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).
The conformance matrix (docs/spec/conformance-matrix.md, gap key pending:oauth) lists 61 authorization requirements across 2025-03-26..2026-07-28, client and server side, that mcpx does not implement (corrected 2026-10-30 by task 3245: the pending:oauth gap key no longer exists — the rows are now expressed per row per the decision recorded in the comments; remaining gaps point at #1950/#1975): mcpx has no OAuth client (every auth/* scenario of the official suite fails) and /mcp performs no authorization. Related: #240 (configured auth never applied — dezren39/nix number; code-side successor #1926). Scope: decide client OAuth (metadata discovery, PKCE, resource indicators, token binding per issuer) and whether /mcp acts as a resource server.
Acceptance criteria
- A decision is recorded on this issue: whether mcpx implements a client OAuth flow (metadata discovery, PKCE, resource indicators, token binding per issuer) and whether /mcp acts as an OAuth resource server — or an explicit deferral with rationale.
- If implemented: the 61
pending:oauthconformance rows in docs/spec/conformance-matrix.md pass, or each remaining row is individually waived with a reason recorded in the matrix. - /mcp rejects unauthenticated requests where authorization is required (per the recorded decision), with a conformance/official-suite scenario demonstrating it.
- Related issue Install seed is readable by every joiner #240 (configured auth never applied; code-side successor mcpx: the per-server
auth:block is parsed and never applied #1926) is resolved or explicitly linked as a prerequisite — mcpx: the per-serverauth:block is parsed and never applied #1926 is implemented in flight (PR feat(mcpx): surface Auth.Describe() in mcpx config and mcpx doctor (#1926) #2593).
Activity
developing-today commentedon Oct 28, 2026
CODE-875
dezren39 commentedon Oct 28, 2026
History carried over from dezren39/darwin-nix#253 (verbatim, oldest first):
@dezren39 · 2026-10-27T17:45:06Z
Intake review
Related: #240 (configured auth never applied — named in the issue body as related; likely a prerequisite for the client side). Evidence: docs/spec/conformance-matrix.md, gap key
pending:oauth— 61 authorization requirements across spec versions 2025-03-26..2026-07-28.Liveness: still live — no merged PR implementing mcpx OAuth was found this run (searched merged PRs for OAuth/mcpx), and the issue body itself frames the first step as a scope decision.
Notes / risks: this is the largest unenriched item in the fleet (effort/l). The decision step (client OAuth scope + whether /mcp is a resource server) should be taken before any implementation task is enqueued, otherwise 61 conformance rows is an unbounded packet. Cross-repo note: mcpx also lives in developing-today/code — a fix here may be a cross-repo set per the fleet's propagation rule; the origin issue stays here.
Suggested approach: (1) record the scope decision on this issue; (2) split implementation into client-OAuth and /mcp-resource-server follow-ups, each with its conformance rows as the test list; (3) sequence #240 first if it blocks token application.
🤖 Agent note · handed off
119 remaining items
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done (triaged)
dezren39 commentedon Nov 17, 2026
agent-note:v1 — state: triaged (duplicate; existing triage stands), lane any-h, task 19669, at 2026-11-17T08:05Z
Duplicate triage packet for #1950. Fresh verification this run: issue OPEN, labels kind/feature, task/small-fix, priority/normal, effort/l, epic/mcpx-platform; no status/needs-triage and no held / user/owned / do-not-merge / do-not-auto-edit labels. Per runbook §1c this packet completes as triaged naming the existing triage record: task 18180 (lane code-b, 2026-11-17T02:15Z note on this issue) — follow-on task 14860 completed 2026-11-11 with PR #8512 merged (server-side authorization rows bound; unauthenticated /mcp conformance scenario); the client-side OAuth rows remain deliberately deferred per the decision recorded in task 14860's completion note, and #1950 stays open for them. No new triage performed, no duplicate follow-on enqueued.
dezren39 commentedon Nov 23, 2026
Agent note — picked up (Lane DT, sandbox fix lane, via
fleet agent nextshortlist rank 5)Fresh revalidation 2026-11-22: #1950 OPEN, premise true, no live claim (last work: task 14860, PR #8512 merged 2026-11-11). The one remaining server-side gap was
authz-stdio-use-environment, whose recorded gap text named the missing piece exactly: no test traces theenvauth type's credential retrieval into a stdio child end to end.PR #12869 opened —
pool.TestStdioChildReceivesEnvCredentialis that trace (credential only in the daemon's environment →envauth block expands${VAR}→ pool carries it into the spawned child → the child reports it back under a name set nowhere but the auth block; an unset variable fails before spawn). The row is now bound incoverage_authz.go; the regenerated matrix shows the server side tested in all four revisions (per-revision server SHOULD NOT: 3 tested / 1 gap → 4 tested / 0 gap). Client-side rows untouched — they keep the #1950 gap per the recorded 2026-10-30 deferral.Verified on the laptop: full
internal/poolpackage passes; conformanceTestMatrix/TestAuthSplit/catalogue/coverage tests pass; thecoveringtool now selects the new test.Merge pull request #12869 from developing-today/lane-dt/1950-mcpx-authz
dezren39 commentedon Nov 23, 2026
Agent note — done (Lane DT; PR #12869 merged; issue #1950 stays open for the client-side deferral)
813c0bc62f957d35f7fe5b4270b38af6e14270a8, head-SHA guarded (2ba8209e538d). Verified onmainafterward:coverage_authz.gobindsauthz-stdio-use-environment(server) topool.TestStdioChildReceivesEnvCredential@all, and the rendered matrix shows the row's server side as tested in all four revisions.go test ./internal/pool/ -count=1full package pass;go test ./internal/conformance/ -run 'TestMatrix|TestAuthSplit|TestCatalogue|TestCoverage' -count=1pass (authsplit counts unchanged — the split already carried this side's permissive verdict);covering -nselects the new test in the pool pattern; build/gofmt/vet clean.