Skip to content

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

chore(ci): update baseline paths after agent module move

Steven Enamakele2d4ec881520
diff --git a/scripts/ci/saas-ambient-baseline.json b/scripts/ci/saas-ambient-baseline.json
index 6722a84075..aaf68b2ff4 100644
--- a/scripts/ci/saas-ambient-baseline.json
+++ b/scripts/ci/saas-ambient-baseline.json
@@ -1,7 +1,7 @@
[
{
"rule": "ambient-config",
- "path": "crates/openhuman-core/src/agent/debug/mod.rs",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/mod.rs",
"line": 159,
"text": "Config::load_or_init()",
"occurrence": 1
diff --git a/scripts/ci/storage-bypass-baseline.json b/scripts/ci/storage-bypass-baseline.json
index f2d912f913..caaeeae976 100644
--- a/scripts/ci/storage-bypass-baseline.json
+++ b/scripts/ci/storage-bypass-baseline.json
@@ -36,35 +36,35 @@
},
{
"rule": "json-write",
- "path": "crates/openhuman-core/src/agent/debug/dump_writer.rs",
+ "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/agent/debug/dump_writer.rs",
+ "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/agent/debug/dump_writer.rs",
+ "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/agent/debug/dump_writer.rs",
+ "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/agent/debug/dump_writer.rs",
+ "path": "crates/openhuman-core/src/core/agent_cli/debug/dump_writer.rs",
"line": 86,
"text": "std::fs::write(&summary_path, &summary)",
"occurrence": 1
diff --git a/scripts/prompt-report.sh b/scripts/prompt-report.sh
index 1327555ccb..7b324eee74 100755
--- a/scripts/prompt-report.sh
+++ b/scripts/prompt-report.sh
@@ -12,7 +12,7 @@
# numbers describe the repo, not whoever is logged in.
# --workspace <dir> Measure a real, signed-in workspace instead.
#
-# Units are bytes. `~tok` is bytes / `EST_BYTES_PER_TOKEN` (agent/debug/
+# Units are bytes. `~tok` is bytes / `EST_BYTES_PER_TOKEN` (core/agent_cli/debug/
# prompt_size.rs, read at run time), the same reading aid `prompt-size` prints —
# a divisor, not a tokenizer. A real token count is true for one model only, and the fleet
# spans several.
@@ -30,7 +30,7 @@ done
# The divisor is read from the Rust constant so the two cannot drift.
TOK="$(grep -oE 'EST_BYTES_PER_TOKEN: usize = [0-9]+' \
- crates/openhuman-core/src/agent/debug/prompt_size.rs | grep -oE '[0-9]+$')" \
+ crates/openhuman-core/src/core/agent_cli/debug/prompt_size.rs | grep -oE '[0-9]+$')" \
|| { echo "EST_BYTES_PER_TOKEN not found in prompt_size.rs" >&2; exit 1; }
if [[ -n "$REAL_WORKSPACE" ]]; then