Go CQ scaffolding, Foundation circuit breaker patterns, code quality fixes
22 files · 993+ · 120-

Go CQ scaffolding: golangci-lint, Makefile, CI workflow

5 files changed
  • .golangci.yml golangci-lint configuration for Go code quality
  • Makefile Makefile for Go build, test, and lint targets
  • ci-go.yml Go CI workflow: lint, test, coverage
  • check_spdx_headers.py Go files added to SPDX header check scope
  • validate_conformance.py Go added to conformance validation
  • Go language support added: golangci-lint config, Makefile with standard build/test/lint targets, and CI workflow. SPDX header check and conformance validation scripts extended to cover Go source files. baseline internal
    2 files
    • .golangci.yml
    • ci-go.yml

Foundation circuit breaker and emergency fallback patterns

3 files changed
  • resilience.py Circuit breaker enhancement and emergency fallback absorbed from Foundation patterns
  • core.py Emergency logger fallback wired into core logger
  • health.py Health snapshot mapping updated for circuit breaker states
  • Foundation patterns absorbed: enhanced circuit breaker with executor saturation detection and emergency fallback to synchronous logging when the async executor is saturated or tripped. Emergency fallback prevents log loss under high load. Health snapshot mapping updated to reflect new circuit breaker states. harden behavioral
    2 files
    • resilience.py
    • core.py

Code quality review fixes and regression tests

9 files changed
  • setup.py Setup degraded mode and lifecycle fixes from code review
  • test_code_review_regressions_3.py Regression tests for code review 3 findings
  • test_circuit_breaker_enhancement.py Circuit breaker enhancement tests: saturation, recovery, state transitions
  • test_executor_saturation.py Executor saturation tests under load
  • test_setup_degraded_mode.py Degraded mode tests: partial init, fallback behavior
  • test_setup_lifecycle.py Setup lifecycle tests: init ordering, teardown
  • test_setup_mutations.py Setup mutation survivors killed
  • fingerprint.ts TypeScript fingerprint CQ fixes
  • pii.ts TypeScript PII CQ fixes
  • Task 0 code quality review issues resolved across Python resilience, health, and setup modules. Regression test suite added for code review 3 findings. Circuit breaker enhancement tests cover saturation detection, state transitions, and recovery. Setup lifecycle and degraded mode tests added. Setup mutation survivors killed. TypeScript fingerprint and PII CQ issues resolved. remediate behavioral
    3 files
    • test_code_review_regressions_3.py
    • test_circuit_breaker_enhancement.py
    • setup.py