Skip to content

MCP bridge, OIDC auth, workflow templates, and matriarch remediation#76

Merged
bryanbarton525 merged 1 commit into
mainfrom
fix/matriarch-remediation-loop
May 31, 2026
Merged

MCP bridge, OIDC auth, workflow templates, and matriarch remediation#76
bryanbarton525 merged 1 commit into
mainfrom
fix/matriarch-remediation-loop

Conversation

@bryanbarton525
Copy link
Copy Markdown
Owner

Summary

  • Matriarch remediation: Pod remediation can run when Matriarch blocks on validation (existing branch commit).
  • MCP bridge (mcp-orca): New MCP server proxies workflow tools (orca_workflow_*) and ad-hoc persona tools (orca_persona_run, orca_task_run) to go-orca-api; Docker image and CI build entry added.
  • OIDC API auth: server.oidc userinfo validation (Zitadel / Authentik) on protected /api/v1 routes; health/readiness/metrics stay public; shared Bearer middleware with legacy streaming.userinfo_url fallback for event ingest.
  • Workflow templates: Embedded YAML catalog (software-default, content-default, etc.), GET /workflow-templates, template_id on workflow create.
  • Persona runs: POST /api/v1/persona-runs for one-shot persona execution (engine RunPersonaOnce).
  • Docs & skill: Deployment/configuration/streaming docs and skills/go-orca-offload for Cursor offload with OIDC Bearer tokens.

Test plan

  • go test ./...
  • go build ./cmd/go-orca-api ./cmd/mcp-orca
  • With server.oidc.required: true, verify unauthenticated API calls return 401 and valid Zitadel/Authentik Bearer succeeds
  • Deploy mcp-orca, call orca_workflow_create and orca_persona_run from an MCP client with tenant/scope headers
  • GET /api/v1/workflow-templates returns catalog; create workflow with template_id: software-default
  • Confirm matriarch-blocked validation workflows still enqueue pod remediation tasks

Made with Cursor

Expose mcp-orca for workflow and ad-hoc persona offload, validate Bearer
tokens via Zitadel/Authentik userinfo on protected /api/v1 routes, and
add workflow templates plus POST /persona-runs for one-shot execution.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bryanbarton525 bryanbarton525 force-pushed the fix/matriarch-remediation-loop branch from 37db84a to 0326055 Compare May 31, 2026 02:24
@bryanbarton525 bryanbarton525 merged commit 1eba134 into main May 31, 2026
23 checks passed
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