{
  "created_at": "2026-11-13T03:32:40Z",
  "result": {
    "engine": "campaign_authority",
    "limits": "Reviews the campaign record only. It does not bid, connect to an ad exchange or verify an impression; category labels are taken as supplied. The run is Ed25519-signed; pin the issuer key out of band.",
    "module": "cain_a75_engines/campaign/engine.py",
    "profile": "two_agent_campaign",
    "run": {
      "label": "Recomputes every ad buy across all agents against the campaign's authority: budget, daily cap, per-buy ceiling, split buys inside 60 seconds, allowlisted publishers and blocked categories, with an alert near the budget and a pause when it runs out.",
      "public_key_b64": "dZiphb+c2Cau4HZEy44UrVSwHweaRDU2qgat1F/1UnE=",
      "records": [
        {
          "checks": [
            {
              "detail": "issued by 'human:cmo'; per-buy 150 <= daily 600 <= budget 1000",
              "id": "authority.issued",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 120 to 'pub:news': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.1.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-2' 140 to 'pub:sports': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.2.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 100 to 'pub:sports': stated 'DENY', recomputed 'DENY' (split buy (140 to pub:sports in the last 60s))",
              "id": "buy.3.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-2' 50 to 'pub:clickfarm': stated 'DENY', recomputed 'DENY' (publisher not on allowlist)",
              "id": "buy.4.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 130 to 'pub:news': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.5.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-2' 150 to 'pub:weather': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.6.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 80 to 'pub:news': stated 'DENY', recomputed 'DENY' (daily cap)",
              "id": "buy.7.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 140 to 'pub:news': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.8.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-2' 140 to 'pub:sports': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.9.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 100 to 'pub:weather': stated 'ALLOW', recomputed 'ALLOW'",
              "id": "buy.10.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-2' 100 to 'pub:news': stated 'DENY', recomputed 'DENY' (budget exhausted)",
              "id": "buy.11.decision",
              "ok": true
            },
            {
              "detail": "'agent:buyer-1' 50 to 'pub:news': stated 'DENY', recomputed 'DENY' (campaign paused)",
              "id": "buy.12.decision",
              "ok": true
            },
            {
              "detail": "an 'approaching' alert between 86700 and the next buy",
              "id": "control.alert",
              "ok": true
            },
            {
              "detail": "a pause between the budget refusal at 86800 and the next buy",
              "id": "control.pause",
              "ok": true
            },
            {
              "detail": "reported 920.0, recomputed 920.0",
              "id": "report.total",
              "ok": true
            },
            {
              "detail": "reported {'pub:news': 390.0, 'pub:sports': 280.0, 'pub:weather': 250.0}, recomputed {'pub:news': 390.0, 'pub:sports': 280.0, 'pub:weather': 250.0}",
              "id": "report.by_publisher",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.aggregate_enforced",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.paused_when_exhausted",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.spend_reported",
              "ok": true
            }
          ],
          "created_at": "2026-11-13T03:32:40Z",
          "engine": "a75-067/1.0.0",
          "extra": {
            "alert_due": 86700.0,
            "allowed": 7,
            "budget": 1000.0,
            "buys": 12,
            "by_publisher": {
              "pub:news": 390.0,
              "pub:sports": 280.0,
              "pub:weather": 250.0
            },
            "computed": {
              "aggregate_enforced": true,
              "paused_when_exhausted": true,
              "spend_reported": true
            },
            "denied": 5,
            "expected": [
              "ALLOW",
              "ALLOW",
              "DENY",
              "DENY",
              "ALLOW",
              "ALLOW",
              "DENY",
              "ALLOW",
              "ALLOW",
              "ALLOW",
              "DENY",
              "DENY"
            ],
            "pause_due": 86800.0,
            "spent": 920.0
          },
          "failed": [],
          "label": "Recomputes every ad buy across all agents against the campaign's authority: budget, daily cap, per-buy ceiling, split buys inside 60 seconds, allowlisted publishers and blocked categories, with an alert near the budget and a pause when it runs out.",
          "prev_record_hash": "272ca6d478ecf37611a1fdf04bad8418ce8e13e190857b7137a1bf6ddb61457a",
          "public_key_b64": "dZiphb+c2Cau4HZEy44UrVSwHweaRDU2qgat1F/1UnE=",
          "record_hash": "0f630c36ca6b8894101bbcda6ffb4a5869c6ec4b30483353f18598ada33db805",
          "schema": "cain42.a75.campaign.record.v1",
          "signature_b64": "wlAmuDMHyz5zEQBexgStqPftfqvR3XadwCmh7I5x1J44u6KorZN70kVbCO+O8EFnmgTwxW9+wiXHnchrn1XaCQ==",
          "sku": "CAIN-A75-067",
          "subject": {
            "alerts": [
              {
                "at": 86710.0,
                "level": "approaching",
                "total": 920.0
              }
            ],
            "authority": {
              "agents": [
                "agent:buyer-1",
                "agent:buyer-2"
              ],
              "blocked_categories": [
                "gambling",
                "adult"
              ],
              "budget": 1000.0,
              "campaign": "camp:fall-launch",
              "currency": "USD",
              "daily_cap": 600.0,
              "issued_by": "human:cmo",
              "per_buy_ceiling": 150.0,
              "publishers": [
                "pub:news",
                "pub:sports",
                "pub:weather"
              ],
              "valid_from": 0.0,
              "valid_to": 604800.0
            },
            "buys": [
              {
                "agent": "agent:buyer-1",
                "amount": 120.0,
                "at": 100.0,
                "category": "news",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:news"
              },
              {
                "agent": "agent:buyer-2",
                "amount": 140.0,
                "at": 200.0,
                "category": "sports",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:sports"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 100.0,
                "at": 230.0,
                "category": "sports",
                "currency": "USD",
                "decision": "DENY",
                "publisher": "pub:sports"
              },
              {
                "agent": "agent:buyer-2",
                "amount": 50.0,
                "at": 400.0,
                "category": "news",
                "currency": "USD",
                "decision": "DENY",
                "publisher": "pub:clickfarm"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 130.0,
                "at": 500.0,
                "category": "news",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:news"
              },
              {
                "agent": "agent:buyer-2",
                "amount": 150.0,
                "at": 600.0,
                "category": "weather",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:weather"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 80.0,
                "at": 700.0,
                "category": "news",
                "currency": "USD",
                "decision": "DENY",
                "publisher": "pub:news"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 140.0,
                "at": 86500.0,
                "category": "news",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:news"
              },
              {
                "agent": "agent:buyer-2",
                "amount": 140.0,
                "at": 86600.0,
                "category": "sports",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:sports"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 100.0,
                "at": 86700.0,
                "category": "weather",
                "currency": "USD",
                "decision": "ALLOW",
                "publisher": "pub:weather"
              },
              {
                "agent": "agent:buyer-2",
                "amount": 100.0,
                "at": 86800.0,
                "category": "news",
                "currency": "USD",
                "decision": "DENY",
                "publisher": "pub:news"
              },
              {
                "agent": "agent:buyer-1",
                "amount": 50.0,
                "at": 86900.0,
                "category": "news",
                "currency": "USD",
                "decision": "DENY",
                "publisher": "pub:news"
              }
            ],
            "claims": {
              "aggregate_enforced": true,
              "paused_when_exhausted": true,
              "spend_reported": true
            },
            "pauses": [
              {
                "at": 86810.0,
                "by": "policy:campaign-guard",
                "reason": "budget_exhausted"
              }
            ],
            "report": {
              "by_publisher": {
                "pub:news": 390.0,
                "pub:sports": 280.0,
                "pub:weather": 250.0
              },
              "total": 920.0
            },
            "schema": "cain42.a75.campaign.review.v1"
          },
          "subject_sha256": "2682b8bc9eecfbe790b4f47c0751a51dc84c3b4c14a0cc0f21a1dd5ea814f6b7",
          "verdict": "SOUND"
        }
      ],
      "run_hash": "dead95e3c036860c87bff733d847cffece5a3cea651cdbe6b606603915b5935c",
      "schema": "cain42.a75.campaign.run.v1",
      "sku": "CAIN-A75-067",
      "verdict": "VERIFIED",
      "verdicts": [
        "SOUND"
      ]
    },
    "scenarios": [
      {
        "allowed": 7,
        "budget": 1000.0,
        "buys": 12,
        "denied": 5,
        "name": "two_agent_campaign",
        "run_hash": "dead95e3c036860c87bff733d847cffece5a3cea651cdbe6b606603915b5935c",
        "spent": 920.0,
        "verdict": "VERIFIED"
      },
      {
        "expected": "SOUND",
        "name": "honest_two_agent_campaign",
        "verdict": "SOUND"
      },
      {
        "expected": "SOUND",
        "name": "split_buy_spaced_out_honestly",
        "verdict": "SOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "salami_split_buy_allowed",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "split_across_two_agents_allowed",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "publisher_not_on_allowlist",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "daily_cap_exceeded",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "budget_exceeded",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "buy_allowed_after_pause",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "no_pause_after_exhaustion",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "pause_recorded_too_late",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "no_alert_near_the_budget",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "over_per_buy_ceiling",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "blocked_category_bought",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "unenrolled_agent_spent",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "bought_after_the_window",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "wrong_currency",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "legit_buy_wrongly_denied",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "report_understates_spend",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "report_hides_a_publisher",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "authority_issued_by_agent",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "unknown_claim",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "wrong_schema",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "garbage",
        "verdict": "UNSOUND"
      }
    ],
    "summary": "VERIFIED: every buy re-decided with campaign-wide budget, daily cap, per-buy ceiling, 60-second split buys, allowlist and categories; alert, pause and spend report recomputed; 23/23 failure cases as expected"
  },
  "schema": "cain42.agentic75.findings.v1",
  "sku": "CAIN-A75-067"
}
