Skip to content

docs(adr): align ADR-0020 (MCP auth hub) with the harness invariants + add AGENTS.md - #31

Merged
mlcyclops merged 1 commit into
masterfrom
docs/adr-0020-review
Jun 20, 2026
Merged

mlcyclops merged 1 commit into
masterfrom
docs/adr-0020-review

Conversation

@mlcyclops

Copy link
Copy Markdown
Owner

Review addendum to ADR-0020: extend-omp framing (feed authenticated configs into omp's mcpServers, not a parallel client), the safeStorage/Electron-main seam, the scan-untrusted-MCP-output guardrail, localhost PKCE coordination, Terraform-as-IaC boundary, phases P-MCP.1–4, and frozen-contract impacts. Adds AGENTS.md (mirror of CLAUDE.md). Docs only.

🤖 Generated with Claude Code

…+ add AGENTS.md

Review addendum to the user-authored ADR-0020. The auth engineering (PKCE/RFC 8252,
GCP WIF via Entra OIDC + STS, safeStorage) is sound; this adds the integration
discipline it was missing so it builds as an EXTENSION of omp, not greenfield:

- Decision 6 (load-bearing): extend omp, don't fork — omp already accepts mcpServers[]
  in session/new (acp_backend.ts), so the hub does auth + config assembly only and
  feeds authenticated server entries to omp; it does not re-implement an MCP client.
- safeStorage is Electron-main-only → token seal/unseal routes through main.ts+preload
  (the ADR-0010 seam), passphrase fallback in dev.
- Untrusted MCP output must pass the fail-closed gate + be delimited (invariant #5).
- Localhost PKCE catcher: distinct ephemeral port + drain/close (the OAuth bug class).
- terraform/mcp_auth scoped as IaC/docs only — doesn't widen the TS+Python boundary.
- Added phases P-MCP.1–4 (one increment each), recommended first build, and the
  frozen-contract impacts (new EventNames, no migration, registry stays git-ignored).
- Minor: PQC cross-refs ADR-0015 (ML-KEM already FIPS-203); Entra/Okta are the IdPs,
  Yubikey/PIV the factors.

Also adds AGENTS.md — a mirror of CLAUDE.md (the cross-tool agent-instructions filename).

Docs only; no code changed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mlcyclops
mlcyclops merged commit abff3ef into master Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant