-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog-decision.json
More file actions
52 lines (47 loc) · 1.67 KB
/
log-decision.json
File metadata and controls
52 lines (47 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"$schema": "../docs/specs/schemas/trace-format.schema.json",
"_comment": "Example: Agent logs a tactical decision (vendor selection)",
"trace_id": "tr_20260220_143052_a7b3",
"agent_id": "agent-billing-001",
"timestamp": "2026-02-20T14:30:52Z",
"event_type": "decision",
"decision": {
"type": "D2",
"risk_level": "R2",
"reversibility": "partial",
"classification_code": "D2-R2-partial",
"description": "Selected vendor B over vendor A for payment processing",
"reasoning": "Vendor B offers 15% lower fees ($0.85 vs $1.00 per transaction) with equivalent SLA (99.9% uptime). Annual savings estimated at $18,000 CAD based on current transaction volume.",
"alternatives_considered": [
{
"option": "Vendor A",
"reason_rejected": "Higher per-transaction fees despite longer track record"
},
{
"option": "Vendor C",
"reason_rejected": "SLA below threshold (99.5%)"
}
],
"context": {
"input_data": ["vendor_comparison_q1_2026", "transaction_volume_report"],
"tools_used": ["compare_vendors", "calculate_savings"]
}
},
"authorization": {
"required": false,
"policy_ref": "POL-FIN-001",
"matrix_result": "A3 × D2 = AUTHORIZED",
"risk_override_triggered": false
},
"outcome": {
"status": "executed",
"effects": ["payment_route_updated"],
"reversible": true,
"revert_procedure": "Revert payment routing to Vendor A via admin panel"
},
"integrity": {
"previous_hash": "a1b2c3d4e5f60000000000000000000000000000000000000000000000000000",
"hash": "f6e5d4c3b2a10000000000000000000000000000000000000000000000000000",
"algorithm": "SHA-256"
}
}