{
  "generatedAt": "2026-07-21T06:18:47.592Z",
  "ok": false,
  "status": "needs_attention",
  "counts": {
    "passed": 3,
    "failed": 2,
    "total": 5
  },
  "thresholds": {
    "snapshotMaxAgeMinutes": 30,
    "webhookMaxAgeMinutes": 1440
  },
  "evidence": {
    "latestSnapshotId": "",
    "latestSnapshotGeneratedAt": "",
    "latestSnapshotAgeMinutes": null,
    "latestWebhookEventId": "",
    "latestWebhookEventAt": "",
    "latestWebhookAgeMinutes": null,
    "snapshotCount": 0,
    "recentEventCount": 0,
    "openAlertCount": 0,
    "dataDirectory": "/opt/growthos-petvibess/runtime/audit",
    "dataDirectoryWritable": true,
    "chainOk": true,
    "chainCheckedCount": 0,
    "chainBrokenCount": 0
  },
  "nextActions": [
    "AI will generate the Store Audit snapshot during the daily pipeline.",
    "AI will verify Store Audit webhooks during setup; confirm Shopify webhook delivery only if /daily flags missing activity."
  ],
  "checks": [
    {
      "name": "Audit evidence directory writable",
      "ok": true,
      "status": "healthy",
      "evidence": "/opt/growthos-petvibess/runtime/audit is writable.",
      "action": "No action required."
    },
    {
      "name": "Latest snapshot freshness",
      "ok": false,
      "status": "needs_attention",
      "evidence": "No Store Audit snapshot has been generated yet.",
      "action": "AI will generate the Store Audit snapshot during the daily pipeline."
    },
    {
      "name": "Webhook delivery freshness",
      "ok": false,
      "status": "needs_attention",
      "evidence": "No webhook event has been received and webhook subscriptions have not been ensured.",
      "action": "AI will verify Store Audit webhooks during setup; confirm Shopify webhook delivery only if /daily flags missing activity."
    },
    {
      "name": "Tamper-evident event chain",
      "ok": true,
      "status": "healthy",
      "evidence": "0 event(s) checked, 0 break(s).",
      "action": "No action required."
    },
    {
      "name": "Open high-risk alerts",
      "ok": true,
      "status": "healthy",
      "evidence": "0 open high-risk alert(s).",
      "action": "No action required."
    }
  ]
}