Skip to content

docs: replace hardcoded runner paths with repo-relative paths in prompts - #1724

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

docs: replace hardcoded runner paths with repo-relative paths in prompts#1724
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-hardcoded-prompt-paths-a4e926095becbdad

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Agent Documentation Update

Findings

Area Issue File(s)
accuracy All three workflow prompt files use hardcoded absolute paths (/home/runner/work/ado-aw/ado-aw/) for prompts/prompt-contract.md and docs/*.md references. These paths only resolve in the githubnext/ado-aw GitHub Actions runner and break when agents consume the prompts via raw.githubusercontent.com (e.g. in a consumer repository using the ado-aw skill). prompts/create-ado-agentic-workflow.md, prompts/update-ado-agentic-workflow.md, prompts/debug-ado-agentic-workflow.md

Applied Fixes

  • Replaced /home/runner/work/ado-aw/ado-aw/prompts/prompt-contract.mdprompts/prompt-contract.md in all three prompt files
  • Replaced /home/runner/work/ado-aw/ado-aw/docs/ prefix → bare docs/ prefix in all References sections

Notes

Verified by inspecting the skill files (agency/plugins/ado-aw/skills/*/SKILL.md): they instruct agents to fetch prompts from raw.githubusercontent.com. Once fetched, the prompts' Apply line and References section must resolve in environments where ado-aw is 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.

Generated by Agent Documentation Maintainer · 137.6 AIC · ⌖ 12.3 AIC · ⊞ 8.7K ·

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

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