Facts learned during task execution.
NEVER run hlint directly. Always use the lint command instead: lint <file>. The ...
Files: Omni/Lint.hs, AGENTS.md
Agent events are logged in Worker.hs and rendered in Web.hs without additional p...
Files: Omni/Agent/Worker.hs, Omni/Jr/Web.hs
The logEvent helper function in Worker.hs was originally JSON-encoding all event...
Files: Omni/Agent/Worker.hs
Cost events require JSON-encoded structured data while other agent events (Assis...
Files: Omni/Agent/Worker.hs
Agent event types include: Assistant (message text), ToolCall (tool descriptions...
Files: Omni/Agent/Worker.hs
The Web.hs rendering functions expect pre-formatted text content and display it ...
Files: Omni/Jr/Web.hs
Agent event content is JSON-encoded when stored in the database via insertAgentE...
Files: Omni/Agent/Engine.hs, Omni/Jr/Web.hs
Tool results from agent events are stored as JSON strings with an "output" field...
Files: Omni/Agent/Engine.hs:600, Omni/Jr/Web.hs
Assistant messages in agent events contain literal \n escape sequences that need...
Files: Omni/Jr/Web.hs
The Web UI rendering functions for agent events are located around lines 2473-25...
Files: Omni/Jr/Web.hs
The codebase uses Lucid for HTML generation in the Web UI
Files: Omni/Jr/Web.hs
The bild build system tests all dependencies when running `bild --test` on a nam...
Files: Omni/Agent/Worker.hs
Lint checks run automatically via git hooks in this codebase, making manual `lin...
Files: Omni/Agent/Worker.hs
The Worker.hs file contains prompts that guide the agent's behavior during task ...
Files: Omni/Agent/Worker.hs
Agent prompts in Worker.hs needed clarification about the build system's depende...
Files: Omni/Agent/Worker.hs
Jr Worker uses a progress tracking system with files stored at `_/llm/${taskId}-...
Files: Omni/Agent/Worker.hs
Jr Worker implements an incremental workflow pattern where agents should make ON...
Files: Omni/Agent/Worker.hs
The bild build system handles dependencies transitively, so running `bild --test...
Files: Omni/Agent/Worker.hs
Jr Worker's prompt structure includes sections for BUILD SYSTEM NOTES and INCREM...
Files: Omni/Agent/Worker.hs
The `runWithEngine` function in Jr Worker reads the progress file at the start o...
Files: Omni/Agent/Worker.hs
Jr Worker requires running `bild --test` and verifying tests pass before marking...
Files: Omni/Agent/Worker.hs