Skip to content

docs: replace absolute runner paths with version-pinned URLs in prompt files - #1704

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-prompt-absolute-paths-a91c5d3fa98ca085
Draft

docs: replace absolute runner paths with version-pinned URLs in prompt files#1704
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-prompt-absolute-paths-a91c5d3fa98ca085

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Agent Documentation Update

Findings

Area Issue File(s)
accuracy All three prompt files referenced prompt-contract.md and the reference docs via /home/runner/work/ado-aw/ado-aw/... absolute paths. These paths only resolve on the githubnext/ado-aw GitHub Actions runner. Consumer repo agents that fetch the prompts via version-pinned raw.githubusercontent.com URLs (as the agency/skills/ files do) cannot access these local absolute paths, so the behavioral contract and reference docs are silently unreachable. prompts/create-ado-agentic-workflow.md, prompts/update-ado-agentic-workflow.md, prompts/debug-ado-agentic-workflow.md

Applied Fixes

  • Replaced Apply /home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.md with a version-pinned URL in all three prompts
  • Replaced all absolute /home/runner/work/ado-aw/ado-aw/docs/... reference paths with version-pinned raw.githubusercontent.com URLs
  • Added <!-- x-release-please-version --> comments to all new URLs so release-please keeps them in sync with the compiler version (matching the pattern already used in agency/plugins/ado-aw/skills/*/SKILL.md)

Notes

The agency/plugins/ado-aw/skills/create-workflow/SKILL.md already uses version-pinned URLs for fetching prompts (e.g., https://raw.githubusercontent.com/githubnext/ado-aw/v0.45.1/prompts/create-ado-agentic-workflow.md). Those fetched prompts then referenced the contract and docs via absolute paths that don't exist in consumer repo environments. The fix brings the prompts into the same URL pattern the skills already use. All URLs verified against existing files in the repository at v0.45.1.


Created by the agent-documentation maintainer workflow.

Generated by Agent Documentation Maintainer · 137.5 AIC · ⌖ 12.5 AIC · ⊞ 8.7K ·

…t files

prompt-contract.md and the reference docs were referenced via
/home/runner/work/ado-aw/ado-aw/... absolute paths. These paths only
resolve on the githubnext/ado-aw GitHub Actions runner. Consumer repo
agents that fetch the prompts via the version-pinned rawgithubusercontent
URLs (as the agency/skills do) cannot access local absolute paths.

Replace all absolute paths with the same version-pinned URL pattern
used by the skill SKILL.md files, with x-release-please-version
comments so release-please keeps them in sync with the compiler version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants