From 41dc2117db754ced2f9c8e9d82d52e56cf7780b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 17:01:13 +0000 Subject: [PATCH] docs: fix hardcoded absolute paths in prompt files Replace environment-specific /home/runner/work/ado-aw/ado-aw/ prefixes with repo-relative paths in all three authoring prompt files. The old paths only resolved on the CI runner; agents using these prompts in any other environment (local dev, skill downloads) would get broken file references. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- prompts/create-ado-agentic-workflow.md | 12 ++++++------ prompts/debug-ado-agentic-workflow.md | 10 +++++----- prompts/update-ado-agentic-workflow.md | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/prompts/create-ado-agentic-workflow.md b/prompts/create-ado-agentic-workflow.md index 56ed57c7..b3ada023 100644 --- a/prompts/create-ado-agentic-workflow.md +++ b/prompts/create-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Create an Azure DevOps Agentic Workflow -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `./prompt-contract.md` before executing this prompt. ## Core @@ -74,8 +74,8 @@ Return: - When essential inputs are missing, concise clarification is returned instead of an invented workflow. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/front-matter.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` -- `/home/runner/work/ado-aw/ado-aw/docs/engine.md` -- `/home/runner/work/ado-aw/ado-aw/docs/targets.md` -- `/home/runner/work/ado-aw/ado-aw/docs/network.md` +- `docs/front-matter.md` +- `docs/safe-outputs.md` +- `docs/engine.md` +- `docs/targets.md` +- `docs/network.md` diff --git a/prompts/debug-ado-agentic-workflow.md b/prompts/debug-ado-agentic-workflow.md index 8b145416..45ee1ba7 100644 --- a/prompts/debug-ado-agentic-workflow.md +++ b/prompts/debug-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Debug an Azure DevOps Agentic Pipeline -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `./prompt-contract.md` before executing this prompt. ## Core @@ -80,7 +80,7 @@ If consent is absent, end with report + ready-to-file issue draft. - Filing is complete only when explicitly approved and URL is returned. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/audit.md` -- `/home/runner/work/ado-aw/ado-aw/docs/ir.md` -- `/home/runner/work/ado-aw/ado-aw/docs/mcp-author.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` +- `docs/audit.md` +- `docs/ir.md` +- `docs/mcp-author.md` +- `docs/safe-outputs.md` diff --git a/prompts/update-ado-agentic-workflow.md b/prompts/update-ado-agentic-workflow.md index a4ac1b29..2c3474f2 100644 --- a/prompts/update-ado-agentic-workflow.md +++ b/prompts/update-ado-agentic-workflow.md @@ -1,6 +1,6 @@ # Update an Azure DevOps Agentic Workflow -Apply `/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md` before executing this prompt. +Apply `./prompt-contract.md` before executing this prompt. ## Core @@ -62,8 +62,8 @@ Return: - Recompilation guidance matches the actual changed surface and `inlined-imports` setting. ## References -- `/home/runner/work/ado-aw/ado-aw/docs/front-matter.md` -- `/home/runner/work/ado-aw/ado-aw/docs/runtime-imports.md` -- `/home/runner/work/ado-aw/ado-aw/docs/safe-outputs.md` -- `/home/runner/work/ado-aw/ado-aw/docs/engine.md` -- `/home/runner/work/ado-aw/ado-aw/docs/ir.md` +- `docs/front-matter.md` +- `docs/runtime-imports.md` +- `docs/safe-outputs.md` +- `docs/engine.md` +- `docs/ir.md`