Add temporary admin contacts-census diagnostic (v0.1.0:105)

A throwaway, admin-only diagnostic for the deferred contacts <-> fundraising_contacts
consolidation: GET /api/admin/contacts-census + a Settings -> Admin "Run census" button
report the A/B/C populations (linked / contacts-only / pill-only) plus the
communications/opportunities repointing surface. Counts only, no PII -- mirrors
backend/scripts/contacts_census.sql so the numbers can be read off the box without a
shell. All pieces are tagged TEMPORARY; delete the endpoint + route + button after the
census is captured. No schema change. 45/45 tests, render-smoke green.
This commit is contained in:
Keysat
2026-06-20 21:26:06 -05:00
parent 9ffd4a1c6a
commit 6e760b19ee
7 changed files with 84 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
import { VersionInfo } from '@start9labs/start-sdk'
// v0.1.0:105 — TEMPORARY diagnostic. An admin-only contacts census (GET /api/admin/contacts-census +
// a Settings → Admin "Run census" button) reports the A/B/C populations for the deferred
// contacts <-> fundraising_contacts consolidation — counts only, no PII, mirrors
// backend/scripts/contacts_census.sql. To be REMOVED in a later release once the numbers are
// captured (everything is tagged TEMPORARY in code). No schema change.
export const v_0_1_0_105 = VersionInfo.of({
version: '0.1.0:105',
releaseNotes: {
en_US: 'Temporary admin contacts-census diagnostic (counts only) for the upcoming contacts/grid consolidation; no schema change.',
},
migrations: { up: async () => {}, down: async () => {} },
})