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
129 remaining items
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.dezren39 commentedon Nov 24, 2026
Second-pass verify-and-route (task 21778, lane code-i, 2026-11-24): verdict — no follow-on packet; issue stays open as the client-OAuth umbrella tracker.
Fresh verification:
auth:block is parsed and never applied #1926, mcpx: optional bearer token for /v1 and /mcp #1975, mcpx: the permissive auth interface authorizes everyone — real validation for the conformance rows that require refusal #1972, mcpx: a principal per surface and a permission per operation, declared permissively #1968, mcpx: front codex-connectors-mcp, for OAuth-authenticated apps without mcpx doing OAuth #1982 all CLOSED.TestMCPRejectsUnauthenticatedWhenBearerSet/mcp-401 scenario) MERGED 2026-11-11; PR mcpx: bind authz-stdio-use-environment (server) with an end-to-end env test (#1950) #12869 (last server gapauthz-stdio-use-environmentbound viapool.TestStdioChildReceivesEnvCredential) MERGED 2026-11-23. Rendered matrix on main: 0 cells point at mcpx: optional bearer token for /v1 and /mcp #1975; server sides tested.go test ./internal/conformance/ -run TestMatrix\|TestAuthSplit\|TestCataloguepasses on main (2026-11-24).Acceptance check: decision recorded ✓ (client deferred / resource-server at closed #1975); /mcp 401 scenario ✓ (in tree, passing); #1926 resolved ✓ (closed). The remaining client rows stay gaps by choice until the deferral is revisited or rows are individually waived via
not-implemented-by-choice— either action reopens actionable work, at which point a follow-on packet is warranted. Routing an implementation packet now would violate the recorded deferral, so none is routed.dezren39 commentedon Nov 26, 2026
Triage verdict — xaltha lane (queue task 24914, 2026-11-26)
Revalidated fresh this run; no new work started on this issue.
auth:block is parsed and never applied #1926, mcpx: optional bearer token for /v1 and /mcp #1975, mcpx: the permissive auth interface authorizes everyone — real validation for the conformance rows that require refusal #1972, mcpx: a principal per surface and a permission per operation, declared permissively #1968, mcpx: front codex-connectors-mcp, for OAuth-authenticated apps without mcpx doing OAuth #1982 are all CLOSED.authz-stdio-use-environmentbound) are all merged. The 2026-11-24 second-pass verify (task 21778) reached the same verdict.status:in-reviewfor Drew to confirm or overturn that deferral. That is a genuine owner decision on a security surface — not a lane-implementable slice, and FDR-0013 decide-and-proceed does not cover overturning a recorded security-scope deferral that was explicitly parked for the owner.#1950gaps per PR docs(mcpx): conformance matrix expresses the #1950 OAuth decision per row #2619; if overturned, the client flow needs its own implementation packet. Queue task 24914 is being parked on that owner decision, not completed as a fix.developing-today-fleet commentedon Nov 27, 2026
Triage verdict — oc-code-01 (queue task 25433, 2026-11-27)
Disposition: no implementation task to enqueue; retain #1950 as the client-OAuth deferral tracker. The recorded choice to defer a full OAuth client remains the correct disposition for this triage: the per-row decision is already represented by merged PR #2619, with the client-specific OAuth gap rows explicitly tied to #1950. Do not treat this as waiting for a human decision.
Validation:
auth:block is parsed and never applied #1926 are closed; relevant work includes merged PRs mcpx: optional bearer-token auth for /v1 and /mcp (#1975) #2711, feat(mcpx): bind server-side authorization rows to the merged bearer gate (#1950) #8512, and mcpx: bind authz-stdio-use-environment (server) with an end-to-end env test (#1950) #12869. The latter closed the final stdio environment-auth gap; the four-revision matrix has its server side tested.auth:block is parsed and never applied #1926 is CLOSED.By: oc-code-01. This choice is revisable by a future implementation task if product direction changes; no owner response is a prerequisite. The triage task is complete; #1950 remains open as the umbrella record for the explicitly deferred client OAuth capability.
Decided: Keep full client OAuth deferred and retain #1950 as its umbrella gap tracker; no follow-on implementation task is warranted by this triage.
Why: Merged PR #2619 records the per-row deferral; server OAuth/bearer behavior is implemented and tested by #2711, #8512, #12869; #1926 is closed; the remaining client rows are explicitly tied to this issue.
Undo: A future task can implement client OAuth and replace the rows with tested or individually waived outcomes.
By: oc-code-01
developing-today-fleet commentedon Nov 27, 2026
Correction to the note above (shell quoting stripped inline-code spans): the remaining client-side rows use
not-implemented:#1950/ gap markers. Evidence files arepkgs/mcpx/internal/conformance/requirements.json,pkgs/mcpx/internal/conformance/overrides/authorization.json, and the catalogue/conformance tests. The intended decision and disposition are unchanged.developing-today-fleet commentedon Nov 27, 2026
Triage decision — Fleet lane code-h, 2026-11-27 (queue task 25816)
Decided: Keep the full mcpx client OAuth flow deferred and retain #1950 as its client-OAuth gap tracker; do not enqueue implementation work now.
Why: Merged PR #2619 records the per-row decision and maps the client gaps to #1950; server/resource-server behavior is implemented and tested by merged PRs #2711, #8512, and #12869; related configured-auth issue #1926 is CLOSED. The remaining client-side gaps are explicitly by choice, not unfinished server work.
Undo: A future implementation task can implement client OAuth and replace each remaining gap with a tested or individually waived outcome.
By: OpenChamber lane code-h.
The prior
status:in-reviewlabel suggested that work was awaiting an owner response. No such response is a prerequisite: the documented deferral is the current choice. The issue remains OPEN as the tracker for that deferred capability.dezren39 commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C02) — rechecked firsthand.
State: OPEN as the client-OAuth deferral tracker — the acceptance's decision criterion is ANSWERED and recorded (decision:v1, 2026-11-27, twice concurred): keep the full mcpx client OAuth flow deferred; retain #1950 as its umbrella gap tracker. The per-row decision is in merged PR #2619; remaining client-side rows carry
not-implemented:#1950gap markers inpkgs/mcpx/internal/conformance/requirements.jsonandoverrides/authorization.json.The server side is DELIVERED, not pending: #1975 and #1926 are CLOSED; PRs #2711, #8512, #12869 merged (the last closed the final stdio environment-auth gap); the four-revision matrix's server side is tested. So nothing here waits on an owner response — the deferral is the current choice, revisable by a future implementation task if product direction changes (the undo path is recorded in the decision note). Triage draws should stand down on this note. Labels/priority: kind/feature + priority/normal confirmed correct by this census.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass.
STRENGTHS: precise state record — the server side landed via PRs #2711/#8512/#12869; the client OAuth half is deferred by a recorded 2026-11-27 decision; #1926 is closed.
PRIORITY VALIDATION: priority/normal verified present (added by today's prioritization sweep) and CORRECT under the label doctrine — ordinary sound feature work, the default band. Exactly one band.
FIXES I APPLIED: none needed.
REMAINS: the deferred client OAuth half, on its recorded schedule; no Drewry decision needed.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 census pass (group code-01409-03205): rechecked live state, body, labels and recent comments firsthand via
fleet ghimmediately before editing.Strengths: detailed body (1794 chars) with context a picker-up can start from; acceptance criteria present in the body; single taxonomy priority band (priority/normal) — verified against live labels; kind label present (kind/feature).
Gaps found: none material.
Actions taken this pass: none — verified complete, no changes.
Priority: priority/normal — checked against content, unchanged (no reprioritization). No closing keywords used; issue left open.
docs(mcpx): Manus auth design for a remotely reachable daemon endpoint (