From 3c66c33cd957523ce6ba7c3bb17558cda5ed43e6 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Thu, 25 Jun 2026 22:42:01 -0700 Subject: [PATCH] FN-7050: repair route and executor line ceilings Repair the line-count ratchet baseline for focused route and executor drift. - Add FN-7050 context to the line-count guardrail comments. - Raise only the routes.ts and executor.ts grandfathered ceilings to match current drift. - Preserve unrelated baseline entries for separate scoped repairs. Files changed: scripts/check-file-line-count.mjs | 3 +++ scripts/line-count-baseline.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) Fusion-Task-Id: FN-7050 Fusion-Task-Lineage: 8a57d331-4abf-42bd-a4c9-2f55607a6262 --- scripts/check-file-line-count.mjs | 3 +++ scripts/line-count-baseline.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/check-file-line-count.mjs b/scripts/check-file-line-count.mjs index 5c607c43d7..d47e606e42 100644 --- a/scripts/check-file-line-count.mjs +++ b/scripts/check-file-line-count.mjs @@ -31,6 +31,9 @@ FN-7035 split the two new hard-cap crossers (`ChatView.core.test.tsx` and `notif FNXC:CI 2026-06-25-22:08: FN-7046 repaired the deferred `store.ts`/`types.ts` line-count drift by re-ratcheting only those two baseline ceilings after organic Code Review workflow-step and MCP configuration growth. Wholesale god-file shrink remains long-term deferred work for dedicated refactors, and unrelated line-count violations must not be bundled into this scoped repair. + +FNXC:CI 2026-06-25-23:10: +FN-7050 repaired the `routes.ts`/`executor.ts` line-count drift by re-ratcheting only those two baseline ceilings after organic execution-lane model growth. Wholesale god-file shrink remains long-term deferred work for dedicated refactors, and this repair intentionally excludes FN-7046's `store.ts`/`types.ts` entries and FN-7044's `areas.test.tsx` split. */ // Repo-wide guard: hand-written source files may not exceed a hard line-count // cap (MAX_LINES). This stops the next god-file from being born while leaving diff --git a/scripts/line-count-baseline.json b/scripts/line-count-baseline.json index c61328b001..26e42c9a56 100644 --- a/scripts/line-count-baseline.json +++ b/scripts/line-count-baseline.json @@ -71,7 +71,7 @@ "packages/dashboard/src/github.ts": 4587, "packages/dashboard/src/mission-routes.ts": 3968, "packages/dashboard/src/planning.ts": 2866, - "packages/dashboard/src/routes.ts": 5319, + "packages/dashboard/src/routes.ts": 5321, "packages/dashboard/src/routes/register-git-github.ts": 5879, "packages/dashboard/src/routes/register-settings-memory-routes.ts": 2382, "packages/dashboard/src/routes/register-task-workflow-routes.ts": 3902, @@ -91,7 +91,7 @@ "packages/engine/src/__tests__/triage.test.ts": 4673, "packages/engine/src/agent-heartbeat.ts": 4660, "packages/engine/src/agent-tools.ts": 3986, - "packages/engine/src/executor.ts": 16743, + "packages/engine/src/executor.ts": 16750, "packages/engine/src/merger.ts": 12886, "packages/engine/src/pi.ts": 2507, "packages/engine/src/project-engine.ts": 4030,