fix(evidence): cancel exports before atomic publication

This commit is contained in:
Ysopwnable
2026-10-09 09:29:22 +08:00
committed by GitHub
parent 2609352eef
commit 16624f1324
6 changed files with 308 additions and 16 deletions
+2
View File
@@ -195,6 +195,8 @@ workflow, or call `export_evidence_bundle` with a destination path. Complete
bundle exports stream canonical JSON into an atomically published file. A broad
follow-up or `get_evidence_bundle` can also exceed the response budget; exporting
preserves the complete session without sending it through a single MCP frame.
Cancelling an export stops further serialization and removes its staging file.
The destination changes only when a complete export is atomically published.
Clients that explicitly configure a larger receive buffer can set the REA
server's `REA_MCP_MAX_RESPONSE_BYTES` environment variable to the same byte