P8-013: Gateway Phase 5 — MosaicPlugin lifecycle, ReloadService, hot reload #166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.