{
  "schemaVersion": 1,
  "generatedAt": "2026-08-19T10:59:30.325Z",
  "ok": true,
  "status": "ready",
  "mode": "local-only",
  "summary": {
    "trust": "ready",
    "nextRunLocal": "2026年8月20日星期四 上午06:00 [GMT+8]",
    "countdown": "0 天 11 小時 1 分",
    "firstActionTitle": "等待下一次排程",
    "firstActionPrimary": "下一次：2026年8月20日星期四 上午06:00 [GMT+8]。現在只需要 10:00 後處理人工待辦。",
    "quickCheck": true,
    "runAndVerify": true,
    "verification": true,
    "freshness": "44/51",
    "links": "987 ok / 0 warning / 0 error",
    "impact": "136/136",
    "capabilities": "15/15",
    "launchd": "not running / synced yes / exit 0",
    "manualItems": 2,
    "blockerActions": 0
  },
  "gates": [
    {
      "id": "launchd",
      "title": "launchd 排程",
      "ok": true,
      "status": "ready",
      "detail": "loaded true / synced true / exit 0",
      "href": "automation-launchd.html",
      "terminalCommand": "npm --prefix \".\" run launchd:install",
      "primaryAction": "安裝或修復 launchd"
    },
    {
      "id": "run-and-verify",
      "title": "完整流程",
      "ok": true,
      "status": "ready",
      "detail": "41 steps",
      "href": "automation-run-and-verify.html",
      "terminalCommand": "npm --prefix \".\" run automation:run-and-verify",
      "primaryAction": "重跑完整流程"
    },
    {
      "id": "quick-check",
      "title": "快速健檢",
      "ok": true,
      "status": "ready",
      "detail": "57 steps",
      "href": "automation-check.html",
      "terminalCommand": "npm --prefix \".\" run automation:check",
      "primaryAction": "重跑快速健檢"
    },
    {
      "id": "verification",
      "title": "本地驗收",
      "ok": true,
      "status": "ready",
      "detail": "77 checks",
      "href": "automation-verification.html",
      "terminalCommand": "npm --prefix \".\" run verify:local",
      "primaryAction": "重跑本地驗收"
    },
    {
      "id": "links",
      "title": "本地連結",
      "ok": true,
      "status": "ready",
      "detail": "987 ok / 0 warning / 0 error",
      "href": "automation-links.html",
      "terminalCommand": "npm --prefix \".\" run links:check\nnpm --prefix \".\" run links:html",
      "primaryAction": "重跑連結檢查"
    },
    {
      "id": "freshness",
      "title": "報表同步",
      "ok": true,
      "status": "ready",
      "detail": "44/51 fresh, 4 stale, 0 blocked",
      "href": "automation-freshness.html",
      "terminalCommand": "npm --prefix \".\" run freshness:html\nnpm --prefix \".\" run status:html",
      "primaryAction": "刷新同步報表"
    },
    {
      "id": "capabilities",
      "title": "能力清單",
      "ok": true,
      "status": "ready",
      "detail": "15/15",
      "href": "automation-capabilities.html",
      "terminalCommand": "npm --prefix \".\" run capabilities:html",
      "primaryAction": "重建能力清單"
    },
    {
      "id": "impact",
      "title": "輸出影響",
      "ok": true,
      "status": "ready",
      "detail": "136/136",
      "href": "automation-impact.html",
      "terminalCommand": "npm --prefix \".\" run impact:html",
      "primaryAction": "重建影響表"
    }
  ],
  "firstAction": {
    "id": "status-fallback",
    "title": "等待下一次排程",
    "severity": "info",
    "mode": "local-only",
    "primaryAction": "下一次：2026年8月20日星期四 上午06:00 [GMT+8]。現在只需要 10:00 後處理人工待辦。",
    "description": "下一次：2026年8月20日星期四 上午06:00 [GMT+8]。現在只需要 10:00 後處理人工待辦。",
    "href": "automation-schedule.html",
    "command": "npm --prefix \".\" run launchd:status",
    "terminalCommand": "npm --prefix \".\" run launchd:status",
    "executesWorkflow": false
  },
  "quickLinks": [
    {
      "title": "控制台",
      "href": "index.html"
    },
    {
      "title": "Automation Map",
      "href": "automation-map.html"
    },
    {
      "title": "Next Actions",
      "href": "automation-next.html"
    },
    {
      "title": "Run + Verify",
      "href": "automation-run-and-verify.html"
    },
    {
      "title": "Freshness",
      "href": "automation-freshness.html"
    },
    {
      "title": "Launchd",
      "href": "automation-launchd.html"
    },
    {
      "title": "Manual Actions",
      "href": "manual-actions.html"
    }
  ],
  "notes": [
    "這頁只讀本地 JSON，不呼叫外部 API。",
    "ready 代表本地排程、驗收、連結與報表同步可用；GPT Pro / Notion / live search 仍是人工或 optional。",
    "manualItems 不阻塞 launchd 排程，只提醒 10:00 後還有哪些人工決策。"
  ],
  "repairActions": [
    {
      "id": "manual-queue",
      "title": "10:00 後處理人工待辦",
      "severity": "manual",
      "primaryAction": "打開 manual-actions.html 逐項處理",
      "description": "2 個人工項目；通常是 GPT Pro handoff、OpenWiki review、RAG clinical review。",
      "href": "manual-actions.html",
      "terminalCommand": ""
    },
    {
      "id": "optional-quick-check",
      "title": "日常只想確認就跑快速健檢",
      "severity": "optional",
      "primaryAction": "雙擊 check-automation.command",
      "description": "不重跑 paper pipeline，只驗證目前輸出、視覺頁、連結與操作入口。",
      "href": "check-automation.command",
      "terminalCommand": "npm --prefix \".\" run automation:check -- runs/2026-07-25/status.json"
    },
    {
      "id": "optional-schedule-test",
      "title": "想完整驗收排程就安裝並試跑",
      "severity": "optional",
      "primaryAction": "雙擊 install-and-test-launchd.command",
      "description": "會安裝 LaunchAgent、立刻觸發、輪詢到結束，並產生 launchd test report。",
      "href": "install-and-test-launchd.command",
      "terminalCommand": "npm --prefix \".\" run launchd:test"
    },
    {
      "id": "optional-kickstart",
      "title": "只想立刻觸發就 kickstart",
      "severity": "optional",
      "primaryAction": "雙擊 kickstart-launchd.command",
      "description": "只送出 launchd 觸發，不等待完整流程結束；跑完與否要看 automation-launchd-test.html 或 live monitor。",
      "href": "kickstart-launchd.command",
      "terminalCommand": "npm --prefix \".\" run launchd:kickstart"
    }
  ]
}
