supsrc
2025-10-09
Decomposed event buffer into package, added console output system and headless design doc
44 files · 4,879+ · 747-
Event buffer package decomposition
6 files changed
buffer.pyRemoved monolithic buffer module (429 lines deleted)__init__.pyNew package init (12 lines)converters.pyNew module (185 lines) for event conversion logiccore.pyNew module (201 lines) for core buffer logicgrouping.pyNew module (87 lines) for event grouping logicstreaming.pyNew module (226 lines) for streaming output
- Decomposed monolithic events/buffer.py into events/buffer/ package with core.py, converters.py, grouping.py, and streaming.py
decouple
behavioral
6 files
buffer.py__init__.pyconverters.pycore.pygrouping.pystreaming.py
Console output formatting system
7 files changed
__init__.pyNew package initconsole_formatter.pyNew module (274 lines) for rich terminal output formattingemoji_map.pyNew module (116 lines) mapping event types and statuses to emoji indicators__init__.pyNew subpackage initbase.pyNew base class (25 lines) for extensible output formattingcompact.pyNew compact format (207 lines) for single-line outputtable.pyNew table format (356 lines) for rich table-based output
- Added output/ package with console_formatter.py, emoji_map.py, and verbose_formats/ subpackage for headless/non-TUI mode output
instantiate
behavioral
6 files
__init__.pyconsole_formatter.pyemoji_map.pybase.pycompact.pytable.py
Event timer module
1 file changed
timer.pyNew module (24 lines) for centralized timer management
- Added events/timer.py for centralized timer management
instantiate
internal
1 file
timer.py
Headless event stream design document
1 file changed
headless-event-stream-plan.mdNew document (1016 lines) detailing the architecture for headless mode with streaming event output
- Added docs/headless-event-stream-plan.md detailing the architecture for headless mode with streaming event output
specify
behavioral
1 file
headless-event-stream-plan.md
CLI and orchestrator updates
14 files changed
main.pyExpanded CLI main with additional command optionsutils.pyUpdated CLI utilitieswatch_cmds.pyUpdated watch commands with new output mode supportbase.pyMinor git engine adjustmentsorchestrator.pyUpdated orchestrator with improved event streaming integrationbuffer_events.pyMinor buffer event adjustmentsdefaults.pyMinor defaults adjustmentfeed_table.pyMinor import fix__init__.pyMinor import fixfile_utils.pyMinor import fixformatters.pyMinor import fixmonitor.pyMinor import fixCLAUDE.mdExpanded project documentationREADME.mdMinor README update
- Updated CLI with new output mode support and expanded watch commands
margin
behavioral
3 files
main.pyutils.pywatch_cmds.py
- Updated orchestrator with improved event streaming integration
margin
behavioral
1 file
orchestrator.py
Testing additions
15 files changed
test_console_verbose_output.pyNew file (403 lines) for console output testing__init__.pyNew test package inittest_console_formatter.pyNew file (552 lines) for console formatter testingtest_verbose_formats.pyNew file (193 lines) for output format testingtest_event_buffer_core.pyUpdated for new buffer package structuretest_event_buffer_grouping.pyUpdated for new buffer package structuretest_event_buffer_patterns.pyUpdated for new buffer package structuretest_atomic_file_operations.pyUpdated atomic operation test importstest_vscode_atomic_save.pyUpdated VS Code test importstest_event_stream.shNew shell script (212 lines) for event stream testingtest_changes.txtTest artifacttest_file.txtTest artifacttest_timer_trigger.txtTest artifacttimer_test_file.txtTest artifactuv.lockLockfile refresh
- Added test_console_verbose_output.py, test_console_formatter.py, and test_verbose_formats.py for the new output system
qualify
behavioral
3 files
test_console_verbose_output.pytest_console_formatter.pytest_verbose_formats.py
- Added test_event_stream.sh shell script for event stream testing
qualify
behavioral
1 file
test_event_stream.sh