{
  "generatedAt": "2026-07-20T19:03:03.564Z",
  "snapshotId": "2026-07-20T19-03-00-847Z",
  "snapshotGeneratedAt": "2026-07-20T19:03:00.847Z",
  "snapshotPath": "/opt/growthos-petvibess/app/data/audit/snapshots/store-audit-2026-07-20T19-03-00-847Z.json",
  "resourceCount": 2580,
  "typeCounts": {
    "access_scope": 24,
    "article": 15,
    "blog": 1,
    "collection": 7,
    "file": 118,
    "navigation_link": 205,
    "page": 6,
    "product": 12,
    "storefront_page": 7,
    "theme_asset": 2180,
    "theme": 5
  },
  "changeCount": 212,
  "highRiskCount": 7,
  "backupDir": "/opt/growthos-petvibess/app/data/audit/versioned-backup",
  "dailyDir": "/opt/growthos-petvibess/app/data/audit/versioned-backup/daily/2026-07-20/2026-07-20T19-03-00-847Z",
  "files": [
    {
      "name": "manifest.json",
      "path": "/opt/growthos-petvibess/app/data/audit/versioned-backup/latest/manifest.json",
      "present": true,
      "sizeBytes": 867,
      "modifiedAt": "2026-07-20T19:03:03.674Z"
    },
    {
      "name": "snapshot.json",
      "path": "/opt/growthos-petvibess/app/data/audit/versioned-backup/latest/snapshot.json",
      "present": true,
      "sizeBytes": 2065657,
      "modifiedAt": "2026-07-20T19:03:03.631Z"
    },
    {
      "name": "diff.json",
      "path": "/opt/growthos-petvibess/app/data/audit/versioned-backup/latest/diff.json",
      "present": true,
      "sizeBytes": 421988,
      "modifiedAt": "2026-07-20T19:03:03.636Z"
    },
    {
      "name": "resources-by-type.json",
      "path": "/opt/growthos-petvibess/app/data/audit/versioned-backup/latest/resources-by-type.json",
      "present": true,
      "sizeBytes": 2152066,
      "modifiedAt": "2026-07-20T19:03:03.673Z"
    }
  ],
  "ok": true,
  "latestDir": "/opt/growthos-petvibess/app/data/audit/versioned-backup/latest",
  "git": {
    "ok": false,
    "committed": false,
    "reason": "Command failed: git -C /opt/growthos-petvibess/app/data/audit/versioned-backup add .\nfatal: detected dubious ownership in repository at '/opt/growthos-petvibess/app/data/audit/versioned-backup'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /opt/growthos-petvibess/app/data/audit/versioned-backup\n"
  },
  "missingFiles": [],
  "restorePlan": [
    {
      "step": 1,
      "title": "Pick the backup point",
      "detail": "Use snapshot 2026-07-20T19-03-00-847Z from 2026-07-20T19:03:00.847Z.",
      "ready": true
    },
    {
      "step": 2,
      "title": "Review diff evidence",
      "detail": "Open diff.json and resources-by-type.json to confirm which Shopify resources changed before choosing manual rollback actions.",
      "ready": true
    },
    {
      "step": 3,
      "title": "Restore manually in Shopify Admin",
      "detail": "Use the recorded resource data as evidence for manual rollback. This app does not write rollback changes automatically without explicit implementation and approval.",
      "ready": true
    },
    {
      "step": 4,
      "title": "Run a fresh audit",
      "detail": "After rollback, let AI generate a fresh Store Audit snapshot and verify daily-work plus event-chain integrity evidence.",
      "ready": true
    }
  ]
}