Files
mcp-microsoft/core
Saswata PanditandCopilot b3f862be67 Add Azure Resiliency Agent tools (#3845)
* Add the Azure Resiliency Agent tool area

Exposes the Azure Resiliency Agent through a single conversation-level tool,
resiliencyagent_conversation_ask. A developer describes an application in their
own words and receives a zonal resilience assessment, or asks for zone-resilient
Bicep, ARM or Terraform templates for new resources.

The area holds no agent logic. It is a thin client over the agent's existing A2A
surface, so the backend keeps ownership of what a turn does, including which
scenario handles it and when to stop and ask the user something. That is why one
conversation-level tool covers both assessment and template generation rather
than one tool per Azure operation.

The agent is multi-turn: it asks its own clarifying questions before it can act.
A single tool call therefore carries an entire conversation. The command polls
the agent, raises an elicitation when the agent needs input, feeds the answer
back, and returns once. The host model issues one call and never sees the
polling, so clarifying questions reach the user exactly as the agent wrote them
rather than depending on a model to follow instructions about how to poll.

While a turn is running the agent publishes short reasoning steps. Those are
forwarded as progress notifications, which also resets client inactivity timers
on a call that can run for minutes.

Templates and reports are written to the caller's working directory and returned
as paths, following the pattern the Azure Migrate platform landing zone tool
uses. A generated template is more useful as a file that can be opened and
deployed than as text in a chat reply, and a long report does not have to travel
through the model's context. Artifact names arrive from a remote service and are
treated as untrusted input when used as file names.

The tool is marked LocalRequired because it asks the user questions over the
client connection, which is not available in HTTP mode.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Add Start Resilient Azure MCP tool surface

Add five architecture and IaC scenario tools, local file attachment with explicit consent and bounded in-memory caching, A2A FilePart forwarding, public data-boundary routing, MCP artifact content blocks, evaluations, documentation, and tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Clean up Resiliency Agent README entry

Remove stale POC prompts and use customer-facing service-area language.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Use generated Resiliency Agent evaluations

Remove the checked-in Vally specification and rely on the repository evaluator to generate unattended routing evaluations from the E2E prompt inventory. Normalize interactive scenarios to the supported context-required classification.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Evaluate inline resiliency IaC reviews

Add generated Vally coverage for inline ARM, Bicep, and Terraform reviews. Clarify that review commands accept source directly in the request while local files use attachment IDs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Prefer attachments for IaC reviews

Guide complete and multi-file templates through the attachment flow while retaining direct support for templates pasted inline. Reserve existing IaC resiliency review for the format-specific Resiliency Agent commands instead of generic guidance tools.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Fix A2A inline file discriminator

Include the nested FileContent kind discriminator required by the A2A polymorphic contract so uploaded bytes, filename, and MIME type survive backend deserialization and blob offload.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Add general Resiliency Agent guidance

Add a conceptual guidance command and routing prompts, and make the public A2A endpoint plus delegated scope fixed production constants with no runtime environment overrides or auth bypass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Add Resiliency Agent service owner

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Fix Resiliency Agent PR checks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Handle canonical macOS temp paths in artifact tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Address Resiliency Agent review feedback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Improve Resiliency Agent tool routing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Improve Resiliency Agent artifact presentation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Materialize resiliency reports in workspaces

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Add clickable links for resiliency artifacts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Retrigger PR checks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Harden Resiliency Agent conversation handling

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Address Resiliency Agent artifact and test review

Preserve backend artifacts when workspace writes fail, harden metadata bounds, use factory-managed HTTP clients, and add recorded ARM/A2A playback coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Fix Resiliency Agent cross-platform CI tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

* Clarify Resiliency Agent attachment evaluation prompt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 974958dc-ded9-4351-bed3-07227e1bce92
2026-10-22 13:04:20 -07:00
..