docs: add missing optional front-matter fields to create workflow prompt - #1712
Draft
github-actions[bot] wants to merge 1 commit into
Draft
docs: add missing optional front-matter fields to create workflow prompt#1712github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
The optional fields list in prompts/create-ado-agentic-workflow.md was missing several valid FrontMatter fields that agents need to know about: - post-steps: inline steps after agent runs (symmetric with steps) - variable-groups: ADO Library variable group imports - execution-context: per-trigger context configuration - inlined-imports: compile-time vs runtime prompt import resolution - supply-chain: internal artifact mirror configuration All five are documented in docs/front-matter.md and present in the FrontMatter struct in src/compile/types.rs. 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
prompts/create-ado-agentic-workflow.mdoptional fields list omits 5 validFrontMatterfields agents may needprompts/create-ado-agentic-workflow.mdApplied Fixes
post-steps,variable-groups,execution-context,inlined-imports, andsupply-chainto the optional field list in the "Build Front Matter" step of the create workflow promptNotes
Verified against
src/compile/types.rs(FrontMatterstruct):post_steps: Vec<serde_yaml::Value>— inline steps after agent runs, symmetric withsteps; documented indocs/front-matter.mdline 193variable_groups: Vec<String>— ADO Library group imports; documented indocs/front-matter.md§506execution_context: Option<ExecutionContextConfig>— per-trigger context; documented indocs/execution-context.mdinlined_imports: bool— compile-time vs runtime import resolution; documented indocs/runtime-imports.mdsupply_chain: Option<SupplyChainConfig>— internal mirror config; documented indocs/supply-chain.mdThe
env:field (also inFrontMatter) was intentionally omitted:docs/front-matter.mdnotes it is "accepted by parser, not yet forwarded to compiled pipeline output", so including it in the prompt would mislead agents.Created by the agent-documentation maintainer workflow.