crc os-adr wave 4: Record concept into role directories; loader collapses six role directories #926
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#926
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Move lib files into role directories by their job (verb), and update the loader to collapse them. Implement R1 and its dependent rulings for the Record concept: Record, Record::ParseError, Template, Finder, and CLI::New.
Reproduce
n/a: structure-only refactor, no behavior change
Approach
Required work:
Governed by rulings: R1, R2, R4, R6, R8, R11, R13
Rejected: none (all rows apply)
Acceptance criteria
Owner sketch
Familiar with Ruby, Zeitwerk, and os-adr architecture. Work in sequence: move Record, move dependencies (Template, Finder, ParseError), move CLI::New, update loader, verify tests and lint.
Non-goals
No behavior change; no new tests; no deletion of code that has callers.
Origin
Session: a20defa9-036a-415a-9dde-2ed833c727cb
Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os--claude-worktrees-crc-refactor-docs/a20defa9-036a-415a-9dde-2ed833c727cb.jsonl
Where: crc-refactor run on plugins/os-adr, worktree crc-os-adr-2026-10-04, ledger docs/crc/os-adr/ledger.tsv
cf078f47; rows applied 5/5; rows deviated 0; rows blocked 0Resolution
Done: Record concept moved into role directories (Record, Record::ParseError, Record::Template, Record::Matches, Record::Creation); loader collapses six role directories
Evidence:
cf078f47on branch crc-os-adr-2026-10-04 (not merged; user review pending); suite: 51 runs, 168 assertions, 0 failures, 0 errors, 0 skips; eager load silent; inward lint: none (os-adr has none)Follow-ups: none for this ticket; run-level follow-ups filed as #934 and #935; dropped items listed in docs/crc/os-adr/HANDOFF.md Review