Skip to content

doc: design unified azure yaml guidance#9082

Open
huimiu wants to merge 5 commits into
mainfrom
hui/design-align-azure-yaml-flow
Open

doc: design unified azure yaml guidance#9082
huimiu wants to merge 5 commits into
mainfrom
hui/design-align-azure-yaml-flow

Conversation

@huimiu

@huimiu huimiu commented Jul 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds the design that aligns the end-to-end CLI experience once Azure AI Agents configuration moves to azure.yaml.
  • Docs only. No product code changes.

Details

The spec covers the unified azure.yaml configuration readers, local-first next-step guidance, and doctor checks, plus the core-rendered post-command guidance contract. It preserves the legacy agent.yaml / agent.manifest.yaml fallback and migration warning during the compatibility window.

It records two decisions for John: whether the core post-command contribution contract is in this milestone, and whether top-level post-deploy guidance replaces the workflow guidance in endpoint artifact notes.

Relates to #8710, #7975, and #8804.

@huimiu huimiu marked this pull request as ready for review July 13, 2026 07:24
@huimiu huimiu requested a review from vhvb1989 as a code owner July 13, 2026 07:24
Copilot AI review requested due to automatic review settings July 13, 2026 07:24
@huimiu huimiu changed the title feat: design unified azure yaml guidance doc: design unified azure yaml guidance Jul 13, 2026
@github-actions

Copy link
Copy Markdown

🔗 Linked Issue Required

Thanks for the contribution! Please link a GitHub issue to this PR by adding Fixes #123 to the description or using the sidebar.
No issue yet? Feel free to create one!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Defines the proposed unified azure.yaml agent configuration and post-command guidance design.

Changes:

  • Establishes unified configuration precedence and legacy fallback.
  • Proposes core-rendered next-step guidance.
  • Records unresolved product decisions.


## Context and scope

This design aligns the end-to-end CLI experience for the configuration migration in [issue #8710](https://github.com/Azure/azure-dev/issues/8710) and the local-first guidance from [issue #7975](https://github.com/Azure/azure-dev/issues/7975). It covers the Azure AI Agents extension's configuration readers, next-step guidance, doctor checks, and the core contribution contract. Foundry provisioning, agent deployment, and manifest content are unchanged.
Comment thread docs/specs/unified-azure-yaml/spec.md Outdated

### Core-rendered guidance

Core accepts one project-scoped post-command contribution with a stable identity. Post-provision writes or updates that contribution after refreshing state. Project post-deploy recomputes and replaces it, so `azd up` renders only the final post-deploy guidance. Service postdeploy handlers do not contribute user guidance.
Comment thread docs/specs/unified-azure-yaml/spec.md Outdated

The contribution is structured rather than direct stdout. Core renders it once after the command result and applies output-mode suppression. Contribution assembly failures remain diagnostic and do not change a successful command result.

Malformed unified configuration produces a service-scoped validation or doctor error instead of an empty state. Legacy fallback keeps the single warning path in `project.WarnLegacyAgentShape`.
@huimiu huimiu marked this pull request as draft July 13, 2026 07:31
@huimiu huimiu marked this pull request as ready for review July 13, 2026 09:53
Copilot AI review requested due to automatic review settings July 13, 2026 09:57

@jongio jongio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design spec reads clearly and is internally consistent. The deferred contract details and open decisions are explicitly scoped in the doc, so the direction is sound to proceed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


### Unified state and attribution

`nextstep.AssembleState` reads the parsed service graph first and falls back to legacy agent files only when unified configuration is unavailable. Doctor consumes the same state snapshot. Both continue classifying unresolved infrastructure variables by matching Bicep outputs, consistent with [issue #7975](https://github.com/Azure/azure-dev/issues/7975) and [PR #9081](https://github.com/Azure/azure-dev/pull/9081).
@JeffreyCA JeffreyCA added ext-agents azure.ai.agents extension ext-foundry azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes}, microsoft.foundry labels Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext-agents azure.ai.agents extension ext-foundry azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes}, microsoft.foundry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants