diff --git a/packages/workflow-agent-builtin/src/prompt.ts b/packages/workflow-agent-builtin/src/prompt.ts index 867e724..68be81c 100644 --- a/packages/workflow-agent-builtin/src/prompt.ts +++ b/packages/workflow-agent-builtin/src/prompt.ts @@ -67,6 +67,7 @@ export function buildBuiltinMessages(ctx: AgentContext): ChatMessage[] { "", "You have tools available (read_file, write_file, run_command). " + "Use them to complete your task — read files, run commands, make changes as needed. " + + "Your task is described in the user message below — do NOT use uwf or workflow CLI commands to discover your task. " + "When you are done, output your final response with the YAML frontmatter block as specified above. " + "Do NOT output the frontmatter until you have completed all necessary work. " + "CRITICAL: Your final output MUST start with the `---` fence on the very first line — " +