{
  "audit_artifact_id": "f715fa15dd5f53a1b34895cd68d624bbcd40eefe3db7ae33c456c9060bcf2273",
  "audit_trail": [
    {
      "action": "incident_created",
      "actor": "system",
      "audit_id": "00000000-0000-0000-0000-0000000000b1",
      "is_compliance_event": false,
      "metadata": {},
      "timestamp": "2026-06-10T14:23:11+00:00"
    },
    {
      "action": "verdict_stored",
      "actor": "system",
      "audit_id": "00000000-0000-0000-0000-0000000000b2",
      "is_compliance_event": true,
      "metadata": {},
      "timestamp": "2026-06-10T14:23:11+00:00"
    },
    {
      "action": "hash_verified",
      "actor": "system",
      "audit_id": "00000000-0000-0000-0000-0000000000b3",
      "is_compliance_event": true,
      "metadata": {},
      "timestamp": "2026-06-10T14:23:11+00:00"
    }
  ],
  "diagnosis_chain": [
    {
      "agreement_score": 0.67,
      "created_at": "2026-06-10T14:23:11+00:00",
      "diagnosis_id": "00000000-0000-0000-0000-000000000002",
      "diagnosis_version": 1,
      "evidence_chain": [
        "00000000-0000-0000-0000-0000000000a1",
        "00000000-0000-0000-0000-0000000000a2",
        "00000000-0000-0000-0000-0000000000a3"
      ],
      "final_confidence": 0.803,
      "immutable_hash": "34b1ec933d9706c41bb6c3f21ccbfd9fcba281980e3249e7d99ea059c3dd8d50",
      "model_outputs": [
        {
          "confidence_score": 0.87,
          "cost_usd": 0.0091,
          "evidence_refs": [
            "00000000-0000-0000-0000-0000000000a1",
            "00000000-0000-0000-0000-0000000000a2"
          ],
          "model_role": "Analyst",
          "recommended_actions": [
            "check pg_stat_activity",
            "review max_connections"
          ],
          "role": "root_cause_analyst",
          "root_cause": "Connection pool saturation on payment-service against postgres-primary.",
          "tokens_used": 1840
        },
        {
          "confidence_score": 0.72,
          "cost_usd": 0.0153,
          "evidence_refs": [
            "00000000-0000-0000-0000-0000000000a2"
          ],
          "model_role": "Critic",
          "recommended_actions": [
            "inspect pg_locks",
            "review long transactions"
          ],
          "role": "devils_advocate",
          "root_cause": "Deadlock on a long-running transaction rather than pool saturation.",
          "tokens_used": 2010
        },
        {
          "confidence_score": 0.81,
          "cost_usd": 0.0074,
          "evidence_refs": [
            "00000000-0000-0000-0000-0000000000a1",
            "00000000-0000-0000-0000-0000000000a3"
          ],
          "model_role": "Synthesizer",
          "recommended_actions": [
            "check pg_stat_activity",
            "raise pool size with caution"
          ],
          "role": "evidence_verifier",
          "root_cause": "Connection pool saturation; evidence chain consistent and traceable.",
          "tokens_used": 1655
        },
        {
          "confidence_score": 0.79,
          "cost_usd": 0.0042,
          "evidence_refs": [
            "00000000-0000-0000-0000-0000000000a1",
            "00000000-0000-0000-0000-0000000000a2",
            "00000000-0000-0000-0000-0000000000a3"
          ],
          "model_role": "Blind Validator",
          "recommended_actions": [
            "raise pool size",
            "monitor pg_stat_activity post-change"
          ],
          "role": "alternative_hypothesis_generator",
          "root_cause": "Blind confirmation: the pool-saturation hypothesis is best-supported by the supplied evidence; insufficient evidence to confirm deadlock.",
          "tokens_used": 980
        }
      ],
      "recommended_actions": [
        "check pg_stat_activity",
        "review max_connections",
        "raise pool size with caution"
      ],
      "superseded_by": null,
      "verdict_status": "partial_consensus",
      "verdict_text": "[PARTIAL CONSENSUS] Hypothesis A (connection pool saturation) — with an explicit note that Hypothesis B (deadlock) is not excluded. Aggregate confidence 0.803 exceeds the 0.70 threshold; no HALT."
    }
  ],
  "disclaimer": "Not validated for regulatory submission — release attestation gate degraded",
  "disclosure": "Redacted public sample; full runtime evidence retained in the audit artifact.",
  "enforcement_level": "lenient",
  "entitlement": {
    "artifact_class": "ATTESTED_EVIDENCE_PACK",
    "plan": "professional",
    "policy_version": "2026.07-r1",
    "risk_influenced_requirement": false,
    "validation_required": true,
    "validator_status": "ran"
  },
  "evidence_grade": "full",
  "evidence_manifest": {
    "artifact": {
      "pack_sha256": "3ea607e54a106fce4cbde806e197babfcf6a1fe66ecad9667bbf299fc997de9a"
    },
    "blind_validation_proof": {
      "debate_transcript_excluded": true,
      "validator_absent_reason": null,
      "validator_blind": true,
      "validator_fallback_reason": null,
      "validator_input_hash_sha256": "8287a4f66b0ddb9a27a3b6e9a681b76f05a4e10318ef2647a576d18ddc09ec09",
      "validator_input_scope": "original_input + synthesizer_verdict_only",
      "validator_ran": true,
      "validator_role": "Blind Validator",
      "validator_status": "ran"
    },
    "confidence_scoring": {
      "agreement_formula": "0.5*Jaccard(evidence_refs) + 0.5*SequenceMatcher(root_cause), mean over pairs",
      "calibration_metrics_planned": [
        "sample_size",
        "verdict_distribution",
        "false_positive_rate_at_0.70",
        "threshold_comparison",
        "ece_brier"
      ],
      "calibration_status": "pre-production empirical estimate, formal calibration scheduled post-launch (FEAT-5)",
      "disclosed_in_methodology_page": true,
      "enterprise_page": "/methodology (gated, noindex)",
      "formula": "mean(confidence_i) * agreement_score",
      "public_docs_anchor": "/docs#scoring",
      "thresholds": {
        "consensus": ">=0.95",
        "high_divergence": "<0.60",
        "partial_consensus": "0.60-0.95"
      }
    },
    "enforcement_level": "lenient",
    "evidence_chain": {
      "entries": [
        {
          "blind": false,
          "created_at": "2026-06-10T14:23:11+00:00",
          "entry_hash_sha256": "5e320442c1ef0597c26fd4cf001e3e6e9cde11140588438ee8f1c0f79006fa45",
          "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
          "node": "analyst",
          "output_hash_sha256": "2722022b2eeee212bd58c184d72b6516cafc54e10f8d13805b336e6edccbbf0e",
          "previous_entry_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
          "role": "Analyst"
        },
        {
          "blind": false,
          "created_at": "2026-06-10T14:23:11+00:00",
          "entry_hash_sha256": "d4118589fd644d48a69f0ae3f36c6e81b80e4cb8508ef1f9d79315d55892c717",
          "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
          "node": "critic",
          "output_hash_sha256": "26f660d26a001db1f233febe40fe7d717935ab164ca6ae6ebf4d5ecbf5493184",
          "previous_entry_hash_sha256": "5e320442c1ef0597c26fd4cf001e3e6e9cde11140588438ee8f1c0f79006fa45",
          "role": "Critic"
        },
        {
          "blind": false,
          "created_at": "2026-06-10T14:23:11+00:00",
          "entry_hash_sha256": "242c0b9734edc69f6407c2cff4b3684f35d3d419c9675a0e8739383d09c9bffb",
          "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
          "node": "verifier",
          "output_hash_sha256": "71306578c1d6f9b4d33402f9aae32bccb022071a71783f4b7430277e87b63f3b",
          "previous_entry_hash_sha256": "d4118589fd644d48a69f0ae3f36c6e81b80e4cb8508ef1f9d79315d55892c717",
          "role": "Verifier"
        },
        {
          "blind": false,
          "created_at": "2026-06-10T14:23:11+00:00",
          "entry_hash_sha256": "e2f97c39351ef32b4dfe0665fafe2a8514abe5ca52076090a128b388b9ef8689",
          "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
          "node": "synthesizer",
          "output_hash_sha256": "704870e9c272b1137d4fed16cf7467f44eb5813b671e7d2a69baf6258fcb6f62",
          "previous_entry_hash_sha256": "242c0b9734edc69f6407c2cff4b3684f35d3d419c9675a0e8739383d09c9bffb",
          "role": "Synthesizer"
        },
        {
          "blind": true,
          "created_at": "2026-06-10T14:23:11+00:00",
          "entry_hash_sha256": "61b26f2db3e1eb259a96d02ae48313f80e740234e327b4955032de982d450843",
          "input_hash_sha256": "8287a4f66b0ddb9a27a3b6e9a681b76f05a4e10318ef2647a576d18ddc09ec09",
          "node": "validator",
          "output_hash_sha256": "e4b087abbe7a0a4186b092dbc19ff66248dac75f5f81b11fe7fbc39009d73238",
          "previous_entry_hash_sha256": "e2f97c39351ef32b4dfe0665fafe2a8514abe5ca52076090a128b388b9ef8689",
          "role": "Validator",
          "validator_status": "ran"
        }
      ],
      "root_sha256": "61b26f2db3e1eb259a96d02ae48313f80e740234e327b4955032de982d450843"
    },
    "evidence_grade": "full",
    "legal": {
      "decision_support_only": true,
      "human_operator_responsible": true
    },
    "model_audit": [
      {
        "fallback_reason": null,
        "model_role": "Analyst",
        "role": "root_cause_analyst"
      },
      {
        "fallback_reason": null,
        "model_role": "Critic",
        "role": "devils_advocate"
      },
      {
        "fallback_reason": null,
        "model_role": "Synthesizer",
        "role": "evidence_verifier"
      },
      {
        "fallback_reason": null,
        "model_role": "Blind Validator",
        "role": "alternative_hypothesis_generator"
      }
    ],
    "nodes": [
      {
        "adapter_version": "evidence-adapter-v1.1.0",
        "blind": false,
        "fallback_reason": null,
        "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
        "model_role": "Analyst",
        "output_hash_sha256": "2722022b2eeee212bd58c184d72b6516cafc54e10f8d13805b336e6edccbbf0e",
        "role": "analyst",
        "seed": "not_supported_by_provider",
        "temperature": 0.0
      },
      {
        "adapter_version": "evidence-adapter-v1.1.0",
        "blind": false,
        "fallback_reason": null,
        "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
        "model_role": "Critic",
        "output_hash_sha256": "26f660d26a001db1f233febe40fe7d717935ab164ca6ae6ebf4d5ecbf5493184",
        "role": "critic",
        "seed": "not_supported_by_provider",
        "temperature": 0.0
      },
      {
        "adapter_version": "evidence-adapter-v1.1.0",
        "blind": false,
        "fallback_reason": null,
        "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
        "model_role": "Synthesizer",
        "output_hash_sha256": "71306578c1d6f9b4d33402f9aae32bccb022071a71783f4b7430277e87b63f3b",
        "role": "verifier",
        "seed": "not_supported_by_provider",
        "temperature": 0.0
      },
      {
        "adapter_version": "evidence-adapter-v1.1.0",
        "blind": true,
        "fallback_reason": null,
        "input_hash_sha256": "8287a4f66b0ddb9a27a3b6e9a681b76f05a4e10318ef2647a576d18ddc09ec09",
        "model_role": "Blind Validator",
        "output_hash_sha256": "e4b087abbe7a0a4186b092dbc19ff66248dac75f5f81b11fe7fbc39009d73238",
        "role": "validator",
        "seed": "not_supported_by_provider",
        "temperature": 0.0
      },
      {
        "adapter_version": "evidence-adapter-v1.1.0",
        "blind": false,
        "input_hash_sha256": "7bbe10016f48c268c15de8f85025caa38bcb809875654ddda50392be82bfc376",
        "model_role": "Synthesizer",
        "output_hash_sha256": "704870e9c272b1137d4fed16cf7467f44eb5813b671e7d2a69baf6258fcb6f62",
        "role": "synthesizer",
        "seed": "not_supported_by_provider",
        "temperature": 0.0
      }
    ],
    "policy_satisfied": true,
    "prompt_template_version": "1.0",
    "release_attestation": {
      "attestation_schema_version": "1.1",
      "blocked_reasons": [],
      "completion_state": "COMPLETED_VALIDATED",
      "enforcement_level": "lenient",
      "evidence_grade": "full",
      "export_status": "released",
      "independence_verified": true,
      "preconditions": {
        "actual_provider_identity_proven": true,
        "blind_context_hash_present": true,
        "independence_verified": true,
        "terminal_status_allowed": true,
        "validator_invoked": true,
        "validator_output_present": true,
        "validator_required": false,
        "workspace_policy_satisfied": true
      },
      "release_eligible": false,
      "validator_context_hash": "8287a4f66b0ddb9a27a3b6e9a681b76f05a4e10318ef2647a576d18ddc09ec09",
      "validator_role": "Blind Validator",
      "watermark": "non regulatory-grade"
    },
    "schema_version": "1.3",
    "signed_at": "2026-06-10T14:23:11+00:00",
    "signing_note": "SHA-256 certifica l'immutabilità dell'artefatto: come un verbale notarile, prova che in quella data, con quelle evidenze, i modelli hanno prodotto quel verdetto. Non certifica la riproducibilità del ragionamento: i modelli LLM non sono deterministici.",
    "thresholds": {
      "halt_below_confidence": 0.7,
      "threshold_rationale": "0.70 è la soglia calibrata empiricamente sotto cui il disaccordo Analyst-Critic supera la capacità di sintesi coerente. Costo falso positivo > costo falso negativo in ambienti regolamentati. Soggetto a revisione con FEAT-5."
    },
    "trusted_timestamp": {
      "enabled": false,
      "request_hash_sha256": "a550239b74d4051d6187e9476a48f30c883c11e3ed88b90ca59d36b4aef331ca",
      "response_token_base64": null,
      "standard": "RFC3161",
      "status": "disabled",
      "tsa_provider": null
    },
    "validator": {
      "confidence": 0.803,
      "reason": null,
      "threshold": 0.7,
      "validated": true,
      "validator_status": "ran",
      "verdict": "PASS"
    }
  },
  "evidence_pack_sha256": "3ea607e54a106fce4cbde806e197babfcf6a1fe66ecad9667bbf299fc997de9a",
  "evidence_ref": "docs/audit/evidence-pack-sample-internal.json",
  "export_version": "1.0",
  "exported_at": "2026-06-10T14:23:11+00:00",
  "incident_id": "00000000-0000-0000-0000-000000000001",
  "incident_metadata": {
    "context": {
      "affected_users_estimate": 12000,
      "deploy_sha": "2f3a1c9",
      "environment": "production",
      "region": "eu-west",
      "related_dashboards": [
        "grafana/payments-latency"
      ],
      "runbook_url": null,
      "service_name": "payment-service",
      "tags": [
        "payments",
        "postgres",
        "p1"
      ]
    },
    "created_at": "2026-06-10T14:23:11+00:00",
    "incident_fingerprint": "3852f5747baf6ec582ef997d2db97ab8120ee5255ac8c2f6af34953c7a5508f4",
    "incident_id": "00000000-0000-0000-0000-000000000001",
    "severity": "P1",
    "signal_count": 3,
    "signal_ids": [
      "00000000-0000-0000-0000-0000000000a1",
      "00000000-0000-0000-0000-0000000000a2",
      "00000000-0000-0000-0000-0000000000a3"
    ],
    "status": "verdict_ready",
    "title": "Database connection timeout — payments service"
  },
  "integrity_verification": {
    "match": true,
    "recomputed_hash": "34b1ec933d9706c41bb6c3f21ccbfd9fcba281980e3249e7d99ea059c3dd8d50",
    "stored_hash": "34b1ec933d9706c41bb6c3f21ccbfd9fcba281980e3249e7d99ea059c3dd8d50",
    "verified_diagnosis_version": 1
  },
  "model_version": 0,
  "provenance_unverified": true,
  "redacted": true,
  "regulatory_grade": false,
  "release_attestation": {
    "attestation_schema_version": "1.1",
    "blocked_reasons": [],
    "completion_state": "COMPLETED_VALIDATED",
    "enforcement_level": "lenient",
    "evidence_grade": "full",
    "export_status": "released",
    "independence_verified": true,
    "preconditions": {
      "actual_provider_identity_proven": true,
      "blind_context_hash_present": true,
      "independence_verified": true,
      "terminal_status_allowed": true,
      "validator_invoked": true,
      "validator_output_present": true,
      "validator_required": false,
      "workspace_policy_satisfied": true
    },
    "release_eligible": false,
    "validator_context_hash": "8287a4f66b0ddb9a27a3b6e9a681b76f05a4e10318ef2647a576d18ddc09ec09",
    "validator_role": "Blind Validator",
    "watermark": "non regulatory-grade"
  },
  "standard": null,
  "watermark": "non regulatory-grade",
  "workspace_id": "00000000-0000-0000-0000-000000000010"
}
