Fold Backlog::Config::Entries into Backlog::Config #1039

Open
opened 2026-10-16 19:24:32 +00:00 by jared · 0 comments
Owner

Problem

Config::Entries (lib/backlog/config/entries.rb) wraps a hash in 4 methods. Only Config builds it and every Config reader delegates to it. The name carries no job Config does not carry.

Observed

Evidence: lib/backlog/config.rb:5 (@data = Entries.new), :10, :16, :20, :33; lib/backlog/config/entries.rb:5-24. Ruling R19, follow-up 2.

Reproduce

n/a: structural redundancy found in a crc-refactor tuning run; no runtime command reproduces it.

Acceptance criteria

  1. config/entries.rb deleted; Config holds the hash with the same public API (tracker, board_id, tracker_configured?, to_h, merge, set); no Entries references; os-backlog tests and lint pass.

Skeptic: VERDICT: CREATE — Config::Entries is a hash wrapper only Config builds; the fold removes a class.

Origin

  • Trigger: crc-refactor tuning run on plugins/os-backlog, branch crc-os-backlog-2026-10-16 (ledger docs/crc/os-backlog/ledger.tsv, rulings docs/crc/os-backlog/rulings.md).
  • Improvised this session: none
  • Chain: redundant wrapper class in plugins/os-backlog ← ruling R19 (docs/crc/os-backlog/rulings.md) ← DESIGN
  • Root candidate: none beyond this ticket
  • Where: plugins/os-backlog/lib/backlog/config/entries.rb
  • Session: a5e278ab-89aa-4ed6-adb4-b70820788f0c
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-os-backlog-2026-10-16/a5e278ab-89aa-4ed6-adb4-b70820788f0c.jsonl
## Problem `Config::Entries` (lib/backlog/config/entries.rb) wraps a hash in 4 methods. Only `Config` builds it and every `Config` reader delegates to it. The name carries no job `Config` does not carry. ## Observed Evidence: lib/backlog/config.rb:5 (`@data = Entries.new`), :10, :16, :20, :33; lib/backlog/config/entries.rb:5-24. Ruling R19, follow-up 2. ## Reproduce n/a: structural redundancy found in a crc-refactor tuning run; no runtime command reproduces it. ## Acceptance criteria 1. config/entries.rb deleted; `Config` holds the hash with the same public API (`tracker`, `board_id`, `tracker_configured?`, `to_h`, `merge`, `set`); no `Entries` references; os-backlog tests and lint pass. Skeptic: VERDICT: CREATE — `Config::Entries` is a hash wrapper only `Config` builds; the fold removes a class. ## Origin - Trigger: crc-refactor tuning run on plugins/os-backlog, branch crc-os-backlog-2026-10-16 (ledger docs/crc/os-backlog/ledger.tsv, rulings docs/crc/os-backlog/rulings.md). - Improvised this session: none - Chain: redundant wrapper class in plugins/os-backlog ← ruling R19 (docs/crc/os-backlog/rulings.md) ← DESIGN - Root candidate: none beyond this ticket - Where: plugins/os-backlog/lib/backlog/config/entries.rb - Session: a5e278ab-89aa-4ed6-adb4-b70820788f0c - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-os-backlog-2026-10-16/a5e278ab-89aa-4ed6-adb4-b70820788f0c.jsonl
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#1039
No description provided.