Extract archie-agent MCP provider lifecycle #480
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#480
Reference in new issue
Block a user
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