Skip to content

docs: replace absolute CI paths with raw GitHub URLs in prompt references - #1703

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

docs: replace absolute CI paths with raw GitHub URLs in prompt references#1703
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-prompt-absolute-paths-0a162357dd3e74c4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Agent Documentation Update

Findings

Area Issue File(s)
accuracy All three authoring prompts referenced prompt-contract.md and related docs via absolute paths (/home/runner/work/ado-aw/ado-aw/...) that only resolve in ado-aw's own CI environment. Consumer agents loading these prompts via the version-pinned raw.githubusercontent.com URLs (as the agency plugin skills instruct) would fail to read the contract or the referenced docs. 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 Apply the shared prompt contract before executing this prompt: https://raw.githubusercontent.com/githubnext/ado-aw/main/prompts/prompt-contract.md in all three prompts
  • Replaced all ## References section entries (/home/runner/work/ado-aw/ado-aw/docs/...) with equivalent https://raw.githubusercontent.com/githubnext/ado-aw/main/docs/... URLs in all three prompts

Notes

Verified against the agency plugin skill files (agency/plugins/ado-aw/skills/*/SKILL.md): these skills instruct agents to "load the entire content of the authoritative, version-pinned playbook" from raw.githubusercontent.com URLs. Once fetched, the prompt's Apply ... line runs in the consumer agent's workspace, where the absolute path does not exist. The main-branch URL for prompt-contract.md is appropriate because: (a) the contract is a stable policy document, and (b) version-pinning the contract in the prompt file itself would require regeneration on every release.


Created by the agent-documentation maintainer workflow.

Generated by Agent Documentation Maintainer · 125.8 AIC · ⌖ 12.4 AIC · ⊞ 8.7K ·

…nces

All three authoring prompts referenced prompt-contract.md and related docs
via absolute paths (/home/runner/work/ado-aw/ado-aw/...) that only resolve
in ado-aw's own CI environment. Consumer agents that load these prompts via
the version-pinned raw.githubusercontent.com URLs would fail to read either
the prompt-contract or the referenced docs.

Replace all absolute paths with https://raw.githubusercontent.com/githubnext/ado-aw/main/...
URLs so the references resolve in any environment where these prompts are used.

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