{
  "schemaVersion": 1,
  "generatedAt": "2026-08-19T10:59:38.275Z",
  "statusPath": "runs/2026-07-25/status.json",
  "runDir": "runs/2026-07-25",
  "ok": true,
  "readyForLocalAutomation": true,
  "status": "ready",
  "summary": {
    "ready": 11,
    "readyTotal": 11,
    "failedReady": 0,
    "manualItems": 2,
    "externalOff": 1,
    "actionTotal": 41,
    "nextRunAt": "2026-08-19T22:00:00.000Z",
    "environmentOk": true,
    "latestAutomationOk": true,
    "latestRunAndVerifyOk": true
  },
  "gates": [
    {
      "id": "ready:run-and-verify",
      "title": "Run + verify 完整流程",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "41 steps / 2026-08-14T12:35:18.598Z",
      "href": "automation-run-and-verify.html"
    },
    {
      "id": "ready:doctor",
      "title": "Automation doctor 健檢",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "338 checks / 2026-08-19T10:59:37.367Z",
      "href": "automation-health.html"
    },
    {
      "id": "ready:links",
      "title": "本地連結檢查",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "992 ok / 0 warning / 0 error",
      "href": "automation-links.html"
    },
    {
      "id": "ready:verification",
      "title": "本地驗收檢查",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "81 checks / 2026-08-19T10:59:30.563Z",
      "href": "automation-verification.html"
    },
    {
      "id": "ready:launchd-loaded",
      "title": "launchd service 已載入",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "not running / last exit 0",
      "href": "automation-launchd.html"
    },
    {
      "id": "ready:launchd-synced",
      "title": "launchd plist 已同步",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "~/Library/LaunchAgents/com.ferociyyy.ortho-paper-local-automation.plist",
      "href": "automation-launchd.html"
    },
    {
      "id": "ready:commands",
      "title": "所有操作指令可用",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "71 / 71 commands",
      "href": "automation-commands.html"
    },
    {
      "id": "ready:actions",
      "title": "所有操作入口可用",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "41 / 41 actions",
      "href": "automation-actions.html"
    },
    {
      "id": "ready:schedule",
      "title": "排程視覺化已更新",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "2026年8月20日星期四 上午06:00 [GMT+8] / 0 天 11 小時 0 分",
      "href": "automation-schedule.html"
    },
    {
      "id": "ready:environment",
      "title": "本地執行環境可用",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "/usr/local/bin/node / npm",
      "href": "automation-environment.html"
    },
    {
      "id": "ready:ui-smoke",
      "title": "視覺操作層可用",
      "kind": "ready",
      "ok": true,
      "status": "ok",
      "detail": "725 checks / 0 errors",
      "href": "automation-ui-smoke.html"
    },
    {
      "id": "manual:gpt-openwiki-rag",
      "title": "人工待辦不阻塞自動排程",
      "kind": "manual",
      "ok": true,
      "status": "ok",
      "detail": "2 items；多半是 GPT Pro 導讀、OpenWiki 複核、RAG clinical review",
      "href": "manual-actions.html"
    },
    {
      "id": "external:no-api-mode",
      "title": "外部 API 不在主流程內",
      "kind": "external-off",
      "ok": true,
      "status": "ok",
      "detail": "Notion API、LLM API、GPT Pro 自動操作、PubMed live search 都是 optional/manual。",
      "href": "automation-map.html"
    }
  ],
  "nextHumanAction": "本地自動排程已可跑；人工待辦可在 10:00 後處理，不阻塞週四 06:00 local automation。"
}
