SSOT: base MCP/runtime owns Molecule tool schemas and target resolution #38

Open
opened 2026-05-21 21:59:47 +00:00 by hongming · 2 comments
Owner

Parent: internal#638.\n\nMove reusable Molecule communication contract into the base runtime/MCP layer.\n\nScope:\n- Export canonical schemas for list_peers, get_workspace_info, delegate_task, delegate_task_async, check_task_status, send_message_to_user, commit_memory, recall_memory.\n- Add/own target resolution contract for multi-workspace and multi-platform config, including MOLECULE_WORKSPACES_JSON and legacy single-platform env compatibility.\n- Keep RBAC permission mapping in the base MCP/runtime path.\n- Add CI drift tests so adapters cannot re-own universal Molecule schemas or platform client behavior.\n\nAcceptance:\n- Base runtime has the reusable schema/client/target APIs adapters need.\n- Tests prove canonical schema export and backward-compatible env parsing.\n- Docs state adapters are shims and base MCP/runtime is SSOT.

Parent: internal#638.\n\nMove reusable Molecule communication contract into the base runtime/MCP layer.\n\nScope:\n- Export canonical schemas for list_peers, get_workspace_info, delegate_task, delegate_task_async, check_task_status, send_message_to_user, commit_memory, recall_memory.\n- Add/own target resolution contract for multi-workspace and multi-platform config, including MOLECULE_WORKSPACES_JSON and legacy single-platform env compatibility.\n- Keep RBAC permission mapping in the base MCP/runtime path.\n- Add CI drift tests so adapters cannot re-own universal Molecule schemas or platform client behavior.\n\nAcceptance:\n- Base runtime has the reusable schema/client/target APIs adapters need.\n- Tests prove canonical schema export and backward-compatible env parsing.\n- Docs state adapters are shims and base MCP/runtime is SSOT.
sdk-lead was assigned by hongming 2026-05-21 22:00:05 +00:00
Author
Owner

Phase landed: PR #39 made runtime mcp_tools the Python SSOT for MCP/OpenAI tool schemas and dispatch; PR #41 fixed cascade updates. Hermes PR #48 consumes the runtime SSOT; Claude channel PR #17 consumes the TS base MCP target resolver.

Phase landed: PR #39 made runtime mcp_tools the Python SSOT for MCP/OpenAI tool schemas and dispatch; PR #41 fixed cascade updates. Hermes PR #48 consumes the runtime SSOT; Claude channel PR #17 consumes the TS base MCP target resolver.
Author
Owner

Final sweep update: TS side now also consumes base MCP SSOT for external-workspace tool schemas via @molecule-ai/mcp-server@1.2.0 (molecule-mcp-server PR #25, claude-channel PR #18). Runtime/Hermes Python path remains on molecule_runtime.mcp_tools.

Final sweep update: TS side now also consumes base MCP SSOT for external-workspace tool schemas via @molecule-ai/mcp-server@1.2.0 (molecule-mcp-server PR #25, claude-channel PR #18). Runtime/Hermes Python path remains on molecule_runtime.mcp_tools.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-workspace-runtime#38