The event bus was over-engineered for a system with ~50 sessions. The dashboard can read metadata files + poll GitHub directly. Remove the EventBus interface, event-bus.ts module, and all emit/subscribe wiring from session-manager and lifecycle-manager. The reaction engine (the valuable part) stays — executeReaction now takes sessionId/projectId directly instead of going through OrchestratorEvent. Also fix listMetadata() to filter out directories (not just the "archive" dir by name) so readMetadataRaw() can't crash on non-file entries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| plugins | ||
| web | ||