Overview
PR #94 added the event bus infrastructure (SQLite-backed pub/sub with 6 tools). This issue tracks integrating it into clemini's workflow so it's actually useful.
Use Cases to Implement
1. Auto-registration on startup
- Register session automatically when clemini starts
- Use branch name or cwd as session name
- Unregister on clean exit
2. CI/build notifications
- Broadcast
ci_completed, build_failed events
- Other sessions see results without polling GitHub
3. Discovery and coordination
list_sessions to see who's working on what
- Avoid conflicting edits on same files
- Request help from other sessions (
help_needed events)
4. Knowledge sharing
gotcha_discovered - share non-obvious issues
pattern_found - share useful patterns
test_flaky - flag unreliable tests
5. Cross-repo coordination
- When creating issues in other repos, notify via
repo:<name> channel
- Sessions working on that repo get notified
Implementation Tasks
Dependencies
Notes
The event bus is currently "plumbing without fixtures" - the infrastructure exists but nothing automatically uses it yet. This issue is about wiring it up.
Overview
PR #94 added the event bus infrastructure (SQLite-backed pub/sub with 6 tools). This issue tracks integrating it into clemini's workflow so it's actually useful.
Use Cases to Implement
1. Auto-registration on startup
2. CI/build notifications
ci_completed,build_failedevents3. Discovery and coordination
list_sessionsto see who's working on whathelp_neededevents)4. Knowledge sharing
gotcha_discovered- share non-obvious issuespattern_found- share useful patternstest_flaky- flag unreliable tests5. Cross-repo coordination
repo:<name>channelImplementation Tasks
Dependencies
Notes
The event bus is currently "plumbing without fixtures" - the infrastructure exists but nothing automatically uses it yet. This issue is about wiring it up.