CRC wave 4: apply Tracker, TrackerCommandFailed renames and moves #1022

Closed
opened 2026-10-16 18:23:56 +00:00 by jared · 2 comments
Owner

Problem

Apply 2 ledger rows (rename and move) for Tracker, TrackerCommandFailed. Each row's path, constant, and test path change as listed in Approach.

Reproduce

n/a: structure-only refactor, no behavior change.

Approach

  1. Required work, in order:
    1. plugins/os-backlog/lib/backlog/resolver.rb -> plugins/os-backlog/lib/backlog/tracker/resolver.rb
      • constant: Backlog::Resolver -> Backlog::Tracker::Resolver
      • test: plugins/os-backlog/tests/resolver_test.rb -> plugins/os-backlog/tests/tracker/resolver_test.rb
    2. plugins/os-backlog/lib/backlog/issues/command_failed.rb -> plugins/os-backlog/lib/backlog/tracker_command_failed.rb
      • constant: Backlog::Issues::CommandFailed -> Backlog::TrackerCommandFailed
      • test: no test file
        Before you finish, grep the repository for each old file path and each old constant, not only the constant. Config and docs keep old paths (for example .rubocop.yml, loader collapse lists).
  2. Governing rulings:
    • R5: Issues::CommandFailed becomes top-level TrackerCommandFailed (Q5)
    • R29: Objects with callers in one concept nest under it with their name (A2 defect 3; Q37)

Acceptance criteria

  • Every named ledger row is applied, or logged in deviations.md, or reported blocked.
  • ruby plugins/os-backlog/tests/all.rb 0 failures.
  • ruby -e 'require "./plugins/os-backlog/lib/backlog"; Backlog.loader.eager_load' silent.

Owner sketch

Each constant matches its new path; callers follow the new name.

Non-goals

  • No behavior change.
  • No new tests.
  • No deletion of code that has callers.

Origin

  • Session: 6bf383dd-a0e8-4c9b-9e75-286ee89969c3
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-os-adr-2026-10-04/6bf383dd-a0e8-4c9b-9e75-286ee89969c3.jsonl
  • Where: plugins/os-backlog/lib/backlog/resolver.rb, plugins/os-backlog/lib/backlog/issues/command_failed.rb
  • CRC refactor run: docs/crc/os-backlog.
  • Ledger: docs/crc/os-backlog/ledger.tsv
  • Rulings: docs/crc/os-backlog/rulings.md
  • Wave: 4.
## Problem Apply 2 ledger rows (rename and move) for Tracker, TrackerCommandFailed. Each row's path, constant, and test path change as listed in Approach. ## Reproduce n/a: structure-only refactor, no behavior change. ## Approach 1. Required work, in order: 1. `plugins/os-backlog/lib/backlog/resolver.rb` -> `plugins/os-backlog/lib/backlog/tracker/resolver.rb` - constant: `Backlog::Resolver` -> `Backlog::Tracker::Resolver` - test: `plugins/os-backlog/tests/resolver_test.rb` -> `plugins/os-backlog/tests/tracker/resolver_test.rb` 2. `plugins/os-backlog/lib/backlog/issues/command_failed.rb` -> `plugins/os-backlog/lib/backlog/tracker_command_failed.rb` - constant: `Backlog::Issues::CommandFailed` -> `Backlog::TrackerCommandFailed` - test: no test file Before you finish, grep the repository for each old file path and each old constant, not only the constant. Config and docs keep old paths (for example .rubocop.yml, loader collapse lists). 2. Governing rulings: - R5: `Issues::CommandFailed` becomes top-level `TrackerCommandFailed` (Q5) - R29: Objects with callers in one concept nest under it with their name (A2 defect 3; Q37) ## Acceptance criteria - Every named ledger row is applied, or logged in deviations.md, or reported blocked. - `ruby plugins/os-backlog/tests/all.rb` 0 failures. - `ruby -e 'require "./plugins/os-backlog/lib/backlog"; Backlog.loader.eager_load'` silent. ## Owner sketch Each constant matches its new path; callers follow the new name. ## Non-goals - No behavior change. - No new tests. - No deletion of code that has callers. ## Origin - Session: 6bf383dd-a0e8-4c9b-9e75-286ee89969c3 - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-os-adr-2026-10-04/6bf383dd-a0e8-4c9b-9e75-286ee89969c3.jsonl - Where: plugins/os-backlog/lib/backlog/resolver.rb, plugins/os-backlog/lib/backlog/issues/command_failed.rb - CRC refactor run: docs/crc/os-backlog. - Ledger: docs/crc/os-backlog/ledger.tsv - Rulings: docs/crc/os-backlog/rulings.md - Wave: 4.
jared changed title from CRC wave 4: apply CLI, Checkout, Config, ConfigLocator renames and moves to CRC wave 4: apply Tracker, TrackerCommandFailed renames and moves 2026-10-16 18:24:14 +00:00
Author
Owner

8ec944c3; rows applied 2/2; rows deviated 0; rows blocked 0

8ec944c3; rows applied 2/2; rows deviated 0; rows blocked 0
Author
Owner

Resolution

Done: Applied 2/2 rows: Resolver moved to Tracker::Resolver; Issues::CommandFailed became top-level TrackerCommandFailed.

Evidence: 8ec944c3 (ledger dbd99197); branch crc-os-backlog-2026-10-16 (not merged); os-backlog suite 307 runs, 0 failures; eager load silent; inward lint none

Follow-ups: #1038 (merge IssueShow::CommandFailed into TrackerCommandFailed, skeptic CREATE)

## Resolution **Done:** Applied 2/2 rows: Resolver moved to Tracker::Resolver; Issues::CommandFailed became top-level TrackerCommandFailed. **Evidence:** 8ec944c3 (ledger dbd99197); branch crc-os-backlog-2026-10-16 (not merged); os-backlog suite 307 runs, 0 failures; eager load silent; inward lint none **Follow-ups:** #1038 (merge IssueShow::CommandFailed into TrackerCommandFailed, skeptic CREATE)
jared closed this issue 2026-10-16 19:25:53 +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#1022
No description provided.