export const navGroups = [
  {
    label: "Operations",
    items: [
      { id: "dashboard", label: "Dashboard", icon: "dashboard" },
      { id: "runs", label: "Runs", icon: "runs", active: true },
      { id: "agents", label: "Agents", icon: "agents" },
      { id: "projects", label: "Projects", icon: "projects" },
      { id: "tasks", label: "Task Board", icon: "tasks", count: 3 },
    ],
  },
  {
    label: "Knowledge",
    items: [
      { id: "memory", label: "Memory", icon: "memory" },
      { id: "docs", label: "Docs", icon: "docs" },
    ],
  },
  {
    label: "Infrastructure",
    items: [
      { id: "models", label: "Models", icon: "models" },
      { id: "activity", label: "Activity", icon: "activity" },
      { id: "calendar", label: "Calendar", icon: "calendar" },
    ],
  },
  {
    label: "Governance",
    items: [
      { id: "security", label: "Security", icon: "security" },
      { id: "incidents", label: "Incidents", icon: "incidents", count: 0 },
      { id: "notifications", label: "Notifications", icon: "notifications", count: 3 },
    ],
  },
];

export const agents = {
  iris: {
    id: "iris",
    name: "Iris",
    initials: "IR",
    role: "Lead · Orchestrator",
    status: "Delegating work",
    state: "active",
    progress: 100,
    icon: "iris",
    model: "OpenAI primary",
    task: "Coordinates the release-validation plan and human approvals.",
    started: "17:02:13",
    tools: ["sessions_send", "tasks_delegate", "approvals_request"],
  },
  programmer: {
    id: "programmer",
    name: "Programmer",
    initials: "PR",
    role: "Code Engineer",
    status: "Validation complete",
    state: "completed",
    progress: 100,
    icon: "programmer",
    model: "OpenAI coding policy",
    task: "Validated the change set and completed 128 unit and integration checks.",
    started: "17:02:28",
    tools: ["workspace_read", "exec_sandboxed", "test_report"],
  },
  reviewer: {
    id: "reviewer",
    name: "Reviewer",
    initials: "RV",
    role: "Quality Gate",
    status: "Checking changes",
    state: "working",
    progress: 43,
    icon: "reviewer",
    model: "OpenAI review policy",
    task: "Reviews release notes, policy constraints, and validation evidence.",
    started: "17:06:10",
    tools: ["diff_read", "policy_check", "review_submit"],
  },
  executor: {
    id: "executor",
    name: "Executor",
    initials: "EX",
    role: "Release Engineer",
    status: "Waiting for approval",
    state: "waiting",
    progress: 0,
    icon: "executor",
    model: "OpenAI execution policy",
    task: "Will prepare deployment artifacts after explicit owner approval.",
    started: "Queued",
    tools: ["artifact_prepare", "release_validate", "deployment_stage"],
  },
};

export const timelineEvents = [
  {
    id: "event-start",
    time: "17:02:13",
    actor: "Iris",
    title: "Run started",
    detail: "Created the execution plan for production release validation.",
    type: "system",
    correlation: "evt_01JZR6C90A",
  },
  {
    id: "event-delegate-programmer",
    time: "17:02:28",
    actor: "Iris",
    title: "Delegated to Programmer",
    detail: "Validate changes and run the complete test suite.",
    type: "delegation",
    correlation: "evt_01JZR6D2KR",
  },
  {
    id: "event-tests",
    time: "17:05:21",
    actor: "Programmer",
    title: "Validation complete",
    detail: "All 128 unit and integration checks passed.",
    type: "success",
    correlation: "evt_01JZR6M8QF",
  },
  {
    id: "event-review",
    time: "17:06:10",
    actor: "Reviewer",
    title: "Review started",
    detail: "Checking release notes, changed files, and policy evidence.",
    type: "working",
    correlation: "evt_01JZR6Q8HN",
  },
  {
    id: "event-review-ready",
    time: "17:18:34",
    actor: "Reviewer",
    title: "Quality gate clear",
    detail: "Release evidence is complete and the deployment step can be prepared.",
    type: "success",
    correlation: "evt_01JZR7C0PD",
  },
  {
    id: "event-approval",
    time: "17:20:55",
    actor: "Iris",
    title: "Approval requested",
    detail: "Executor needs permission to prepare deployment artifacts.",
    type: "approval",
    correlation: "evt_01JZR7J4SX",
  },
];

export const runDetails = {
  title: "Production release validation",
  runId: "run_01JZR6C7Q8M9",
  sessionId: "oc_7f3a2d1e",
  started: "27 Jul 2026, 17:02:13",
  elapsed: "00:18:42",
  provider: "OpenAI",
  access: "OpenClaw Gateway",
  modelPolicy: "openai-primary / release-safe",
  project: "Nexus Platform",
  environment: "production",
  tokens: "1.42M in / 368k out",
  cost: "$0.186",
  toolCalls: 18,
};

export const approval = {
  id: "approval_01JZR7J5B2",
  title: "Prepare deployment",
  requestedBy: "Iris",
  requestedAt: "27 Jul 2026, 17:20:55",
  duration: "~ 6 min",
  scope: [
    "Assemble versioned release artifacts",
    "Validate production configuration",
    "Prepare, but do not execute, the deployment",
  ],
  impact: "No production mutation is included in this approval.",
};
