Invert the model-to-outer-layer edges that wave 4 unmasked #1212
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#1212
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
Wave 4 gave renamed constants a layer role in the ledger. The
Sdlc/Structural/InwardDependencycop keys on the ledgernew_constant, so existing edges from a model or adapter to an outer layer now show as 9 offense lines in eight files. Each edge is old design. Edge 5 (MutationCheck -> ProjectShell) is tracked in #1070. A move cannot remove it. The caller must receive the collaborator, or the behavior must move outward. The run recorded each edge indocs/crc/os-sdlc/deviations.mdfor #1207 and #1208.Observed
The same run also reports pre-existing edges in these files (
Crc::Census::PublicMethods,Implementation::Dispatching,Implementation::Report,HandoffContent). This ticket does not cover them.Reproduce
Approach
For each edge, the model or adapter receives the collaborator through its constructor or a method argument. The outer layer (the command or controller that builds the model) creates it. Do not move a constant to a layer where it does not belong.
Required work:
Crc::Census::SourceRowreceives its definitions object. Its builder passes it in. — check: absentDefinitions.newinplugins/os-sdlc/lib/os_sdlc/crc/census/source_row.rbCrc::Ledger::Check::AppliedRowreceives the defined names for the new path. — check: absentCrc::Definitionsinplugins/os-sdlc/lib/os_sdlc/crc/ledger/check/applied_row.rbCrc::Shares::RowAnnotationreceives its merge object. — check: absentCellMergeinplugins/os-sdlc/lib/os_sdlc/crc/shares/row_annotation.rbImplementationreceives the map catalog where it loads a reroute map. — check: absentMapCataloginplugins/os-sdlc/lib/os_sdlc/implementation.rbGate::UnchangedCheck::Measurement,Lint::GreenAssert,StepOutcome, andStepResultstop callingSuiteOutput.parse. The caller passes the parsed summary, or one model owns the parse result. — check: absentSuiteOutputinplugins/os-sdlc/lib/os_sdlc/step_result.rbRejected: Move the outer constant down to the model layer — the ledger gave each constant its layer on purpose (R47, R49, R51).
Acceptance criteria
Sdlc/Structural/InwardDependencyruns on the eight files, then none of the 9 listed offense lines remain.Owner sketch
Non-goals
Origin
docs/crc/os-sdlc/deviations.mdnew_constant, so old edges show once a constant sits at its ledger name ← DESIGN (docs/crc/os-sdlc/deviations.md, R47, R49, R51)VERDICT: CREATE