Add real-time progress events during Coder work phase

t-352.2·WorkTask·
·
·
·Omni/Agent/Subagent/Coder.hs
Parent:t-352·Created1 month ago·Updated1 month ago

Description

Edit

The work loop in runWorkVerifyLoop doesn't emit progress events to the Jobs database. During long-running agent loops, there's no visibility into what's happening.

The SubagentCallbacks (onSubagentActivity, onSubagentToolCall) are set up in Subagent.hs but the Coder module doesn't use them to report progress.

Add: 1. Progress events at the start of each agent iteration 2. Tool call events when tools are invoked 3. Update the Jobs DB so Telegram can show real-time status

This will help monitor progress during a day of Telegram coding.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago