docs: replace hardcoded runner paths with repo-relative paths in prompts - #1724
Draft
github-actions[bot] wants to merge 1 commit into
Draft
docs: replace hardcoded runner paths with repo-relative paths in prompts#1724github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
All three workflow prompt files referenced supporting docs and the prompt-contract via absolute paths hard-wired to the GitHub Actions runner checkout (/home/runner/work/ado-aw/ado-aw/). These paths work only inside the ado-aw repository's own CI and break for any agent that fetches the prompts from raw.githubusercontent.com (e.g. via the ado-aw skill in a consumer repository). Replace with repo-relative paths (prompts/prompt-contract.md, docs/front-matter.md, etc.) that resolve correctly wherever the ado-aw repository is checked out. 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
/home/runner/work/ado-aw/ado-aw/) forprompts/prompt-contract.mdanddocs/*.mdreferences. These paths only resolve in thegithubnext/ado-awGitHub Actions runner and break when agents consume the prompts viaraw.githubusercontent.com(e.g. in a consumer repository using theado-awskill).prompts/create-ado-agentic-workflow.md,prompts/update-ado-agentic-workflow.md,prompts/debug-ado-agentic-workflow.mdApplied Fixes
/home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md→prompts/prompt-contract.mdin all three prompt files/home/runner/work/ado-aw/ado-aw/docs/prefix → baredocs/prefix in all References sectionsNotes
Verified by inspecting the skill files (
agency/plugins/ado-aw/skills/*/SKILL.md): they instruct agents to fetch prompts fromraw.githubusercontent.com. Once fetched, the prompts'Applyline and References section must resolve in environments whereado-awis not checked out at the runner-specific absolute path. Repo-relative paths (e.g.prompts/prompt-contract.md,docs/front-matter.md) work for both the ado-aw repo's own CI context and external agent consumption.Source file references (
src/engine.rs) were left unchanged — they are internal guidance for agents with access to the ado-aw source tree and do not need to be universally resolvable.Created by the agent-documentation maintainer workflow.