Skip to content

Commit 6cfe9bf

Browse files
icecrasher321claude
andcommitted
chore(audits): record the usage-tracking module-graph baseline
`check:tool-registry-boundary` ratchets each route's module count, and the settings section entry exceeded its allowance. Attribution, measured by stubbing the section out and by walking `origin/staging` in a scratch worktree: origin/staging 2112 (baseline 2083 — already +29, unrecorded) this branch, section stubbed 2115 this branch 2130 (+15 for the whole UsageMonitoring subtree) So the overrun is a shared budget: staging had spent 29 of the 42 allowed before this branch existed, and 15 more tipped it over. The 15 are all first-party — the panel, its contracts, hooks, and the shared chart module — with no accidental edge into a registry or a heavy barrel, so there is nothing to cut. Only the four entries this branch is responsible for are re-recorded. Running `--update-baseline` wholesale rewrote 411 lines, absorbing staging's drift across ~60 unrelated routes into this PR; the six routes that shrank are left informational for whoever earned them to claim. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent e8ec022 commit 6cfe9bf

1 file changed

Lines changed: 26 additions & 5 deletions

File tree

scripts/check-tool-registry-boundary.baseline.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,16 +382,16 @@
382382
"gateways": {}
383383
},
384384
"app/workspace/[workspaceId]/settings/[section]/page.tsx": {
385-
"modules": 2083,
385+
"modules": 2130,
386386
"gateways": {
387387
"apps/sim/triggers/registry.ts": 472,
388-
"apps/sim/app/workspace/[workspaceId]/settings/[section]/settings.tsx": 451,
389-
"apps/sim/blocks/registry.ts": 339,
390-
"apps/sim/lib/auth/index.ts": 305,
388+
"apps/sim/app/workspace/[workspaceId]/settings/[section]/settings.tsx": 470,
389+
"apps/sim/blocks/registry.ts": 342,
390+
"apps/sim/lib/auth/index.ts": 299,
391391
"apps/sim/lib/webhooks/providers/index.ts": 109,
392392
"apps/sim/lib/webhooks/providers/registry.ts": 107,
393393
"apps/sim/hooks/selectors/registry.ts": 71,
394-
"apps/sim/app/workspace/[workspaceId]/settings/components/recently-deleted/recently-deleted.tsx": 45
394+
"apps/sim/app/workspace/[workspaceId]/settings/[section]/prefetch.ts": 51
395395
}
396396
},
397397
"app/workspace/[workspaceId]/settings/billing/credit-usage/layout.tsx": {
@@ -457,6 +457,27 @@
457457
"apps/sim/app/workspace/[workspaceId]/settings/secrets/[credentialId]/secret-detail.tsx": 77
458458
}
459459
},
460+
"app/workspace/[workspaceId]/settings/usage/events/layout.tsx": {
461+
"modules": 4,
462+
"gateways": {}
463+
},
464+
"app/workspace/[workspaceId]/settings/usage/events/loading.tsx": {
465+
"modules": 12,
466+
"gateways": {}
467+
},
468+
"app/workspace/[workspaceId]/settings/usage/events/page.tsx": {
469+
"modules": 1626,
470+
"gateways": {
471+
"apps/sim/lib/auth/index.ts": 1482,
472+
"apps/sim/blocks/registry.ts": 535,
473+
"apps/sim/blocks/registry-maps.ts": 532,
474+
"apps/sim/triggers/index.ts": 474,
475+
"apps/sim/triggers/registry.ts": 472,
476+
"apps/sim/blocks/blocks/credential-group.ts": 187,
477+
"apps/sim/stores/workflows/registry/store.ts": 169,
478+
"apps/sim/hooks/queries/deployments.ts": 161
479+
}
480+
},
460481
"app/workspace/[workspaceId]/skills/[skillId]/page.tsx": {
461482
"modules": 1354,
462483
"gateways": {

0 commit comments

Comments
 (0)