feat: align with agent 365 (ignite 2026) and the released mcp 2026-07-28 spec #4659
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.57) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4659"
general
weight: 0.35
MohammadHaroonAbuomar
Related Issue
None linked. Problem, impact and alternatives are described below.
Problem & Solution
Problem. Several surfaces are out of step with the Microsoft Agent 365 / Ignite 2026 platform and the released MCP
2026-07-28specification, and a few paths fail open:mcp-scanand the bundled Claude Code, OpenCode and Antigravity MCP servers implement the2026-07-28release candidate wire format (top-level_metawithclientInfo/capabilities,server/discoverreturningprotocolVersion,Mcp-Nameonserver/discover). The released spec usesparams._metawithio.modelcontextprotocol/keys,supportedVersions, andMcp-Nameonly fortools/call/prompts/get/resources/read.MCPGatewayhas no way to reject header/body disagreement (Mcp-Method,Mcp-Name,Mcp-Param-) or to govern multi round-tripinput_requiredresults.allow); the RustPolicyEngineallows everything when no policy is loaded.azp/appid.allow_with_conditionswhile enforcing no conditions;examples/maf-integration//dotnetfail to build withNU1605(pinMicrosoft.Agents.AI1.3.0, extension requires 1.28.0).processContentor Entra agent identity lifecycle.Solution (8 commits, each scoped to one concern):
1.
fix(policy)— Cedar evaluation errors deny; RustPolicyEnginedenies without a policy,PolicyEngine::allow_all()is the explicit opt-in.2.
feat(identity)—describe_caller()classifies callers fromxms_act_fct/xms_sub_fct; relay logs and registry returns caller kind and blueprint (attribution only);AGENTMESH_ENTRA_REQUIRE_AGENT_IDENTITY; tokens without a client ID are rejected.3.
feat(mcp)— final2026-07-28wire format inmcp-scanand the three bundled servers (RC shape still accepted); newagent_os.mcp_stateless;MCPGateway.intercept_request(envelope + header/body validation, W3C trace context on audit) andintercept_input_required(sampling/roots denied by default, secret-seeking form elicitation denied, URL elicitation needs approval). ADR-0027 gains implementation notes; its status is unchanged.4.
fix(action)— composite action evaluates throughAgentControl, falls back toAgtRuntimefor 5.0.0, fails closed.5.
feat(integrations)— new alpha community packageagentmesh-agent365: Agent 365 observability spans withagt.policy., Copilot Studio/validate+/analyze-tool-executionbacked byMCPGateway(700 ms budget, fail closed), Purview client with ETag-aware scope caching, Entra agent identity → registry sync.6.
ci— adds the package to the integration matrix (kept separate per AGENTS.md).7.
fix(examples)— PDP fragment denies unenforced conditions and README documents thatpdp-fail-openonly annotates; MAF examples pin 1.28.0.8.
docs— A365 reference architecture, Entra tutorial, roadmap, CHANGELOG, BREAKING_CHANGES, security audit note.Impact on Your Work
We run AGT alongside Microsoft Agent 365 and Copilot Studio. Without these changes AGT cannot interoperate with released-spec MCP peers, cannot act as the Copilot Studio threat detection provider, and has fail-open paths in Cedar and Rust.
Timeline
None.
Alternatives Considered
docsandcireference the new package.agentmesh-integrations/.AGENTMESH_ENTRA_REQUIRE_AGENT_IDENTITYvalue as "disable verification": rejected; it now applies the strictest setting.Type of Change
Package(s) Affected
Core & runtime:
Governance & security:
Platform & tooling:
CLI plugins:
Shared / other:
Testing
Unit Testing
agent-os/tests/test_mcp_stateless.py(34): envelope validation, Base64 header decoding,x-mcp-headerschema rules, trace context,input_requiredgovernance throughMCPGateway.test_mcp_scan_cli.py: updated for the finalDiscoverResult/params._meta; new test that a discover result without2026-07-28falls back toinitialize.agent-mesh:TestAgentIdClaimsand env parsing intest_entra_verifier.py;test_cedar_runtime_error_fails_closed_despite_allow_default(fails without the fix).test_no_profile_denies_all,test_allow_all_is_explicit_opt_in, updated client tests.agent365-agentmesh/tests(34): mocked transports only, realMCPGateway/EntraAgentRegistrywhere installed.claude-code/test/mcp-server.test.mjs: modernparams._metaandDiscoverResultshape.scripts/tests/test_action_evaluate_policy.py(4).Manual Testing
Local results (macOS, Python 3.14, Node 26, .NET SDK 10.0.102):
examples/maf-integration/*/dotnetbuild;06-dotnet-extension-validationruns and blocks the denied calls.scripts/docs/check_links.py,check_frontmatter.py,scripts/ci/security-audit-required.sh: pass.Not verified locally — please rely on CI:
_nativemodule (the extension was not built); CI builds the real extension.Checklist
Attribution & Prior Art
Prior art / related projects (if any):
Implements published interfaces: MCP specification
2026-07-28(Streamable HTTP, MRTR), Copilot Studio external threat detection API2025-05-01, Microsoft GraphdataSecurityAndGovernanceandagentIdentity(v1.0), Agent 365 observability OTLP ingestion.AI Assistance
If AI tools materially shaped this change, briefly note what was used:
GitHub Copilot (agent mode) drafted the code, tests and docs under my direction. Opened as a draft pending my review.
IP, Patents, and Licensing