Goal
Drive scripts/layering/back-edge-baseline.json toward zero in dependency-safe PRs. PR #1174 made
the exact identities down-only; this issue coordinates removal without a mass rewrite.
Current edge classes
client -> daemon-client (1)
commands -> cli (7)
commands -> client (3)
commands -> daemon-server (2)
platforms -> core (16)
platforms -> daemon-server (7)
Sequence
- Move shared CLI flag/schema contracts below CLI; remove
commands -> cli.
- Move command-aware serializers/normalizers/contracts below the client projection; remove
commands -> client.
- Move selector-resolution contracts used by commands out of daemon-server.
- Move request cancellation/progress and other neutral request primitives below daemon-server;
remove platforms -> daemon-server.
- Classify and invert
platforms -> core by neutral contract family, one family per PR.
- Remove the remaining
client -> daemon-client edge or document a corrected target-layer name if
the dependency is conceptually legal.
Each child PR must delete exact identities from the baseline and add or tighten the corresponding
layering rule. Do not regenerate or raise the baseline.
Constraints
- Preserve public imports and runtime behavior.
- Prefer neutral contract moves over wrappers or re-export barrels.
- Split large tests only when the source seam changes.
- Do not combine multiple edge classes in one PR.
Completion
Origin: post-#1174 architecture follow-up.
Goal
Drive
scripts/layering/back-edge-baseline.jsontoward zero in dependency-safe PRs. PR #1174 madethe exact identities down-only; this issue coordinates removal without a mass rewrite.
Current edge classes
client -> daemon-client(1)commands -> cli(7)commands -> client(3)commands -> daemon-server(2)platforms -> core(16)platforms -> daemon-server(7)Sequence
commands -> cli.commands -> client.remove
platforms -> daemon-server.platforms -> coreby neutral contract family, one family per PR.client -> daemon-clientedge or document a corrected target-layer name ifthe dependency is conceptually legal.
Each child PR must delete exact identities from the baseline and add or tighten the corresponding
layering rule. Do not regenerate or raise the baseline.
Constraints
Completion
commands -> cliis zerocommands -> clientis zerocommands -> daemon-serveris zeroplatforms -> daemon-serveris zeroplatforms -> coreis zero or the target DAG is explicitly corrected by ADRclient -> daemon-clientis zero or the target DAG is explicitly corrected by ADROrigin: post-#1174 architecture follow-up.