diff --git a/tests/bash_lint_tests.rs b/tests/bash_lint_tests.rs index d7ab2d7a..fdb5b4aa 100644 --- a/tests/bash_lint_tests.rs +++ b/tests/bash_lint_tests.rs @@ -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 { diff --git a/tests/fixtures/execution-context-agent.md b/tests/fixtures/execution-context-agent.md index facae070..c4ae938f 100644 --- a/tests/fixtures/execution-context-agent.md +++ b/tests/fixtures/execution-context-agent.md @@ -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: @@ -10,6 +10,9 @@ parameters: type: string default: "" displayName: "Topic to work on" +execution-context: + repo: + enabled: true --- ## Execution Context Agent @@ -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.