Extract archie-agent MCP provider lifecycle #480

Closed
opened 2026-10-27 13:36:29 +00:00 by sam · 0 comments
Owner

Problem\nmain.go contains MCP transport selection, provider startup/discovery, registry population, and cleanup alongside process wiring.\n\n## Scope\nMove mcpProviderSet, startMCPProviders, and cleanup into an MCP-provider concern file. Preserve optional-provider failure isolation and transport behavior.\n\n## Acceptance\n- MCP provider lifecycle is outside main.go\n- optional failures and cleanup semantics remain unchanged and tested\n- task check passes

Acceptance criteria

MCP lifecycle is outside main.go with failure isolation and cleanup preserved; tests and task check pass

Notes

Implementation and validation are complete in /tmp/archie-core-agent-cleanup on branch refactor/archie-agent-main-cleanup, but delivery is pending: changes are uncommitted, not integrated into the target branch, and not pushed. Do not close until those delivery steps are complete.
Validation completed: MCP lifecycle tests, lint, task check, and fresh review clean.
Delivered on review branch refactor/archie-agent-main-cleanup at de242f8; pending PR review/merge.

Close reason

Merged to main in PR #480 at 52738f5; implementation commit de242f8 passed task check, race tests, lint, and independent review


Imported from beads archie-core-tje.3 · GitHub #473 · type task · priority P2 · created 2026-08-13 · closed 2026-08-14

## Problem\nmain.go contains MCP transport selection, provider startup/discovery, registry population, and cleanup alongside process wiring.\n\n## Scope\nMove mcpProviderSet, startMCPProviders, and cleanup into an MCP-provider concern file. Preserve optional-provider failure isolation and transport behavior.\n\n## Acceptance\n- MCP provider lifecycle is outside main.go\n- optional failures and cleanup semantics remain unchanged and tested\n- task check passes ### Acceptance criteria MCP lifecycle is outside main.go with failure isolation and cleanup preserved; tests and task check pass ### Notes Implementation and validation are complete in /tmp/archie-core-agent-cleanup on branch refactor/archie-agent-main-cleanup, but delivery is pending: changes are uncommitted, not integrated into the target branch, and not pushed. Do not close until those delivery steps are complete. Validation completed: MCP lifecycle tests, lint, task check, and fresh review clean. Delivered on review branch refactor/archie-agent-main-cleanup at de242f8; pending PR review/merge. ### Close reason Merged to main in PR #480 at 52738f5; implementation commit de242f8 passed task check, race tests, lint, and independent review --- _Imported from beads `archie-core-tje.3` · GitHub #473 · type task · priority P2 · created 2026-08-13 · closed 2026-08-14_
sam added the mediumtask labels 2026-10-27 13:36:29 +00:00
sam self-assigned this 2026-10-27 13:36:29 +00:00
sam closed this issue 2026-10-27 13:36:29 +00:00
sam added a new dependency 2026-10-27 13:42:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#480