{
  "ok": true,
  "updated_utc": "2026-07-11T05:34:58.165Z",
  "platform": {
    "name": "Barndoor",
    "overall": "ok",
    "health_percent": 100,
    "checks_total": 15,
    "checks_healthy": 15,
    "checks_failed": 0,
    "websites_healthy": 5,
    "websites_total": 5
  },
  "release": {
    "name": "Barndoor",
    "version": "0.1.0",
    "platform": "0.1.0",
    "noc": "2.2.31",
    "api": "platform-v1",
    "scheme": "barndoor-semver"
  },
  "repository": {
    "name": "tilhr/barndoor",
    "version": "0.1.0",
    "branch": "agent/barndoor-labs-operations-baseline-v1",
    "commit": "b2cef99",
    "dirtyFiles": 0,
    "ahead": 0,
    "behind": 0,
    "history": [
      {
        "commit": "b2cef99",
        "title": "Add Barndoor Labs public runtime check"
      },
      {
        "commit": "0cc741c",
        "title": "Document Barndoor Labs production launch"
      },
      {
        "commit": "14f5976",
        "title": "Add Barndoor Labs deployment infrastructure"
      },
      {
        "commit": "e86fcd2",
        "title": "Capture website stack source baseline"
      },
      {
        "commit": "ebc83b8",
        "title": "Add canonical metadata to Barndoor Labs pages"
      },
      {
        "commit": "2fc6bee",
        "title": "Add Barndoor NOC product overview route"
      }
    ],
    "activity30d": [
      {
        "date": "2026-06-12",
        "label": "Jun 12",
        "count": 20
      },
      {
        "date": "2026-06-13",
        "label": "Jun 13",
        "count": 0
      },
      {
        "date": "2026-06-14",
        "label": "Jun 14",
        "count": 0
      },
      {
        "date": "2026-06-15",
        "label": "Jun 15",
        "count": 0
      },
      {
        "date": "2026-06-16",
        "label": "Jun 16",
        "count": 1
      },
      {
        "date": "2026-06-17",
        "label": "Jun 17",
        "count": 0
      },
      {
        "date": "2026-06-18",
        "label": "Jun 18",
        "count": 0
      },
      {
        "date": "2026-06-19",
        "label": "Jun 19",
        "count": 2
      },
      {
        "date": "2026-06-20",
        "label": "Jun 20",
        "count": 24
      },
      {
        "date": "2026-06-21",
        "label": "Jun 21",
        "count": 5
      },
      {
        "date": "2026-06-22",
        "label": "Jun 22",
        "count": 0
      },
      {
        "date": "2026-06-23",
        "label": "Jun 23",
        "count": 0
      },
      {
        "date": "2026-06-24",
        "label": "Jun 24",
        "count": 3
      },
      {
        "date": "2026-06-25",
        "label": "Jun 25",
        "count": 18
      },
      {
        "date": "2026-06-26",
        "label": "Jun 26",
        "count": 2
      },
      {
        "date": "2026-06-27",
        "label": "Jun 27",
        "count": 67
      },
      {
        "date": "2026-06-28",
        "label": "Jun 28",
        "count": 96
      },
      {
        "date": "2026-06-29",
        "label": "Jun 29",
        "count": 169
      },
      {
        "date": "2026-06-30",
        "label": "Jun 30",
        "count": 60
      },
      {
        "date": "2026-07-01",
        "label": "Jul 1",
        "count": 83
      },
      {
        "date": "2026-07-02",
        "label": "Jul 2",
        "count": 75
      },
      {
        "date": "2026-07-03",
        "label": "Jul 3",
        "count": 0
      },
      {
        "date": "2026-07-04",
        "label": "Jul 4",
        "count": 12
      },
      {
        "date": "2026-07-05",
        "label": "Jul 5",
        "count": 0
      },
      {
        "date": "2026-07-06",
        "label": "Jul 6",
        "count": 0
      },
      {
        "date": "2026-07-07",
        "label": "Jul 7",
        "count": 26
      },
      {
        "date": "2026-07-08",
        "label": "Jul 8",
        "count": 31
      },
      {
        "date": "2026-07-09",
        "label": "Jul 9",
        "count": 23
      },
      {
        "date": "2026-07-10",
        "label": "Jul 10",
        "count": 20
      },
      {
        "date": "2026-07-11",
        "label": "Jul 11",
        "count": 5
      }
    ],
    "commitCount24h": 22,
    "commitCount30d": 742,
    "tree": [
      {
        "path": "VERSION",
        "title": "Barndoor platform version",
        "detail": "Source-of-truth release marker"
      },
      {
        "path": "docs/versioning.md",
        "title": "Version contract",
        "detail": "Platform and NOC version tracking rules"
      },
      {
        "path": "bot/",
        "title": "Main bot and API runtime",
        "detail": "Discord commands, health API, NOC JSON endpoints"
      },
      {
        "path": "websites/",
        "title": "Public web surfaces",
        "detail": "NOC, Build Log, project pages, static assets"
      },
      {
        "path": "scripts/",
        "title": "Ops guardrails",
        "detail": "Release checks, deploy helpers, smoke tests"
      },
      {
        "path": "docs/",
        "title": "Operator documentation",
        "detail": "Runbooks, contracts, project notes, build history"
      }
    ],
    "head": "b2cef99"
  },
  "host": {
    "disk": "30G free · 68% used",
    "uptime": "up 1 week, 6 days, 19 hours, 52 minutes",
    "diskPercent": 68,
    "load": {
      "one": 0.07,
      "five": 0.07,
      "fifteen": 0.06,
      "label": "0.07 · 0.07 · 0.06"
    },
    "memory": {
      "totalBytes": 32271953920,
      "usedBytes": 14159908864,
      "freeBytes": 18112045056,
      "percent": 44,
      "label": "44% used"
    },
    "temperature": "CPU 45°C · GPU 37°C",
    "temperatures": {
      "cpu": {
        "celsius": 45,
        "label": "CPU 45°C",
        "source": "thermal-zone:x86_pkg_temp"
      },
      "gpu": {
        "celsius": 37,
        "label": "GPU 37°C",
        "source": "nvidia-smi"
      },
      "label": "CPU 45°C · GPU 37°C",
      "available": true
    }
  },
  "services": [
    {
      "name": "barndoor",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "minecraftAgent",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "nineo",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "ollama",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "docker",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "fail2ban",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "tailscale",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "caddyWeb",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "haystack",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "uptimeKuma",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "tylerSite",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "barndoorSite",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "buildLogSite",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "tm44Site",
      "ok": true,
      "level": "ok"
    },
    {
      "name": "haystackSite",
      "ok": true,
      "level": "ok"
    }
  ],
  "backup_confidence": {
    "confidence": "green",
    "reason": "Latest backup completed inside the expected window, verification passed, restore drill passed, and the older restore failure has been superseded.",
    "restore_status": {
      "status": "passed",
      "freshness": "current",
      "reason": "Latest restore drill passed; older restore failure is superseded.",
      "restore_failure_superseded": true,
      "latest_restore_failure_active": false,
      "restore_watch_days": 30
    },
    "latest": {
      "backup_completed": {
        "type": "backup.completed",
        "level": "info",
        "title": "MC hot backup completed",
        "time_utc": "2026-07-11T04:31:01.092Z",
        "age": "1h",
        "age_ms": 3837026
      },
      "backup_verified": {
        "type": "backup.verified",
        "level": "info",
        "title": "Minecraft backup verified",
        "time_utc": "2026-07-05T15:01:20.315Z",
        "age": "6d",
        "age_ms": 484417803
      },
      "backup_failed": null,
      "restore_tested": {
        "type": "backup.restore.tested",
        "level": "info",
        "title": "Minecraft restore drill completed",
        "time_utc": "2026-07-05T15:01:20.385Z",
        "age": "6d",
        "age_ms": 484417733
      },
      "restore_failed": {
        "type": "backup.restore.failed",
        "level": "critical",
        "title": "Minecraft restore drill failed",
        "time_utc": "2026-06-29T11:35:18.689Z",
        "age": "12d",
        "age_ms": 1015179429
      }
    }
  },
  "backup_inventory": {
    "ok": true,
    "count": 800,
    "roots_checked": 2,
    "latest": {
      "time_utc": "2026-07-11T03:00:04.064Z",
      "category": "backup",
      "category_label": "Backup",
      "type": "backup.archive",
      "level": "info",
      "title": "Config backup archive",
      "message": "Latest local backup file detected from the Barndoor backup inventory.",
      "size_bytes": 138
    }
  },
  "recovery_evidence": {
    "schema_version": 1,
    "full_backup": {
      "role": "full_backup",
      "available": true,
      "id": "936ed56c5ea9046b",
      "time_utc": "2026-07-11T04:31:01.092Z",
      "source": "mc-backup",
      "source_label": "MC Backup",
      "type": "backup.completed",
      "title": "MC hot backup completed",
      "level": "info",
      "outcome": "completed"
    },
    "verification": {
      "role": "verification",
      "available": true,
      "id": "4bfe3f041af09a23",
      "time_utc": "2026-07-05T15:01:20.315Z",
      "source": "minecraft-restore-dry-run",
      "source_label": "Minecraft Restore Dry Run",
      "type": "backup.verified",
      "title": "Minecraft backup verified",
      "level": "info",
      "outcome": "verified"
    },
    "triage_snapshot": {
      "role": "triage_snapshot",
      "available": true,
      "id": "3dbe22eb57d38d3f",
      "time_utc": "2026-07-10T23:05:02.502Z",
      "source": "mc-triage-snapshot",
      "source_label": "MC Triage Snapshot",
      "type": "backup.completed",
      "title": "MC triage snapshot completed",
      "level": "info",
      "outcome": "completed"
    },
    "restore_drill": {
      "role": "restore_drill",
      "available": true,
      "id": "0c3c135fb51af051",
      "time_utc": "2026-07-05T15:01:20.385Z",
      "source": "minecraft-restore-drill",
      "source_label": "Minecraft Restore Drill",
      "type": "backup.restore.tested",
      "title": "Minecraft restore drill completed",
      "level": "info",
      "outcome": "passed"
    }
  },
  "events": [
    {
      "schema_version": 2,
      "id": "6fe78a1d6b1d6928",
      "time_utc": "2026-07-11T04:51:35.491Z",
      "source": "runtime-doctor",
      "category": "system",
      "categories": [
        "system"
      ],
      "category_label": "System",
      "type": "system.event",
      "level": "info",
      "title": "Runtime baseline clean",
      "message": "Runtime doctor passed with 0 warning(s); previous warning events are historical and currently resolved.",
      "data": {
        "component": "runtime-doctor",
        "status": "clean",
        "failures": 0,
        "warnings": 0
      },
      "metadata": {
        "public": true,
        "source_label": "Runtime Doctor",
        "type_label": "System Event",
        "level_label": "Info",
        "summary": "System · System Event"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "936ed56c5ea9046b",
      "time_utc": "2026-07-11T04:31:01.092Z",
      "source": "mc-backup",
      "category": "backup",
      "categories": [
        "backup",
        "service"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC hot backup completed",
      "message": "Nightly hot MC backup completed.",
      "data": {
        "service": "mc",
        "component": "hot-backup",
        "target": "mc",
        "result": "success",
        "archive_created": true,
        "archive_name": "barndoor-mc-full-HOT-20260711-043001.tar.gz",
        "bytes": 2829458813,
        "size_bytes": 2829458813,
        "sha256": "ea98c889824f0a51d9bc07e3bd688d89f587922208dc95049aa1e8dae51cb01d"
      },
      "metadata": {
        "public": true,
        "source_label": "MC Backup",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "572e1a29923877c5",
      "time_utc": "2026-07-11T03:22:59.930Z",
      "source": "website",
      "category": "deploy",
      "categories": [
        "deploy",
        "web"
      ],
      "category_label": "Deploy",
      "type": "deploy.completed",
      "level": "info",
      "title": "tylerrodgers.space deploy completed",
      "message": "Barn doors swung open — the latest release is live from Barndoor.",
      "data": {
        "site": "tylerrodgers.space",
        "component": "public-web"
      },
      "metadata": {
        "public": true,
        "source_label": "Website",
        "type_label": "Deploy Completed",
        "level_label": "Info",
        "summary": "Deploy · Deploy Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "3dbe22eb57d38d3f",
      "time_utc": "2026-07-10T23:05:02.502Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "24e0571188e882df",
      "time_utc": "2026-07-10T22:05:02.265Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "d21411caee5792e2",
      "time_utc": "2026-07-10T21:05:02.066Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "aacff95e7c8eca70",
      "time_utc": "2026-07-10T20:05:01.910Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "f182b003fa00cdac",
      "time_utc": "2026-07-10T19:45:02.392Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "100f6dceafba2637",
      "time_utc": "2026-07-10T14:00:13.631Z",
      "source": "runtime-doctor",
      "category": "system",
      "categories": [
        "system"
      ],
      "category_label": "System",
      "type": "system.event",
      "level": "info",
      "title": "Runtime baseline clean",
      "message": "Runtime doctor passed with 0 warning(s); previous warning events are historical and currently resolved.",
      "data": {
        "component": "runtime-doctor",
        "status": "clean",
        "failures": 0,
        "warnings": 0
      },
      "metadata": {
        "public": true,
        "source_label": "Runtime Doctor",
        "type_label": "System Event",
        "level_label": "Info",
        "summary": "System · System Event"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    },
    {
      "schema_version": 2,
      "id": "9e3248e90853be99",
      "time_utc": "2026-07-10T06:05:02.009Z",
      "source": "mc-triage-snapshot",
      "category": "backup",
      "categories": [
        "backup",
        "minecraft"
      ],
      "category_label": "Backup",
      "type": "backup.completed",
      "level": "info",
      "title": "MC triage snapshot completed",
      "message": "Short-window MC rollback snapshot completed.",
      "data": {},
      "metadata": {
        "public": true,
        "source_label": "MC Triage Snapshot",
        "type_label": "Backup Completed",
        "level_label": "Info",
        "summary": "Backup · Backup Completed"
      },
      "activity": {
        "active": true,
        "state": "active",
        "reason": null,
        "resolved_by": null,
        "resolved_at_utc": null
      }
    }
  ]
}