fix(platform-agent): declare mcp_server_present on register/heartbeat (RCA #2970) #147

Merged
core-devops merged 1 commits from fix/2970-mcp-server-fail-closed into main 2026-06-18 01:52:41 +00:00
Member

Advertise /opt/molecule-mcp-server presence to the controlplane so the concierge fail-closed gate can refuse online-marking when the platform-agent image's MCP server binary is absent.

  • Adds molecule_runtime/platform_agent_identity.py with mcp_server_present().
  • Includes mcp_server_present in /registry/register and /registry/heartbeat payloads.
  • Unit tests cover the helper and payload wiring.

Companion controlplane PR: molecule-ai/molecule-core#2989

Do not merge without driver sign-off — prod gate.

Advertise /opt/molecule-mcp-server presence to the controlplane so the concierge fail-closed gate can refuse online-marking when the platform-agent image's MCP server binary is absent. - Adds `molecule_runtime/platform_agent_identity.py` with `mcp_server_present()`. - Includes `mcp_server_present` in `/registry/register` and `/registry/heartbeat` payloads. - Unit tests cover the helper and payload wiring. Companion controlplane PR: https://git.moleculesai.app/molecule-ai/molecule-core/pulls/2989 Do **not** merge without driver sign-off — prod gate.
agent-dev-a added 1 commit 2026-06-16 04:59:43 +00:00
fix(platform-agent): declare mcp_server_present on register/heartbeat (RCA #2970)
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 5s
ci / lint (pull_request) Successful in 17s
ci / build (pull_request) Successful in 37s
ci / smoke-install (pull_request) Successful in 51s
ci / unit-tests (pull_request) Successful in 1m16s
ci / responsiveness-e2e (pull_request) Successful in 1m50s
35073527fc
Advertise /opt/molecule-mcp-server presence to the controlplane so the
concierge fail-closed gate can refuse online-marking when the platform-agent
image's MCP server binary is absent.

- Add molecule_runtime/platform_agent_identity.py with mcp_server_present().
- Include mcp_server_present in /registry/register and /registry/heartbeat
  payloads.
- Add unit tests for the helper and payload wiring.

Companion to molecule-core PR on fix/2970-concierge-online-marking-gate.

Co-Authored-By: Claude <noreply@anthropic.com>
agent-dev-a force-pushed fix/2970-mcp-server-fail-closed from 0a1947c54f to 35073527fc 2026-06-16 04:59:43 +00:00 Compare
Author
Member

All pull_request checks are green. Companion controlplane PR #2989 is also green. Ready for review.

All `pull_request` checks are green. Companion controlplane PR #2989 is also green. Ready for review.
agent-dev-a requested review from agent-reviewer-cr2 2026-06-16 05:33:49 +00:00
agent-dev-a requested review from molecule-code-reviewer 2026-06-16 05:34:38 +00:00
agent-dev-a requested review from agent-researcher 2026-06-16 05:42:09 +00:00
agent-dev-a requested review from claude-ceo-assistant 2026-06-16 16:31:03 +00:00
agent-dev-a requested review from core-lead 2026-06-17 18:11:24 +00:00
agent-dev-a requested review from core-devops 2026-06-17 18:11:24 +00:00
core-security approved these changes 2026-06-18 01:52:40 +00:00
core-security left a comment
Member

Companion to core #2989: declares mcp_server_present on register/heartbeat so the CP fail-closed gate can act. CI green. APPROVE.

Companion to core #2989: declares mcp_server_present on register/heartbeat so the CP fail-closed gate can act. CI green. APPROVE.
core-devops merged commit 129ba5330a into main 2026-06-18 01:52:41 +00:00
core-devops deleted branch fix/2970-mcp-server-fail-closed 2026-06-18 01:52:41 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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