Skip to content

Commit 6e47400

Browse files
committed
chore(layering): rename R9 to type-cycle-size now that it fails both ways (#1781 A6)
1 parent 29b8e0b commit 6e47400

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎CONTEXT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ axis and stages a deeper platform-runtime seam, one abandonment-safe command cut
394394
two modules until `activateRefFrame` took the transition, and `snapshotScopeSource` +
395395
`snapshotGeneration` were assigned in `snapshot-runtime.ts` until `setSnapshotLineage` took
396396
theirs.
397-
- Type-cycle growth (R9). R4 keeps the VALUE import graph acyclic, so every remaining cycle is
397+
- Type-cycle size (R9). R4 keeps the VALUE import graph acyclic, so every remaining cycle is
398398
created by type-only imports — free at runtime, invisible to R5/R6, and the largest single
399399
obstacle to reading a subsystem in isolation: inside a strongly-connected component of 46 files,
400400
no file has a self-contained slice. `TYPE_CYCLE_BASELINE`, derived from the zone ceilings in

‎scripts/layering/daemon-modularity.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function checkTypeCycleBaseline(members: readonly string[]): LayeringViolation[]
141141
const baseline = DAEMON_MODULARITY_BASELINE.largestTypeCycle;
142142
if (members.length > TYPE_CYCLE_BASELINE) {
143143
violations.push({
144-
rule: 'R9 type-cycle-growth',
144+
rule: 'R9 type-cycle-size',
145145
file: 'scripts/layering/daemon-modularity.ts',
146146
line: 1,
147147
message:
@@ -155,7 +155,7 @@ function checkTypeCycleBaseline(members: readonly string[]): LayeringViolation[]
155155
// reviewer ever seeing a number move, so the shrink is recorded in the change that earns
156156
// it — the same equality pin R6 and the R10 R7 counts already carry.
157157
violations.push({
158-
rule: 'R9 type-cycle-growth',
158+
rule: 'R9 type-cycle-size',
159159
file: 'scripts/layering/daemon-modularity.ts',
160160
line: 1,
161161
message:

0 commit comments

Comments
 (0)