import { VersionInfo } from '@start9labs/start-sdk'

// Phase-1 release: the Architect's thesis system + in-app data/index controls.
//
// Adds (web server + image; all schema via the CRM's own migration runner —
// NO StartOS data migration, the live /data volume is preserved):
//   * Thesis substrate (migration 0002): versioned per-segment thesis lines, a
//     node tree + revisions, dual-approval review (thesis_reviews), segments.
//   * Entity-merge review (migration 0003): the fuzzy/Qwen tier writes merge
//     CANDIDATES for human approve/reject instead of auto-merging.
//   * Web UI: a "Thesis" dual-approval review view and a "System Status" view
//     (entity/index health, one-click index actions, duplicate-review queue).
//   * Server routes: thesis review/approval, /api/system/status, UI-triggered
//     index jobs (rebuild/update/find-duplicates), merge-candidate decisions.
export const v_0_1_0_45 = VersionInfo.of({
  version: '0.1.0:45',
  releaseNotes: {
    en_US: [
      'Phase 1: the Architect thesis system. Adds versioned, per-segment thesis',
      'lines with a dual partner sign-off review in the web app; a human-in-the-loop',
      'duplicate-contact review queue (the local model suggests, you approve/reject);',
      'one-click index actions and a system-status dashboard in the CRM; and the',
      'supporting schema, created additively by the CRM migration runner — your',
      'data is preserved.',
    ].join(' '),
  },
  migrations: {
    up: async () => {},
    down: async () => {},
  },
})
