export const platformStatus = {
  latestBuild: 92,
  latestVersion: "0.1.0-workspace1",
  recommendedBuild: 92,
  channel: "poc",
  healthUrl: "https://nexus.ninjakernen.info/health",
  updateChannelUrl: "https://nexus.ninjakernen.info/downloads/latest.json",
  testsPassed: 67,
  pocLabel: "Platform-POC — ikke produktion",
} as const;

export const timeline = [
  {
    build: 87,
    version: "0.1.0-identity2",
    title: "Platform foundation",
    description:
      "Identity API, registre, remote enrollment POC, Store, policy enforcement, design system v2 og installer v2.",
    status: "done" as const,
  },
  {
    build: 88,
    version: "0.1.0-identity3",
    title: "Auto-update readiness",
    description:
      "Manifest-schema, UpdateService flow, download/SHA/install UI og CDN smoke mod build 87.",
    status: "done" as const,
  },
  {
    build: 89,
    version: "0.1.0-installer1",
    title: "Installer hardening",
    description:
      "Fil-lås preflight, rollback, queue timeout, stale recovery og ClearStuck UI.",
    status: "done" as const,
  },
  {
    build: 90,
    version: "0.1.0-installer2",
    title: "Onboarding UI hotfix",
    description:
      "Fix af organisation/bruger/PC-navn i første setup — ikke valid baseline.",
    status: "superseded" as const,
  },
  {
    build: 91,
    version: "0.1.0-installer3",
    title: "Admin cleanup + Identity baseline",
    description:
      "Admin elevation, repair/fresh cleanup, SQLite-sti, 19-trins timeline og enrollment-fix.",
    status: "superseded" as const,
  },
  {
    build: 92,
    version: "0.1.0-workspace1",
    title: "Workspace performance + diagnostics",
    description:
      "Diagnostik-log, performance HUD, window containment for Browser/Files og workspace taskbar.",
    status: "current" as const,
  },
] as const;

export const features = [
  {
    title: "Styret desktop/shell",
    description:
      "Nexus Shell giver en samlet desktopoplevelse oven på Windows — stadig overlay-mode i POC.",
    tag: "Fungerer nu",
    color: "green" as const,
  },
  {
    title: "Policy enforcement",
    description:
      "Skjuler/blokerer apps og UI-elementer efter policy — lokal POC, ikke fuld MDM.",
    tag: "POC",
    color: "blue" as const,
  },
  {
    title: "Store & deployment",
    description:
      "Lokal .nxp pakke-installation, opdatering og fjernelse via Nexus Store.",
    tag: "POC",
    color: "green" as const,
  },
  {
    title: "Auto-update",
    description:
      "Shell tjekker latest.json ved start og kan hente ny ZIP — check/download/install flow.",
    tag: "Under test",
    color: "blue" as const,
  },
  {
    title: "Device visibility",
    description:
      "Heartbeat og presence via polling — ikke SignalR eller remote control endnu.",
    tag: "Planlagt udvidelse",
    color: "muted" as const,
  },
  {
    title: "Identity & API",
    description:
      "Lokal Identity API med orgs, roller, enrollment og SQLite datalag.",
    tag: "Fungerer nu",
    color: "green" as const,
  },
  {
    title: "Installer m. repair/cleanup",
    description:
      "Build 91: admin elevation, repair der bevarer data, fresh POC reset med backup.",
    tag: "Anbefalet baseline",
    color: "green" as const,
  },
  {
    title: "Downloads & update-kanal",
    description:
      "Offentlig CDN med latest.json, releases.json, NexusSetup.exe og versionerede ZIPs.",
    tag: "Live",
    color: "green" as const,
  },
] as const;

export const roadmap = {
  nu: [
    "Build 91 som anbefalet POC-baseline",
    "Offentlig hjemmeside og download-side",
    "Lokal Identity + Shell + installer",
    "Auto-update kanal (check/download/install)",
    "Policy enforcement i shell (POC)",
  ],
  naeste: [
    "Build 92 update-smoke fra build 91",
    "CI pipeline for build og tests",
    "Forbedret Control Center overblik",
    "SignalR presence (erstat polling)",
    "Code signing på artifacts",
  ],
  senere: [
    "Dedikeret admin-portal",
    "Domæne-enrollment og trust",
    "Remote admin actions (kontrolleret)",
    "MSI/enterprise distribution",
    "PostgreSQL produktions-database",
  ],
  vision: [
    "Enkel device onboarding for virksomheder",
    "Policies og software deployment i skala",
    "Support mode og diagnostik",
    "Valgfri kiosk/company mode",
    "Styret desktop uden Windows-kompleksitet for slutbrugeren",
  ],
} as const;
