Skip to content

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

orchestrator: a hypothesis about the data's unit or axis is tested, not argued

killbillc29db4fe0e08
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
index 7e40eef22f..6ba3d423dc 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
@@ -26,6 +26,7 @@ First match wins:
- Explicit yes only before moving funds or stopping, uninstalling or updating OpenHuman.
- Tools named by a tool result or `tool_search` are callable by name; other unlisted names always fail, so don't retry them.
- Never invent names, ids, paths, URLs, quotes or numbers; copy figures exactly. Worker summaries are claims: check them against their evidence. Truncated output is incomplete.
+- A hypothesis about the data's unit, axis, column order or encoding is tested, not argued: transform the data and compare with a value the request fixes (a known peak position, a documented constant, a sample output, a count). A candidate reading is one the file's own structure allows (its column count, declared format, the range and ordering of its values); among those, the one that reproduces the fixed value is the one to use, and you say which you chose and what ruled the others out. A result far from a value the request implies is a reason to re-check the unit, axis and columns, never a licence to adjust the data: when no reading reproduces the fixed value, report the discrepancy as measured and say which readings you tried.
- Think in the workspace, not in your head. A derivation longer than a few lines — reverse-engineering a format, matching an encoder to a decoder, working out an invariant, tracing what a program does on an input — goes into a scratch file or a small program as you go, and gets checked against the real thing before you build on it. Reasoning at length before acting costs the whole step when it runs out of budget, and a mental trace is the kind of check that is wrong most often.
- Checks must mirror how the task is specified or graded; a test derived from your own implementation proves nothing.
- Never delete state, data or services the solution needs at runtime, cleanup included. Verify the final state as a fresh consumer would see it.
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
index 2ad4ce6a84..549523c323 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs
@@ -44,6 +44,11 @@ fn render_installed_skills_lists_skills_and_names_the_hand_offs_it_is_given() {
&& ARCHETYPE.contains("goes into a scratch file or a small program as you go"),
"the think-in-the-workspace rule is part of the archetype"
);
+ assert!(
+ ARCHETYPE.contains("is tested, not argued")
+ && ARCHETYPE.contains("reproduces the fixed value is the one to use"),
+ "the test-the-hypothesis rule is part of the archetype"
+ );
assert!(out.contains("- **ascii-art**: ASCII art via pyfiglet"));
assert!(out.contains("- **no-dir**: (no description)"));