fix: Quote unquoted TASK_PROMPT in workspace task commands (OD-2829) #75
Merged
Work Horse opened 2 weeks ago

Summary

When an AI user's system prompt is included in the workspace task prompt, multi-line content can break task automation if the workspace spec references $TASK_PROMPT without quotes. This change auto-quotes unquoted references in POSIX, PowerShell, and Windows batch shells, and clarifies the task command field description.

Fixes #2829

Test plan

  •  Added unit tests for auto-quoting in POSIX, PowerShell, and Windows batch shells
  •  Verify AI task automation with a system prompt and an unquoted $TASK_PROMPT command passes the full prompt to the coding agent
Commits were merged into target branch
1/1
Submitter Work Horse
Target main
Source issue-2829-ai-workspace-task-inc-prompt
Merge Strategy
Create Merge Commit
Watchers (2)
Reference
pull request OD-75
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover