FN-7046: re-ratchet core line-count baselines

Repair the scoped core store/type baseline drift without broadening unrelated line-count debt.

- Add the FN-7046 CI note explaining the scoped re-ratchet for store.ts and types.ts.
- Raise only the core store.ts and types.ts grandfathered ceilings to their current generated sizes.

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

Fusion-Task-Lineage: 1c64b426-9c51-427d-bacc-e527dffa9d90
This commit is contained in:
gsxdsm
2026-06-25 22:22:42 -07:00
parent 9bd0853667
commit cc67df9e61
2 changed files with 5 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ FN-7013 re-confirms the `pnpm test`-blocking premise is stale: FN-5048 removed t
FNXC:CI 2026-06-25-17:44:
FN-7035 split the two new hard-cap crossers (`ChatView.core.test.tsx` and `notifier.test.ts`) into focused sibling suites rather than grandfathering them. Six existing grandfathered entries were re-ratcheted to current counts after organic test and feature growth; `store.ts` and `types.ts` drift was left out of scope for a follow-up. Wholesale god-file shrink remains long-term deferred work for dedicated refactors.
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.
*/
// 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

@@ -17,8 +17,8 @@
"packages/core/src/central-core.ts": 3854,
"packages/core/src/db.ts": 5924,
"packages/core/src/mission-store.ts": 4390,
"packages/core/src/store.ts": 17358,
"packages/core/src/types.ts": 7415,
"packages/core/src/store.ts": 17371,
"packages/core/src/types.ts": 7522,
"packages/dashboard/app/api/legacy.ts": 10865,
"packages/dashboard/app/components/AgentDetailView.tsx": 5400,
"packages/dashboard/app/components/AgentsView.tsx": 2147,