crc os-adr wave 4: Repository, Index, Invocation, RootFlag into role directories; cli/ dissolves; AdrTestHelpers to AdrFixtures #927
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#927
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 Repository, Index, Invocation, and RootFlag movements under their roles; dissolve cli/ directory; rename AdrTestHelpers to AdrFixtures.
Reproduce
n/a: structure-only refactor, no behavior change
Approach
Required work:
Governed by rulings: R1, R2, R4, R5, R9, R10, R12, R14, R15
Rejected: none (all rows apply)
Acceptance criteria
Owner sketch
Familiar with Ruby, Zeitwerk, and os-adr architecture. Move files in order: Repository and Index (independent), Invocation and RootFlag (both core), then rename AdrTestHelpers. Update loader systematically and 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
cf2bc54d; rows applied 6/6 plus loader; rows deviated 0; rows blocked 0Resolution
Done: Repository, Repository::Initialization, Index, Invocation, RootFlag into role directories; cli/ and its inflection removed; AdrTestHelpers renamed AdrFixtures
Evidence:
cf2bc54d,37f933eaon 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