Fix task comment CLI to support --author flag

t-624·WorkTask·
·
·
·Omni/Task.hs
Created2 days ago·Updated2 days ago

Description

Edit

The task comment CLI command hardcodes Human as the author (Omni/Task.hs:345). When pi agents shell out to 'task comment', their comments are incorrectly attributed to Human instead of Agent.

Fix: add an --author option to the task comment CLI (default: Human), e.g. 'task comment --author agent:engineer t-XXX msg'. Then update pi agent instructions to use the flag.

Timeline (8)

🔄[human]Open → InProgress2 days ago
💬[engineer]2 days ago

Testing --author flag

💬[human]2 days ago

Testing default author

🔄[human]InProgress → Review2 days ago
💬[human]2 days ago

Added --author flag to task comment CLI. Defaults to human. Supports: human, system, agent:engineer, agent:reviewer, agent:designer, agent:productmgr. All 36 tests pass. Commit: d2c1a19a