{
  "schema": "agent_marketplace_daily_integrity_v1",
  "ts": "2026-02-26T03:16:30Z",
  "asOfDate": "2026-02-26",
  "base": "https://www.tutuoai.com",
  "components": {
    "catalog_integrity": {
      "ok": true,
      "report_json": "state/agent-marketplace-catalog-integrity-2026-02-26.json",
      "report_md": "state/agent-marketplace-catalog-integrity-2026-02-26.md",
      "summary": {
        "items": 22,
        "item_fail_count": 0,
        "buy_url_dupe_count": 0,
        "live_catalog_ok": true,
        "catalog_sha256": "8fa90ef34a40aab873b4d6b05f7fb87f1ff70bd3f9f52a4f3a721f5d97971a0a"
      }
    },
    "stripe_link_config": {
      "ok": false,
      "report_json": "state/agent-marketplace-stripe-link-config-check-2026-02-26.json",
      "report_md": "state/agent-marketplace-stripe-link-config-check-2026-02-26.md",
      "summary": {
        "skus_checked": 22,
        "ok": 19,
        "issues": 3
      },
      "top_issues": [
        {
          "slug": "analytics-tracking-pack",
          "kind": "after_completion_not_redirect",
          "payment_link_id": "plink_1T4dwZ3klu6qJEvzN79qYUV7"
        },
        {
          "slug": "3-ad-angles",
          "kind": "redirect_url_mismatch",
          "payment_link_id": "plink_1T4dsN3klu6qJEvzVGy6VHMd"
        },
        {
          "slug": "agent-orchestration",
          "kind": "redirect_url_mismatch",
          "payment_link_id": "plink_1T4dq03klu6qJEvzA9DfsjPe"
        }
      ]
    },
    "stripe_live_readiness": {
      "ok": false,
      "report_json": "state/agent-marketplace-stripe-live-readiness-2026-02-26.json",
      "report_md": "state/agent-marketplace-stripe-live-readiness-2026-02-26.md",
      "summary": {
        "blocking_issues": 1,
        "warnings": 2,
        "key_prefix": "rk_live",
        "payment_links_total_visible": 32,
        "catalog_mapped": 22
      },
      "blocking": [
        {
          "slug": "analytics-tracking-pack",
          "kind": "after_completion_not_redirect",
          "payment_link": "plink_1T4dwZ3klu6qJEvzN79qYUV7"
        }
      ]
    },
    "http_health" : {
      "ok": true,
      "report_json": "state/agent-marketplace-http-health-2026-02-26.json",
      "report_md": "state/agent-marketplace-http-health-2026-02-26.md",
      "notes": [
        "Core endpoints 200: /api/catalog.json /llms.txt /sitemap.xml",
        "/go/* returned 404 at snapshot time (likely deploy/path issue)"
      ]
    }
  },
  "overall_ok": false,
  "diagnosis": {
    "what_is_healthy": [
      "Catalog integrity is GREEN (22/22 items pass; live/local catalog hashes match).",
      "All SKU pages + downloads + post-purchase pages + Stripe checkout pages return HTTP 200 in the integrity run."
    ],
    "what_is_broken": [
      "Stripe Payment Link redirect configuration is not yet consistent across catalog (3 SKUs).",
      "Stripe LIVE readiness remains FAIL because analytics-tracking-pack is still configured as hosted confirmation (not Redirect)."
    ]
  },
  "next_actions": [
    {
      "priority": "P0",
      "kind": "human_required",
      "action": "In Stripe Dashboard, set analytics-tracking-pack Payment Link → After completion = Redirect → redirect URL to https://www.tutuoai.com/claim?sku=analytics-tracking-pack&session_id={CHECKOUT_SESSION_ID} (and set cancel URL to https://www.tutuoai.com/cancel if present).",
      "evidence_file": "state/agent-marketplace-stripe-human-fix-analytics-tracking-pack-2026-02-26.md"
    },
    {
      "priority": "P1",
      "kind": "human_required",
      "action": "Optionally normalize redirects for 3-ad-angles and agent-orchestration to /claim template (currently redirecting to post-purchase pages).",
      "evidence_file": "state/agent-marketplace-stripe-link-config-check-2026-02-26.json"
    },
    {
      "priority": "P1",
      "kind": "automated",
      "action": "Re-run: python3 scripts/agent_marketplace_stripe_link_config_check.py && python3 scripts/agent_marketplace_stripe_live_readiness_check.py (should go GREEN once Dashboard edits are done)."
    }
  ]
}
