diff --git a/scripts/layering/daemon-modularity.test.ts b/scripts/layering/daemon-modularity.test.ts index 91b9d24df..0bcc38fd9 100644 --- a/scripts/layering/daemon-modularity.test.ts +++ b/scripts/layering/daemon-modularity.test.ts @@ -73,8 +73,8 @@ test('daemon modularity baseline records the measured R7 ownership pressure', () Object.values(SESSION_STATE_FIELD_OWNERS).reduce((sum, owners) => sum + owners.length, 0), DAEMON_MODULARITY_BASELINE.sessionState.ownerFileClaims, ); - assert.equal(TYPE_CYCLE_BASELINE, 46); - assert.equal(DAEMON_MODULARITY_BASELINE.largestTypeCycle.zoneMembers['daemon-server'], 16); + assert.equal(TYPE_CYCLE_BASELINE, 47); + assert.equal(DAEMON_MODULARITY_BASELINE.largestTypeCycle.zoneMembers['daemon-server'], 17); assert.equal('daemon' in DAEMON_MODULARITY_BASELINE.largestTypeCycle.zoneMembers, false); }); @@ -230,6 +230,6 @@ test('R9 rejects a baseline left above the measured cycle', () => { assert.equal(violations.length, 1); assert.match(violations[0]!.rule, /^R9 /); - assert.match(violations[0]!.message, /dropped to 45 files \(baseline 46\)/); + assert.match(violations[0]!.message, /dropped to 46 files \(baseline 47\)/); assert.match(violations[0]!.message, /Lower LARGEST_TYPE_CYCLE_ZONE_CEILINGS by the same 1/); }); diff --git a/scripts/layering/daemon-modularity.ts b/scripts/layering/daemon-modularity.ts index 09e47613e..c8fa03138 100644 --- a/scripts/layering/daemon-modularity.ts +++ b/scripts/layering/daemon-modularity.ts @@ -7,7 +7,9 @@ const LARGEST_TYPE_CYCLE_ZONE_CEILINGS: Readonly> = { client: 1, commands: 14, core: 10, - 'daemon-server': 16, + // 17 since d76e0f94e (#1779): snapshot-capture.ts -> handlers/snapshot-interactor-capture.ts -> + // core/interactors.ts wedges the new interactor seam between two members, so it joins the cycle. + 'daemon-server': 17, platforms: 2, };