summaryrefslogtreecommitdiff
path: root/Omni/Cloud/Ports.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-30 07:21:40 -0500
committerBen Sima <ben@bensima.com>2025-11-30 07:21:40 -0500
commit34f7c6b1bb80eabc41fb7ffb2ca1c20b05df2ec1 (patch)
tree8e2b7b18accbb135d32ebdef48343a6f1a4f4fbb /Omni/Cloud/Ports.nix
parent9e87b5bf6730605cc21a3b5cd406a6126d0714e1 (diff)
Audit and verify Engine testing coverage
All 33 tests pass. Let me verify the testing coverage against the task c **Testing Coverage Audit:** - ✅ JSON roundtrip for Message, ToolCall, FunctionCall - ✅ Tool schema validation (via encodeToolForApi test) - ✅ LLM config defaults (defaultLLM tests) - ✅ Error handling for malformed responses (tested in Usage/AgentResult - ✅ Each tool has valid JSON schema (5 tests) - ✅ readFileTool handles missing files - ✅ writeFileTool creates parent directories (implicitly tested - return - ✅ editFileTool handles no-match case - ✅ runBashTool captures exit codes - ✅ searchCodebaseTool returns structured results - ✅ Engine and Tools integrate correctly (new test added) - Tool execution works end-to-end (runBashTool, searchCodebaseTool tests - Callbacks are testable (defaultEngineConfig test verifies callbacks fi The task is complete. Created `Omni/Agent.hs` which provides: 1. Combined test runner for all Engine and Tools tests 2. Re-exports core types from sub-modules 3. Integration tests verifying Engine and Tools work together All 33 tests pass with `bild --test Omni/Agent.hs`. Task-Id: t-141.7
Diffstat (limited to 'Omni/Cloud/Ports.nix')
0 files changed, 0 insertions, 0 deletions