summaryrefslogtreecommitdiff
path: root/Omni
diff options
context:
space:
mode:
Diffstat (limited to 'Omni')
-rw-r--r--Omni/Agent/Worker.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs
index c52d4a9..8adb7c2 100644
--- a/Omni/Agent/Worker.hs
+++ b/Omni/Agent/Worker.hs
@@ -355,10 +355,11 @@ buildBasePrompt task ns repo =
<> "3. Run 'bild --test "
<> ns
<> "' ONCE after implementing.\n"
- <> "4. If tests pass, you are DONE - stop immediately.\n"
+ <> "4. **CRITICAL**: If tests pass, STOP IMMEDIATELY. Do not verify, do not review, do not trace logic, do not search for usages. Just stop.\n"
<> "5. If tests fail, fix the issue and run tests again.\n"
<> "6. If tests fail 3 times on the same issue, STOP - the task will be marked for human review.\n"
- <> "7. Do NOT update task status or manage git - the worker handles that.\n\n"
+ <> "7. Do NOT update task status or manage git - the worker handles that.\n"
+ <> "8. After tests pass, ANY further tool calls are wasted money. The worker will commit your changes.\n\n"
<> "AUTONOMOUS OPERATION (NO HUMAN IN LOOP):\n"
<> "- You are running autonomously without human intervention\n"
<> "- There is NO human to ask questions or get clarification from\n"
@@ -370,7 +371,7 @@ buildBasePrompt task ns repo =
<> ns
<> "' tests ALL dependencies transitively - run it ONCE, not per-file\n"
<> "- Do NOT run bild --test on individual files separately\n"
- <> "- Once tests pass, STOP - do not continue adding features or re-running tests\n"
+ <> "- Once tests pass, STOP IMMEDIATELY - no verification, no double-checking, no 'one more look'\n"
<> "- Use 'lint --fix' for formatting issues (not hlint directly)\n\n"
<> "EFFICIENCY REQUIREMENTS:\n"
<> "- Do not repeat the same action multiple times\n"