diff --git a/scripts/check-fnxc-future-dates.mjs b/scripts/check-fnxc-future-dates.mjs index 4d2a7c4363..3cd1710b60 100644 --- a/scripts/check-fnxc-future-dates.mjs +++ b/scripts/check-fnxc-future-dates.mjs @@ -48,7 +48,16 @@ function* walk(dir) { if (statSync(full).isDirectory()) yield* walk(full); /* `.js`/`.cjs` too: FNXC comments live in plain-JS scripts as well, and omitting them let a future-dated stamp land unseen in exactly the files this repo writes tooling in. */ - else if (/\.(tsx?|m?js|cjs|md)$/.test(full)) yield full; + /* + FNXC:FnxcStampHygiene 2026-07-30-00:00 (#2953 follow-up): EVERY FILE TYPE THAT CARRIES A STAMP. + The filter listed the types stamps were EXPECTED in, not the ones they OCCUR in, so the gate was + blind wherever the convention had spread on its own. `.sql` was the costly omission: migrations + carry a stamp recording when a schema change landed, they are the files where a wrong date + misleads most, and one of them held a stamp dated nearly three months out. `.css` had drifted + furthest by volume (1023 stamps across 123 files, from the dashboard CSS split). A gate whose + coverage is a guess about where authors write comments will always trail the authors. + */ + else if (/\.(tsx?|m?js|cjs|md|sql|css|html|ya?ml|json|sh)$/.test(full)) yield full; } } diff --git a/scripts/lib/fnxc-future-dates-baseline.json b/scripts/lib/fnxc-future-dates-baseline.json index 8b47d93f3e..30a47562a5 100644 --- a/scripts/lib/fnxc-future-dates-baseline.json +++ b/scripts/lib/fnxc-future-dates-baseline.json @@ -53,6 +53,10 @@ "packages/core/src/live-agent-count.ts": 1, "packages/core/src/mobile-nav-primary-items.ts": 1, "packages/core/src/near-duplicate-canonical.ts": 1, + "packages/core/src/postgres/migrations/0000_initial.sql": 1, + "packages/core/src/postgres/migrations/0029_planning_active_timing.sql": 1, + "packages/core/src/postgres/migrations/0035_fn_8543_mission_lineage_stop.sql": 1, + "packages/core/src/postgres/migrations/0036_chat_session_tags.sql": 2, "packages/core/src/project-lane-vocabulary.ts": 3, "packages/core/src/settings-schema.ts": 2, "packages/core/src/store.ts": 9, @@ -69,7 +73,6 @@ "packages/core/src/task-store/merge-queue-ops-2.ts": 4, "packages/core/src/task-store/moves.ts": 2, "packages/core/src/task-store/project-store-ops.ts": 1, - "packages/core/src/task-store/reads.ts": 2, "packages/core/src/task-store/task-artifacts-ops.ts": 6, "packages/core/src/task-store/task-creation.ts": 2, "packages/core/src/task-store/task-id-integrity.ts": 1, @@ -87,7 +90,11 @@ "packages/core/src/workflow-ir-resolver.ts": 3, "packages/core/src/workflow-lifecycle-traits.ts": 2, "packages/dashboard/app/App.tsx": 3, + "packages/dashboard/app/components/AgentDetailView.css": 1, + "packages/dashboard/app/components/ChatView.css": 2, + "packages/dashboard/app/components/PendingAttachmentPreviews.css": 1, "packages/dashboard/app/components/TaskCard.tsx": 2, + "packages/dashboard/app/components/TaskDetailModal.css": 1, "packages/dashboard/app/components/TaskReviewTab.tsx": 1, "packages/dashboard/app/components/__tests__/AgentDetailView.mobile-scroll.test.tsx": 1, "packages/dashboard/app/components/__tests__/AgentListModal.test.tsx": 1, @@ -101,6 +108,7 @@ "packages/dashboard/app/components/taskSorting.ts": 1, "packages/dashboard/app/hooks/__tests__/useSessionFiles.test.ts": 1, "packages/dashboard/app/hooks/useSessionFiles.ts": 2, + "packages/dashboard/app/styles.css": 1, "packages/dashboard/app/utils/__tests__/appLifecycle.test.ts": 1, "packages/dashboard/app/utils/__tests__/taskProgress.test.ts": 1, "packages/dashboard/app/utils/__tests__/taskTiming.test.ts": 1,