Files
fusion/scripts/lib/sql-column-literals-baseline.json
gsxdsm 995b52d21d fix(gate): re-record the SQL baseline — main is red after #2864 (#2878)
**`pnpm test:gate` and both `pretest` hooks fail on `main` right now.**
Merge this first.

## What happened

#2841 (the SQL gate) merged, then #2864 merged. #2864 removed three
legacy comparisons from `team-analytics.ts`, but its baseline entry
still allows six — and this gate **fails on a lowered count by design**,
so a migrated slot cannot be silently regrown into later.

Baseline 30 → 28.

## This is my sequencing error

The four analytics conversions were branched and reviewed **before** the
gate existed, so none of them carries a baseline update. The gate then
landed first, which means **each of them breaks `main` as it merges**. I
opened all five without thinking about the order they would land in.

The three still open — #2866, #2870, #2871 — will each do this again. I
am adding baseline updates to them next so they land clean.

## Note on the downward check

The "count went down" failure looks like pedantry until it fires. It
exists so a migrated site cannot leave an unused allowance behind for
the surface to regrow into — the same rot as an allow-list entry for a
deleted function. The real cost is that a conversion and its gate have
to land in a known order, which is a coupling I created and did not plan
for.

## Verification

`pnpm test:gate` green with the re-recorded baseline · lint 0 · `node
scripts/check-sql-column-literals.mjs` exit 0.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-30 16:46:44 -07:00

17 lines
751 B
JSON

{
"packages/core/src/async-mission-store-queries.ts": 1,
"packages/core/src/async-mission-store.ts": 2,
"packages/core/src/github-issue-analytics.ts": 2,
"packages/core/src/gitlab-issue-analytics.ts": 2,
"packages/core/src/mission-store.ts": 1,
"packages/core/src/productivity-analytics.ts": 2,
"packages/core/src/task-store/async-archive-lineage.ts": 3,
"packages/core/src/task-store/async-maintenance.ts": 1,
"packages/core/src/task-store/async-merge-coordination.ts": 1,
"packages/core/src/task-store/reads.ts": 1,
"packages/core/src/task-store/task-artifacts-ops.ts": 1,
"packages/core/src/task-store/workflow-definitions.ts": 2,
"packages/core/src/team-analytics.ts": 3,
"packages/core/src/workflow-analytics.ts": 6
}