Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ Every compiled pipeline runs as three sequential jobs:
│ │ ├── python/ # Python runtime
│ │ │ ├── mod.rs # Config types, install/auth helpers
│ │ │ └── extension.rs # CompilerExtension impl
│ │ └── node/ # Node.js runtime
│ │ ├── node/ # Node.js runtime
│ │ │ ├── mod.rs # Config types, install/auth helpers
│ │ │ └── extension.rs # CompilerExtension impl
│ │ └── dotnet/ # .NET runtime
│ │ ├── mod.rs # Config types, install/auth helpers
│ │ └── extension.rs # CompilerExtension impl
│ ├── data/
Expand Down Expand Up @@ -166,7 +169,7 @@ index to jump to the right page.
- [`docs/tools.md`](docs/tools.md) — `tools:` configuration (bash allow-list,
`edit`, `cache-memory`, `azure-devops` MCP).
- [`docs/runtimes.md`](docs/runtimes.md) — `runtimes:` configuration (Lean 4,
Python, Node.js).
Python, Node.js, .NET).
- [`docs/targets.md`](docs/targets.md) — target platforms: `standalone` and
`1es`.
- [`docs/safe-outputs.md`](docs/safe-outputs.md) — full reference for every
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ the service connections. Approve the permissions and the pipeline is ready.
| `checkout` | list | — | Which repositories to check out |
| `mcp-servers` | map | — | MCP server configuration |
| `tools` | object | — | Tool configuration (`bash`, `edit`, `cache-memory`, `azure-devops`) |
| `runtimes` | object | — | Runtime environment configuration (`lean`) |
| `runtimes` | object | — | Runtime environment configuration (`lean`, `python`, `node`, `dotnet`) |
| `parameters` | list | — | ADO runtime parameters surfaced in the pipeline queue UI |
| `permissions` | object | — | ARM service connections (`read`, `write`) |
| `safe-outputs` | object | — | Per-tool configuration |
Expand Down
49 changes: 48 additions & 1 deletion prompts/create-ado-agentic-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,54 @@ teardown: # Separate job AFTER Execution
displayName: "Teardown"
```

### Step 13 — Network (standalone target only)
### Step 13 — Runtimes (optional)

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.

```yaml
# Lean 4 theorem prover
runtimes:
lean: true
# lean:
# toolchain: "leanprover/lean4:v4.29.1" # pin a specific version

# Python
runtimes:
python: true
# python:
# version: "3.12"
# feed-url: "https://pkgs.dev.azure.com/myorg/_packaging/myfeed/pypi/simple/"

# Node.js
runtimes:
node: true
# node:
# version: "22.x"
# feed-url: "https://pkgs.dev.azure.com/ORG/PROJECT/_packaging/FEED/npm/registry/"

# .NET
runtimes:
dotnet: true
# dotnet:
# version: "8.0.x" # or "global.json" to use the repo's global.json
# feed-url: "https://pkgs.dev.azure.com/myorg/_packaging/myfeed/nuget/v3/index.json"
# config: "nuget.config" # mutually exclusive with feed-url
```

Multiple runtimes can be combined:
```yaml
runtimes:
python:
version: "3.12"
node:
version: "22.x"
dotnet:
version: "8.0.x"
```

> 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.

### Step 14 — Network (standalone target only)

Additional allowed domains beyond the built-in allowlist:
```yaml
Expand Down