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
This commit is contained in:
gsxdsm
2026-06-25 22:42:01 -07:00
parent ea5e12e8eb
commit 3c66c33cd9
2 changed files with 5 additions and 2 deletions

View File

@@ -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

View File

@@ -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,