supsrc
2025-05-01
Initial project scaffold with full application architecture
222 files · 48,212+ · 1-
Core application package with CLI and configuration
14 files changed
__init__.pyPackage initialization with version exports__init__.pyCLI package initializationmain.pyClick-based main CLI entry pointconfig_cmds.pyConfiguration management CLI commandswatch_cmds.pyWatch command for filesystem monitoring modesui_cmds.pySUI command interfacecircuit_breaker_cmds.pyCircuit breaker management commandsutils.pyShared CLI utility functions and logging setup__init__.pyConfiguration package initializationdefaults.pyCentralized default configuration valuesmodels.pyTOML-based configuration models with attrs/cattrsexceptions.pyApplication-wide exception hierarchyprotocols.pyProtocol definitions for engine and service interfacestypes.pyShared type definitions
- Created the complete supsrc Python package with click-based CLI providing watch, config, sui, and circuit-breaker command groups
instantiate
architectural
4 files
main.pywatch_cmds.pyconfig_cmds.pysui_cmds.py
- Built TOML-based configuration system with attrs/cattrs models, default values module, and loader
instantiate
behavioral
3 files
__init__.pydefaults.pymodels.py
Git engine with authentication and event integration
7 files changed
__init__.pyEngines package initialization__init__.pyGit engine package initializationbase.pyCore git operations using pygit2auth.pySSH key, SSH agent, and HTTPS credential supportevents.pyGit-specific event definitionsinfo.pyRepository information queriesoperations.pyHigh-level git operations (stage, commit, push)
- Implemented pygit2-based git engine with staging, commit, push, and credential support including SSH key, SSH agent, and HTTPS authentication
instantiate
architectural
3 files
base.pyauth.pyoperations.py
Event system with buffering and feed table widget
21 files changed
__init__.pyEvents package initializationbase.pyBaseEvent attrs class definitioncollector.pyEvent collector for gathering filesystem eventsfeed.pyEvent feed for TUI consumptionprotocol.pyEvent protocol definitionsystem.pySystem-level event typesprocessor.pyEvent processing pipeline with timer debouncemonitor.pyEvent monitoringjson_logger.pyEvent logging to JSON formatdefaults.pyDefault values for buffer windows and debounce timers__init__.pyBuffer package initializationcore.pyEvent buffer core logicgrouping.pyEvent grouping and deduplicationconverters.pyBuffer event convertersstreaming.pyStreaming buffer supportbuffer_events.pyBuffer-specific event types__init__.pyFeed table package initializationwidget.pyTextual widget for event displayformatters.pyRich event formatting with file type detectionfile_utils.pyFile utility functions for feed tabletimer.pyTimer management for event processing
- Created comprehensive event system with base events, collector, feed, processor pipeline, and buffer system supporting grouping, deduplication, and configurable debounce windows
instantiate
behavioral
3 files
base.pyprocessor.pycore.py
- Added Textual-based feed table widget for displaying events with rich formatting
instantiate
behavioral
2 files
widget.pyformatters.py
Runtime orchestrator with workflow engine and state management
13 files changed
__init__.pyRuntime package initializationorchestrator.pyMain orchestrator coordinating all subsystemsaction_handler.pyHandles git stage/commit/push actionsmonitoring_coordinator.pyCoordinates file monitoring across repositoriesrepository_manager.pyPer-repository lifecycle managementstatus_manager.pyCentralized repository status trackingtui_interface.pyTUI communication layer__init__.pyWorkflow package initializationexecutor.pyWorkflow execution enginesteps.pyComposable workflow step definitionsgit_operations.pyGit operations workflow stepllm_utils.pyLLM integration utilities for workflowstest_runner.pyTest execution workflow step
- Built decomposed runtime with orchestrator delegating to action handler, monitoring coordinator, repository manager, and status manager
instantiate
architectural
3 files
orchestrator.pyaction_handler.pyrepository_manager.py
- Added workflow engine with composable steps for git operations, LLM integration, and test execution
instantiate
behavioral
2 files
executor.pysteps.py
Filesystem monitoring, TUI, LLM, and supporting modules
35 files changed
__init__.pyMonitor package initializationhandler.pyWatchdog event handler with debouncingservice.pyMonitoring service managing directory watchersevents.pyMonitor event definitions__init__.pyTUI package initializationapp.pyMain Textual TUI applicationbase_app.pyShared TUI base classmessages.pyTUI message passingutils.pyCommon TUI utilitiesactions.pyKeyboard and button handlersevents.pyTUI event processingrepo_actions.pyRepository-specific TUI actionsui_helpers.pyUI utility functionsworker_helpers.pyBackground worker managementtimer_manager.pyTimer lifecycle managementdraggable_splitter.pyDraggable pane splitter widgetlog_panel.pyLog panel widget__init__.pyLLM package initializationprompts.pyPrompt templates for commit messages and code reviewbase.pyBase provider abstractiongemini.pyGoogle Gemini API integrationollama.pyLocal Ollama model integration__init__.pyState package initializationcontrol.pyControl state trackingfile.pyFile-level state managementmanager.pyState lifecycle managementmonitor.pyMonitor state trackingruntime.pyRuntime state definitions__init__.pyTelemetry package initializationeventset.pyTelemetry event set definitionsrules.pyInactivity, save count, and manual trigger rulescircuit_breaker.pyCircuit breaker for fault toleranceconsole_formatter.pyConsole output formattingdirectories.pyData directory managementstreams.pyStream utilities
- Implemented watchdog-based monitoring, modular Textual TUI with handlers/helpers/widgets, LLM integration with Gemini and Ollama providers, decomposed state management, and supporting services
instantiate
behavioral
4 files
service.pyapp.pygemini.pymanager.py
Test suite, CI, and project configuration
13 files changed
pyproject.tomlFull metadata, dependencies, and ruff/mypy configurationmkdocs.ymlMkDocs documentation site configurationci.ymlGitHub Actions CI workflowrelease.ymlRelease workflowLICENSEApache 2.0 licenseREADME.mdUsage docs, configuration examples, and architecture overviewVERSIONSingle-source version fileCHANGELOG.mdRelease changelogCLAUDE.mdClaude Code project instructionsCONTRIBUTING.mdContribution guidelinesuv.lockDependency lock filesupsrc.confDefault configuration file.gitignoreGit ignore rules
- Full test suite with unit tests for CLI, config, git engine, events, state, TUI, orchestrator, workflow; integration tests for monitoring, TUI workflows, timer debounce; and E2E tests
qualify
behavioral
6 files
test_cli.pytest_config.pytest_git_engine.pytest_orchestrator.pytest_monitoring.pytest_cli_integration.py
- Added pyproject.toml with dependencies, GitHub Actions CI/release workflows, MkDocs setup, Apache 2.0 LICENSE, and comprehensive README
baseline
internal
5 files
pyproject.tomlci.ymlmkdocs.ymlLICENSEREADME.md