internal/plugin/plugin.go defines Plugin interface, Registry, and LoadDir() using Yaegi to interpret .go files from a directory, but nothing in cmd/archied/main.go calls it. Wire ~/.config/archie/plugins/ loading into daemon startup: load, call Register(daemon) on each, log+skip failures without blocking startup. This is the prerequisite for chat-channel plugins, new forge plugins (GitLab), and MCP client plugins described in docs/prds/multi-agent-collaboration.md phase A.
Design
Reuse internal/plugin/plugin.go as-is per the v2 PRD reconciliation note (sec.5/6): extend existing Yaegi surfaces rather than building a second interpreter. Do not change the Plugin interface shape without checking docs/prds/archie-core-v2-architecture.md sec.5 first.
Acceptance Criteria
archied loads .go plugin files from ~/.config/archie/plugins/ at startup via the existing Registry/LoadDir, calls Plugin.Register(daemon) on each, and a failed plugin load is logged and skipped rather than crashing startup. Existing daemon startup tests remain green.
Imported from beads archie-core-1786637495615-222-685bcd3a · GitHub #243 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08
internal/plugin/plugin.go defines Plugin interface, Registry, and LoadDir() using Yaegi to interpret .go files from a directory, but nothing in cmd/archied/main.go calls it. Wire ~/.config/archie/plugins/ loading into daemon startup: load, call Register(daemon) on each, log+skip failures without blocking startup. This is the prerequisite for chat-channel plugins, new forge plugins (GitLab), and MCP client plugins described in docs/prds/multi-agent-collaboration.md phase A.
### Design
Reuse internal/plugin/plugin.go as-is per the v2 PRD reconciliation note (sec.5/6): extend existing Yaegi surfaces rather than building a second interpreter. Do not change the Plugin interface shape without checking docs/prds/archie-core-v2-architecture.md sec.5 first.
### Acceptance Criteria
archied loads .go plugin files from ~/.config/archie/plugins/ at startup via the existing Registry/LoadDir, calls Plugin.Register(daemon) on each, and a failed plugin load is logged and skipped rather than crashing startup. Existing daemon startup tests remain green.
---
_Imported from beads `archie-core-1786637495615-222-685bcd3a` · GitHub #243 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08_
sam
added the mediumtask labels 2026-10-27 13:37:35 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
internal/plugin/plugin.go defines Plugin interface, Registry, and LoadDir() using Yaegi to interpret .go files from a directory, but nothing in cmd/archied/main.go calls it. Wire ~/.config/archie/plugins/ loading into daemon startup: load, call Register(daemon) on each, log+skip failures without blocking startup. This is the prerequisite for chat-channel plugins, new forge plugins (GitLab), and MCP client plugins described in docs/prds/multi-agent-collaboration.md phase A.
Design
Reuse internal/plugin/plugin.go as-is per the v2 PRD reconciliation note (sec.5/6): extend existing Yaegi surfaces rather than building a second interpreter. Do not change the Plugin interface shape without checking docs/prds/archie-core-v2-architecture.md sec.5 first.
Acceptance Criteria
archied loads .go plugin files from ~/.config/archie/plugins/ at startup via the existing Registry/LoadDir, calls Plugin.Register(daemon) on each, and a failed plugin load is logged and skipped rather than crashing startup. Existing daemon startup tests remain green.
Imported from beads
archie-core-1786637495615-222-685bcd3a· GitHub #243 · type task · priority P2 · created 2026-08-08 · closed 2026-08-08