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
docs: fix Stage 3 job name from Execution to SafeOutputs across all docs (#559)
The Stage 3 job in all pipeline templates (base.yml, 1es-base.yml,
job-base.yml, stage-base.yml) is named 'SafeOutputs', but documentation
consistently referred to it as 'Execution'. This caused:
- Wrong YAML example in docs/template-markers.md (DailyCodeReview_Execution
instead of DailyCodeReview_SafeOutputs)
- Incorrect dependsOn description for teardown job
- Misleading job-name lists in debugging prompts (agents/users looking for
an 'Execution' job in the ADO UI would not find it)
Updated files:
- docs/template-markers.md: fix YAML example, job-name list, and acquire_write_token description
- docs/targets.md: fix 3-job chain descriptions
- README.md: fix diagram box and inline reference
- AGENTS.md: fix three-stage pipeline model description
- prompts/create-ado-agentic-workflow.md: fix flow diagram and teardown comment
- prompts/debug-ado-agentic-workflow.md: fix job table, job-name list, section header, and teardown reference
- prompts/update-ado-agentic-workflow.md: fix teardown comment
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Should be replaced with the `checkout: self` step. This generates a simple checkout of the triggering branch.
83
83
84
-
All checkout steps across all jobs (Agent, Detection, Execution, Setup, Teardown) use this marker.
84
+
All checkout steps across all jobs (Agent, Detection, SafeOutputs, Setup, Teardown) use this marker.
85
85
86
86
## {{ checkout_repositories }}
87
87
Should be replaced with checkout steps for additional repositories the agent will work with. The behavior depends on the `repos:` front-matter field (each entry's `checkout:` flag, which defaults to `true`):
@@ -173,7 +173,7 @@ If `setup` is empty, this is replaced with an empty string.
173
173
## {{ teardown_job }}
174
174
175
175
Generates a separate teardown job YAML if `teardown` contains steps. The job:
176
-
- Runs after `Execution` (depends on it)
176
+
- Runs after `SafeOutputs` (depends on it)
177
177
- Uses the same pool as the main agentic task
178
178
- Includes a checkout of self
179
179
- Display name: `Teardown`
@@ -432,7 +432,7 @@ If `permissions.read` is not configured, this marker is replaced with an empty s
432
432
433
433
## {{ acquire_write_token }}
434
434
435
-
Generates an `AzureCLI@2` step that acquires a write-capable ADO-scoped access token from the ARM service connection specified in `permissions.write`. This token is used only by the executor in Stage 3 (`Execution` job) and is never exposed to the agent.
435
+
Generates an `AzureCLI@2` step that acquires a write-capable ADO-scoped access token from the ARM service connection specified in `permissions.write`. This token is used only by the executor in Stage 3 (`SafeOutputs` job) and is never exposed to the agent.
436
436
437
437
The step:
438
438
- Uses the ARM service connection from `permissions.write`
|**Agent**| Runs the AI agent inside an AWF network sandbox (Squid proxy + Docker). Agent proposes actions via safe-output MCP tools. | Read-only (`permissions.read`) | Network-isolated via AWF |
31
31
|**Detection**| Threat analysis on proposed safe outputs — checks for prompt injection, secret leaks, malicious patches. | None | Standard ADO agent |
32
-
|**Execution**| Executes approved safe outputs (create PRs, work items, wiki pages, etc.) | Write (`permissions.write`) | Standard ADO agent |
32
+
|**SafeOutputs**| Executes approved safe outputs (create PRs, work items, wiki pages, etc.) | Write (`permissions.write`) | Standard ADO agent |
33
33
34
34
Additional optional jobs:
35
35
-**Setup** — runs before `Agent` (from `setup:` front matter)
36
-
-**Teardown** — runs after `Execution` (from `teardown:` front matter)
36
+
-**Teardown** — runs after `SafeOutputs` (from `teardown:` front matter)
37
37
38
38
---
39
39
@@ -48,7 +48,7 @@ You need minimal context from the user:
48
48
-**If multiple recent failed builds exist** → list them and ask the user which one to investigate. Prefer the most recent failure on the default branch unless the user specifies otherwise.
49
49
50
50
**If you don't have ADO MCP pipeline tools**, also ask the user for:
51
-
- Which job failed (Agent, Detection, Execution, Setup, Teardown)
51
+
- Which job failed (Agent, Detection, SafeOutputs, Setup, Teardown)
52
52
- Error messages or log snippets from the failing step
53
53
- The agent source `.md` file (or path) and the compiled `.lock.yml` (or path)
54
54
@@ -84,7 +84,7 @@ Map the failing timeline record to one of these categories:
0 commit comments