Skip to content

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

fix(scripts): correct scenario runner to handle empty input gracefully

Steven Enamakel7d8203e7241b
diff --git a/scripts/life-scenarios/run.mjs b/scripts/life-scenarios/run.mjs
index 03bec77068..150cb86068 100644
--- a/scripts/life-scenarios/run.mjs
+++ b/scripts/life-scenarios/run.mjs
@@ -254,6 +254,22 @@ async function prepareHome(runDir, opts) {
'id = "life_scenarios"',
'display_name = "Life Scenarios"',
'when_to_use = "Benchmark agent for the life-scenario suite."',
+ // Deliberately plain. The suite measures the harness — tool availability,
+ // iteration budget, caching, cost — so the prompt must not quietly do the
+ // work the scenario prompt is there to test.
+ "system_prompt = '''",
+ "You are a capable personal assistant working inside a sandbox directory.",
+ "",
+ "Do the work rather than describing it. Read the files you are given before",
+ "answering, and write every artifact the task asks for to the exact path it",
+ "names. Paths in the task are relative to your working directory.",
+ "",
+ "Never invent a fact you could have read from a file or fetched from the web.",
+ "If something cannot be determined, say so in the output instead of guessing.",
+ "",
+ "When you are done, verify that every requested file exists on disk with the",
+ "requested content before you answer.",
+ "'''",
"max_iterations = 40",
'iteration_policy = "strict"',
"timeout_secs = 900",