fix(platform-agent): use conciergePlatformMCPSource in boot re-declare path #3097

Closed
agent-dev-a wants to merge 2 commits from fix/main-red-concierge-mcp-name into main
Member

What

Fixes the undefined: conciergePlatformMCPPlugin build failure on main (65e7d2af) in the boot-time concierge re-declare path.

  • Replaces the undefined conciergePlatformMCPPlugin with conciergePlatformMCPSource in MaybeProvisionPlatformAgentOnBoot.
  • Updates the corresponding test expectation to the install name derived from the source (conciergePlatformMCPName).

seedTemplatePlugins expects plugin source URLs, not bare install names; it derives the install name via plugins.PluginNameFromSource. The primary provision path already passes conciergePlatformMCPSource; this change makes the boot re-declare path consistent.

Why

Main is red because #3051 added a call to the non-existent symbol conciergePlatformMCPPlugin in the running-but-vanilla concierge restart path.

Fixes #3051

Test plan

  • go build ./cmd/server (CI)
  • go test ./workspace-server/internal/handlers/ -run TestMaybeProvisionPlatformAgentOnBoot (CI)
  • No remaining references to conciergePlatformMCPPlugin

SOP checklist

  • Comprehensive testing performed: build+unit tests via CI; grep confirms no remaining conciergePlatformMCPPlugin references.
  • Local-postgres E2E run: N/A — Go handler-only change, no DB schema change.
  • Staging-smoke verified or pending: pending post-merge deploy pipeline.
  • Root-cause not symptom: undefined symbol conciergePlatformMCPPlugin left by #3051; replaced with existing conciergePlatformMCPSource.
  • Five-Axis review walked: minimal consistency fix, behavior matches primary provision path.
  • No backwards-compat shim / dead code added: no shim; uses existing constants.
  • Memory consulted: #3051/#3075 main-red regression notes.
## What Fixes the `undefined: conciergePlatformMCPPlugin` build failure on `main` (65e7d2af) in the boot-time concierge re-declare path. - Replaces the undefined `conciergePlatformMCPPlugin` with `conciergePlatformMCPSource` in `MaybeProvisionPlatformAgentOnBoot`. - Updates the corresponding test expectation to the install name derived from the source (`conciergePlatformMCPName`). `seedTemplatePlugins` expects plugin **source URLs**, not bare install names; it derives the install name via `plugins.PluginNameFromSource`. The primary provision path already passes `conciergePlatformMCPSource`; this change makes the boot re-declare path consistent. ## Why Main is red because #3051 added a call to the non-existent symbol `conciergePlatformMCPPlugin` in the running-but-vanilla concierge restart path. Fixes #3051 ## Test plan - `go build ./cmd/server` (CI) - `go test ./workspace-server/internal/handlers/ -run TestMaybeProvisionPlatformAgentOnBoot` (CI) - No remaining references to `conciergePlatformMCPPlugin` ## SOP checklist - **Comprehensive testing performed**: build+unit tests via CI; grep confirms no remaining `conciergePlatformMCPPlugin` references. - **Local-postgres E2E run**: N/A — Go handler-only change, no DB schema change. - **Staging-smoke verified or pending**: pending post-merge deploy pipeline. - **Root-cause not symptom**: undefined symbol `conciergePlatformMCPPlugin` left by #3051; replaced with existing `conciergePlatformMCPSource`. - **Five-Axis review walked**: minimal consistency fix, behavior matches primary provision path. - **No backwards-compat shim / dead code added**: no shim; uses existing constants. - **Memory consulted**: #3051/#3075 main-red regression notes.
agent-dev-a added 2 commits 2026-06-20 08:36:45 +00:00
fix(platform-agent): replace undefined conciergePlatformMCPPlugin with conciergePlatformMCPName
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
CI / Python Lint & Test (pull_request) Successful in 6s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 6s
Harness Replays / detect-changes (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 6s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Has been skipped
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 6s
reserved-path-review / reserved-path-review (pull_request_target) Successful in 8s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 17s
template-delivery-e2e / detect-changes (pull_request) Successful in 13s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 15s
PR Diff Guard / PR diff guard (pull_request) Successful in 15s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
E2E API Smoke Test / detect-changes (pull_request) Successful in 20s
E2E Chat / detect-changes (pull_request) Successful in 21s
CI / Canvas Deploy Status (pull_request) Successful in 1s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 22s
E2E Chat / E2E Chat (pull_request) Successful in 4s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 4s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 35s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 44s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 29s
Harness Replays / Harness Replays (pull_request) Successful in 1m19s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m24s
CI / Platform (Go) (pull_request) Successful in 3m19s
CI / all-required (pull_request) Successful in 5s
qa-review / approved (pull_request_target) Approved via pull_request_review trigger
security-review / approved (pull_request_target) Approved via pull_request_review trigger
reserved-path-review / reserved-path-review (pull_request_review) Successful in 10s
qa-review / approved (pull_request_review) Successful in 11s
security-review / approved (pull_request_review) Successful in 11s
sop-checklist / review-refire (pull_request_target) Has been skipped
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 9s
gate-check-v3 / gate-check (pull_request_target) Failing after 15s
E2E Staging SaaS (full lifecycle) / pr-validate (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Platform Boot (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge user_tasks (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Workspace Requests (core#2606) (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Creates Workspace (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge (compile+skip) (pull_request) Has been cancelled
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Platform Agent (pull_request) Has been cancelled
template-delivery-e2e / Template-asset delivery (fresh seo-agent — config+prompts via asset channel, seo-all via plugin reconcile) (pull_request) Successful in 7m11s
424506da0d
The running-but-vanilla concierge re-declare path referenced the old
symbol conciergePlatformMCPPlugin, which no longer exists. Use the
current constant conciergePlatformMCPName instead.

Fixes main-red regression at platform_agent.go:666/667.

Co-Authored-By: Claude <noreply@anthropic.com>
fix(platform-agent): pass source URL, not install name, to seedTemplatePlugins (CR review)\n\nseedTemplatePlugins expects plugin sources and derives the install name\nvia plugins.PluginNameFromSource. The boot re-declare path was passing\nthe bare install name (conciergePlatformMCPName), which would have been\nrecorded incorrectly. Use conciergePlatformMCPSource instead, matching\nthe primary provision path.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
reserved-path-review / reserved-path-review (pull_request_review) Successful in 10s
security-review / approved (pull_request_review) Successful in 11s
qa-review / approved (pull_request_review) Successful in 11s
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge user_tasks (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Creates Workspace (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Workspace Requests (core#2606) (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Platform Agent (pull_request) Has been skipped
CI / Python Lint & Test (pull_request) Successful in 6s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 7s
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 11s
Harness Replays / detect-changes (pull_request) Successful in 10s
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge (compile+skip) (pull_request) Successful in 11s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 11s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Has been skipped
E2E API Smoke Test / detect-changes (pull_request) Successful in 17s
qa-review / approved (pull_request_target) Failing after 9s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
reserved-path-review / reserved-path-review (pull_request_target) Successful in 9s
E2E Staging SaaS (full lifecycle) / pr-validate (pull_request) Successful in 17s
security-review / approved (pull_request_target) Failing after 9s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 18s
PR Diff Guard / PR diff guard (pull_request) Successful in 16s
template-delivery-e2e / detect-changes (pull_request) Successful in 15s
E2E Chat / detect-changes (pull_request) Successful in 21s
CI / Detect changes (pull_request) Successful in 22s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 19s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
E2E Chat / E2E Chat (pull_request) Successful in 3s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
CI / Canvas Deploy Status (pull_request) Successful in 2s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 41s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 48s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 30s
sop-checklist / review-refire (pull_request_target) Has been skipped
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 12s
gate-check-v3 / gate-check (pull_request_target) Failing after 14s
Harness Replays / Harness Replays (pull_request) Successful in 1m24s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m22s
CI / Platform (Go) (pull_request) Successful in 3m17s
audit-force-merge / audit (pull_request_target) Has been skipped
CI / all-required (pull_request) Successful in 3m6s
E2E Staging SaaS (full lifecycle) / E2E Staging Platform Boot (pull_request) Successful in 7m22s
template-delivery-e2e / Template-asset delivery (fresh seo-agent — config+prompts via asset channel, seo-all via plugin reconcile) (pull_request) Successful in 7m16s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Successful in 9m46s
5f21ecbdf6
agent-dev-a requested review from agent-reviewer-cr2 2026-06-20 08:37:00 +00:00
agent-dev-a requested review from agent-researcher 2026-06-20 08:37:01 +00:00
agent-dev-a closed this pull request 2026-06-20 08:42:26 +00:00
Some required checks failed
reserved-path-review / reserved-path-review (pull_request_review) Successful in 10s
security-review / approved (pull_request_review) Successful in 11s
qa-review / approved (pull_request_review) Successful in 11s
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge user_tasks (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Creates Workspace (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Workspace Requests (core#2606) (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Platform Agent (pull_request) Has been skipped
CI / Python Lint & Test (pull_request) Successful in 6s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 7s
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 11s
Harness Replays / detect-changes (pull_request) Successful in 10s
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge (compile+skip) (pull_request) Successful in 11s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 11s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Has been skipped
E2E API Smoke Test / detect-changes (pull_request) Successful in 17s
qa-review / approved (pull_request_target) Failing after 9s
Required
Details
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
Required
Details
reserved-path-review / reserved-path-review (pull_request_target) Successful in 9s
Required
Details
E2E Staging SaaS (full lifecycle) / pr-validate (pull_request) Successful in 17s
security-review / approved (pull_request_target) Failing after 9s
Required
Details
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 18s
PR Diff Guard / PR diff guard (pull_request) Successful in 16s
template-delivery-e2e / detect-changes (pull_request) Successful in 15s
E2E Chat / detect-changes (pull_request) Successful in 21s
CI / Detect changes (pull_request) Successful in 22s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 19s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
E2E Chat / E2E Chat (pull_request) Successful in 3s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
CI / Canvas Deploy Status (pull_request) Successful in 2s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 41s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 48s
Required
Details
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 30s
sop-checklist / review-refire (pull_request_target) Has been skipped
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 12s
gate-check-v3 / gate-check (pull_request_target) Failing after 14s
Harness Replays / Harness Replays (pull_request) Successful in 1m24s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m22s
Required
Details
CI / Platform (Go) (pull_request) Successful in 3m17s
audit-force-merge / audit (pull_request_target) Has been skipped
CI / all-required (pull_request) Successful in 3m6s
Required
Details
E2E Staging SaaS (full lifecycle) / E2E Staging Platform Boot (pull_request) Successful in 7m22s
template-delivery-e2e / Template-asset delivery (fresh seo-agent — config+prompts via asset channel, seo-all via plugin reconcile) (pull_request) Successful in 7m16s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Successful in 9m46s

Pull request closed

Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#3097