P8-013: Gateway Phase 5 — MosaicPlugin lifecycle, ReloadService, hot reload #166

Closed
opened 2026-03-16 01:26:16 +00:00 by jason.woltje · 0 comments
Owner

Define MosaicPlugin interface (onLoad, onUnload, onReload). Refactor discord/telegram plugins to implement lifecycle. Create ReloadService — scan, diff manifest, re-init plugins, broadcast system:reload. Implement /reload admin command. Add POST /api/admin/reload and SIGHUP handler. TUI handles system:reload to patch manifest and show notification.

Ref: docs/plans/2026-03-15-agent-platform-architecture.md (Implementation Phase 5, Hot Reload section)

Wave 5 — depends on P8-010.

Define MosaicPlugin interface (onLoad, onUnload, onReload). Refactor discord/telegram plugins to implement lifecycle. Create ReloadService — scan, diff manifest, re-init plugins, broadcast system:reload. Implement /reload admin command. Add POST /api/admin/reload and SIGHUP handler. TUI handles system:reload to patch manifest and show notification. Ref: docs/plans/2026-03-15-agent-platform-architecture.md (Implementation Phase 5, Hot Reload section) Wave 5 — depends on P8-010.
jason.woltje added this to the Phase 8: Polish & Beta (v0.1.0) milestone 2026-03-16 01:26:16 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#166