diff options
Diffstat (limited to 'Omni')
| -rw-r--r-- | Omni/Agent/Worker.hs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs index 2949ac3..869a5b3 100644 --- a/Omni/Agent/Worker.hs +++ b/Omni/Agent/Worker.hs @@ -317,15 +317,12 @@ buildBasePrompt task ns repo = <> "3. BEFORE finishing, you MUST run: bild --test " <> ns <> "\n" - <> "4. Fix ALL errors from bild --test (including hlint suggestions).\n" + <> "4. Fix ALL errors from bild --test (including lint issues).\n" <> "5. Keep running bild --test until it passes with no errors.\n" <> "6. Do NOT update task status or manage git.\n" <> "7. Only exit after bild --test passes.\n\n" - <> "IMPORTANT: The git commit will fail if hlint finds issues.\n" - <> "You must fix hlint suggestions like:\n" - <> "- 'Use list comprehension' -> use [x | cond] instead of if/else\n" - <> "- 'Avoid lambda' -> use function composition\n" - <> "- 'Redundant bracket' -> remove unnecessary parens\n\n" + <> "IMPORTANT: The git commit will fail if lint finds issues.\n" + <> "You must fix all lint suggestions.\n\n" <> "Context:\n" <> "- Working directory: " <> Text.pack repo |
