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
Remove engine types from the mcpbroker contract #2528
from engine/tool: Tool (whose Execute brings in session.ToolCall, session.ToolResult, and tool.Environment), ToolSpec, AuthorizationRequester, and the optional tool interfaces Disclosable, DispatchSerial, PlanOnly.
Give the contract its own request and result types and map at the server boundary. The optional tool interfaces control how the engine dispatches broker tools, so the mapping must keep their behavior.
How it fits
An engine-shaped contract cannot cross a process boundary cleanly; see "The same contract in-process" under Modulith constraints.
Done when
internal/mcpbroker exports broker-owned types; engine types appear only in the adapters that map them; behavior unchanged.
Closing as not planned. This ticket's reason was letting the MCP broker contract cross a process boundary. That's no longer the plan: the MCP broker stays in mecak8s as the MCP client that sends gateway calls, and the identity broker stays a separate component that authorizes calls and issues the gateway tokens (design PR #2726).
The unused continuity interfaces in internal/mcpbroker/continuity.go (CredentialCustodyStager, CredentialContinuityAdvertiser, CredentialContinuityService, ExpectedBindingAttacher) have no implementer or caller outside that file and its tests. Delete them whenever that code is next touched.
Activity
ChrisJBurns commentedon Nov 5, 2026
Closing as not planned. This ticket's reason was letting the MCP broker contract cross a process boundary. That's no longer the plan: the MCP broker stays in mecak8s as the MCP client that sends gateway calls, and the identity broker stays a separate component that authorizes calls and issues the gateway tokens (design PR #2726).
What's left of it:
internal/mcpbroker/continuity.go(CredentialCustodyStager,CredentialContinuityAdvertiser,CredentialContinuityService,ExpectedBindingAttacher) have no implementer or caller outside that file and its tests. Delete them whenever that code is next touched.