supsrc 2025-11-17
Supsrc
33 files · 10,277+ · 182-

Feature: Circuit Breaker

24 files changed
  • safety.json Added configuration
  • __init__.py Added package initialization
  • circuit_breaker.py Added module (534+ 0-)
  • bandit-summary.txt Added module (6+ 0-)
  • gitleaks.json Added configuration
  • pip-audit.json Added configuration
  • security.json Added configuration
  • security_issues.txt Added module (201+ 0-)
  • security_summary.txt Added module (18+ 0-)
  • semgrep.json Added configuration
  • CLAUDE.md Updated documentation
  • SECURITY_SCAN_REPORT.md Added documentation
  • circuit_breaker_cmds.py Added module (164+ 0-)
  • main.py Added module (2+ 0-)
  • sui_cmds.py Updated module (77+ 22-)
  • watch_cmds.py Updated module (9+ 7-)
  • base.py Updated module (31+ 25-)
  • system.py Updated module (22+ 3-)
  • protocols.py Added module (5+ 0-)
  • orchestrator.py Updated module (38+ 15-)
  • steps.py Updated module (60+ 18-)
  • app.py Updated module (3+ 6-)
  • repo_actions.py Updated module (51+ 38-)
  • test_git_engine.py Updated test file
  • Added src/supsrc/services/circuit_breaker.py (256 lines) implementing safety mechanisms for bulk change detection and branch detection harden internal
    24 files
    • bandit-summary.txt
    • gitleaks.json
    • pip-audit.json
    • safety.json
    • security.json
    • security_issues.txt
    • security_summary.txt
    • semgrep.json
    • CLAUDE.md
    • SECURITY_SCAN_REPORT.md
    • circuit_breaker_cmds.py
    • main.py
    • sui_cmds.py
    • watch_cmds.py
    • base.py
    • system.py
    • protocols.py
    • orchestrator.py
    • steps.py
    • __init__.py
    • circuit_breaker.py
    • app.py
    • repo_actions.py
    • test_git_engine.py
  • Circuit breaker prevents automatic commits when unusual patterns are detected (e.g., mass file changes, wrong branch) remediate internal
    1 file
    • circuit_breaker.py
  • Added services/__init__.py package initialization baseline internal
    1 file
    • __init__.py

Enhancement: Configuration

2 files changed
  • models.py Updated module (36+ 10-)
  • circuit_breaker.py Added module (534+ 0-)
  • Expanded config models with circuit breaker configuration options (46 lines of changes) harden internal
    2 files
    • models.py
    • circuit_breaker.py

Enhancement: Event Processor

2 files changed
  • processor.py Updated module (98+ 12-)
  • circuit_breaker.py Added module (534+ 0-)
  • Updated event processor with circuit breaker integration (53 lines of changes) harden behavioral
    2 files
    • processor.py
    • circuit_breaker.py

Enhancement: State Runtime

2 files changed
  • circuit_breaker.py Added module (534+ 0-)
  • runtime.py Added module (107+ 0-)
  • Extended runtime state with circuit breaker state tracking (97 lines added) harden internal
    2 files
    • circuit_breaker.py
    • runtime.py

Testing: Comprehensive Test Suite

7 files changed
  • circuit_breaker.py Added module (534+ 0-)
  • test_real_config.py Updated test file
  • config_testing.py Updated test file
  • test_circuit_breaker_integration.py Added test file
  • test_circuit_breaker.py Added test file
  • test_state_management.py Added test file
  • test_status_manager.py Added test file
  • Added tests/unit/test_circuit_breaker.py (494 lines) for unit testing circuit breaker logic qualify internal
    2 files
    • circuit_breaker.py
    • test_circuit_breaker.py
  • Added tests/integration/test_circuit_breaker_integration.py (497 lines) for integration testing qualify internal
    3 files
    • circuit_breaker.py
    • test_circuit_breaker_integration.py
    • test_circuit_breaker.py
  • Added tests/unit/test_state_management.py (1067 lines) for comprehensive state management tests qualify internal
    1 file
    • test_state_management.py
  • Added tests/unit/test_status_manager.py (417 lines) for StatusManager unit tests qualify internal
    1 file
    • test_status_manager.py
  • Updated E2E and helper configs for new features instantiate internal
    2 files
    • test_real_config.py
    • config_testing.py