{
  "created_at": "2026-11-13T03:32:40Z",
  "result": {
    "engine": "remediation_gate",
    "limits": "Reviews the incident record. It does not connect to the estate, prove the telemetry is authentic, or re-run the repair. The run is Ed25519-signed; pin the issuer key out of band.",
    "module": "cain_a75_engines/remediationgate/engine.py",
    "profile": "checkout_rollback",
    "run": {
      "label": "Recomputes an approval-gated remediation: evidenced diagnosis, action digest bound to the human approval, target and expiry, single execution inside the window, and a verified effect. It does not connect to the estate.",
      "public_key_b64": "TFsOSHdCg2x09O/j4ef0urZAkSgaGD5eXoTGR2C23g4=",
      "records": [
        {
          "checks": [
            {
              "detail": "content hash",
              "id": "telemetry.T1.hash",
              "ok": true
            },
            {
              "detail": "content hash",
              "id": "telemetry.T2.hash",
              "ok": true
            },
            {
              "detail": "2/2 cited telemetry hashed and captured before the diagnosis",
              "id": "diagnosis.evidence",
              "ok": true
            },
            {
              "detail": "the diagnosis step executed nothing",
              "id": "diagnosis.no_execution",
              "ok": true
            },
            {
              "detail": "type 'rollback'",
              "id": "A1.type",
              "ok": true
            },
            {
              "detail": "target 'svc:checkout-api/prod'",
              "id": "A1.target",
              "ok": true
            },
            {
              "detail": "params are an object",
              "id": "A1.params",
              "ok": true
            },
            {
              "detail": "stated digest matches recomputed 3e3fb3782ce2",
              "id": "A1.digest",
              "ok": true
            },
            {
              "detail": "cites the diagnosis and was proposed after it",
              "id": "A1.follows_diagnosis",
              "ok": true
            },
            {
              "detail": "approver 'human:oncall-sre' is a named human",
              "id": "A1.approval.human:oncall-sre.human",
              "ok": true
            },
            {
              "detail": "approver is not the proposer",
              "id": "A1.approval.human:oncall-sre.independent",
              "ok": true
            },
            {
              "detail": "decision 'accept'",
              "id": "A1.approval.human:oncall-sre.decision",
              "ok": true
            },
            {
              "detail": "approval bound to the exact action digest",
              "id": "A1.approval.human:oncall-sre.digest",
              "ok": true
            },
            {
              "detail": "approval bound to the action target",
              "id": "A1.approval.human:oncall-sre.target",
              "ok": true
            },
            {
              "detail": "approved after the proposal",
              "id": "A1.approval.human:oncall-sre.after_proposal",
              "ok": true
            },
            {
              "detail": "expiry within 900.0s of approval",
              "id": "A1.approval.human:oncall-sre.ttl",
              "ok": true
            },
            {
              "detail": "approver 'human:service-owner' is a named human",
              "id": "A1.approval.human:service-owner.human",
              "ok": true
            },
            {
              "detail": "approver is not the proposer",
              "id": "A1.approval.human:service-owner.independent",
              "ok": true
            },
            {
              "detail": "decision 'accept'",
              "id": "A1.approval.human:service-owner.decision",
              "ok": true
            },
            {
              "detail": "approval bound to the exact action digest",
              "id": "A1.approval.human:service-owner.digest",
              "ok": true
            },
            {
              "detail": "approval bound to the action target",
              "id": "A1.approval.human:service-owner.target",
              "ok": true
            },
            {
              "detail": "approved after the proposal",
              "id": "A1.approval.human:service-owner.after_proposal",
              "ok": true
            },
            {
              "detail": "expiry within 900.0s of approval",
              "id": "A1.approval.human:service-owner.ttl",
              "ok": true
            },
            {
              "detail": "2 valid distinct human approval(s) >= 2",
              "id": "A1.approved",
              "ok": true
            },
            {
              "detail": "executed 1 time(s)",
              "id": "A1.executed_once",
              "ok": true
            },
            {
              "detail": "executed only with the required approval",
              "id": "A1.execution.authorized",
              "ok": true
            },
            {
              "detail": "executed inside an approval window",
              "id": "A1.execution.window",
              "ok": true
            },
            {
              "detail": "executed the approved digest",
              "id": "A1.execution.digest",
              "ok": true
            },
            {
              "detail": "executed on the approved target",
              "id": "A1.execution.target",
              "ok": true
            },
            {
              "detail": "observation hash",
              "id": "A1.effect.hash",
              "ok": true
            },
            {
              "detail": "observed after execution",
              "id": "A1.effect.after",
              "ok": true
            },
            {
              "detail": "'p99_ms': 210.0 <= 300.0",
              "id": "A1.effect.met",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.all_actions_approved",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.diagnosis_evidenced",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.effect_verified",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.executed_once_within_window",
              "ok": true
            }
          ],
          "created_at": "2026-11-13T03:32:40Z",
          "engine": "a75-045/1.0.0",
          "extra": {
            "actions": {
              "A1": {
                "approvals": 2,
                "digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
                "effect_met": true,
                "executed": 1
              }
            },
            "computed": {
              "all_actions_approved": true,
              "diagnosis_evidenced": true,
              "effect_verified": true,
              "executed_once_within_window": true
            },
            "failed_before_claims": 0
          },
          "failed": [],
          "label": "Recomputes an approval-gated remediation: evidenced diagnosis, action digest bound to the human approval, target and expiry, single execution inside the window, and a verified effect. It does not connect to the estate.",
          "prev_record_hash": "7633befca74683b044b3b250f9c8d1f0d8382d8d9e38362c4f179809f5892e3f",
          "public_key_b64": "TFsOSHdCg2x09O/j4ef0urZAkSgaGD5eXoTGR2C23g4=",
          "record_hash": "1befd7b086ddeb0bfa8a65c0984a4115b269e35f3347657454c519086cd4c8c7",
          "schema": "cain42.a75.remediation.record.v1",
          "signature_b64": "M/AHmAZzs6MHpoXf4GozddGJOi3HOo3WOUrH/G387dDhrwJe2qPOMD0P9kAFiLRULYeTSMdUMPQXmVSIMuBRBQ==",
          "sku": "CAIN-A75-045",
          "subject": {
            "actions": [
              {
                "diagnosis_id": "D1",
                "digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
                "id": "A1",
                "params": {
                  "drain_seconds": 30,
                  "to_release": "2026.11.10-3"
                },
                "proposed_at": 1010.0,
                "proposed_by": "agent:ops-investigator",
                "target": "svc:checkout-api/prod",
                "type": "rollback"
              }
            ],
            "approvals": [
              {
                "action_digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
                "action_id": "A1",
                "approved_at": 1020.0,
                "by": "human:oncall-sre",
                "decision": "accept",
                "expires_at": 1920.0,
                "target": "svc:checkout-api/prod"
              },
              {
                "action_digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
                "action_id": "A1",
                "approved_at": 1025.0,
                "by": "human:service-owner",
                "decision": "accept",
                "expires_at": 1925.0,
                "target": "svc:checkout-api/prod"
              }
            ],
            "claims": {
              "all_actions_approved": true,
              "diagnosis_evidenced": true,
              "effect_verified": true,
              "executed_once_within_window": true
            },
            "diagnosis": {
              "evidence": [
                "T1",
                "T2"
              ],
              "executed_actions": [],
              "finding": "regression introduced by release 2026.11.11-1",
              "id": "D1",
              "made_at": 1000.0,
              "made_by": "agent:ops-investigator"
            },
            "executions": [
              {
                "action_digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
                "action_id": "A1",
                "executed_at": 1030.0,
                "observation": {
                  "metric": "p99_ms",
                  "observed": 210.0,
                  "observed_at": 1200.0,
                  "op": "<=",
                  "sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
                  "threshold": 300.0
                },
                "target": "svc:checkout-api/prod"
              }
            ],
            "incident": {
              "id": "INC-7",
              "summary": "checkout p99 latency spike after release 2026.11.11-1"
            },
            "policy": {
              "allowed_actions": [
                "restart",
                "rollback",
                "scale"
              ],
              "allowed_targets": [
                "svc:checkout-api/prod"
              ],
              "dual_approval_actions": [
                "rollback"
              ],
              "max_approval_ttl_s": 900.0
            },
            "schema": "cain42.a75.remediation.incident.v1",
            "telemetry": [
              {
                "captured_at": 990.0,
                "id": "T1",
                "metric": "p99_ms",
                "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
                "source": "apm:checkout-api"
              },
              {
                "captured_at": 995.0,
                "id": "T2",
                "metric": "release",
                "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
                "source": "deploy-log"
              }
            ]
          },
          "subject_sha256": "bd50d349fddeeca9480e4e6eec3bfd9d4a8512057411d6de2761e385a9a13c04",
          "verdict": "SOUND"
        }
      ],
      "run_hash": "52f2f8bd82d677be3730687b91063e0512805f7dd3d4f5590d634008a216b5e7",
      "schema": "cain42.a75.remediation.run.v1",
      "sku": "CAIN-A75-045",
      "verdict": "VERIFIED",
      "verdicts": [
        "SOUND"
      ]
    },
    "scenarios": [
      {
        "actions": {
          "A1": {
            "approvals": 2,
            "digest": "3e3fb3782ce2ad5e5424795b0c8a38a199e7b2044af8dae165ba578ea2f091b6",
            "effect_met": true,
            "executed": 1
          }
        },
        "name": "checkout_rollback",
        "run_hash": "52f2f8bd82d677be3730687b91063e0512805f7dd3d4f5590d634008a216b5e7",
        "verdict": "VERIFIED"
      },
      {
        "expected": "SOUND",
        "name": "honest_remediation",
        "verdict": "SOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "swapped_payload_stale_digest",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "swapped_payload_redigested",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "approval_other_target",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "self_approved",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "non_human_approver",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "single_approval_on_dual_action",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "approval_before_proposal",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "lease_too_long",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "executed_after_expiry",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "executed_twice",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "executed_without_approval",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "unknown_execution",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "target_not_allowed",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "action_type_not_allowed",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "diagnosis_cites_missing_telemetry",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "telemetry_after_diagnosis",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "diagnosis_executed",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "effect_not_met",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "effect_observed_before_run",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "claim_overstates",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "unknown_claim",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "wrong_schema",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "garbage",
        "verdict": "UNSOUND"
      }
    ],
    "summary": "VERIFIED: diagnosis evidence, action digest, digest/target/expiry-bound human approvals, single execution and post-execution effect recomputed; 24/24 remediation-failure cases as expected"
  },
  "schema": "cain42.agentic75.findings.v1",
  "sku": "CAIN-A75-045"
}
