Skip to content

Commit ffa59e5

Browse files
docs: fix documentation drift — add .NET runtime across all docs (#477)
* Initial plan * docs: fix documentation drift — add .NET runtime across all docs Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/2e358b70-c3c9-4a2a-8115-4f6acc8aeee3 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
1 parent 12e273c commit ffa59e5

3 files changed

Lines changed: 54 additions & 4 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ Every compiled pipeline runs as three sequential jobs:
108108
│ │ ├── python/ # Python runtime
109109
│ │ │ ├── mod.rs # Config types, install/auth helpers
110110
│ │ │ └── extension.rs # CompilerExtension impl
111-
│ │ └── node/ # Node.js runtime
111+
│ │ ├── node/ # Node.js runtime
112+
│ │ │ ├── mod.rs # Config types, install/auth helpers
113+
│ │ │ └── extension.rs # CompilerExtension impl
114+
│ │ └── dotnet/ # .NET runtime
112115
│ │ ├── mod.rs # Config types, install/auth helpers
113116
│ │ └── extension.rs # CompilerExtension impl
114117
│ ├── data/
@@ -166,7 +169,7 @@ index to jump to the right page.
166169
- [`docs/tools.md`](docs/tools.md)`tools:` configuration (bash allow-list,
167170
`edit`, `cache-memory`, `azure-devops` MCP).
168171
- [`docs/runtimes.md`](docs/runtimes.md)`runtimes:` configuration (Lean 4,
169-
Python, Node.js).
172+
Python, Node.js, .NET).
170173
- [`docs/targets.md`](docs/targets.md) — target platforms: `standalone` and
171174
`1es`.
172175
- [`docs/safe-outputs.md`](docs/safe-outputs.md) — full reference for every

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ the service connections. Approve the permissions and the pipeline is ready.
241241
| `checkout` | list | — | Which repositories to check out |
242242
| `mcp-servers` | map | — | MCP server configuration |
243243
| `tools` | object | — | Tool configuration (`bash`, `edit`, `cache-memory`, `azure-devops`) |
244-
| `runtimes` | object | — | Runtime environment configuration (`lean`) |
244+
| `runtimes` | object | — | Runtime environment configuration (`lean`, `python`, `node`, `dotnet`) |
245245
| `parameters` | list | — | ADO runtime parameters surfaced in the pipeline queue UI |
246246
| `permissions` | object | — | ARM service connections (`read`, `write`) |
247247
| `safe-outputs` | object | — | Per-tool configuration |

prompts/create-ado-agentic-workflow.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,54 @@ teardown: # Separate job AFTER Execution
382382
displayName: "Teardown"
383383
```
384384

385-
### Step 13 — Network (standalone target only)
385+
### Step 13 — Runtimes (optional)
386+
387+
Configure language runtimes that are installed before the agent runs. Runtimes auto-extend the bash command allow-list and add ecosystem-specific domains to the network allowlist.
388+
389+
```yaml
390+
# Lean 4 theorem prover
391+
runtimes:
392+
lean: true
393+
# lean:
394+
# toolchain: "leanprover/lean4:v4.29.1" # pin a specific version
395+
396+
# Python
397+
runtimes:
398+
python: true
399+
# python:
400+
# version: "3.12"
401+
# feed-url: "https://pkgs.dev.azure.com/myorg/_packaging/myfeed/pypi/simple/"
402+
403+
# Node.js
404+
runtimes:
405+
node: true
406+
# node:
407+
# version: "22.x"
408+
# feed-url: "https://pkgs.dev.azure.com/ORG/PROJECT/_packaging/FEED/npm/registry/"
409+
410+
# .NET
411+
runtimes:
412+
dotnet: true
413+
# dotnet:
414+
# version: "8.0.x" # or "global.json" to use the repo's global.json
415+
# feed-url: "https://pkgs.dev.azure.com/myorg/_packaging/myfeed/nuget/v3/index.json"
416+
# config: "nuget.config" # mutually exclusive with feed-url
417+
```
418+
419+
Multiple runtimes can be combined:
420+
```yaml
421+
runtimes:
422+
python:
423+
version: "3.12"
424+
node:
425+
version: "22.x"
426+
dotnet:
427+
version: "8.0.x"
428+
```
429+
430+
> Each enabled runtime auto-adds its ecosystem's bash commands (e.g., `dotnet`, `python`, `node`, `npm`, `lean`, `lake`) and network domains to the allowlist. See `docs/runtimes.md` for full configuration reference.
431+
432+
### Step 14 — Network (standalone target only)
386433

387434
Additional allowed domains beyond the built-in allowlist:
388435
```yaml

0 commit comments

Comments
 (0)