@ola-893/agentpay-cli 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -2
- package/README.md +98 -4
- package/package.json +32 -7
- package/src/agent.mjs +19 -7
- package/src/agents.mjs +106 -0
- package/src/cli.mjs +103 -23
- package/src/copy-activity.mjs +56 -0
- package/src/copy-commands.mjs +220 -0
- package/src/copy-feed.mjs +278 -0
- package/src/copy-intents.mjs +83 -0
- package/src/copy-runtime.mjs +369 -0
- package/src/inference.mjs +69 -0
- package/src/install.mjs +7 -3
- package/src/repository-analysis.mjs +150 -0
- package/src/repository-service.mjs +17 -0
- package/src/settings.mjs +5 -11
- package/src/setup.mjs +3 -3
- package/src/ui.mjs +4 -3
- package/src/vault-money.mjs +69 -0
- package/ui/assets/index-Bl23n-ZK.js +331 -0
- package/ui/assets/{index-D7tPv-yG.css → index-BzAc-LMS.css} +1 -1
- package/ui/index.html +2 -2
- package/ui/near/testnet.json +741 -347
- package/ui/assets/index-DBHTJ1PQ.js +0 -331
package/ui/near/testnet.json
CHANGED
|
@@ -1,446 +1,859 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"runId": "
|
|
4
|
-
"recordedAt": "2026-11-02T12:27:48.162Z",
|
|
3
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
5
4
|
"network": "testnet",
|
|
6
|
-
"agentMode": "
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"basic": {
|
|
11
|
-
"decision": "COMPLETED",
|
|
12
|
-
"successfulRequests": 10,
|
|
13
|
-
"deposit": "10000",
|
|
14
|
-
"earned": "660",
|
|
15
|
-
"refundedToVault": "9340",
|
|
16
|
-
"providerPayment": "claimable",
|
|
17
|
-
"openHash": "FV23QJ77hkD7voHYt9NhWU8WdHzKjQ5QN5oVMQDEJ46z",
|
|
18
|
-
"closeHash": "8FF27EJmwHQgWa2CyTt7MiXnfNTVRqujLTUdvgo7S2iC",
|
|
19
|
-
"sessionId": "cf573ebc-basic"
|
|
20
|
-
},
|
|
21
|
-
"premium": {
|
|
22
|
-
"decision": "DENY",
|
|
23
|
-
"reason": "RATE_LIMIT"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"events": [
|
|
27
|
-
{
|
|
28
|
-
"schemaVersion": 1,
|
|
29
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
30
|
-
"sequence": 1,
|
|
31
|
-
"at": "2026-11-02T12:26:14.432Z",
|
|
32
|
-
"type": "started",
|
|
33
|
-
"network": "testnet",
|
|
34
|
-
"agentMode": "scripted",
|
|
35
|
-
"vaultId": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
36
|
-
"agentId": "research-agent.agentpay-owner-20261102-adf970.testnet",
|
|
37
|
-
"recipientId": "agentpay-provider-20261102-b685bb.testnet",
|
|
38
|
-
"previousHash": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
39
|
-
"eventHash": "69993c72320bffe4e7069ea115a75291f16cf3a402c66422f62a0f96630ee52f"
|
|
40
|
-
},
|
|
5
|
+
"agentMode": "mixed",
|
|
6
|
+
"recordedAt": "2026-11-07T12:49:25.186Z",
|
|
7
|
+
"serviceKind": "repository-analysis",
|
|
8
|
+
"receipts": [
|
|
41
9
|
{
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
10
|
+
"hash": "4Wnj2Yxwubbm1D45Bo2V6cR93jZM9hdZJSPj1hkxRXGG",
|
|
11
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
12
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
13
|
+
"value": {
|
|
14
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
15
|
+
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
16
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
17
|
+
"deposit": "10000",
|
|
18
|
+
"rate": "10",
|
|
19
|
+
"duration_seconds": 1000,
|
|
20
|
+
"started_at": "1794055834",
|
|
21
|
+
"closed_at": null,
|
|
22
|
+
"earned": "0",
|
|
23
|
+
"refunded": "0"
|
|
24
|
+
},
|
|
25
|
+
"receiptFailures": [],
|
|
26
|
+
"receiptIds": [
|
|
27
|
+
"6xSyGtMwk8gBGfuNdjFi8xkesytHYZZKT7vnGRVuGx8P",
|
|
28
|
+
"2Ndkn6iFRwDJGimkjwEFSbnRGLpvJpg1Z37HKpxLMYAn"
|
|
29
|
+
],
|
|
30
|
+
"logs": [
|
|
31
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"0\",\"session_id\":\"9f3553f7-be94-4548-b6dc-be22a06d36e6\",\"started_at\":\"1794055834\"}],\"event\":\"opened\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
32
|
+
]
|
|
51
33
|
},
|
|
52
34
|
{
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
"tier": "basic",
|
|
59
|
-
"sessionId": "cf573ebc-basic",
|
|
60
|
-
"decision": "OPEN",
|
|
61
|
-
"reason": "WITHIN_POLICY",
|
|
62
|
-
"quote": {
|
|
63
|
-
"version": 1,
|
|
64
|
-
"vault_id": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
65
|
-
"token_id": "3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af",
|
|
35
|
+
"hash": "2vnefbuitrVoVpNm9SRm75n5dV9YN7nM16DuYyfcQsEw",
|
|
36
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
37
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
38
|
+
"value": {
|
|
39
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
66
40
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
67
|
-
"
|
|
41
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
42
|
+
"deposit": "10000",
|
|
68
43
|
"rate": "10",
|
|
69
44
|
"duration_seconds": 1000,
|
|
70
|
-
"
|
|
45
|
+
"started_at": "1794055834",
|
|
46
|
+
"closed_at": "1794055863",
|
|
47
|
+
"earned": "290",
|
|
48
|
+
"refunded": "9710"
|
|
71
49
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"source": "kraken",
|
|
83
|
-
"usd": 0.9997,
|
|
84
|
-
"observedAt": 1793622379669
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"previousHash": "57f54d418c97fc5d917c6f7d00587716240aa221bc7c808c62f66dbef48bf5c6",
|
|
89
|
-
"eventHash": "edad27ca15d43b4b5a68e40dc2d546cae0a69a73bc22eba570fed0ce108bb9ff"
|
|
50
|
+
"receiptFailures": [],
|
|
51
|
+
"receiptIds": [
|
|
52
|
+
"8WT8zDnN59NvgKdJ7tEKR6oegee19yaktUXw8EcaWo6Y",
|
|
53
|
+
"6A27F9MGVUm5w7yPczzChXsFk6xii7DmiTp4vVZVucXM"
|
|
54
|
+
],
|
|
55
|
+
"logs": [
|
|
56
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":\"1794055863\",\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"290\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"9710\",\"session_id\":\"9f3553f7-be94-4548-b6dc-be22a06d36e6\",\"started_at\":\"1794055834\"}],\"event\":\"closed\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
57
|
+
]
|
|
90
58
|
},
|
|
91
59
|
{
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"at": "2026-11-02T12:26:35.003Z",
|
|
96
|
-
"type": "transaction",
|
|
97
|
-
"action": "OPEN",
|
|
98
|
-
"hash": "FV23QJ77hkD7voHYt9NhWU8WdHzKjQ5QN5oVMQDEJ46z",
|
|
99
|
-
"signerId": "research-agent.agentpay-owner-20261102-adf970.testnet",
|
|
100
|
-
"receiverId": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
60
|
+
"hash": "8HEFg1A2yBWfXTa3AdenDgNupyt2j3EJaCybgYYci42h",
|
|
61
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
62
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
101
63
|
"value": {
|
|
102
|
-
"session_id": "
|
|
64
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
103
65
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
104
|
-
"quote_hash": "
|
|
66
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
105
67
|
"deposit": "10000",
|
|
106
68
|
"rate": "10",
|
|
107
69
|
"duration_seconds": 1000,
|
|
108
|
-
"started_at": "
|
|
70
|
+
"started_at": "1794055874",
|
|
109
71
|
"closed_at": null,
|
|
110
72
|
"earned": "0",
|
|
111
73
|
"refunded": "0"
|
|
112
74
|
},
|
|
113
75
|
"receiptFailures": [],
|
|
114
76
|
"receiptIds": [
|
|
115
|
-
"
|
|
116
|
-
"
|
|
77
|
+
"C5caVntM4eAMwzK8e7aWrfSkdK19tYahAa9KL14a8Bxw",
|
|
78
|
+
"FxHRqQrfSVyieaDSsFF8bJ1bLme5ZddRfJvXE6MjrGTy"
|
|
117
79
|
],
|
|
118
80
|
"logs": [
|
|
119
|
-
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"
|
|
81
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"0\",\"session_id\":\"4eca839d-5fba-47e8-b791-f036a39a7b00\",\"started_at\":\"1794055874\"}],\"event\":\"opened\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"hash": "7Nkpr5ViXUyKLrBMe32yCVXrYGteLLjQNEEAnmBWnavM",
|
|
86
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
87
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
88
|
+
"value": {
|
|
89
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
90
|
+
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
91
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
92
|
+
"deposit": "10000",
|
|
93
|
+
"rate": "10",
|
|
94
|
+
"duration_seconds": 1000,
|
|
95
|
+
"started_at": "1794055874",
|
|
96
|
+
"closed_at": "1794055906",
|
|
97
|
+
"earned": "320",
|
|
98
|
+
"refunded": "9680"
|
|
99
|
+
},
|
|
100
|
+
"receiptFailures": [],
|
|
101
|
+
"receiptIds": [
|
|
102
|
+
"2FV135AvcnVC37uBnV5dhHD8VvgNzrfTz9Ctw5vpo8Qx",
|
|
103
|
+
"466mGQ76V8bNvDdCYWRLYbgRwJZ9EBRYHHTDjLwc2cWQ"
|
|
120
104
|
],
|
|
121
|
-
"
|
|
122
|
-
|
|
105
|
+
"logs": [
|
|
106
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":\"1794055906\",\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"320\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"9680\",\"session_id\":\"4eca839d-5fba-47e8-b791-f036a39a7b00\",\"started_at\":\"1794055874\"}],\"event\":\"closed\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"events": [
|
|
111
|
+
{
|
|
112
|
+
"agentMode": "mixed",
|
|
113
|
+
"model": "hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q4_K_M",
|
|
114
|
+
"message": "Local model and operator-selected local service; public NEAR testnet settlement. Operator separately injects failures and tests contract rejection.",
|
|
115
|
+
"type": "started",
|
|
116
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
117
|
+
"sequence": 1,
|
|
118
|
+
"at": "2026-11-07T12:49:50.589Z",
|
|
119
|
+
"previousHash": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
120
|
+
"eventHash": "b732f2b284d3a14a9606d016b9bfd3e8d4700b309cb3ce17cf60fd4f2a8ccbca"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"decision": "DENY",
|
|
124
|
+
"reason": "RATE_LIMIT",
|
|
125
|
+
"actor": "operator",
|
|
126
|
+
"type": "policy",
|
|
127
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
128
|
+
"sequence": 2,
|
|
129
|
+
"at": "2026-11-07T12:49:53.937Z",
|
|
130
|
+
"previousHash": "b732f2b284d3a14a9606d016b9bfd3e8d4700b309cb3ce17cf60fd4f2a8ccbca",
|
|
131
|
+
"eventHash": "26bea11f9934ef1759b5e7b9daf5deb1cdc98ed22d5133852cb9220b583e9f10"
|
|
123
132
|
},
|
|
124
133
|
{
|
|
125
|
-
"
|
|
126
|
-
"
|
|
134
|
+
"decision": "DENY",
|
|
135
|
+
"reason": "RATE_LIMIT",
|
|
136
|
+
"enforcement": "NEAR contract: correctly policy-signed invalid proposal rejected",
|
|
137
|
+
"failedTransactionHash": "BCSoxUpKCD5qZdQKuoEoKWVcKnPL13qFRz6DorP3ACYi",
|
|
138
|
+
"actor": "operator",
|
|
139
|
+
"type": "policy",
|
|
140
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
141
|
+
"sequence": 3,
|
|
142
|
+
"at": "2026-11-07T12:49:59.480Z",
|
|
143
|
+
"previousHash": "26bea11f9934ef1759b5e7b9daf5deb1cdc98ed22d5133852cb9220b583e9f10",
|
|
144
|
+
"eventHash": "e6aa25308a53f8db113ef53574c37c32bf5c793d979eabdde214d0229903023d"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"decision": "DENY",
|
|
148
|
+
"reason": "RECIPIENT_DENIED",
|
|
149
|
+
"enforcement": "NEAR contract: correctly policy-signed invalid proposal rejected",
|
|
150
|
+
"failedTransactionHash": "3eyNseHB1ju2csEzShBVn6EEBr7pmbtcxkrzgCCnzT4b",
|
|
151
|
+
"actor": "operator",
|
|
152
|
+
"type": "policy",
|
|
153
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
154
|
+
"sequence": 4,
|
|
155
|
+
"at": "2026-11-07T12:50:03.859Z",
|
|
156
|
+
"previousHash": "e6aa25308a53f8db113ef53574c37c32bf5c793d979eabdde214d0229903023d",
|
|
157
|
+
"eventHash": "0b030aa9d19d661b58a8f8c70f7fedbbd807c8dc7214fc20dc2980b7d08d4052"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"tool": "agentpay_fetch",
|
|
161
|
+
"actor": "model",
|
|
162
|
+
"type": "model",
|
|
163
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
127
164
|
"sequence": 5,
|
|
128
|
-
"at": "2026-11-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"count": 1,
|
|
132
|
-
"status": 200,
|
|
133
|
-
"previousHash": "255712cc79095ef9bca590425a65c3eaa69afaba440eba0bd4780f86c89d45c1",
|
|
134
|
-
"eventHash": "49ef13c4db9a3f3e9cb9870ed64a64c0f0e577d76b618ed86914e60772e98044"
|
|
165
|
+
"at": "2026-11-07T12:51:06.495Z",
|
|
166
|
+
"previousHash": "0b030aa9d19d661b58a8f8c70f7fedbbd807c8dc7214fc20dc2980b7d08d4052",
|
|
167
|
+
"eventHash": "2590a0cff933520dcfcfbf7d00b4198f4e665b0e9e25866a348a619fc4e82653"
|
|
135
168
|
},
|
|
136
169
|
{
|
|
137
|
-
"
|
|
138
|
-
"
|
|
170
|
+
"decision": "OPEN",
|
|
171
|
+
"reason": "WITHIN_POLICY",
|
|
172
|
+
"actor": "model",
|
|
173
|
+
"type": "policy",
|
|
174
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
139
175
|
"sequence": 6,
|
|
140
|
-
"at": "2026-11-
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"count": 2,
|
|
144
|
-
"status": 200,
|
|
145
|
-
"previousHash": "49ef13c4db9a3f3e9cb9870ed64a64c0f0e577d76b618ed86914e60772e98044",
|
|
146
|
-
"eventHash": "9f15d6ea71266cf3a17cca5da0137dd2cd72b4effdabfd288ab393dc376d36a4"
|
|
176
|
+
"at": "2026-11-07T12:51:06.499Z",
|
|
177
|
+
"previousHash": "2590a0cff933520dcfcfbf7d00b4198f4e665b0e9e25866a348a619fc4e82653",
|
|
178
|
+
"eventHash": "930649f3db64d7024f5de8c3e1a80ecfbb72bc913000be3d296e3afc344275d3"
|
|
147
179
|
},
|
|
148
180
|
{
|
|
149
|
-
"
|
|
150
|
-
"
|
|
181
|
+
"decision": "CONTINUE",
|
|
182
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
183
|
+
"actor": "model",
|
|
184
|
+
"type": "policy",
|
|
185
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
151
186
|
"sequence": 7,
|
|
152
|
-
"at": "2026-11-
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"count": 3,
|
|
156
|
-
"status": 200,
|
|
157
|
-
"previousHash": "9f15d6ea71266cf3a17cca5da0137dd2cd72b4effdabfd288ab393dc376d36a4",
|
|
158
|
-
"eventHash": "a22f01515a03bcbe3af47ee8bbea1daa379049aa8eb5a8b808cdcb536fc7d26e"
|
|
187
|
+
"at": "2026-11-07T12:51:06.499Z",
|
|
188
|
+
"previousHash": "930649f3db64d7024f5de8c3e1a80ecfbb72bc913000be3d296e3afc344275d3",
|
|
189
|
+
"eventHash": "ed1592e31ff6e815a86aff06baaec2cb6ce47e65dc599e10b2f0422b77343687"
|
|
159
190
|
},
|
|
160
191
|
{
|
|
161
|
-
"
|
|
162
|
-
"
|
|
192
|
+
"hash": "4Wnj2Yxwubbm1D45Bo2V6cR93jZM9hdZJSPj1hkxRXGG",
|
|
193
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
194
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
195
|
+
"value": {
|
|
196
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
197
|
+
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
198
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
199
|
+
"deposit": "10000",
|
|
200
|
+
"rate": "10",
|
|
201
|
+
"duration_seconds": 1000,
|
|
202
|
+
"started_at": "1794055834",
|
|
203
|
+
"closed_at": null,
|
|
204
|
+
"earned": "0",
|
|
205
|
+
"refunded": "0"
|
|
206
|
+
},
|
|
207
|
+
"receiptFailures": [],
|
|
208
|
+
"receiptIds": [
|
|
209
|
+
"6xSyGtMwk8gBGfuNdjFi8xkesytHYZZKT7vnGRVuGx8P",
|
|
210
|
+
"2Ndkn6iFRwDJGimkjwEFSbnRGLpvJpg1Z37HKpxLMYAn"
|
|
211
|
+
],
|
|
212
|
+
"logs": [
|
|
213
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"0\",\"session_id\":\"9f3553f7-be94-4548-b6dc-be22a06d36e6\",\"started_at\":\"1794055834\"}],\"event\":\"opened\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
214
|
+
],
|
|
215
|
+
"action": "OPEN",
|
|
216
|
+
"type": "transaction",
|
|
217
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
163
218
|
"sequence": 8,
|
|
164
|
-
"at": "2026-11-
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"count": 4,
|
|
168
|
-
"status": 200,
|
|
169
|
-
"previousHash": "a22f01515a03bcbe3af47ee8bbea1daa379049aa8eb5a8b808cdcb536fc7d26e",
|
|
170
|
-
"eventHash": "db987a5fce7fe2248e3b71f3bdcf4386bd9031d13db28ed2e3b2b603266da674"
|
|
219
|
+
"at": "2026-11-07T12:51:06.499Z",
|
|
220
|
+
"previousHash": "ed1592e31ff6e815a86aff06baaec2cb6ce47e65dc599e10b2f0422b77343687",
|
|
221
|
+
"eventHash": "948e63d9118fb0b1cd7d2a68330bc7910c3d621d890d3be14a64fd7dcf93d3d8"
|
|
171
222
|
},
|
|
172
223
|
{
|
|
173
|
-
"
|
|
174
|
-
"
|
|
224
|
+
"decision": "CONTINUE",
|
|
225
|
+
"reason": "REQUEST_WITHIN_POLICY",
|
|
226
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
227
|
+
"actor": "model",
|
|
228
|
+
"type": "policy",
|
|
229
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
175
230
|
"sequence": 9,
|
|
176
|
-
"at": "2026-11-
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"count": 5,
|
|
180
|
-
"status": 200,
|
|
181
|
-
"previousHash": "db987a5fce7fe2248e3b71f3bdcf4386bd9031d13db28ed2e3b2b603266da674",
|
|
182
|
-
"eventHash": "d4ec5813d3529a65a9afb344b2c4de7f2d68add896df3517f24ea5b10ac4902b"
|
|
231
|
+
"at": "2026-11-07T12:51:06.500Z",
|
|
232
|
+
"previousHash": "948e63d9118fb0b1cd7d2a68330bc7910c3d621d890d3be14a64fd7dcf93d3d8",
|
|
233
|
+
"eventHash": "4514b6de2412999744a19ef30aad6bdbdd0f79cebf86a94e1b2efd234c6d92fe"
|
|
183
234
|
},
|
|
184
235
|
{
|
|
185
|
-
"schemaVersion": 1,
|
|
186
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
187
|
-
"sequence": 10,
|
|
188
|
-
"at": "2026-11-02T12:26:58.786Z",
|
|
189
|
-
"type": "request",
|
|
190
|
-
"sessionId": "cf573ebc-basic",
|
|
191
|
-
"count": 6,
|
|
192
236
|
"status": 200,
|
|
193
|
-
"
|
|
194
|
-
"
|
|
237
|
+
"count": 1,
|
|
238
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
239
|
+
"body": {
|
|
240
|
+
"request": 1,
|
|
241
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
242
|
+
"source": "AgentPay repository analysis",
|
|
243
|
+
"generatedAt": "2026-11-07T12:50:39.586Z",
|
|
244
|
+
"fingerprint": "4decb91770193cda806affbcd49114dc923b190a4714197d7eded729b448fa75",
|
|
245
|
+
"scope": "Bounded syntax-based JS/TS heuristics, not a security audit or dataflow analysis. Other source languages contribute inventory only. No source code is executed. Findings need human review; absence of findings does not establish safety.",
|
|
246
|
+
"coverage": {
|
|
247
|
+
"files": 114,
|
|
248
|
+
"lines": 21515,
|
|
249
|
+
"bytes": 795429,
|
|
250
|
+
"skipped": 0,
|
|
251
|
+
"limited": false,
|
|
252
|
+
"maxFiles": 500,
|
|
253
|
+
"maxBytes": 3000000,
|
|
254
|
+
"maxFileBytes": 200000,
|
|
255
|
+
"entriesVisited": 308,
|
|
256
|
+
"maxEntries": 10000,
|
|
257
|
+
"maxFindings": 300,
|
|
258
|
+
"findingLimitReached": false
|
|
259
|
+
},
|
|
260
|
+
"view": "overview",
|
|
261
|
+
"languages": {
|
|
262
|
+
".ts": 68,
|
|
263
|
+
".json": 12,
|
|
264
|
+
".tsx": 20,
|
|
265
|
+
".mjs": 14
|
|
266
|
+
},
|
|
267
|
+
"findingCounts": {
|
|
268
|
+
"high": 0,
|
|
269
|
+
"medium": 42,
|
|
270
|
+
"info": 0
|
|
271
|
+
},
|
|
272
|
+
"dependencyCount": 91
|
|
273
|
+
},
|
|
274
|
+
"actor": "model",
|
|
275
|
+
"type": "request",
|
|
276
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
277
|
+
"sequence": 10,
|
|
278
|
+
"at": "2026-11-07T12:51:06.501Z",
|
|
279
|
+
"previousHash": "4514b6de2412999744a19ef30aad6bdbdd0f79cebf86a94e1b2efd234c6d92fe",
|
|
280
|
+
"eventHash": "bac69300a531c3954cbb8ea4792659bb11535ff3db1683cb53ec192768ae1115"
|
|
195
281
|
},
|
|
196
282
|
{
|
|
197
|
-
"
|
|
198
|
-
"
|
|
283
|
+
"tool": "agentpay_fetch",
|
|
284
|
+
"actor": "model",
|
|
285
|
+
"type": "model",
|
|
286
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
199
287
|
"sequence": 11,
|
|
200
|
-
"at": "2026-11-
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"count": 7,
|
|
204
|
-
"status": 200,
|
|
205
|
-
"previousHash": "519bb6a7badbb1e94a58919213fbd1ed2b45e27bf8a5806b74449760017d4beb",
|
|
206
|
-
"eventHash": "46b55737308116b226efccfd9d7351c6c01771e17171eac9ae629e831f4cb6c8"
|
|
288
|
+
"at": "2026-11-07T12:51:06.502Z",
|
|
289
|
+
"previousHash": "bac69300a531c3954cbb8ea4792659bb11535ff3db1683cb53ec192768ae1115",
|
|
290
|
+
"eventHash": "226b2d0672f9e3c0b4c587dda26b2e96f11f08dfba495ee5240319a2d5052994"
|
|
207
291
|
},
|
|
208
292
|
{
|
|
209
|
-
"
|
|
210
|
-
"
|
|
293
|
+
"decision": "CONTINUE",
|
|
294
|
+
"reason": "SERVICE_HEALTHY_OR_WITHIN_FAILURE_LIMIT",
|
|
295
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
296
|
+
"actor": "model",
|
|
297
|
+
"type": "policy",
|
|
298
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
211
299
|
"sequence": 12,
|
|
212
|
-
"at": "2026-11-
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"count": 8,
|
|
216
|
-
"status": 200,
|
|
217
|
-
"previousHash": "46b55737308116b226efccfd9d7351c6c01771e17171eac9ae629e831f4cb6c8",
|
|
218
|
-
"eventHash": "d163cbeb0d85487452d0e981a42b0e0f44dad39f651810eafbf6ae216f50386b"
|
|
300
|
+
"at": "2026-11-07T12:51:06.502Z",
|
|
301
|
+
"previousHash": "226b2d0672f9e3c0b4c587dda26b2e96f11f08dfba495ee5240319a2d5052994",
|
|
302
|
+
"eventHash": "29bac9cb8dc1a9b701cbe96b652fb07fa0c77d0d2d54793aeb06706ab43f609a"
|
|
219
303
|
},
|
|
220
304
|
{
|
|
221
|
-
"
|
|
222
|
-
"
|
|
305
|
+
"decision": "CONTINUE",
|
|
306
|
+
"reason": "REQUEST_WITHIN_POLICY",
|
|
307
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
308
|
+
"actor": "model",
|
|
309
|
+
"type": "policy",
|
|
310
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
223
311
|
"sequence": 13,
|
|
224
|
-
"at": "2026-11-
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"count": 9,
|
|
228
|
-
"status": 200,
|
|
229
|
-
"previousHash": "d163cbeb0d85487452d0e981a42b0e0f44dad39f651810eafbf6ae216f50386b",
|
|
230
|
-
"eventHash": "e9e63173467b5dc2034c1245c50b3dad7ffdb1690e8d099158ad28dd27a839d0"
|
|
312
|
+
"at": "2026-11-07T12:51:06.502Z",
|
|
313
|
+
"previousHash": "29bac9cb8dc1a9b701cbe96b652fb07fa0c77d0d2d54793aeb06706ab43f609a",
|
|
314
|
+
"eventHash": "ade8ba3e4b329b25a95d9124917f3764ac6a541abe739b0ac16965ca4b83d8f4"
|
|
231
315
|
},
|
|
232
316
|
{
|
|
233
|
-
"schemaVersion": 1,
|
|
234
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
235
|
-
"sequence": 14,
|
|
236
|
-
"at": "2026-11-02T12:27:13.254Z",
|
|
237
|
-
"type": "request",
|
|
238
|
-
"sessionId": "cf573ebc-basic",
|
|
239
|
-
"count": 10,
|
|
240
317
|
"status": 200,
|
|
241
|
-
"
|
|
242
|
-
"
|
|
318
|
+
"count": 2,
|
|
319
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
320
|
+
"body": {
|
|
321
|
+
"request": 2,
|
|
322
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
323
|
+
"source": "AgentPay repository analysis",
|
|
324
|
+
"generatedAt": "2026-11-07T12:50:46.854Z",
|
|
325
|
+
"fingerprint": "4decb91770193cda806affbcd49114dc923b190a4714197d7eded729b448fa75",
|
|
326
|
+
"scope": "Bounded syntax-based JS/TS heuristics, not a security audit or dataflow analysis. Other source languages contribute inventory only. No source code is executed. Findings need human review; absence of findings does not establish safety.",
|
|
327
|
+
"coverage": {
|
|
328
|
+
"files": 114,
|
|
329
|
+
"lines": 21515,
|
|
330
|
+
"bytes": 795429,
|
|
331
|
+
"skipped": 0,
|
|
332
|
+
"limited": false,
|
|
333
|
+
"maxFiles": 500,
|
|
334
|
+
"maxBytes": 3000000,
|
|
335
|
+
"maxFileBytes": 200000,
|
|
336
|
+
"entriesVisited": 308,
|
|
337
|
+
"maxEntries": 10000,
|
|
338
|
+
"maxFindings": 300,
|
|
339
|
+
"findingLimitReached": false
|
|
340
|
+
},
|
|
341
|
+
"view": "findings",
|
|
342
|
+
"findings": [
|
|
343
|
+
{
|
|
344
|
+
"id": "298b2c4d0582d193",
|
|
345
|
+
"rule": "fetch-deadline",
|
|
346
|
+
"severity": "medium",
|
|
347
|
+
"file": "apps/memforks-chat/src/components/chat-app.tsx",
|
|
348
|
+
"line": 100,
|
|
349
|
+
"title": "Fetch deadline needs review",
|
|
350
|
+
"recommendation": "No explicit AbortSignal is present at this call. Check whether the Request already carries a deadline; otherwise add AbortSignal.timeout or an owner-controlled cancellation signal so a stalled service cannot hold the operation indefinitely."
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"id": "495b91a192dbdea7",
|
|
354
|
+
"rule": "fetch-deadline",
|
|
355
|
+
"severity": "medium",
|
|
356
|
+
"file": "apps/memforks-chat/src/components/chat-app.tsx",
|
|
357
|
+
"line": 170,
|
|
358
|
+
"title": "Fetch deadline needs review",
|
|
359
|
+
"recommendation": "No explicit AbortSignal is present at this call. Check whether the Request already carries a deadline; otherwise add AbortSignal.timeout or an owner-controlled cancellation signal so a stalled service cannot hold the operation indefinitely."
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "f5e92c31f5ded98e",
|
|
363
|
+
"rule": "fetch-deadline",
|
|
364
|
+
"severity": "medium",
|
|
365
|
+
"file": "apps/memforks-chat/src/components/diff-panel.tsx",
|
|
366
|
+
"line": 40,
|
|
367
|
+
"title": "Fetch deadline needs review",
|
|
368
|
+
"recommendation": "No explicit AbortSignal is present at this call. Check whether the Request already carries a deadline; otherwise add AbortSignal.timeout or an owner-controlled cancellation signal so a stalled service cannot hold the operation indefinitely."
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "3d8e62ae96fa33f4",
|
|
372
|
+
"rule": "fetch-deadline",
|
|
373
|
+
"severity": "medium",
|
|
374
|
+
"file": "apps/memforks-research/src/agents/tools.ts",
|
|
375
|
+
"line": 17,
|
|
376
|
+
"title": "Fetch deadline needs review",
|
|
377
|
+
"recommendation": "No explicit AbortSignal is present at this call. Check whether the Request already carries a deadline; otherwise add AbortSignal.timeout or an owner-controlled cancellation signal so a stalled service cannot hold the operation indefinitely."
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"id": "61314094d2585387",
|
|
381
|
+
"rule": "shell-execution",
|
|
382
|
+
"severity": "medium",
|
|
383
|
+
"file": "packages/cli/scripts/bundle-ui.mjs",
|
|
384
|
+
"line": 27,
|
|
385
|
+
"title": "Shell execution needs input review",
|
|
386
|
+
"recommendation": "Prefer execFile with a fixed executable and separate arguments; inspect any user-controlled command interpolation."
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"matching": 42,
|
|
390
|
+
"offset": 0,
|
|
391
|
+
"limit": 5,
|
|
392
|
+
"truncated": true
|
|
393
|
+
},
|
|
394
|
+
"actor": "model",
|
|
395
|
+
"type": "request",
|
|
396
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
397
|
+
"sequence": 14,
|
|
398
|
+
"at": "2026-11-07T12:51:06.502Z",
|
|
399
|
+
"previousHash": "ade8ba3e4b329b25a95d9124917f3764ac6a541abe739b0ac16965ca4b83d8f4",
|
|
400
|
+
"eventHash": "157e73df10040aab47e9920680364afd41ba69a17732a6c0f8f98c3e0bada27c"
|
|
243
401
|
},
|
|
244
402
|
{
|
|
245
|
-
"
|
|
246
|
-
"
|
|
403
|
+
"text": "Based on the repository analysis, here are three priority review items identified from the medium-severity findings:\n\n### 1. `apps/memforks-chat/src/components/chat-app.tsx` (Line 100 & 170)\n* **Issue:** Missing fetch deadline/timeout.\n* **Priority:** High (potential for stalled UI/service operations).\n* **Suggested Fix:** Implement an `AbortSignal` for these fetch calls. You can use `AbortSignal.timeout(ms)` to provide a hard deadline or pass a signal from a controller that allows the component to cancel the request upon unmounting. This prevents a stalled service from holding the application state indefinitely.\n\n### 2. `apps/memforks-chat/src/components/diff-panel.tsx` (Line 40)\n* **Issue:** Missing fetch deadline/timeout.\n* **Priority:** Medium.\n* **Suggested Fix:** Similar to the chat app, ensure the fetch call includes an `AbortSignal`. This ensures that if the diff generation service hangs, the UI can recover or time out rather than remaining in a loading state.\n\n### 3. `packages/cli/scripts/bundle-ui.mjs` (Line 27)\n* **Issue:** Potentially unsafe shell execution.\n* **Priority:** Medium (security/robustness).\n* **Suggested Fix:** Review how commands are being executed. Instead of using generic shell execution methods (like `child_process.exec`) which can be vulnerable to command injection if any part of the command is dynamically constructed, prefer `child_process.execFile`. This allows you to pass a fixed executable and an array of arguments, minimizing the risk of malicious interpolation.",
|
|
404
|
+
"actor": "model",
|
|
405
|
+
"type": "summary",
|
|
406
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
247
407
|
"sequence": 15,
|
|
248
|
-
"at": "2026-11-
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"successfulRequests": 10,
|
|
252
|
-
"nonceBefore": "275896761000001",
|
|
253
|
-
"nonceAfter": "275896761000001",
|
|
254
|
-
"extraPaymentTransactions": 0,
|
|
255
|
-
"previousHash": "d9dddacd1e5faab3f2b51d11de2ff8cc906d7d57d7d0bc242e806be8aa2b0c32",
|
|
256
|
-
"eventHash": "c370e8646d77d7b765d39fcfc64d40ad5640e46699c1f8d0223038c079002109"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"schemaVersion": 1,
|
|
260
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
261
|
-
"sequence": 16,
|
|
262
|
-
"at": "2026-11-02T12:27:23.702Z",
|
|
263
|
-
"type": "policy",
|
|
264
|
-
"sessionId": "cf573ebc-basic",
|
|
265
|
-
"decision": "CONTINUE",
|
|
266
|
-
"reason": "SERVICE_HEALTHY",
|
|
267
|
-
"previousHash": "c370e8646d77d7b765d39fcfc64d40ad5640e46699c1f8d0223038c079002109",
|
|
268
|
-
"eventHash": "a0e90e6efaf004b6e3143b8ac52de5c3b3593bc8b964d54bbfc96260835a6882"
|
|
408
|
+
"at": "2026-11-07T12:51:06.502Z",
|
|
409
|
+
"previousHash": "157e73df10040aab47e9920680364afd41ba69a17732a6c0f8f98c3e0bada27c",
|
|
410
|
+
"eventHash": "eabec6255d11d703328b4f898300747402d3c03e2513de941ae1793adb23bce0"
|
|
269
411
|
},
|
|
270
412
|
{
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"at": "2026-11-02T12:27:30.046Z",
|
|
275
|
-
"type": "policy",
|
|
276
|
-
"sessionId": "cf573ebc-basic",
|
|
277
|
-
"decision": "CLOSE",
|
|
278
|
-
"reason": "CLIENT_SHUTDOWN",
|
|
279
|
-
"previousHash": "a0e90e6efaf004b6e3143b8ac52de5c3b3593bc8b964d54bbfc96260835a6882",
|
|
280
|
-
"eventHash": "cdbc11abca7368ccbc3d9cf4d305034a86c0f4568816599121d2d6c982e2dd10"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"schemaVersion": 1,
|
|
284
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
285
|
-
"sequence": 18,
|
|
286
|
-
"at": "2026-11-02T12:27:41.601Z",
|
|
287
|
-
"type": "transaction",
|
|
288
|
-
"action": "CLOSE",
|
|
289
|
-
"hash": "8FF27EJmwHQgWa2CyTt7MiXnfNTVRqujLTUdvgo7S2iC",
|
|
290
|
-
"signerId": "research-agent.agentpay-owner-20261102-adf970.testnet",
|
|
291
|
-
"receiverId": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
413
|
+
"hash": "2vnefbuitrVoVpNm9SRm75n5dV9YN7nM16DuYyfcQsEw",
|
|
414
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
415
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
292
416
|
"value": {
|
|
293
|
-
"session_id": "
|
|
417
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
294
418
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
295
|
-
"quote_hash": "
|
|
419
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
296
420
|
"deposit": "10000",
|
|
297
421
|
"rate": "10",
|
|
298
422
|
"duration_seconds": 1000,
|
|
299
|
-
"started_at": "
|
|
300
|
-
"closed_at": "
|
|
301
|
-
"earned": "
|
|
302
|
-
"refunded": "
|
|
423
|
+
"started_at": "1794055834",
|
|
424
|
+
"closed_at": "1794055863",
|
|
425
|
+
"earned": "290",
|
|
426
|
+
"refunded": "9710"
|
|
303
427
|
},
|
|
304
428
|
"receiptFailures": [],
|
|
305
429
|
"receiptIds": [
|
|
306
|
-
"
|
|
307
|
-
"
|
|
430
|
+
"8WT8zDnN59NvgKdJ7tEKR6oegee19yaktUXw8EcaWo6Y",
|
|
431
|
+
"6A27F9MGVUm5w7yPczzChXsFk6xii7DmiTp4vVZVucXM"
|
|
308
432
|
],
|
|
309
433
|
"logs": [
|
|
310
|
-
"EVENT_JSON:{\"data\":[{\"closed_at\":\"
|
|
434
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":\"1794055863\",\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"290\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"9710\",\"session_id\":\"9f3553f7-be94-4548-b6dc-be22a06d36e6\",\"started_at\":\"1794055834\"}],\"event\":\"closed\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
311
435
|
],
|
|
312
|
-
"
|
|
313
|
-
"
|
|
436
|
+
"action": "CLOSE",
|
|
437
|
+
"reason": "AGENT_EXIT",
|
|
438
|
+
"type": "transaction",
|
|
439
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
440
|
+
"sequence": 16,
|
|
441
|
+
"at": "2026-11-07T12:51:06.503Z",
|
|
442
|
+
"previousHash": "eabec6255d11d703328b4f898300747402d3c03e2513de941ae1793adb23bce0",
|
|
443
|
+
"eventHash": "e6d8c793a13b2eb35554c55ce107787e26ee912a73e18ad22c2c0f85734b9e1f"
|
|
314
444
|
},
|
|
315
445
|
{
|
|
316
|
-
"schemaVersion": 1,
|
|
317
|
-
"runId": "cf573ebc-976e-4d58-84d9-aab7e0ed518a",
|
|
318
|
-
"sequence": 19,
|
|
319
|
-
"at": "2026-11-02T12:27:44.792Z",
|
|
320
|
-
"type": "settled",
|
|
321
446
|
"stream": {
|
|
322
|
-
"session_id": "
|
|
447
|
+
"session_id": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
323
448
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
324
|
-
"quote_hash": "
|
|
449
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
325
450
|
"deposit": "10000",
|
|
326
451
|
"rate": "10",
|
|
327
452
|
"duration_seconds": 1000,
|
|
328
|
-
"started_at": "
|
|
329
|
-
"closed_at": "
|
|
330
|
-
"earned": "
|
|
331
|
-
"refunded": "
|
|
453
|
+
"started_at": "1794055834",
|
|
454
|
+
"closed_at": "1794055863",
|
|
455
|
+
"earned": "290",
|
|
456
|
+
"refunded": "9710"
|
|
332
457
|
},
|
|
333
|
-
"
|
|
334
|
-
"
|
|
458
|
+
"type": "settled",
|
|
459
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
460
|
+
"sequence": 17,
|
|
461
|
+
"at": "2026-11-07T12:51:06.503Z",
|
|
462
|
+
"previousHash": "e6d8c793a13b2eb35554c55ce107787e26ee912a73e18ad22c2c0f85734b9e1f",
|
|
463
|
+
"eventHash": "72cb552c07d805ddfe3c0faab181f23645e4e99fc7f014f87de6f412e2a6da5b"
|
|
335
464
|
},
|
|
336
465
|
{
|
|
337
|
-
"
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"type": "
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"
|
|
466
|
+
"successfulRequests": 2,
|
|
467
|
+
"extraPaymentTransactions": 0,
|
|
468
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
469
|
+
"actor": "model",
|
|
470
|
+
"type": "reuse_verified",
|
|
471
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
472
|
+
"sequence": 18,
|
|
473
|
+
"at": "2026-11-07T12:51:06.504Z",
|
|
474
|
+
"previousHash": "72cb552c07d805ddfe3c0faab181f23645e4e99fc7f014f87de6f412e2a6da5b",
|
|
475
|
+
"eventHash": "2623573f56b266421388a47ee2ef7c2f7436b3d9ffb951d72a0136695c2e1728"
|
|
346
476
|
},
|
|
347
477
|
{
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"at": "2026-11-02T12:27:48.155Z",
|
|
478
|
+
"decision": "OPEN",
|
|
479
|
+
"reason": "WITHIN_POLICY",
|
|
480
|
+
"actor": "operator",
|
|
352
481
|
"type": "policy",
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
"version": 1,
|
|
359
|
-
"vault_id": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
360
|
-
"token_id": "3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af",
|
|
361
|
-
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
362
|
-
"tier": "premium",
|
|
363
|
-
"rate": "200",
|
|
364
|
-
"duration_seconds": 1000,
|
|
365
|
-
"expires_at": 1793622768
|
|
366
|
-
},
|
|
367
|
-
"previousHash": "256b3211d2f5c4f78d610f999669e8baa60d18880f96c65c8fdc75fc69047f2d",
|
|
368
|
-
"eventHash": "7b73e91cc6c3dcdb7e77f075937f366dda1bb564230a8c29949b7a7ff3a414b7"
|
|
482
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
483
|
+
"sequence": 19,
|
|
484
|
+
"at": "2026-11-07T12:51:19.947Z",
|
|
485
|
+
"previousHash": "2623573f56b266421388a47ee2ef7c2f7436b3d9ffb951d72a0136695c2e1728",
|
|
486
|
+
"eventHash": "cccf4abd21364178a04f72727a825edf8f06eb85b15c443c34897649d02cdfb9"
|
|
369
487
|
},
|
|
370
488
|
{
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
"receipts": [
|
|
489
|
+
"decision": "CONTINUE",
|
|
490
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
491
|
+
"actor": "operator",
|
|
492
|
+
"type": "policy",
|
|
493
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
494
|
+
"sequence": 20,
|
|
495
|
+
"at": "2026-11-07T12:51:19.947Z",
|
|
496
|
+
"previousHash": "cccf4abd21364178a04f72727a825edf8f06eb85b15c443c34897649d02cdfb9",
|
|
497
|
+
"eventHash": "6768859a8b80727aec1923a4169f1558b7ecb475f7bca046620b685a921592e9"
|
|
498
|
+
},
|
|
382
499
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"receiverId": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
500
|
+
"hash": "8HEFg1A2yBWfXTa3AdenDgNupyt2j3EJaCybgYYci42h",
|
|
501
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
502
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
387
503
|
"value": {
|
|
388
|
-
"session_id": "
|
|
504
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
389
505
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
390
|
-
"quote_hash": "
|
|
506
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
391
507
|
"deposit": "10000",
|
|
392
508
|
"rate": "10",
|
|
393
509
|
"duration_seconds": 1000,
|
|
394
|
-
"started_at": "
|
|
510
|
+
"started_at": "1794055874",
|
|
395
511
|
"closed_at": null,
|
|
396
512
|
"earned": "0",
|
|
397
513
|
"refunded": "0"
|
|
398
514
|
},
|
|
399
515
|
"receiptFailures": [],
|
|
400
516
|
"receiptIds": [
|
|
401
|
-
"
|
|
402
|
-
"
|
|
517
|
+
"C5caVntM4eAMwzK8e7aWrfSkdK19tYahAa9KL14a8Bxw",
|
|
518
|
+
"FxHRqQrfSVyieaDSsFF8bJ1bLme5ZddRfJvXE6MjrGTy"
|
|
403
519
|
],
|
|
404
520
|
"logs": [
|
|
405
|
-
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"
|
|
406
|
-
]
|
|
521
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":null,\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"0\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"0\",\"session_id\":\"4eca839d-5fba-47e8-b791-f036a39a7b00\",\"started_at\":\"1794055874\"}],\"event\":\"opened\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
522
|
+
],
|
|
523
|
+
"action": "OPEN",
|
|
524
|
+
"type": "transaction",
|
|
525
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
526
|
+
"sequence": 21,
|
|
527
|
+
"at": "2026-11-07T12:51:19.947Z",
|
|
528
|
+
"previousHash": "6768859a8b80727aec1923a4169f1558b7ecb475f7bca046620b685a921592e9",
|
|
529
|
+
"eventHash": "89a8b872d04b9834d748b7052cdfb708b3c81186703bc707dfe6c30be3422da1"
|
|
407
530
|
},
|
|
408
531
|
{
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"
|
|
412
|
-
"
|
|
532
|
+
"decision": "CONTINUE",
|
|
533
|
+
"reason": "REQUEST_WITHIN_POLICY",
|
|
534
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
535
|
+
"actor": "operator",
|
|
536
|
+
"type": "policy",
|
|
537
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
538
|
+
"sequence": 22,
|
|
539
|
+
"at": "2026-11-07T12:51:19.947Z",
|
|
540
|
+
"previousHash": "89a8b872d04b9834d748b7052cdfb708b3c81186703bc707dfe6c30be3422da1",
|
|
541
|
+
"eventHash": "085397f0ca8f6167a9b8291e9f1d7f28226ebb0368a152b904a0c5b62438fdd3"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"status": 200,
|
|
545
|
+
"count": 1,
|
|
546
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
547
|
+
"body": {
|
|
548
|
+
"request": 1,
|
|
549
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
550
|
+
"source": "AgentPay repository analysis",
|
|
551
|
+
"generatedAt": "2026-11-07T12:51:18.439Z",
|
|
552
|
+
"fingerprint": "4decb91770193cda806affbcd49114dc923b190a4714197d7eded729b448fa75",
|
|
553
|
+
"scope": "Bounded syntax-based JS/TS heuristics, not a security audit or dataflow analysis. Other source languages contribute inventory only. No source code is executed. Findings need human review; absence of findings does not establish safety.",
|
|
554
|
+
"coverage": {
|
|
555
|
+
"files": 114,
|
|
556
|
+
"lines": 21515,
|
|
557
|
+
"bytes": 795429,
|
|
558
|
+
"skipped": 0,
|
|
559
|
+
"limited": false,
|
|
560
|
+
"maxFiles": 500,
|
|
561
|
+
"maxBytes": 3000000,
|
|
562
|
+
"maxFileBytes": 200000,
|
|
563
|
+
"entriesVisited": 308,
|
|
564
|
+
"maxEntries": 10000,
|
|
565
|
+
"maxFindings": 300,
|
|
566
|
+
"findingLimitReached": false
|
|
567
|
+
},
|
|
568
|
+
"view": "overview",
|
|
569
|
+
"languages": {
|
|
570
|
+
".ts": 68,
|
|
571
|
+
".json": 12,
|
|
572
|
+
".tsx": 20,
|
|
573
|
+
".mjs": 14
|
|
574
|
+
},
|
|
575
|
+
"findingCounts": {
|
|
576
|
+
"high": 0,
|
|
577
|
+
"medium": 42,
|
|
578
|
+
"info": 0
|
|
579
|
+
},
|
|
580
|
+
"dependencyCount": 91
|
|
581
|
+
},
|
|
582
|
+
"actor": "operator",
|
|
583
|
+
"type": "request",
|
|
584
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
585
|
+
"sequence": 23,
|
|
586
|
+
"at": "2026-11-07T12:51:19.947Z",
|
|
587
|
+
"previousHash": "085397f0ca8f6167a9b8291e9f1d7f28226ebb0368a152b904a0c5b62438fdd3",
|
|
588
|
+
"eventHash": "03aba9cc68094ac955f0b2d0fca03ec9d6b863ccafbdd5089ed863ce67d8bf8c"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"injected": true,
|
|
592
|
+
"message": "Operator injected paid-request HTTP 503s. Health probes remain healthy.",
|
|
593
|
+
"actor": "operator",
|
|
594
|
+
"type": "outage",
|
|
595
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
596
|
+
"sequence": 24,
|
|
597
|
+
"at": "2026-11-07T12:51:20.050Z",
|
|
598
|
+
"previousHash": "03aba9cc68094ac955f0b2d0fca03ec9d6b863ccafbdd5089ed863ce67d8bf8c",
|
|
599
|
+
"eventHash": "bcec1d206f32103dfe85434754501fc2ef8c118d8163b9593985767c60452fbf"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"decision": "CONTINUE",
|
|
603
|
+
"reason": "SERVICE_HEALTHY_OR_WITHIN_FAILURE_LIMIT",
|
|
604
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
605
|
+
"actor": "operator",
|
|
606
|
+
"type": "policy",
|
|
607
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
608
|
+
"sequence": 25,
|
|
609
|
+
"at": "2026-11-07T12:51:26.268Z",
|
|
610
|
+
"previousHash": "bcec1d206f32103dfe85434754501fc2ef8c118d8163b9593985767c60452fbf",
|
|
611
|
+
"eventHash": "e034fbb5b84c1ac09bf10be86411b77aed4cd4fa3ef53aa60b619a52647e994e"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"decision": "CONTINUE",
|
|
615
|
+
"reason": "REQUEST_WITHIN_POLICY",
|
|
616
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
617
|
+
"actor": "operator",
|
|
618
|
+
"type": "policy",
|
|
619
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
620
|
+
"sequence": 26,
|
|
621
|
+
"at": "2026-11-07T12:51:26.269Z",
|
|
622
|
+
"previousHash": "e034fbb5b84c1ac09bf10be86411b77aed4cd4fa3ef53aa60b619a52647e994e",
|
|
623
|
+
"eventHash": "92829b39609b224e8fdd2efc9c62efe1664545c3546332b16e94578ddf5c0654"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"status": 503,
|
|
627
|
+
"body": {
|
|
628
|
+
"error": "DEMO_OUTAGE",
|
|
629
|
+
"injected": true
|
|
630
|
+
},
|
|
631
|
+
"actor": "operator",
|
|
632
|
+
"type": "request",
|
|
633
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
634
|
+
"sequence": 27,
|
|
635
|
+
"at": "2026-11-07T12:51:26.269Z",
|
|
636
|
+
"previousHash": "92829b39609b224e8fdd2efc9c62efe1664545c3546332b16e94578ddf5c0654",
|
|
637
|
+
"eventHash": "1cffc4424fcaaa2aec74c63c1a0cf9e8ee7870044897fb63e441dccb3bb48cb3"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"decision": "CONTINUE",
|
|
641
|
+
"reason": "SERVICE_HEALTHY_OR_WITHIN_FAILURE_LIMIT",
|
|
642
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
643
|
+
"actor": "operator",
|
|
644
|
+
"type": "policy",
|
|
645
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
646
|
+
"sequence": 28,
|
|
647
|
+
"at": "2026-11-07T12:51:34.679Z",
|
|
648
|
+
"previousHash": "1cffc4424fcaaa2aec74c63c1a0cf9e8ee7870044897fb63e441dccb3bb48cb3",
|
|
649
|
+
"eventHash": "c3f9051537e73bb9464cea1e1b2689838c3e470cc432f09063b80add1e77dcb5"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"decision": "CONTINUE",
|
|
653
|
+
"reason": "REQUEST_WITHIN_POLICY",
|
|
654
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
655
|
+
"actor": "operator",
|
|
656
|
+
"type": "policy",
|
|
657
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
658
|
+
"sequence": 29,
|
|
659
|
+
"at": "2026-11-07T12:51:34.680Z",
|
|
660
|
+
"previousHash": "c3f9051537e73bb9464cea1e1b2689838c3e470cc432f09063b80add1e77dcb5",
|
|
661
|
+
"eventHash": "f2914f76a313f48a27ff624ef9f15b7d293ec3e38799f6f5eef6069c928dbe2d"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"status": 503,
|
|
665
|
+
"body": {
|
|
666
|
+
"error": "DEMO_OUTAGE",
|
|
667
|
+
"injected": true
|
|
668
|
+
},
|
|
669
|
+
"actor": "operator",
|
|
670
|
+
"type": "request",
|
|
671
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
672
|
+
"sequence": 30,
|
|
673
|
+
"at": "2026-11-07T12:51:34.680Z",
|
|
674
|
+
"previousHash": "f2914f76a313f48a27ff624ef9f15b7d293ec3e38799f6f5eef6069c928dbe2d",
|
|
675
|
+
"eventHash": "2db7058bff68bbaaaf8ddea933fcd5bf876adfd2b7a680498910f04f10f865cc"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"decision": "CONTINUE",
|
|
679
|
+
"reason": "SERVICE_HEALTHY_OR_WITHIN_FAILURE_LIMIT",
|
|
680
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
681
|
+
"actor": "operator",
|
|
682
|
+
"type": "policy",
|
|
683
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
684
|
+
"sequence": 31,
|
|
685
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
686
|
+
"previousHash": "2db7058bff68bbaaaf8ddea933fcd5bf876adfd2b7a680498910f04f10f865cc",
|
|
687
|
+
"eventHash": "c53b993e40c2905ed59beccbbe2c274cc482941e5fc5a7e14fb0a559743a156c"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"decision": "CLOSE",
|
|
691
|
+
"reason": "SERVICE_5XX_LIMIT",
|
|
692
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
693
|
+
"actor": "operator",
|
|
694
|
+
"type": "policy",
|
|
695
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
696
|
+
"sequence": 32,
|
|
697
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
698
|
+
"previousHash": "c53b993e40c2905ed59beccbbe2c274cc482941e5fc5a7e14fb0a559743a156c",
|
|
699
|
+
"eventHash": "97e1dac029c759d7ac3394d581b205d098633f3ea9b00118f25d09130c1fa7ef"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"decision": "CLOSE",
|
|
703
|
+
"reason": "SERVICE_5XX_LIMIT",
|
|
704
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
705
|
+
"actor": "operator",
|
|
706
|
+
"type": "policy",
|
|
707
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
708
|
+
"sequence": 33,
|
|
709
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
710
|
+
"previousHash": "97e1dac029c759d7ac3394d581b205d098633f3ea9b00118f25d09130c1fa7ef",
|
|
711
|
+
"eventHash": "5187dd858ea00fbb72a9013f94f9a3740b6d445706b24a387328c22d1d454dd0"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"hash": "7Nkpr5ViXUyKLrBMe32yCVXrYGteLLjQNEEAnmBWnavM",
|
|
715
|
+
"signerId": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
716
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
413
717
|
"value": {
|
|
414
|
-
"session_id": "
|
|
718
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
415
719
|
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
416
|
-
"quote_hash": "
|
|
720
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
417
721
|
"deposit": "10000",
|
|
418
722
|
"rate": "10",
|
|
419
723
|
"duration_seconds": 1000,
|
|
420
|
-
"started_at": "
|
|
421
|
-
"closed_at": "
|
|
422
|
-
"earned": "
|
|
423
|
-
"refunded": "
|
|
724
|
+
"started_at": "1794055874",
|
|
725
|
+
"closed_at": "1794055906",
|
|
726
|
+
"earned": "320",
|
|
727
|
+
"refunded": "9680"
|
|
424
728
|
},
|
|
425
729
|
"receiptFailures": [],
|
|
426
730
|
"receiptIds": [
|
|
427
|
-
"
|
|
428
|
-
"
|
|
731
|
+
"2FV135AvcnVC37uBnV5dhHD8VvgNzrfTz9Ctw5vpo8Qx",
|
|
732
|
+
"466mGQ76V8bNvDdCYWRLYbgRwJZ9EBRYHHTDjLwc2cWQ"
|
|
429
733
|
],
|
|
430
734
|
"logs": [
|
|
431
|
-
"EVENT_JSON:{\"data\":[{\"closed_at\":\"
|
|
432
|
-
]
|
|
735
|
+
"EVENT_JSON:{\"data\":[{\"closed_at\":\"1794055906\",\"deposit\":\"10000\",\"duration_seconds\":1000,\"earned\":\"320\",\"quote_hash\":\"c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1\",\"rate\":\"10\",\"recipient_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"refunded\":\"9680\",\"session_id\":\"4eca839d-5fba-47e8-b791-f036a39a7b00\",\"started_at\":\"1794055874\"}],\"event\":\"closed\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
736
|
+
],
|
|
737
|
+
"action": "CLOSE",
|
|
738
|
+
"reason": "SERVICE_5XX_LIMIT",
|
|
739
|
+
"type": "transaction",
|
|
740
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
741
|
+
"sequence": 34,
|
|
742
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
743
|
+
"previousHash": "5187dd858ea00fbb72a9013f94f9a3740b6d445706b24a387328c22d1d454dd0",
|
|
744
|
+
"eventHash": "153d42776c6b446d8fb0bc886bf4cdf17852288ff59ed180cf30bc4d6526c7d2"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"stream": {
|
|
748
|
+
"session_id": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
749
|
+
"recipient_id": "agentpay-provider-20261102-b685bb.testnet",
|
|
750
|
+
"quote_hash": "c04fa8c9b0abb5630b3122c82491ff60e8a7d7a75f5bf1fbc6da7f6991e506e1",
|
|
751
|
+
"deposit": "10000",
|
|
752
|
+
"rate": "10",
|
|
753
|
+
"duration_seconds": 1000,
|
|
754
|
+
"started_at": "1794055874",
|
|
755
|
+
"closed_at": "1794055906",
|
|
756
|
+
"earned": "320",
|
|
757
|
+
"refunded": "9680"
|
|
758
|
+
},
|
|
759
|
+
"type": "settled",
|
|
760
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
761
|
+
"sequence": 35,
|
|
762
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
763
|
+
"previousHash": "153d42776c6b446d8fb0bc886bf4cdf17852288ff59ed180cf30bc4d6526c7d2",
|
|
764
|
+
"eventHash": "22d8cae2d9956e9fcf7fc24f6583dac5558f12742d49439b8f6d18a798ad1262"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"status": 503,
|
|
768
|
+
"body": {
|
|
769
|
+
"error": "DEMO_OUTAGE",
|
|
770
|
+
"injected": true
|
|
771
|
+
},
|
|
772
|
+
"actor": "operator",
|
|
773
|
+
"type": "request",
|
|
774
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
775
|
+
"sequence": 36,
|
|
776
|
+
"at": "2026-11-07T12:51:48.817Z",
|
|
777
|
+
"previousHash": "22d8cae2d9956e9fcf7fc24f6583dac5558f12742d49439b8f6d18a798ad1262",
|
|
778
|
+
"eventHash": "271ee8b54a80df1e4635d56afbad05fe41b07e4a8a3e8992df3e30f718cac9ec"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"ok": true,
|
|
782
|
+
"type": "finished",
|
|
783
|
+
"runId": "d2d8706b-0775-4930-bd75-228b92d32151",
|
|
784
|
+
"sequence": 37,
|
|
785
|
+
"at": "2026-11-07T12:51:57.663Z",
|
|
786
|
+
"previousHash": "271ee8b54a80df1e4635d56afbad05fe41b07e4a8a3e8992df3e30f718cac9ec",
|
|
787
|
+
"eventHash": "e50ffca4884de495d21c4ffdb1bffbe4fc680e57706adf7c88723e5a3ffdb05b"
|
|
433
788
|
}
|
|
434
789
|
],
|
|
790
|
+
"results": {
|
|
791
|
+
"9f3553f7-be94-4548-b6dc-be22a06d36e6": {
|
|
792
|
+
"sessionId": "9f3553f7-be94-4548-b6dc-be22a06d36e6",
|
|
793
|
+
"providerPayment": "claimable"
|
|
794
|
+
},
|
|
795
|
+
"4eca839d-5fba-47e8-b791-f036a39a7b00": {
|
|
796
|
+
"sessionId": "4eca839d-5fba-47e8-b791-f036a39a7b00",
|
|
797
|
+
"providerPayment": "claimable"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"simulation": false,
|
|
801
|
+
"vaultId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
802
|
+
"runtimePolicy": {
|
|
803
|
+
"maxConsecutive5xx": 3,
|
|
804
|
+
"maxConsecutiveTransportErrors": 2,
|
|
805
|
+
"maxConsecutiveHealthFailures": 2,
|
|
806
|
+
"idleTimeoutSeconds": 180,
|
|
807
|
+
"maxRequestsPerStream": 20,
|
|
808
|
+
"healthPollSeconds": 10,
|
|
809
|
+
"failureCooldownSeconds": 1,
|
|
810
|
+
"reuseStream": true,
|
|
811
|
+
"closeOnExit": true
|
|
812
|
+
},
|
|
813
|
+
"service": {
|
|
814
|
+
"source": "Repository analysis",
|
|
815
|
+
"repositoryName": "agentpay-review-memforks",
|
|
816
|
+
"serviceUrl": "http://127.0.0.1:49524",
|
|
817
|
+
"pricing": {
|
|
818
|
+
"basicRateRawPerSecond": "10",
|
|
819
|
+
"premiumRateRawPerSecond": "200",
|
|
820
|
+
"leaseSeconds": 1000
|
|
821
|
+
},
|
|
822
|
+
"scope": "Local model and operator-selected local service; public NEAR testnet settlement. Operator separately injects failures and tests contract rejection."
|
|
823
|
+
},
|
|
824
|
+
"agent": {
|
|
825
|
+
"model": "hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q4_K_M",
|
|
826
|
+
"provider": "Ollama local",
|
|
827
|
+
"apiKeyUsed": false
|
|
828
|
+
},
|
|
829
|
+
"providerPayout": {
|
|
830
|
+
"hash": "61839ZyxuhpKJX1Jm2mSo3j9h6ihCic8ABCGyCUnNE2d",
|
|
831
|
+
"signerId": "agentpay-provider-20261102-b685bb.testnet",
|
|
832
|
+
"receiverId": "review1107.agentpay-owner-20261102-adf970.testnet",
|
|
833
|
+
"value": true,
|
|
834
|
+
"receiptFailures": [],
|
|
835
|
+
"receiptIds": [
|
|
836
|
+
"9h2e7qoTb3DKZiH5ZPxNNWbPCJq6B3hzdCX13mro76P9",
|
|
837
|
+
"DRkL5wpUPL7hjWQcX6U25u8rwbU6wd45iact2N5neYQd",
|
|
838
|
+
"tiv3XejPkmA131gKubFPy6jsnJG9krrsMfUkHPRHs2z",
|
|
839
|
+
"2FdqM5EBsMooeq7HccgAcddBBAqY3EYR6JbwmgfBT8AY",
|
|
840
|
+
"3JaZJhEwD3kFwjWQWEWWgjKnDcuWfLBqVbckDnJj5ibY",
|
|
841
|
+
"GMrWyvL5VrF7Xfn6AWJiWoqevsR1FCs7aiSwYrBp23d2"
|
|
842
|
+
],
|
|
843
|
+
"logs": [
|
|
844
|
+
"EVENT_JSON:{\"standard\":\"nep141\",\"version\":\"1.0.0\",\"event\":\"ft_transfer\",\"data\":[{\"old_owner_id\":\"review1107.agentpay-owner-20261102-adf970.testnet\",\"new_owner_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"amount\":\"610\",\"memo\":\"AgentPay payout\"}]}",
|
|
845
|
+
"EVENT_JSON:{\"data\":[{\"amount\":\"610\",\"payout_id\":\"0\",\"receiver_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"success\":true}],\"event\":\"payout\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
846
|
+
]
|
|
847
|
+
},
|
|
435
848
|
"finalVault": {
|
|
436
849
|
"version": "2.0.0",
|
|
437
850
|
"owner_id": "agentpay-owner-20261102-adf970.testnet",
|
|
438
851
|
"token_id": "3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af",
|
|
439
|
-
"agent_id": "
|
|
440
|
-
"agent_key": "ed25519:
|
|
441
|
-
"policy_key": "ed25519:
|
|
852
|
+
"agent_id": "review-agent1107.agentpay-owner-20261102-adf970.testnet",
|
|
853
|
+
"agent_key": "ed25519:EKe43EMb5o36nTySgTWVVSK8y9iGcT6DCxYNtD7x6rHo",
|
|
854
|
+
"policy_key": "ed25519:Borfo8aDTrppPdcq3mdeP1P6oELrhZSMohQC4CRDHeKa",
|
|
442
855
|
"policy": {
|
|
443
|
-
"budget": "
|
|
856
|
+
"budget": "50000",
|
|
444
857
|
"max_deposit": "10000",
|
|
445
858
|
"max_rate": "100",
|
|
446
859
|
"max_duration_seconds": 1000,
|
|
@@ -448,34 +861,15 @@
|
|
|
448
861
|
"agentpay-provider-20261102-b685bb.testnet"
|
|
449
862
|
]
|
|
450
863
|
},
|
|
451
|
-
"available": "
|
|
452
|
-
"spent": "
|
|
864
|
+
"available": "49390",
|
|
865
|
+
"spent": "610",
|
|
453
866
|
"reserved": "0",
|
|
454
867
|
"claimable_total": "0",
|
|
455
868
|
"pending_total": "0",
|
|
456
|
-
"next_nonce": "
|
|
869
|
+
"next_nonce": "7",
|
|
457
870
|
"active_session": null,
|
|
458
871
|
"paused": false,
|
|
459
|
-
"now": "
|
|
460
|
-
},
|
|
461
|
-
"providerPayout": {
|
|
462
|
-
"hash": "GLcCc9BtNwpahtnXvJmeuLo1A4HVTpdDEULRbmmAgCzH",
|
|
463
|
-
"signerId": "agentpay-provider-20261102-b685bb.testnet",
|
|
464
|
-
"receiverId": "agentpay.agentpay-owner-20261102-adf970.testnet",
|
|
465
|
-
"value": true,
|
|
466
|
-
"receiptFailures": [],
|
|
467
|
-
"receiptIds": [
|
|
468
|
-
"HUHkrEvnsxquJRUdpaJUsCPxF3DvKvMrGecuFAMSgiDh",
|
|
469
|
-
"F1LcZQpFkM1m8rFZHBcNLoi6noBDztKMECBqLhWHDT9C",
|
|
470
|
-
"xzUeeRTYABdTroMUEq7VM5jpPZ1uvpyh4XAeHwvxHV9",
|
|
471
|
-
"HnmXhGrRDCxu9SEfgrnBCeAsBhKvvLEkYrosdBm2VfWr",
|
|
472
|
-
"Fm6yMQMXn5uLX7BghBHQSa8LK5QszJBEeq9CJJHbraFE",
|
|
473
|
-
"7kGpTtaAb64BHfwxSb7SpSnBgeup4Pd8FUEywZLJSRFs"
|
|
474
|
-
],
|
|
475
|
-
"logs": [
|
|
476
|
-
"EVENT_JSON:{\"standard\":\"nep141\",\"version\":\"1.0.0\",\"event\":\"ft_transfer\",\"data\":[{\"old_owner_id\":\"agentpay.agentpay-owner-20261102-adf970.testnet\",\"new_owner_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"amount\":\"660\",\"memo\":\"AgentPay payout\"}]}",
|
|
477
|
-
"EVENT_JSON:{\"data\":[{\"amount\":\"660\",\"payout_id\":\"0\",\"receiver_id\":\"agentpay-provider-20261102-b685bb.testnet\",\"success\":true}],\"event\":\"payout\",\"standard\":\"agentpay\",\"version\":\"1.0.0\"}"
|
|
478
|
-
]
|
|
872
|
+
"now": "1794055915"
|
|
479
873
|
},
|
|
480
|
-
"
|
|
874
|
+
"ok": true
|
|
481
875
|
}
|