Skip to content

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

chore(ci): refresh storage bypass baseline

Steven Enamakelfd63047d914a
diff --git a/scripts/ci/storage-bypass-baseline.json b/scripts/ci/storage-bypass-baseline.json
index 93c5d4d471..396f577c78 100644
--- a/scripts/ci/storage-bypass-baseline.json
+++ b/scripts/ci/storage-bypass-baseline.json
@@ -1,134 +1,71 @@
[
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/attachments/legacy.rs",
- "line": 143,
- "text": "let mut file = tokio::fs::OpenOptions::new()",
+ "path": "crates/openhuman-core/src/agent/prompts/agents_md.rs",
+ "line": 198,
+ "text": "std::fs::OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/attachments/mod.rs",
- "line": 288,
- "text": "let mut file = tokio::fs::OpenOptions::new()",
+ "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs",
+ "line": 115,
+ "text": "let file = OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/attachments/provider_cache.rs",
- "line": 163,
- "text": "let mut file = tokio::fs::OpenOptions::new()",
+ "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs",
+ "line": 205,
+ "text": "std::fs::write(&temporary, bytes)",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/security/secure_open.rs",
- "line": 20,
- "text": "let filesystem_root = std::fs::OpenOptions::new()",
- "occurrence": 1
+ "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs",
+ "line": 221,
+ "text": "std::fs::write(&temporary, bytes)",
+ "occurrence": 2
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/attachments/provider_source.rs",
- "line": 232,
+ "path": "crates/openhuman-core/src/attachments/legacy.rs",
+ "line": 143,
"text": "let mut file = tokio::fs::OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
- "line": 48,
- "text": "std::fs::write(&prompt_path, &dumped.text)",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
- "line": 50,
- "text": "std::fs::write(&meta_path, render_meta(dumped))",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
- "line": 56,
- "text": "std::fs::write(",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
- "line": 69,
- "text": "std::fs::write(&wire_path, super::wire::render(dumped))",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
- "line": 86,
- "text": "std::fs::write(&summary_path, &summary)",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/core/observability/progress_tracing/export.rs",
- "line": 33,
- "text": "let opened = std::fs::OpenOptions::new()",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/agent/prompts/agents_md.rs",
- "line": 198,
- "text": "std::fs::OpenOptions::new()",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/prompts/workspace_files.rs",
- "line": 91,
- "text": "if let Err(e) = std::fs::write(&path, default_content) {",
- "occurrence": 1
- },
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/prompts/workspace_files.rs",
- "line": 101,
- "text": "let _ = std::fs::write(&hash_path, &current_hash);",
+ "path": "crates/openhuman-core/src/attachments/mod.rs",
+ "line": 314,
+ "text": "let mut file = tokio::fs::OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle.rs",
- "line": 668,
- "text": "let file = OpenOptions::new()",
+ "path": "crates/openhuman-core/src/attachments/provider_cache.rs",
+ "line": 164,
+ "text": "let mut file = tokio::fs::OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle.rs",
- "line": 758,
- "text": "std::fs::write(&temporary, bytes)",
+ "path": "crates/openhuman-core/src/attachments/provider_source.rs",
+ "line": 232,
+ "text": "let mut file = tokio::fs::OpenOptions::new()",
"occurrence": 1
},
- {
- "rule": "json-write",
- "path": "crates/openhuman-core/src/agent/subagent_host/lifecycle.rs",
- "line": 774,
- "text": "std::fs::write(&temporary, bytes)",
- "occurrence": 2
- },
{
"rule": "json-write",
"path": "crates/openhuman-core/src/config/migrations/phase_out_profile_md.rs",
- "line": 192,
+ "line": 175,
"text": "match fs::write(&md_path, cleaned.as_bytes()) {",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/config/ops/ui.rs",
- "line": 321,
+ "line": 327,
"text": "std::fs::write(&flag_path, \"\")",
"occurrence": 1
},
@@ -174,6 +111,41 @@
"text": "std::fs::write(&path, default_contents).map_err(|e| {",
"occurrence": 1
},
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
+ "line": 48,
+ "text": "std::fs::write(&prompt_path, &dumped.text)",
+ "occurrence": 1
+ },
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
+ "line": 50,
+ "text": "std::fs::write(&meta_path, render_meta(dumped))",
+ "occurrence": 1
+ },
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
+ "line": 56,
+ "text": "std::fs::write(",
+ "occurrence": 1
+ },
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
+ "line": 69,
+ "text": "std::fs::write(&wire_path, super::wire::render(dumped))",
+ "occurrence": 1
+ },
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
+ "line": 86,
+ "text": "std::fs::write(&summary_path, &summary)",
+ "occurrence": 1
+ },
{
"rule": "json-write",
"path": "crates/openhuman-core/src/core/auth.rs",
@@ -188,17 +160,24 @@
"text": "std::fs::write(path, token)?;",
"occurrence": 1
},
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/core/observability/progress_tracing/export.rs",
+ "line": 33,
+ "text": "let opened = std::fs::OpenOptions::new()",
+ "occurrence": 1
+ },
{
"rule": "json-write",
"path": "crates/openhuman-core/src/flows/tinyflows/caps/code.rs",
- "line": 112,
+ "line": 127,
"text": "tokio::fs::write(&script_path, script_body)",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/flows/tinyflows/caps/code.rs",
- "line": 115,
+ "line": 130,
"text": "tokio::fs::write(&input_path, input_json)",
"occurrence": 1
},
@@ -212,7 +191,7 @@
{
"rule": "json-write",
"path": "crates/openhuman-core/src/integrations/file_storage/tools/download.rs",
- "line": 84,
+ "line": 89,
"text": "if let Err(e) = tokio::fs::write(&path, &body).await {",
"occurrence": 1
},
@@ -321,6 +300,20 @@
"text": "std::fs::write(&layout.meta_path, raw)",
"occurrence": 1
},
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/prompts/workspace_files.rs",
+ "line": 91,
+ "text": "if let Err(e) = std::fs::write(&path, default_content) {",
+ "occurrence": 1
+ },
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/prompts/workspace_files.rs",
+ "line": 101,
+ "text": "let _ = std::fs::write(&hash_path, &current_hash);",
+ "occurrence": 1
+ },
{
"rule": "json-write",
"path": "crates/openhuman-core/src/security/audit.rs",
@@ -331,21 +324,21 @@
{
"rule": "json-write",
"path": "crates/openhuman-core/src/security/credentials/http_creds.rs",
- "line": 420,
+ "line": 424,
"text": "fs::write(&tmp_path, &json)",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/security/credentials/profiles.rs",
- "line": 284,
+ "line": 288,
"text": "let mut file = OpenOptions::new()",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/security/credentials/profiles.rs",
- "line": 297,
+ "line": 301,
"text": "fs::write(path, bytes)",
"occurrence": 1
},
@@ -398,6 +391,13 @@
"text": "match OpenOptions::new()",
"occurrence": 1
},
+ {
+ "rule": "json-write",
+ "path": "crates/openhuman-core/src/security/secure_open.rs",
+ "line": 20,
+ "text": "let filesystem_root = std::fs::OpenOptions::new()",
+ "occurrence": 1
+ },
{
"rule": "json-write",
"path": "crates/openhuman-core/src/skills/ops_create.rs",
@@ -422,28 +422,28 @@
{
"rule": "json-write",
"path": "crates/openhuman-core/src/threads/welcome_migration.rs",
- "line": 298,
+ "line": 302,
"text": "fs::write(path, rewritten).map_err(|e| {",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/threads/welcome_migration.rs",
- "line": 389,
+ "line": 393,
"text": "fs::write(marker, b\"done\\n\").map_err(|e| {",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/tools/impl/document/mod.rs",
- "line": 264,
+ "line": 304,
"text": "if let Err(err) = tokio::fs::write(&output_path, &bytes).await {",
"occurrence": 1
},
{
"rule": "json-write",
"path": "crates/openhuman-core/src/tools/impl/presentation/mod.rs",
- "line": 365,
+ "line": 416,
"text": "if let Err(err) = tokio::fs::write(&output_path, &bytes).await {",
"occurrence": 1
},