Skip to content
Draft
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
1 change: 1 addition & 0 deletions tests/bash_lint_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ const REQUIRED_STEP_DISPLAY_NAMES: &[&str] = &[
"Stage manual execution context (aw-context/manual/*)", // src/compile/extensions/exec_context/manual.rs (activated by parameters: block)
"Stage pipeline execution context (aw-context/pipeline/*)", // src/compile/extensions/exec_context/pipeline.rs (activated by on.pipeline)
"Resolve synthetic PR context", // src/compile/extensions/ado_script.rs synthetic_pr_step()
"Stage repo execution context (aw-context/repo/*)", // src/compile/extensions/exec_context/repo.rs (activated by execution-context.repo.enabled: true)
];

fn ado_aw_binary() -> PathBuf {
Expand Down
7 changes: 6 additions & 1 deletion tests/fixtures/execution-context-agent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "Execution Context Agent"
description: "Agent exercising the execution-context PR contributor and manual contributor"
description: "Agent exercising the execution-context PR contributor, manual contributor, and repo contributor"
on:
pr:
branches:
Expand All @@ -10,6 +10,9 @@ parameters:
type: string
default: ""
displayName: "Topic to work on"
execution-context:
repo:
enabled: true
---

## Execution Context Agent
Expand All @@ -19,4 +22,6 @@ This fixture exercises the always-on `ExecContextExtension` with:
artefacts and appends a PR-context prompt fragment.
- The **manual contributor** (activated by the `parameters:` block) — stages
`aw-context/manual/*` artefacts when the pipeline is queued manually.
- The **repo contributor** (activated by `execution-context.repo.enabled: true`) —
stages `aw-context/repo/*` artefacts with repository identity info.