You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/stackflow-agent/README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,9 @@ const result = await agent.acceptIncomingTransfer({
135
135
4. Watcher retries are idempotent for already-disputed closures (same closure txid is skipped on later polls).
136
136
5. Read-only polling isolates per-pipe failures (`getPipeState` errors on one pipe do not stop others).
137
137
6. Event scan mode intentionally holds the cursor when any dispute submission errors occur, so failed disputes are retried on next run.
138
-
7.`buildOutgoingTransfer(...)` defaults `actor` to the tracked local principal and rejects mismatched actor values.
139
-
8. Incoming transfer validation enforces tracked contract/pipe/principals/token consistency; mismatched `pipeId`, `pipeKey`, `actor`, or token payloads are rejected.
140
-
9. Incoming transfer validation also enforces sequential nonces and balance invariants against the latest stored local state (same total balance, and counterparty-actor updates must not reduce local balance).
141
-
10. For production hardening, add alerting, signer balance checks, and idempotency audit logs.
138
+
7. Event scan mode now reports `listErrors` (event source/indexer failures) and keeps the watcher cursor unchanged on those failures.
139
+
8. Invalid closure event payloads are skipped and counted in `invalidEvents` so one malformed record does not abort a full scan.
140
+
9.`buildOutgoingTransfer(...)` defaults `actor` to the tracked local principal and rejects mismatched actor values.
141
+
10. Incoming transfer validation enforces tracked contract/pipe/principals/token consistency; mismatched `pipeId`, `pipeKey`, `actor`, or token payloads are rejected.
142
+
11. Incoming transfer validation also enforces sequential nonces and balance invariants against the latest stored local state (same total balance, and counterparty-actor updates must not reduce local balance).
143
+
12. For production hardening, add alerting, signer balance checks, and idempotency audit logs.
0 commit comments