Unify Coder with Omni/Agent.hs core

t-354.2·WorkTask·
·
·
Parent:t-354·Created1 month ago·Updated1 month ago

Description

Edit

Refactor Coder.hs to use the same agent core as Omni/Agent.hs:

  • Coder should call Omni.Agent.runAgent (or Engine.runAgent directly)
  • Same guardrails (cost, token, iteration limits)
  • Same error handling and retry logic
  • Coder just adds: git pull, initial build check, post-change verify loop, commit

Currently Coder has its own agent loop - unify with the standard one.

Files: Omni/Agent/Subagent/Coder.hs, possibly Omni/Agent.hs to expose internals

Timeline (6)

🔄[human]Open → InProgress1 month ago
💬[human]1 month ago

Refactored Omni/Agent/Subagent/Coder.hs to run via Op-based agent core (Seq.runSequential + OpAgent.runAgent) with budget/iteration limits and trace-based callbacks. Kept init/verify/commit/recovery phases intact and preserved cost tracking. bild Omni/Agent/Subagent/Coder.hs timed out after 10 minutes.

💬[human]1 month ago

Merged Coder refactor to use Op-based agent core (Sequential interpreter + OpAgent) with same guardrails.

🔄[human]InProgress → Done1 month ago