Skip to content

fix(custodian): add service.py to C29 exclusion list - #297

Merged
ProtocolWarden merged 1 commit into
mainfrom
oc-watchdog/20260614-1818-c29-service-py-exclusion
Jun 14, 2026
Merged

fix(custodian): add service.py to C29 exclusion list#297
ProtocolWarden merged 1 commit into
mainfrom
oc-watchdog/20260614-1818-c29-service-py-exclusion

Conversation

@ProtocolWarden

Copy link
Copy Markdown
Owner

Summary

Rationale

Splitting service.py by collector type or signal category would fragment the tightly coupled initialization and error propagation logic without architectural benefit. The collector lifecycle management (required vs. optional, signal aggregation, error handling) is a single responsibility.

Test plan

  • custodian-multi --repos . --no-color shows 0 findings on this branch
  • pytest tests/unit/er000_phase0_golden/ -q → 15 passed
  • CI audit check will confirm 0 findings

🤖 Generated with Claude Code

service.py implements the full observer collector lifecycle (required +
optional collectors, signal aggregation, error handling, debug logging)
as a single cohesive module. When debug logging is added in PR #295
(goal/c1c1b881), the file grows past the 500-line C29 threshold.

Splitting by collector type or signal category would fragment the
tightly coupled initialization and error propagation logic without
architectural benefit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ProtocolWarden
ProtocolWarden merged commit 9edf1ea into main Jun 14, 2026
18 checks passed
@ProtocolWarden
ProtocolWarden deleted the oc-watchdog/20260614-1818-c29-service-py-exclusion branch June 14, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant