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__.py Events package initialization
  • base.py BaseEvent attrs class
  • collector.py EventCollector for gathering events
  • feed.py EventFeed for TUI consumption
  • protocol.py Event protocol definition
  • system.py System-level events
  • json_logger.py Event logging to JSON
  • monitor.py Event monitoring
  • processor.py Event processing pipeline
  • events.py Git-specific events
  • streams.py Stream utilities
  • Created events/ package with base events, collector, feed, protocol, system events, JSON logger, monitor, and processor instantiate behavioral
    4 files
    • base.py
    • collector.py
    • feed.py
    • processor.py
  • Added git-specific events and stream utilities instantiate internal
    2 files
    • events.py
    • streams.py

SUI command interface

2 files changed
  • sui_cmds.py New SUI CLI interface (136 lines)
  • test_sui_command.py SUI 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.py
    • test_sui_command.py

State management decomposition into focused modules

6 files changed
  • __init__.py State package initialization (262 lines)
  • control.py Control state tracking (164 lines)
  • file.py File-level state (220 lines)
  • manager.py State lifecycle management (381 lines)
  • monitor.py Monitor state (231 lines)
  • runtime.py Runtime 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.py
    • file.py
    • manager.py
    • monitor.py

Runtime architecture expansion with repository manager and monitoring coordinator

3 files changed
  • monitoring_coordinator.py Coordinates file monitoring across repositories (269 lines)
  • repository_manager.py Per-repository lifecycle management (362 lines)
  • orchestrator.py Simplified 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.py
    • repository_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.py Authentication module
  • operations.py Git operations module
  • base.py Refined base engine
  • Split git base into auth.py (authentication), operations.py (git operations), and refined base.py decouple internal
    2 files
    • auth.py
    • operations.py

TUI widgets, cleanup, and expanded test coverage

10 files changed
  • draggable_splitter.py Draggable splitter widget (120 lines) replacing resizable panes
  • app.py Better event integration
  • test_base.py Event base tests
  • test_collector.py Event collector tests
  • test_feed.py Event feed tests
  • test_git_mock_events.py Git mock event tests
  • test_monitor_events.py Monitor event tests
  • test_protocol.py Event protocol tests
  • test_system_events.py System event tests
  • test_dual_logging.py Dual 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.py
    • test_collector.py
    • test_feed.py
    • test_dual_logging.py