Delete inward_dependency_test ratchet when the CRC refactor ends #748
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#748
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
The inward-dependency baseline (currently 73) is a ratchet test — a temporary upper bound that prevents accidental increases in complexity. Ratchets must exit when the underlying refactor completes.
Reproduce
n/a: Exit condition for a ratchet test, not a bug.
Approach
Required work:
Acceptance criteria
Origin
Moved 2026-09-26: the ratchet is now bin/lint-inward-dependencies, a hand-run signal with no baseline (commit
083901a7). Exit condition unchanged: delete the script and its class when the CRC role-morph refactor ends.Folded in #798. Still live on this branch: resolve in plugins/os-sdlc/lib/os_sdlc/lint/inward_dependencies.rb (lines ~98-106) falls back to the first segment for a qualified constant chain such as Project::Yaml::TEST_DIR_CANDIDATES, so a model to adapter edge goes unreported. Fix: try the longest known prefix before the first-segment fallback. Do it before this ticket deletes or simplifies the ratchet, because the fix may raise the baseline count.
Folding #741 into this ticket (ruling (d), 2026-10-16). The live problem of #741: bin/lint-inward-dependencies prints 'unmapped' lines, IssueSource is split between adapter/issue_source/ and command/issue_source.rb, and no baseline gate exists. Phase 7 of docs/crc/PLAN.md deletes the inward-dependency ratchet, so the problem goes away with this ticket.
Resolution
Done: The ratchet baseline and tests/inward_dependency_test.rb are gone. Per predicted ruling (o) the inward lint itself stays: its prefix bug is fixed and it now fails when a file is unmapped.
Evidence: commit
6e50fc6aon main; plugins/os-sdlc/tests/inward_dependency_test.rb absent; lint-inward-dependencies exits 0 with 0 unmapped on docs/crc/os-sdlc/ledger.tsv; docs/crc/PLAN.md ruling (o).Follow-ups: The 54 outward edges go to Jared in the Phase 7 handoff before any ticket (ruling o).