forked from Skull-boy/agent-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfinancial-operations.yaml
More file actions
83 lines (66 loc) · 1.68 KB
/
Copy pathfinancial-operations.yaml
File metadata and controls
83 lines (66 loc) · 1.68 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: 1.1
system:
name: Corporate Financial Operations Assistant
purpose: Analyzes corporate accounts and initiates approved vendor wire transfers
version: "2.0.0"
domain: finance
capabilities:
- name: analyze_accounts
description: Inspects account balances and transaction histories
- name: initiate_transactions
description: Submits wire transfer requests to corporate banking API
resources:
- name: corporate_account
type: bank_account
access: write
inputs:
- name: invoice_id
type: string
required: true
- name: payment_amount
type: number
required: true
outputs:
- name: transaction_receipt
type: json
permissions:
- resource: corporate_account
actions:
- read
- initiate_transaction
constraints:
- type: transaction_limit
maximum: 5000
currency: USD
description: Maximum single transaction amount
side_effects:
- type: financial_transaction
resource: corporate_account
description: Deducts funds from corporate checking account
approvals:
- action: initiate_transaction
required: true
approver: finance_controller
condition: amount > 1000
dependencies:
- name: corporate_banking_api
type: api
required: true
state:
persistence: persistent
storage: postgres_audit_db
recovery:
strategy: human_escalation
details: Reverts pending transaction draft and alerts finance controller
replay:
mode: prohibited
details: Financial transactions must never be automatically replayed
observability:
level: audit
sinks: ["sox_compliance_log", "datadog"]
security:
transport_security: "tls_1_3"
auth_required: true
risk:
level: critical
category: financial_loss