commit 5be7e6fa61d08432674b3c9bae60dd354b36cdbb
Author: Ben Sima <ben@bensima.com>
Date: Mon Dec 1 04:36:28 2025
Fix Worker.hs prompt to use lint instead of hlint
Perfect! The changes have been successfully implemented. Let me
summariz
I've successfully updated the `buildBasePrompt` function in
`Omni/Agent/
1. **Line 320**: Changed "including hlint suggestions" → "including
lint 2. **Line 324**: Changed "if hlint finds issues" → "if lint
finds issues 3. **Line 325**: Changed "You must fix hlint suggestions
like:" → "You m 4. **Removed lines 326-328**: Deleted the specific
hlint suggestion exam
- 'Use list comprehension' -> use [x | cond] instead of if/else -
'Avoid lambda' -> use function composition - 'Redundant bracket'
-> remove unnecessary parens
- Ran `bild --test Omni/Agent/Worker.hs` ✓ PASSED with no errors
The prompt now correctly references the `lint` command instead of
`hlint
Task-Id: t-199
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs
index 2949ac3f..869a5b3b 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