Delete five dead os-sdlc units found by the CRC pass #782

Closed
opened 2026-09-27 23:05:34 +00:00 by jared · 2 comments
Owner

Problem

Five classes have no caller in lib/, bin/, hooks/, agents/, or skills/: PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection.
These are dead units left from earlier refactors.

Reproduce

n/a: deletion of unreachable code.

Approach

Delete each class file and its test file; run suite green. Rulings adopted: no owner; deletions only.

Required work:

  1. PushNotifier deleted from lib/os_sdlc/adapters/notifiers.rb and test removed
  2. NullNotifier deleted from lib/os_sdlc/adapters/notifiers.rb and test removed
  3. GreenAssertFailureSidecar deleted from lib/os_sdlc/presenter/assert_result.rb and test removed
  4. ReportRenderer deleted from lib/os_sdlc/presenter/report_renderer.rb and test removed
  5. Daemon::Connection deleted from lib/os_sdlc/daemon/connection.rb and test removed
  6. Suite green — check: cd plugins/os-sdlc && ruby tests/all.rb

Acceptance criteria

  1. Given the five constants, when grepped across plugins/os-sdlc, then zero hits.
  2. Given the suite, when run, then it passes with zero failures.
  3. Given the diff, when checked, then only the five files and their tests are removed.

Owner sketch

# no owner; deletions only

Non-goals

No behavior change. No new tests. Dead-code deletion only.

Origin

  • Trigger: CRC session 13 dead-code sweep, docs/crc/os-sdlc
  • Improvised this session: none
  • Chain: dead units ← RunnerCLI dissolution and earlier extractions (#767, #768) ← DESIGN (ADR-0231, ADR-0232)
  • Root candidate: this ticket
  • Where: plugins/os-sdlc/lib/os_sdlc/ (five files)
  • Session: e64808e4-7c0b-4664-9d13-177acbbc143c
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-pass-os-sdlc/e64808e4-7c0b-4664-9d13-177acbbc143c.jsonl
## Problem Five classes have no caller in lib/, bin/, hooks/, agents/, or skills/: PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection. These are dead units left from earlier refactors. ## Reproduce n/a: deletion of unreachable code. ## Approach Delete each class file and its test file; run suite green. Rulings adopted: no owner; deletions only. Required work: 1. PushNotifier deleted from lib/os_sdlc/adapters/notifiers.rb and test removed 2. NullNotifier deleted from lib/os_sdlc/adapters/notifiers.rb and test removed 3. GreenAssertFailureSidecar deleted from lib/os_sdlc/presenter/assert_result.rb and test removed 4. ReportRenderer deleted from lib/os_sdlc/presenter/report_renderer.rb and test removed 5. Daemon::Connection deleted from lib/os_sdlc/daemon/connection.rb and test removed 6. Suite green — check: cd plugins/os-sdlc && ruby tests/all.rb ## Acceptance criteria 1. Given the five constants, when grepped across plugins/os-sdlc, then zero hits. 2. Given the suite, when run, then it passes with zero failures. 3. Given the diff, when checked, then only the five files and their tests are removed. ## Owner sketch ```ruby # no owner; deletions only ``` ## Non-goals No behavior change. No new tests. Dead-code deletion only. ## Origin - Trigger: CRC session 13 dead-code sweep, docs/crc/os-sdlc - Improvised this session: none - Chain: dead units ← RunnerCLI dissolution and earlier extractions (#767, #768) ← DESIGN (ADR-0231, ADR-0232) - Root candidate: this ticket - Where: plugins/os-sdlc/lib/os_sdlc/ (five files) - Session: e64808e4-7c0b-4664-9d13-177acbbc143c - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-pass-os-sdlc/e64808e4-7c0b-4664-9d13-177acbbc143c.jsonl
Author
Owner

Deleted: PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection (five units + nine files). Suite: 1300 runs, 2851 assertions, 0 failures, 0 errors, 10 skips. Commit 53397919.

Deleted: PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection (five units + nine files). Suite: 1300 runs, 2851 assertions, 0 failures, 0 errors, 10 skips. Commit 53397919.
Author
Owner

Resolution

Done: Deleted PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection and their tests (nine files).

Evidence: Commit 53397919 on crc-pass-os-sdlc; grep for each constant across plugins/os-sdlc returns nothing; suite 1300 runs 0 failures.

Follow-ups: none

## Resolution **Done:** Deleted PushNotifier, NullNotifier, GreenAssertFailureSidecar, ReportRenderer, Daemon::Connection and their tests (nine files). **Evidence:** Commit 53397919 on crc-pass-os-sdlc; grep for each constant across plugins/os-sdlc returns nothing; suite 1300 runs 0 failures. **Follow-ups:** none
jared closed this issue 2026-09-28 01:18:12 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#782
No description provided.