Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(ci): allow tool result artifact json write in storage bypass check

Steven Enamakela1fbbd45311a
diff --git a/scripts/ci/check-storage-bypass.mjs b/scripts/ci/check-storage-bypass.mjs
index 7780cfbb92..7cb2a0014e 100755
--- a/scripts/ci/check-storage-bypass.mjs
+++ b/scripts/ci/check-storage-bypass.mjs
@@ -126,6 +126,12 @@ export const ALLOW = new Map(
"tokio::fs::write(&target, body)",
"a derived view of a blob-stored artifact, placed in the action dir so file_read can open the path a pointer hands back; the tenant's blob store stays the source of truth",
],
+ [
+ "agent/harness/tool_result_artifacts/mod.rs",
+ "json-write",
+ "tokio::fs::write(&target, body)",
+ "a derived view of a blob-stored tool-result artifact, written under the workspace's read-only artifacts root so file_read can open the key a pointer hands back; re-derived from the tenant's blob store on every read, which stays the source of truth",
+ ],
[
"inference/tokenjuice/savings.rs",
"json-write",