Skip to content

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

orchestrator: think in the workspace, not in your head

killbill8c78bcb62ef1
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 8ba51541fe..7e40eef22f 100644
--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md
@@ -26,5 +26,6 @@ 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.
+- 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 ed415ce3c7..2ad4ce6a84 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
@@ -39,6 +39,11 @@ fn render_installed_skills_lists_skills_and_names_the_hand_offs_it_is_given() {
// than again in every skills section.
assert!(!out.contains("Handoff Plan"));
assert!(ARCHETYPE.contains("Act on a returned `## Handoff Plan` yourself"));
+ assert!(
+ ARCHETYPE.contains("Think in the workspace, not in your head")
+ && 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!(out.contains("- **ascii-art**: ASCII art via pyfiglet"));
assert!(out.contains("- **no-dir**: (no description)"));