{
  "ok": true,
  "service": "crm-worker",
  "config": {
    "port": 8080,
    "nodeEnv": "production",
    "buildVersion": "local",
    "buildTime": "2026-07-21T08:34:20.915Z",
    "databaseConfigured": true,
    "adminTokenConfigured": true,
    "convexUrlConfigured": false,
    "convexMirrorTokenConfigured": false,
    "ingestTokenConfigured": false,
    "flags": {
      "readSource": "convex",
      "writePostgresEnabled": false,
      "convexMirrorEnabled": false,
      "mirrorExecutionEnabled": false,
      "dualCompareEnabled": true
    },
    "backup": {
      "dryRunDir": ".tmp/crm-worker-backups",
      "r2Configured": true,
      "r2BucketConfigured": true,
      "r2EndpointConfigured": true,
      "storageClass": "STANDARD",
      "retentionDaily": 14,
      "retentionWeekly": 8,
      "retentionMonthly": 12
    }
  },
  "database": {
    "status": "ok",
    "checkedAt": "2026-07-21T09:14:00.364Z",
    "databaseName": "zeabur",
    "serverNow": "2026-07-21T09:14:00.348Z"
  },
  "migrations": {
    "status": "ok",
    "pending": [],
    "applied": [
      {
        "version": "001_crm_foundation",
        "name": "001_crm_foundation.sql",
        "checksum": "a78cfecaad9ec2f4cabafca1250a0a0fb6ac83585175df394da4436b497b0dc5",
        "applied_at": "2026-07-21T06:41:00.955Z"
      },
      {
        "version": "002_mirror_control_plane",
        "name": "002_mirror_control_plane.sql",
        "checksum": "4e149eeedd863930bfa632cc2c73df9cd93e167ba4d7dfffc44ca0cdea2fb3b4",
        "applied_at": "2026-07-21T08:35:31.522Z"
      }
    ]
  },
  "mirror": {
    "defaultMode": "plan_only",
    "noFullConvexScans": true,
    "noLiveSendOwnershipChange": true,
    "phase10BlockedWithoutR2": false
  },
  "memory": {
    "rssMb": 49.7,
    "heapUsedMb": 9.1,
    "heapTotalMb": 10.3,
    "externalMb": 3.5,
    "arrayBuffersMb": 0.1
  }
}