Skip to content

docs: add missing optional front-matter fields to create workflow prompt - #1712

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/create-prompt-optional-fields-ba072f2b4512960f
Draft

docs: add missing optional front-matter fields to create workflow prompt#1712
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/create-prompt-optional-fields-ba072f2b4512960f

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Agent Documentation Update

Findings

Area Issue File(s)
accuracy prompts/create-ado-agentic-workflow.md optional fields list omits 5 valid FrontMatter fields agents may need prompts/create-ado-agentic-workflow.md

Applied Fixes

  • Added post-steps, variable-groups, execution-context, inlined-imports, and supply-chain to the optional field list in the "Build Front Matter" step of the create workflow prompt

Notes

Verified against src/compile/types.rs (FrontMatter struct):

  • post_steps: Vec<serde_yaml::Value> — inline steps after agent runs, symmetric with steps; documented in docs/front-matter.md line 193
  • variable_groups: Vec<String> — ADO Library group imports; documented in docs/front-matter.md §506
  • execution_context: Option<ExecutionContextConfig> — per-trigger context; documented in docs/execution-context.md
  • inlined_imports: bool — compile-time vs runtime import resolution; documented in docs/runtime-imports.md
  • supply_chain: Option<SupplyChainConfig> — internal mirror config; documented in docs/supply-chain.md

The env: field (also in FrontMatter) was intentionally omitted: docs/front-matter.md notes 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.

Generated by Agent Documentation Maintainer · 131.3 AIC · ⌖ 11.9 AIC · ⊞ 8.7K ·

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

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