import { VersionInfo } from '@start9labs/start-sdk' // Soft-delete + diagnostics release. // * The CRM DELETE endpoints now SOFT-delete (set deleted_at) instead of // hard-deleting (CLAUDE.md guardrail #3), cascading to a contact's // opportunities/communications/lp_profile. List queries filter deleted rows // out, so deletes still disappear from the UI but nothing is destroyed. // * The ingest pipeline excludes soft-deleted records from chunking and prunes // their vectors from Qdrant on incremental sync (delete-by-source-id). // * /api/system/status now also returns raw source-record counts so the // resolved canonical numbers can be sanity-checked. // No data migration; the deleted_at columns already exist (migration 0001). export const v_0_1_0_47 = VersionInfo.of({ version: '0.1.0:47', releaseNotes: { en_US: [ 'Records are now soft-deleted instead of permanently destroyed (deletes', 'disappear from the UI but are recoverable), the search index prunes', 'deleted records, and the System Status data now includes raw source-record', 'counts so the resolved entity numbers can be checked.', ].join(' '), }, migrations: { up: async () => {}, down: async () => {}, }, })