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.pyReduced from ~1900 lines to a lean coordinatoraction_handler.pyHandles git stage/commit/push actionsevent_processor.pyProcesses filesystem eventstui_interface.pyTUI 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.pyevent_processor.pytui_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.pyConsolidated all git operations into single modulecommit.pyRemoved -- consolidated into basepush.pyRemoved -- consolidated into basestage.pyRemoved -- consolidated into baserunner.pyRemoved -- consolidated into basecredentials.pyRemoved -- consolidated into baseerrors.pyRemoved -- consolidated into baseexceptions.pyRemoved -- 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.pyFixed hangs caused by race conditions in state updatesalt_app.pyRemoved -- 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.pyRefactored config commandsmain.pySimplified CLI structuretail_cmds.pyRefactored tail commandswatch_cmds.pyRefactored watch commandsutils.pyUpdated CLI utilitiestest_action_handler.pyNew action handler teststest_event_processor.pyNew event processor teststest_orchestrator_features.pyRemoved obsolete tests
- Refactored CLI modules with cleaner imports and simplified structure
decouple
internal
3 files
config_cmds.pymain.pytail_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.pytest_event_processor.py