You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(engine): pass Copilot prompt using attached --prompt= form #2186
Runtime imports insert the complete workflow Markdown file, including its YAML
frontmatter. The resulting prompt begins with ---.
Following the Copilot CLI parser migration from Commander to clap, a separately
passed --prompt value beginning with a hyphen is interpreted as another option.
The CLI exits before starting the agent and replaces the underlying parser error
with the misleading diagnostic:
error: Invalid command format.
It looks like your prompt was not quoted, so the extra words were treated as separate arguments.
The prompt is correctly quoted as one shell argument.
Reproduction
Compile a workflow that uses runtime imports, so the generated prompt begins
with Markdown YAML frontmatter (---).
Run the generated Agent stage with Copilot CLI 1.0.84-5 or newer.
Observe that Copilot exits during argument parsing before the agent starts.
Activity