{"mission_id":"p2p","entity_id":"CASE-P2P-000003","sop_runtime_proof":{"sop_reference":"L4_I.5.4.3_CLEAR_INVOICE_EXCEPTION","current_step":"Classify exception, gather context, evaluate controls, and prepare governed recommendation","exception_branch":"early_payment_discount_window","case_header_label":"L4_I.5.4.3_CLEAR_INVOICE_EXCEPTION · early_payment_discount_window","proof_chain":["SOP branch identified","Case mapped to executable runtime","Evidence and controls attached","Decision replay bound to analyst action"]},"decision_context_package":{"field_authority":[{"field":"invoice","source":"SAP_ECC","record_id":"PAY-DISC-202607-017"},{"field":"po","source":"SAP_ECC","record_id":"PO-NSL-2026-090"},{"field":"grn","source":"SAP_ECC","record_id":"GR-NSL-2026-090-L30"},{"field":"supplier","source":"ARIBA","record_id":"SUP-NSL-30017"},{"field":"servicenow_task","source":"SERVICENOW_LOCAL","record_id":"FIN-AP-DISC-000317"},{"field":"blackline_recon","source":"BLACKLINE","record_id":""}]},"agent_execution_provenance":{"agent_id":"iaf-invoice-decision-agent","runtime":"Agentic Execution Runtime","trace_id":"TRACE-CASE-P2P-000003"},"workshop_audit":{"standard":"BP workshop enterprise credibility audit","case_id":"CASE-P2P-000003","answers":{"analyst_can_trust_number":true,"supervisor_can_explain_decision":true,"auditor_can_replay":true,"other_channels_same_answer":true,"ecc_to_s4_ready":true},"drawer_flow":[{"section":"Context","runtime_layer":"l1/l2/l3","required_fields":["invoice","supplier","value","owner","priority","SLA"]},{"section":"Decision","runtime_layer":"l3/l4","required_fields":["why surfaced","policy","agent","confidence","alternatives"]},{"section":"Evidence","runtime_layer":"l5/l6","required_fields":["invoice","PO","GR/SES","supplier","contract","payment history"]},{"section":"Recommendation","runtime_layer":"l3/l7","required_fields":["recommended action","rationale","risk","expected outcome"]},{"section":"Execute","runtime_layer":"l7","required_fields":["allowed actions","blocked actions","authority boundary","ledger"]},{"section":"Audit","runtime_layer":"l6/l7/l8","required_fields":["decision replay","policy evaluation","agent execution","evidence lineage","learning"]}],"kpi_credibility":{"source_systems":["ARIBA","SAP_ECC","ariba_supplier_master"],"timestamp":"2026-07-18T22:56:51.541207+00:00","confidence":0.91,"calculation":"runtime_metric_and_policy_result_from_p2p_decision_surface","trend":"available_from_work_queue_snapshot_not_ui_calculated","drilldown":"/ui/p2p/case/CASE-P2P-000003","action":"Route for approval before discount window closes."},"agent_transparency":{"agent_id":"iaf-invoice-decision-agent","purpose":"Evaluate invoice exception, source evidence, policy boundary, and next governed action.","inputs":["invoice","supplier","PO","GR/SES","contract","payment state","policy result"],"evidence_used":["invoice","vendor","purchase_order","goods_receipt_or_service_entry","contract","payment_run"],"policies_evaluated":["P2P-DISC-002"],"tools_called":["source_binding_runtime","evidence_runtime","policy_runtime","action_eligibility_runtime","replay_runtime"],"execution_timeline":["Agent fabric triaged the invoice into the governed queue.","Analyst reviews the bounded recommendation and supporting evidence.","Supervisor or tower lead takes authority if escalation is required.","Replay and ledger state update after the human decision is recorded."],"confidence":0.91,"learning_history":"linked in l8.learning_loop; candidate only until outcome and steward approval","business_impact":420000.0,"similar_decisions":"linked in l5.context_pack.similar_cases and l8.similar_resolutions","performance":"captured in agent_execution_provenance and runtime observability, not calculated in UI","failures":"available through replay/runtime error ledger when execution fails"},"decision_replay":{"replayable":true,"steps":["invoice_received","event_registered","evidence_collected","policy_evaluated","risk_calculated","prompt_compiled_or_not_required","tools_executed","recommendation_created","human_review_boundary","writeback_controlled","outcome_recorded","learning_candidate_captured"],"evidence_pack_id":"EVD-PACK-P2P-000003","decision_id":"DEC-P2P-000003","policy_id":"P2P-DISC-002","agent_id":"iaf-invoice-decision-agent","replay_url":"/ui/decision-replay-studio?case_id=CASE-P2P-000003","control_label":"Open Decision Replay"},"experience_separation":{"channel_contract":"p2p_case_drawer_contract.v1","business_logic_owner":"governed_runtime_layer","ui_allowed_behavior":["render","filter presentation","open drawer","submit command intent"],"ui_blocked_behavior":["direct SOR query","policy calculation","priority scoring","writeback","agent selection"],"same_contract_channels":["web","drawer","chat","claude_cowork","servicenow","api","mobile"]},"cross_system_visibility":{"systems":["ARIBA","SAP_ECC","ariba_supplier_master","bp_sphere_policy_runtime","bp_sphere_evidence_runtime","bp_sphere_replay_runtime"],"source_records":[{"system":"SAP_ECC","entity":"invoice","record_id":"PAY-DISC-202607-017"},{"system":"ariba_supplier_master","entity":"vendor","record_id":"SUP-NSL-30017"},{"system":"SAP_ECC","entity":"purchase_order","record_id":"PO-NSL-2026-090"},{"system":"SAP_ECC","entity":"goods_receipt_or_service_entry","record_id":"GR-NSL-2026-090-L30"},{"system":"ARIBA","entity":"contract","record_id":"CTR-NSL-2026-031"},{"system":"SAP_ECC","entity":"payment_run","record_id":"PAY-DISC-202607-017"}],"writeback_boundary":"SAP, ServiceNow, and BlackLine writes must pass action runtime and policy authority checks."},"supervisor_intelligence":["team bottlenecks","policy violations","supplier hotspots","exception patterns","agent performance","people capacity","financial exposure","automation opportunities","learning trends"],"supervisor_orchestration":{"available_now":["assign workload","rebalance queue","request review","escalate supplier","create ServiceNow incident","open decision replay"],"controlled_actions":["batch approve recommendations","launch automation","pause policy","start war room"],"control_boundary":"All supervisor actions submit command intent through action runtime; the supervisor page must not recompute policy, value, or eligibility.","implementation_status":"contracted_or_runtime_backed; UI may expose only actions returned by entitlement/action runtime"},"learning_visibility":{"status":"candidate_only_until_outcome","instrumentation_status":"pending_case_outcome","similar_resolution_count":0,"success_rate":0.82,"basis":"current governed queue similarity plus replay-ready decision memory; use as advisory context only","signals":["similar invoice patterns","supervisor overrides","supplier behavior","policy revision candidates","outcome feedback"],"auto_changes_allowed":["analytics counters","candidate learning artifact","memory suggestion"],"silent_changes_blocked":["policy change","authority limit change","payment release","agent autonomy expansion"],"disclosure":"Learning is advisory until the case closes and steward/control review approves promotion; no policy or autonomy limit changes silently."}},"learning_transparency":{"status":"candidate_only_until_outcome","instrumentation_status":"pending_case_outcome","similar_resolution_count":0,"success_rate":0.82,"basis":"current governed queue similarity plus replay-ready decision memory; use as advisory context only","signals":["similar invoice patterns","supervisor overrides","supplier behavior","policy revision candidates","outcome feedback"],"auto_changes_allowed":["analytics counters","candidate learning artifact","memory suggestion"],"silent_changes_blocked":["policy change","authority limit change","payment release","agent autonomy expansion"],"disclosure":"Learning is advisory until the case closes and steward/control review approves promotion; no policy or autonomy limit changes silently."},"source_provenance":[{"field":"invoice","source":"SAP_ECC","record_id":"PAY-DISC-202607-017"},{"field":"po","source":"SAP_ECC","record_id":"PO-NSL-2026-090"},{"field":"grn","source":"SAP_ECC","record_id":"GR-NSL-2026-090-L30"},{"field":"supplier","source":"ARIBA","record_id":"SUP-NSL-30017"},{"field":"servicenow_task","source":"SERVICENOW_LOCAL","record_id":"FIN-AP-DISC-000317"},{"field":"blackline_recon","source":"BLACKLINE","record_id":""}],"source_systems":["ARIBA","BLACKLINE","SAP_ECC","SERVICENOW_LOCAL"],"l1":{"summary":{"headline":"Discount capture window needs approval","kpi_id":"iaf:p2p:exception_resolution_rate","object_type":"invoice","object_id":"CASE-P2P-000003","vendor":"North Sea Logistics Ltd","supplier":null,"issue":"Discount capture window needs approval","amount":420000.0,"currency":"USD","risk_level":"high","sla_state":"at_risk","owner_summary":"P2P Analyst","counterparty_label":"Vendor"},"kpi_link":{"kpi_id":"iaf:p2p:exception_resolution_rate","tower":"P2P","drilldown_url":"/ui/kpi/iaf:p2p:exception_resolution_rate"},"object_ref":{"entity_id":"CASE-P2P-000003","entity_type":"invoice","table":"iaf_invoices","id":"CASE-P2P-000003","vendor_table":"iaf_vendors","counterparty_table":"iaf_vendors"}},"l2":{"signal":{"label":"Early Payment Discount Window","summary":"Invoice £420K entered the queue because early payment discount window left the decision inside the human-control boundary.","exception_type":"early_payment_discount_window","trigger_event":"finance.case.selected","match_state":null,"amount_at_risk":420000.0,"minutes_to_sla_breach":240,"policy_pack_id":"P2P-DISC-002","owner_state":"requires_human_judgment","current_blocker":"Tolerance breach plus partial GRN keep the case in governed human review.","record_freshness":"2026-07-18T22:56:51.540403+00:00","anomaly_signals":["early_payment_discount_window","policy_gate_active","source_bound","partial_grn","sla_pressure","high_value_exposure"]},"category_breakdown":{"match_state":"unknown","exception_class":"discount_capture","owner_state":"requires_human_judgment","source_freshness":"2026-07-18T22:56:51.540403+00:00","value_at_risk_band":"high"},"anomaly_signals":["early_payment_discount_window","policy_gate_active","source_bound"]},"l3":{"summary":{"invoice_id":"CASE-P2P-000003","vendor_name":"North Sea Logistics Ltd","vendor_id":"SUP-NSL-30017","supplier_name":null,"supplier_id":null,"po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","issue_label":"Discount capture window needs approval","conflict_statement":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3.","gross_amount":420000.0,"currency":"USD","sla_minutes_remaining":240,"priority":"high","owner":{"type":"analyst","id":"p2p_analyst_live","display":"P2P Analyst","state":"requires_human_judgment"},"counterparty_label":"Vendor"},"recommendation":{"action":"review_policy_exception","label":"Review policy exception","reason":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3. Human judgment is required because deterministic controls exhausted the auto-release path.","confidence":0.91,"policy_id":"P2P-DISC-002","policy_version":"2026.07"},"decision_contract":{"determinism":"policy_mandated_human_boundary","ambiguity_status":"bounded_choice","why_system_stopped":"Deterministic match and policy controls were exhausted before release; human judgment is required.","primary_action":{"action":"review_policy_exception","label":"Review policy exception","why":"Only valid next step before release because tolerance and GRN checks did not clear.","confidence":0.91},"conditional_alternative":{"action":"escalate","condition":"Escalate if reviewer cannot validate receipt timing before SLA threshold (not recorded).","trade_off":"Lower execution risk, longer cycle time."},"eliminated_options":[{"action":"auto_release","reason":"Eliminated: AL4 not permitted after tolerance breach and partial GRN."},{"action":"silent_defer","reason":"Eliminated: SLA pressure would increase without owner action."}]},"sop_runtime_proof":{"sop_reference":"L4_I.5.4.3_CLEAR_INVOICE_EXCEPTION","current_step":"Classify exception, gather context, evaluate controls, and prepare governed recommendation","exception_branch":"early_payment_discount_window","case_header_label":"L4_I.5.4.3_CLEAR_INVOICE_EXCEPTION · early_payment_discount_window","proof_chain":["SOP branch identified","Case mapped to executable runtime","Evidence and controls attached","Decision replay bound to analyst action"]},"metrics":{"invoice_amount":420000.0,"po_amount":420000.0,"variance_amount":0.0,"variance_pct":0.0,"policy_tolerance_pct":0.5,"tolerance_breach_pct":0.0,"sla_minutes_remaining":240,"sla_threshold_minutes":null,"approval_threshold_amount":null,"po_amount_source":"recorded","tolerance_source":"recorded"},"alternatives":["escalate_if_unresolved","defer_with_sla_risk"],"reason_summary":"Review now protects SLA posture, preserves vendor trust, and prevents a governed exception from leaking into payment execution."},"l4":{"decision_graph":{"nodes":[{"id":"signal","label":"Price variance above tolerance","type":"signal","value":"0.00% actual variance"},{"id":"policy","label":"P2P-DISC-002","type":"policy","value":"0.50% tolerance"},{"id":"constraint","label":"Low-risk approval boundary","type":"constraint","value":"£420K exposure; SLA 240 min"},{"id":"decision","label":"review_policy_exception","type":"decision","value":"Only governed next step before release"},{"id":"owner","label":"analyst","type":"owner","value":"requires_human_judgment"}],"edges":[{"from":"signal","to":"policy"},{"from":"constraint","to":"decision"},{"from":"policy","to":"decision"},{"from":"decision","to":"owner"}]},"autonomy_trace":[{"level":"AL1","timestamp_utc":"2026-07-18T22:56:51+00:00","status":"passed","result":"Invoice, PO, and vendor identifiers canonicalized from live SOR rows."},{"level":"AL2","timestamp_utc":"2026-07-18T22:56:51+00:00","status":"failed","result":"Price variance 0.00% exceeds 0.50% tolerance."},{"level":"AL3","timestamp_utc":"2026-07-18T22:56:51+00:00","status":"blocked","result":"Partial GRN and £420K exposure require human review."},{"level":"AL4","timestamp_utc":"2026-07-18T22:56:51+00:00","status":"not_permitted","result":"Autonomous release is disallowed because deterministic controls did not clear."}],"decision_contract":{"determinism":"policy_mandated_human_boundary","ambiguity_status":"bounded_choice","why_system_stopped":"Deterministic match and policy controls were exhausted before release; human judgment is required.","primary_action":{"action":"review_policy_exception","label":"Review policy exception","why":"Only valid next step before release because tolerance and GRN checks did not clear.","confidence":0.91},"conditional_alternative":{"action":"escalate","condition":"Escalate if reviewer cannot validate receipt timing before SLA threshold (not recorded).","trade_off":"Lower execution risk, longer cycle time."},"eliminated_options":[{"action":"auto_release","reason":"Eliminated: AL4 not permitted after tolerance breach and partial GRN."},{"action":"silent_defer","reason":"Eliminated: SLA pressure would increase without owner action."}]},"policy_logic":{"triggered_policy":"P2P-DISC-002","threshold_logic":"Tolerance breach is compared against 0.50% policy threshold.","why_human_boundary":"The agent fabric exhausted deterministic controls before release, so the decision remains policy-bound and human-approved.","alternative_actions_considered":[{"action":"auto_release","reason":"Eliminated: AL4 not permitted after tolerance breach and partial GRN."},{"action":"silent_defer","reason":"Eliminated: SLA pressure would increase without owner action."}],"unresolved_gaps":["Receipt timing still needs confirmation"]}},"l5":{"context_pack":{"summary":{"entity_id":"CASE-P2P-000003","item_id":"queue_CASE-P2P-000003","title":"Discount capture window needs approval","vendor_name":"North Sea Logistics Ltd","vendor_id":"SUP-NSL-30017","source_vendor_ref":"SUP-NSL-30017","value_at_risk":420000.0,"currency":"USD","risk_level":"high","primary_lane":"needs_judgment","status":"approval_needed","category":"discount_capture","exception_type":"early_payment_discount_window","block_reason":"discount_window_closing","issue":"Discount capture window needs approval","po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","contract_id":"CTR-NSL-2026-031","po_amount":420000.0,"received_amount":420000.0,"policy_tolerance_pct":0.5,"payment_terms":"Net 30","supplier_category":"strategic_supplier","source_system":"enterprise_experience_contract","source_record_as_of":"2026-07-18T22:56:51.540693+00:00","invoice_source_system":"SAP_ECC","invoice_source_record_id":"PAY-DISC-202607-017","po_source_system":"SAP_ECC","po_source_record_id":"PO-NSL-2026-090","grn_source_system":"SAP_ECC","grn_source_record_id":"GR-NSL-2026-090-L30","contract_source_system":"ARIBA","contract_source_record_id":"CTR-NSL-2026-031","payment_source_system":"SAP_ECC","payment_source_record_id":"PAY-DISC-202607-017","servicenow_case":"FIN-AP-DISC-000317","blackline_reconciliation":"","source_reference_bundle":{"po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","contract_id":"CTR-NSL-2026-031","reference_status":"source_bound_compact_demo","source_record_ids":{"invoice":"PAY-DISC-202607-017","po":"PO-NSL-2026-090","grn":"GR-NSL-2026-090-L30","contract":"CTR-NSL-2026-031","payment":"PAY-DISC-202607-017","servicenow":"FIN-AP-DISC-000317","blackline":""},"disclosure":"Compact-demo source-bound case resolved through the shared Experience contract."},"recommendation":{"action":"Route for approval before discount window closes.","label":"Route for approval before discount window closes.","reason":"Early-payment economics are favorable but write-back still requires authority.","confidence":0.91,"policy_id":"P2P-DISC-002","policy_version":"2026.07"},"policy":{"policy_id":"P2P-DISC-002","version":"2026.07"},"decision_id":"DEC-P2P-000003","evidence_pack_id":"EVD-PACK-P2P-000003","execution_id":"RUN-P2P-000003","trigger_id":"TRG-CASE-P2P-000003","trigger_type":"experience_contract_case","trigger_event":"finance.case.selected","trigger_source":"Experience API","owner":{"type":"analyst","id":"p2p_analyst_live","display":"P2P Analyst","state":"requires_human_judgment"},"sla":{"status":"at_risk","state":"at_risk","minutes_to_breach":240},"signals":["early_payment_discount_window","policy_gate_active","source_bound"],"decision_context_package":{"field_authority":[{"field":"invoice","source":"SAP_ECC","record_id":"PAY-DISC-202607-017"},{"field":"po","source":"SAP_ECC","record_id":"PO-NSL-2026-090"},{"field":"grn","source":"SAP_ECC","record_id":"GR-NSL-2026-090-L30"},{"field":"supplier","source":"ARIBA","record_id":"SUP-NSL-30017"},{"field":"servicenow_task","source":"SERVICENOW_LOCAL","record_id":"FIN-AP-DISC-000317"},{"field":"blackline_recon","source":"BLACKLINE","record_id":""}]},"agent_execution_provenance":{"agent_id":"iaf-invoice-decision-agent","runtime":"Agentic Execution Runtime","trace_id":"TRACE-CASE-P2P-000003"}},"operational_summary":"3-way match is blocked because PO/GRN validation is still incomplete.","conflict_statement":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3.","vendor_profile":{"name":"North Sea Logistics Ltd","vendor_id":"SUP-NSL-30017","source_vendor_ref":"SUP-NSL-30017","payment_terms":"Net 30","category":"strategic_supplier","risk":"high","payment_timeliness_score":null,"payment_timeliness_source":"not recorded","exception_frequency":"not recorded","history":"Linked through canonical invoice history for North Sea Logistics Ltd","last_6_invoices":[],"last_6_invoices_source":"not recorded","sanctions_status":"clear or not recorded","banking_change_state":"no recent master-data alert recorded","dispute_state":"no open dispute captured on this queue item"},"po_context":{"po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","po_amount":420000.0,"po_amount_source":"recorded","invoice_amount":420000.0,"variance_amount":0.0,"variance_pct":0.0,"policy_tolerance_pct":0.5,"tolerance_source":"recorded","po_currency":"GBP","grn_status":"partial_match"},"source_freshness":"2026-07-18T22:56:51.540693+00:00","source_freshness_note":"Live source snapshot last refreshed at 2026-07-18T22:56:51.540693+00:00.","source_reference_bundle":{"po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","contract_id":"CTR-NSL-2026-031","reference_status":"source_bound_compact_demo","source_record_ids":{"invoice":"PAY-DISC-202607-017","po":"PO-NSL-2026-090","grn":"GR-NSL-2026-090-L30","contract":"CTR-NSL-2026-031","payment":"PAY-DISC-202607-017","servicenow":"FIN-AP-DISC-000317","blackline":""},"disclosure":"Compact-demo source-bound case resolved through the shared Experience contract."},"source_reference_status":"source_bound_compact_demo","source_reference_disclosure":"Compact-demo source-bound case resolved through the shared Experience contract.","enterprise_impact":{"working_capital":"£420K stays protected until governed review lands.","supplier_relationship":"North Sea Logistics Ltd remains inside the active exception thread; deferment increases friction and dispute risk.","treasury_visibility":"Treasury sees the payment timing effect once the policy exception is resolved.","close_cycle":"Unresolved exceptions remain visible to the close and cash posture until policy review completes."},"supplier_criticality":"critical","working_capital_exposure":"£420K remains inside governed working-capital exposure until the exception resolves.","enterprise_flow_note":"Vendor exception -> payment timing -> treasury visibility -> working-capital posture.","value_attribution_note":"Preventing an incorrect £420K release preserves cash discipline and avoids duplicate downstream handling.","agent_partnership_note":"Matching, policy, and evidence agents narrowed the path before handing the bounded decision to the analyst.","collaboration_state":"Analyst validates receipt timing, procurement confirms PO/GRN alignment, supervisor is available for override.","learning_signal":"Outcome will feed approval-pattern, escalation, and exception-root-cause learning.","learning_loop":{"principle":"Analysts do normal governed work; the platform captures decision, outcome, judgment, and replay signals invisibly for controlled learning.","runtime_chain":["Analyst work","Decision Runtime","Outcome Capture","Learning Qualification","Enterprise Memory","Better Future Decisions"],"analyst_visibility":"minimal","analyst_copy":"You are not training AI. Your decision, rationale, outcome, evidence, and replay record become governed signals after the case closes.","decision_capture":{"case_id":"CASE-P2P-000003","action":"Route for approval before discount window closes.","policy":"P2P-DISC-002","evidence_refs":["EVD-PACK-P2P-000003","PO-NSL-2026-090","GR-NSL-2026-090-L30","PAY-DISC-202607-017"],"replay_id":"RUN-P2P-000003","human_boundary":"requires_human_judgment"},"judgment_capture":{"why_required":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3.","rationale_prompt":"Capture why the chosen action was safer than release, reject, defer, or escalation.","required_for":["override","high_value_action","policy_exception"],"status":"pending_human_rationale"},"outcome_history":{"similar_resolution_count":0,"success_rate":0.82,"historical_value_protected":"£672K","basis":"current governed queue similarity plus replay-ready decision memory; use as advisory context only"},"similar_resolutions":[],"enterprise_memory":{"memory_id":"mem:p2p:a3a6a688b369","pattern":"P2P exception resolution pattern","scope":["P2P","Payment Leakage","North Sea Logistics Ltd","early_payment_discount_window"],"classification":"internal","trust_score":0.8,"access_boundary":"Visible to authorized finance, control, audit, and platform roles; not shared externally."},"learning_generated":[{"type":"outcome_learning","candidate":"P2P exception resolution pattern outcome signal","status":"pending_outcome","promotion_gate":"requires closed outcome and no mistake-marker disqualification"},{"type":"judgment_learning","candidate":"Human rationale and alternatives considered","status":"pending_human_action","promotion_gate":"requires supervisor or knowledge steward review before runtime advisory use"},{"type":"memory_update","candidate":"Update enterprise memory for North Sea Logistics Ltd","status":"candidate_only","promotion_gate":"qualified learning only; no silent policy, control, or authority change"}],"future_decision_impact":["Similar future cases can be prioritized earlier.","Ask Sphere and case drawers can cite approved memory instead of raw tribal knowledge.","Supervisor learning dashboards can approve, reject, promote, or retire the pattern."],"governance_boundary":{"auto_changes_allowed":["analytics counters","candidate learning artifact","memory suggestion"],"auto_changes_blocked":["policy change","authority limit change","payment release","agent autonomy expansion"],"approval_roles":["Supervisor","Knowledge Steward","Control Owner"]}},"team_dependencies":["AP analyst owns the invoice decision and evidence review.","Procurement or goods-receipt owner may need to confirm PO/GRN alignment.","Supervisor signs the final override if the exception crosses the governed threshold."],"collaboration_summary":"Analyst validates receipt timing, procurement confirms PO/GRN alignment, supervisor is available for override.","similar_cases":[],"similar_cases_source":"no comparable live cases in the current governed queue slice","related_transactions":["CASE-P2P-000003"],"source":"P2P canonical invoice context"},"drivers":{"vendor_history":"vendors/SUP-NSL-30017","po_chain":"PO-NSL-2026-090","grn_chain":"GR-NSL-2026-090-L30","policy_pack":"P2P-DISC-002"},"external_factors":[]},"l6":{"evidence":{"evidence_pack_id":"EVD-PACK-P2P-000003","decision_id":"DEC-P2P-000003","source_reference_bundle":{"po_id":"PO-NSL-2026-090","grn_id":"GR-NSL-2026-090-L30","contract_id":"CTR-NSL-2026-031","reference_status":"source_bound_compact_demo","source_record_ids":{"invoice":"PAY-DISC-202607-017","po":"PO-NSL-2026-090","grn":"GR-NSL-2026-090-L30","contract":"CTR-NSL-2026-031","payment":"PAY-DISC-202607-017","servicenow":"FIN-AP-DISC-000317","blackline":""},"disclosure":"Compact-demo source-bound case resolved through the shared Experience contract."},"source_reference_status":"source_bound_compact_demo","source_reference_disclosure":"Compact-demo source-bound case resolved through the shared Experience contract.","source_records":[{"system":"SAP_ECC","entity":"invoice","record_id":"PAY-DISC-202607-017"},{"system":"ariba_supplier_master","entity":"vendor","record_id":"SUP-NSL-30017"},{"system":"SAP_ECC","entity":"purchase_order","record_id":"PO-NSL-2026-090"},{"system":"SAP_ECC","entity":"goods_receipt_or_service_entry","record_id":"GR-NSL-2026-090-L30"},{"system":"ARIBA","entity":"contract","record_id":"CTR-NSL-2026-031"},{"system":"SAP_ECC","entity":"payment_run","record_id":"PAY-DISC-202607-017"}],"sources":["SAP S/4HANA AP","SAP S/4HANA MM","Ariba supplier/contracts","Payment Hub","bp Sphere runtime DB","P2P canonical invoices"],"document_viewer_records":[{"label":"Invoice","record_id":"PAY-DISC-202607-017","opens":"/ui/evidence?record=PAY-DISC-202607-017"},{"label":"Purchase order","record_id":"PO-NSL-2026-090","opens":"/ui/evidence?record=PO-NSL-2026-090"},{"label":"Contract","record_id":"CTR-NSL-2026-031","opens":"/ui/evidence?record=CTR-NSL-2026-031"},{"label":"Payment run","record_id":"PAY-DISC-202607-017","opens":"/ui/evidence?record=PAY-DISC-202607-017"}],"policy_id":"P2P-DISC-002","policy_manifest":{"policy_id":"P2P-DISC-002","version":"2026.07"},"transformations":["canonicalize_invoice","match_po","evaluate_policy","build_decision_contract"],"proof_binding":{"conclusion":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3.","breach_field":"invoice_amount vs po_amount","field_values":{"invoice_amount":420000.0,"po_amount":420000.0,"variance_pct":0.0,"policy_tolerance_pct":0.5,"grn_status":"partial_match"},"transformation_path":"canonicalize_invoice -> match_po -> evaluate_policy -> build_decision_contract"},"integrity":{"hash_status":"available","input_hash":"sha256:1c98f998642db8a8c09b360960d3db736f46dd9e707cc983a0e1f420f57da35a","output_hash":"sha256:80c24fd81a6a797cc12f8562dc1695cba429a93ad36552bfd046d1bf4c713dac","merkle_root":"sha256:8fa3bc80a28e5c228820e81c7c86131bc7286ec274928a0795d90c6fcca53361","replayable":true},"timestamp_utc":"2026-07-18T22:56:51.541207+00:00"},"evidence_pack_id":"EVD-PACK-P2P-000003","evidence_hash":null,"policy_attestation_hash":null,"replay_url":"/api/iaf/decision-replay/replay/RUN-P2P-000003"},"l7":{"execution":{"execution_id":"RUN-P2P-000003","owner":{"type":"analyst","id":"p2p_analyst_live","display":"P2P Analyst","state":"requires_human_judgment"},"recommended_action":"Route for approval before discount window closes.","current_state":"requires_human_judgment","last_agent_touch_at":"2026-07-18T22:56:51.541449+00:00","downstream_impact":["Queue state updated","Evidence linked","Decision replay enabled"],"next_best_action_if_escalated":"Tower lead reviews the sealed evidence pack for CASE-P2P-000003 against P2P-DISC-002 before release or override. Current SLA window closes in 240 minutes.","handoff_chain":["Agent fabric triaged the invoice into the governed queue.","Analyst reviews the bounded recommendation and supporting evidence.","Supervisor or tower lead takes authority if escalation is required.","Replay and ledger state update after the human decision is recorded."],"replay_sequence":["Re-open the sealed evidence pack","Reconstruct the policy and decision path","Confirm the human action and resulting state mutation","Validate downstream impact on queue and treasury timing"],"action_guardrails":{"approve":"Only after evidence, PO/GRN alignment, and approval authority are satisfied.","escalate":"Use when the analyst cannot validate the exception before the SLA window closes.","defer":"Allowed, but increases SLA and supplier-friction risk."},"available_actions":[{"action":"review","label":"Review policy exception","downstream_effects":["human decision recorded","queue item remains governed","evidence pack updated"],"decision_risk":"Lowest risk path; required before release."},{"action":"escalate","label":"Escalate","downstream_effects":["supervisor queue","priority increased"],"decision_risk":"Lower release risk but adds cycle time."},{"action":"defer","label":"Defer","downstream_effects":["sla risk increases","case remains open"],"decision_risk":"Likely SLA breach if unresolved before 240 min window closes."}],"wrong_action_risk":{"approve_without_review":"Payment could release against an unresolved PO/GRN conflict.","defer":"SLA breach probability increases and vendor relationship risk rises.","escalate":"Safer control path but increases cycle time."},"allowed_actions":["review","escalate","defer"]},"trigger":{"trigger_id":"TRG-CASE-P2P-000003","trigger_type":"experience_contract_case","trigger_source":"Experience API"},"actor":{"agent_id":"p2p_analyst_live","human_actor":null},"ledger_url":"/api/iaf/sor-writeback/recent?entity_id=CASE-P2P-000003"},"l8":{"learning_loop":{"principle":"Analysts do normal governed work; the platform captures decision, outcome, judgment, and replay signals invisibly for controlled learning.","runtime_chain":["Analyst work","Decision Runtime","Outcome Capture","Learning Qualification","Enterprise Memory","Better Future Decisions"],"analyst_visibility":"minimal","analyst_copy":"You are not training AI. Your decision, rationale, outcome, evidence, and replay record become governed signals after the case closes.","decision_capture":{"case_id":"CASE-P2P-000003","action":"Route for approval before discount window closes.","policy":"P2P-DISC-002","evidence_refs":["EVD-PACK-P2P-000003","PO-NSL-2026-090","GR-NSL-2026-090-L30","PAY-DISC-202607-017"],"replay_id":"RUN-P2P-000003","human_boundary":"requires_human_judgment"},"judgment_capture":{"why_required":"Invoice exceeds PO by 0.00% (£0) and GRN is partial; violates p2p_invoice_control_pack_v3.","rationale_prompt":"Capture why the chosen action was safer than release, reject, defer, or escalation.","required_for":["override","high_value_action","policy_exception"],"status":"pending_human_rationale"},"outcome_history":{"similar_resolution_count":0,"success_rate":0.82,"historical_value_protected":"£672K","basis":"current governed queue similarity plus replay-ready decision memory; use as advisory context only"},"similar_resolutions":[],"enterprise_memory":{"memory_id":"mem:p2p:a3a6a688b369","pattern":"P2P exception resolution pattern","scope":["P2P","Payment Leakage","North Sea Logistics Ltd","early_payment_discount_window"],"classification":"internal","trust_score":0.8,"access_boundary":"Visible to authorized finance, control, audit, and platform roles; not shared externally."},"learning_generated":[{"type":"outcome_learning","candidate":"P2P exception resolution pattern outcome signal","status":"pending_outcome","promotion_gate":"requires closed outcome and no mistake-marker disqualification"},{"type":"judgment_learning","candidate":"Human rationale and alternatives considered","status":"pending_human_action","promotion_gate":"requires supervisor or knowledge steward review before runtime advisory use"},{"type":"memory_update","candidate":"Update enterprise memory for North Sea Logistics Ltd","status":"candidate_only","promotion_gate":"qualified learning only; no silent policy, control, or authority change"}],"future_decision_impact":["Similar future cases can be prioritized earlier.","Ask Sphere and case drawers can cite approved memory instead of raw tribal knowledge.","Supervisor learning dashboards can approve, reject, promote, or retire the pattern."],"governance_boundary":{"auto_changes_allowed":["analytics counters","candidate learning artifact","memory suggestion"],"auto_changes_blocked":["policy change","authority limit change","payment release","agent autonomy expansion"],"approval_roles":["Supervisor","Knowledge Steward","Control Owner"]}},"drawer_label":"Outcome history, similar resolutions, enterprise memory, and learning generated"},"rbac":{"role":"analyst","effective_role":"operator","allowed_actions":["escalate","hold","request_evidence"],"approval_limit_usd":null,"approval_authority":{"role":"operator","threshold_scope":"p2p_approval","threshold_key":"analyst_approval_max_usd","approval_limit_usd":null,"source_policy":"p2p_invoice_controls","label":"Analyst Approval Authority","description":"Maximum invoice amount a P2P analyst may approve without supervisor escalation.","unit":"USD"},"amount_under_review_usd":null,"view_only":false}}