diff --git a/.github/aw/create-agentic-workflow.md b/.github/aw/create-agentic-workflow.md index 46f8e29578..161444b155 100644 --- a/.github/aw/create-agentic-workflow.md +++ b/.github/aw/create-agentic-workflow.md @@ -304,7 +304,7 @@ safe-outputs: --- -@./agentics/.md +{{#runtime-import agentics/.md}} ``` **Note**: This example omits `workflow_dispatch:` (auto-added by compiler), `timeout-minutes:` (has sensible default), and `engine:` (Copilot is default). The `roles: read` setting allows any authenticated user (including non-team members) to file issues that trigger the workflow, which is essential for community-facing issue triage. diff --git a/.github/aw/update-agentic-workflow.md b/.github/aw/update-agentic-workflow.md index beeef734a5..790362fe9f 100644 --- a/.github/aw/update-agentic-workflow.md +++ b/.github/aw/update-agentic-workflow.md @@ -322,7 +322,7 @@ If no agentics file exists, edit the markdown body of the workflow file. ## Prompt Editing Without Recompilation -**Key Feature**: If the workflow uses runtime imports (e.g., `@./agentics/.md`), you can edit the imported prompt file WITHOUT recompiling the workflow. +**Key Feature**: If the workflow uses runtime imports (e.g., `{{#runtime-import agentics/.md}}`), you can edit the imported prompt file WITHOUT recompiling the workflow. **When to use this**: - Improving agent instructions @@ -331,7 +331,7 @@ If no agentics file exists, edit the markdown body of the workflow file. - Adding security notices **How to do it**: -1. Check if the workflow has a runtime import: `@./agentics/.md` +1. Check if the workflow has a runtime import: `{{#runtime-import agentics/.md}}` 2. If yes, edit that file directly - no compilation needed! 3. Changes take effect on the next workflow run diff --git a/pkg/cli/templates/create-agentic-workflow.md b/pkg/cli/templates/create-agentic-workflow.md index 46f8e29578..161444b155 100644 --- a/pkg/cli/templates/create-agentic-workflow.md +++ b/pkg/cli/templates/create-agentic-workflow.md @@ -304,7 +304,7 @@ safe-outputs: --- -@./agentics/.md +{{#runtime-import agentics/.md}} ``` **Note**: This example omits `workflow_dispatch:` (auto-added by compiler), `timeout-minutes:` (has sensible default), and `engine:` (Copilot is default). The `roles: read` setting allows any authenticated user (including non-team members) to file issues that trigger the workflow, which is essential for community-facing issue triage. diff --git a/pkg/cli/templates/update-agentic-workflow.md b/pkg/cli/templates/update-agentic-workflow.md index beeef734a5..790362fe9f 100644 --- a/pkg/cli/templates/update-agentic-workflow.md +++ b/pkg/cli/templates/update-agentic-workflow.md @@ -322,7 +322,7 @@ If no agentics file exists, edit the markdown body of the workflow file. ## Prompt Editing Without Recompilation -**Key Feature**: If the workflow uses runtime imports (e.g., `@./agentics/.md`), you can edit the imported prompt file WITHOUT recompiling the workflow. +**Key Feature**: If the workflow uses runtime imports (e.g., `{{#runtime-import agentics/.md}}`), you can edit the imported prompt file WITHOUT recompiling the workflow. **When to use this**: - Improving agent instructions @@ -331,7 +331,7 @@ If no agentics file exists, edit the markdown body of the workflow file. - Adding security notices **How to do it**: -1. Check if the workflow has a runtime import: `@./agentics/.md` +1. Check if the workflow has a runtime import: `{{#runtime-import agentics/.md}}` 2. If yes, edit that file directly - no compilation needed! 3. Changes take effect on the next workflow run