You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mecatequi/mecak8s: register --mcp-server and per-server bearer-token env (factory mode) #341
Part of the dark-factory epic (stacklok/stacklok-epics#297). Phase 0/1. Pairs with stacklok/titlani#37 / stacklok/titlani#38.
Gap. The factory-facing binaries have no MCP wiring surface: --mcp-server + the MCP_<NAME>_TOKEN bearer env are wired only in mecated (cmd/mecated/main.go); mecatequi and mecak8s register neither, though app.Config.MCPServers already exists. A scheduler (titlani) launching one-shot runs needs the run to reach a vmcp/tequitl MCP endpoint with a per-run bearer.
What
Register --mcp-server (and the MCP_<NAME>_TOKEN env convention) on mecatequi and mecak8s.
Decide --run-id/--task-ref: accept as run-correlation metadata (echoed in Summary/events) or reject and let the scheduler drop them — record in the joint contract ADR (stacklok/titlani#37).
Document the factory invocation profile: --posture auto, --no-scheduler, --untrusted-prompt fencing for externally-sourced task bodies.
Activity
feat: factory MCP wiring — --mcp-server on mecatequi/mecak8s + compac…