supsrc
2025-09-17
Introduced event system, decomposed state management, added SUI command and runtime managers
67 files · 5,489+ · 1,697-
Comprehensive event system
11 files changed
__init__.pyEvents package initializationbase.pyBaseEvent attrs classcollector.pyEventCollector for gathering eventsfeed.pyEventFeed for TUI consumptionprotocol.pyEvent protocol definitionsystem.pySystem-level eventsjson_logger.pyEvent logging to JSONmonitor.pyEvent monitoringprocessor.pyEvent processing pipelineevents.pyGit-specific eventsstreams.pyStream utilities
- Created events/ package with base events, collector, feed, protocol, system events, JSON logger, monitor, and processor
instantiate
behavioral
4 files
base.pycollector.pyfeed.pyprocessor.py
- Added git-specific events and stream utilities
instantiate
internal
2 files
events.pystreams.py
SUI command interface
2 files changed
sui_cmds.pyNew SUI CLI interface (136 lines)test_sui_command.pySUI command tests (171 lines)
- Added cli/sui_cmds.py (136 lines) for a new SUI CLI interface with corresponding tests
instantiate
behavioral
2 files
sui_cmds.pytest_sui_command.py
State management decomposition into focused modules
6 files changed
__init__.pyState package initialization (262 lines)control.pyControl state tracking (164 lines)file.pyFile-level state (220 lines)manager.pyState lifecycle management (381 lines)monitor.pyMonitor state (231 lines)runtime.pyRuntime state (renamed from state.py)
- Decomposed monolithic state.py into state/ package with control.py, file.py, manager.py, monitor.py, and runtime.py
decouple
behavioral
4 files
control.pyfile.pymanager.pymonitor.py
Runtime architecture expansion with repository manager and monitoring coordinator
3 files changed
monitoring_coordinator.pyCoordinates file monitoring across repositories (269 lines)repository_manager.pyPer-repository lifecycle management (362 lines)orchestrator.pySimplified to delegate to new managers
- Added monitoring_coordinator.py (269 lines) and repository_manager.py (362 lines) for specialized management
instantiate
architectural
2 files
monitoring_coordinator.pyrepository_manager.py
- Simplified orchestrator to delegate to new specialized managers
decouple
internal
1 file
orchestrator.py
Git engine refactoring with auth and operations split
3 files changed
auth.pyAuthentication moduleoperations.pyGit operations modulebase.pyRefined base engine
TUI widgets, cleanup, and expanded test coverage
10 files changed
draggable_splitter.pyDraggable splitter widget (120 lines) replacing resizable panesapp.pyBetter event integrationtest_base.pyEvent base teststest_collector.pyEvent collector teststest_feed.pyEvent feed teststest_git_mock_events.pyGit mock event teststest_monitor_events.pyMonitor event teststest_protocol.pyEvent protocol teststest_system_events.pySystem event teststest_dual_logging.pyDual logging verification tests
- Added draggable_splitter.py widget (120 lines) replacing resizable panes
instantiate
internal
1 file
draggable_splitter.py
- Removed Foundation integration status document, old telemetry logger/processors backup, and tail command tests
decouple
internal
1 file
app.py
- Added comprehensive event system tests and dual logging verification tests
qualify
behavioral
4 files
test_base.pytest_collector.pytest_feed.pytest_dual_logging.py