chore(egress-audit): route list in step with the router (initiatives pages)

Merged
EV
11d ago
+22-6

Why

egress-audit inputs is red on every develop push since #10779 (seen on 17f2794c5c and 1e8adc2292):

ui-routes: router route missing from tools/egress-audit/ui-routes.json: /pages/goals/initiatives
ui-routes: router route missing from tools/egress-audit/ui-routes.json: /pages/goals/initiatives/:id
ui-routes: tools/egress-audit/ui-routes.json is out of step with the router; regenerate it (without --check) and commit it

The check walks the whole router, so it stays red for every later push until the list is regenerated.

What

tools/egress-audit/ui-routes.json regenerated with the pinned harness (run.mjs ui-routes --framework angular --entry apps/gauzy/src/app/app.routes.ts):

  • adds /pages/goals/initiatives and /pages/goals/initiatives/:id (both behind PermissionsGuard);
  • updates the line numbers of entries whose router files moved (e.g. teams-routing.module.ts:10 โ†’ :9). No route is dropped.

One file; no product code.

Verified

Every step of the inputs job, run locally against origin/develop 1e8adc2292:

  • route list in step with the router (309 routes);
  • Ever-links baseline only shrinks: 1871 entries, 0 removed;
  • mock-clock patch, static-hostnames and its baseline (only shrank), import boundary, outbound calls, private deps ("all public").

Because the change touches tools/egress-audit/, the merge push also runs the full audit, as it did for 3aadc04d560.

๐Ÿค– Generated with Claude Code


Summary by cubic

Regenerates tools/egress-audit/ui-routes.json so the egress-audit inputs check passes again on develop.

The check was red since #10779 added the Goals โ†’ Initiatives routes without updating the route list. Regenerated with the pinned harness: adds /pages/goals/initiatives and /pages/goals/initiatives/:id (both behind PermissionsGuard) and updates line numbers for entries whose router files moved. No route is dropped; no product code changes.