Add subagent integration tests

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

Description

Edit

Add tests for the subagent system:

  • Unit tests for debouncing logic
  • Unit tests for status message formatting
  • Integration test: mock Telegram API, run job through worker
  • Test guardrail enforcement (cost limit, iteration limit, timeout)

Files: Worker.hs (test section), new test helpers as needed

Timeline (2)

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