supsrc 2025-08-13
Decomposed orchestrator into focused modules, consolidated git engine, fixed TUI deadlocks
34 files · 1,618+ · 5,132-

Orchestrator decomposition into action handler, event processor, and TUI interface

4 files changed
  • orchestrator.py Reduced from ~1900 lines to a lean coordinator
  • action_handler.py Handles git stage/commit/push actions
  • event_processor.py Processes filesystem events
  • tui_interface.py TUI communication layer
  • Split monolithic orchestrator.py into focused modules – action_handler.py (git actions), event_processor.py (filesystem events), and tui_interface.py (TUI communication) decouple architectural
    3 files
    • action_handler.py
    • event_processor.py
    • tui_interface.py
  • Reduced orchestrator.py from ~1900 lines to a lean coordinator, fixed multiple deadlocks and race conditions remediate behavioral
    1 file
    • orchestrator.py

Git engine consolidation into single base module

8 files changed
  • base.py Consolidated all git operations into single module
  • commit.py Removed -- consolidated into base
  • push.py Removed -- consolidated into base
  • stage.py Removed -- consolidated into base
  • runner.py Removed -- consolidated into base
  • credentials.py Removed -- consolidated into base
  • errors.py Removed -- consolidated into base
  • exceptions.py Removed -- consolidated into base
  • Consolidated all git operations into engines/git/base.py, removing separate commit, push, stage, runner, credentials, errors, and exceptions files decouple behavioral
    1 file
    • base.py
  • Added better error handling for empty git repositories harden internal
    1 file
    • base.py

TUI stability fixes and Ctrl+C handling

2 files changed
  • app.py Fixed hangs caused by race conditions in state updates
  • alt_app.py Removed -- no longer needed
  • Fixed TUI hangs caused by race conditions in state updates, improved responsiveness during git operations remediate behavioral
    1 file
    • app.py
  • Removed tui/alt_app.py (alternative TUI no longer needed) and fixed Ctrl+C signal handling discrepancy decouple internal
    1 file
    • alt_app.py

CLI refinements and updated test suite

8 files changed
  • config_cmds.py Refactored config commands
  • main.py Simplified CLI structure
  • tail_cmds.py Refactored tail commands
  • watch_cmds.py Refactored watch commands
  • utils.py Updated CLI utilities
  • test_action_handler.py New action handler tests
  • test_event_processor.py New event processor tests
  • test_orchestrator_features.py Removed obsolete tests
  • Refactored CLI modules with cleaner imports and simplified structure decouple internal
    3 files
    • config_cmds.py
    • main.py
    • tail_cmds.py
  • Added test_action_handler.py and test_event_processor.py, removed obsolete test_orchestrator_features.py qualify behavioral
    2 files
    • test_action_handler.py
    • test_event_processor.py