dev-review-release loop fails when prompt starts with frontmatter

t-579·WorkTask·
·
·
·Omni/Ide.hs
Created1 week ago·Updated1 week ago

Dependencies

Description

Edit

Observed during dogfood on t-578: dev loop invokes 'agentd run <prompt>' with a prompt beginning with '---', causing agentd/docopt to treat it as an invalid option. Also build_prompt uses printf format strings beginning with '-' without '--', producing printf invalid option errors and dropping runtime context lines.

Timeline (4)

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

Fixed in Omni/Ide/dev-review-release.sh: prompt runtime context printf now uses 'printf --' for leading '-' lines; agentd invocation now runs with a generated .md prompt file argument instead of passing raw prompt text/STDIN, avoiding docopt invalid-option failure when prompt starts with frontmatter '---'.

🔄[human]InProgress → Done1 week ago