docs: fix hardcoded absolute paths in prompt files - #1718
Draft
github-actions[bot] wants to merge 1 commit into
Draft
docs: fix hardcoded absolute paths in prompt files#1718github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
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>
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent Documentation Update
Findings
prompt-contract.mdand thedocs/pages using hardcoded absolute paths specific to the CI runner environment (/home/runner/work/ado-aw/ado-aw/). These paths are broken in every other context: local development, agents using the skills via raw GitHub URL download, and any other workspace.prompts/create-ado-agentic-workflow.md,prompts/debug-ado-agentic-workflow.md,prompts/update-ado-agentic-workflow.mdApplied Fixes
/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md→./prompt-contract.mdin all three prompts/home/runner/work/ado-aw/ado-aw/docs/<page>.md→docs/<page>.mdin all reference listsNotes
Verified by searching for
/home/runneracrossprompts/*.md. Theprompts/files are fetched via version-pinned raw GitHub URLs by the Agency/Copilot skill files (agency/plugins/ado-aw/skills/*/SKILL.md) and executed in consumer repo environments where the old paths cannot possibly resolve. Repo-relative paths (docs/front-matter.md,./prompt-contract.md) work for agents operating in the ado-aw repo directly; for consumer repo contexts the MCP tools (catalog,lint_workflow, etc.) already supply the necessary context.Created by the agent-documentation maintainer workflow.