← back to Carnegie Identity Audit

verification/preparation-e2e-proof.json

100 lines

{
  "intent": "Prepare exact read-only restoration evidence; no live repair performed",
  "risk_tier": "R3 read-only; proposed repair R4",
  "timestamp": "2026-09-11T16:13:22.386322+00:00",
  "environment": "Local audit repo; Shopify read queries; read-only PostgreSQL local and Kamatera",
  "commands": [
    "python3 collect.py",
    "ssh kamatera read-only SELECT (canonical-catalog.json)",
    "python3 prepare.py",
    "node isolated cleanMfr evaluation and module syntax check"
  ],
  "build_identity": "Source digests per patch check; final git commit recorded on TK-11246",
  "assertions": [
    {
      "check": "Exact26 canonical/local mapping and full-table postrepair uniqueness",
      "verdict": "PASS"
    },
    {
      "check": "52 product/104 namespace current prestate by exact SKU and generation",
      "verdict": "PASS"
    },
    {
      "check": "Missing historical generation excluded; missing node returns null",
      "verdict": "PASS"
    },
    {
      "check": "Original Aug18 standalone mutation membership log",
      "verdict": "SKIP",
      "reason": "Unavailable; only corroboration, no claim of recovered log"
    },
    {
      "check": "Production mutation and after-state verification",
      "verdict": "SKIP",
      "reason": "Approval required; no mutation executed"
    }
  ],
  "negative_tests": [
    {
      "case": "wrong_vendor",
      "verdict": "PASS",
      "rejected": true
    },
    {
      "case": "wrong_metafield",
      "verdict": "PASS",
      "rejected": true
    },
    {
      "case": "extra_active",
      "verdict": "PASS",
      "rejected": true
    },
    {
      "case": "wrong_canonical",
      "verdict": "PASS",
      "rejected": true
    },
    {
      "case": "grouped_product",
      "verdict": "PASS",
      "rejected": true
    }
  ],
  "patch_checks": [
    {
      "file": "rollout.mjs",
      "source_sha256": "3a11e3a93ef0650bf5649c752bbe2e8ac44a175451c0ae2eb56828f34af8c7ee",
      "syntax": "PASS",
      "tested": 5954,
      "before_changed": 5763,
      "after_changed": 0
    },
    {
      "file": "rollout2.mjs",
      "source_sha256": "e65498137e0f87ac33283854b7a07fd7fba4cbf34a755e51403c0cd32de2115e",
      "syntax": "PASS",
      "tested": 5954,
      "before_changed": 5763,
      "after_changed": 0
    },
    {
      "file": "build-siltech-grain-v2-archived.mjs",
      "source_sha256": "6521cd7459af1fc232eb9227717744843165ad4fdc75f85d75ee999b7a8dbbff",
      "syntax": "PASS",
      "tested": 5954,
      "before_changed": 5763,
      "after_changed": 0
    }
  ],
  "cleanup": "No business writes or test entities; evidence retained locally.",
  "result": "PREPARATION VERIFIED; TICKET BLOCKED FOR APPROVAL",
  "counts": {
    "local_staging_rows": 26,
    "canonical_writes": 0,
    "active_products": 26,
    "archived_products": 26,
    "metafields": 104
  }
}