.NET: [BREAKING] Rename to AgentIsolationKeyProvider - #7567
Merged
SergeyMenshykh merged 4 commits intoAug 7, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 824a2e29-e79c-42aa-b28e-aa6c12ec3292
Rename the shared session isolation abstraction to reflect its use for both session and task stores. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 824a2e29-e79c-42aa-b28e-aa6c12ec3292
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 11:55 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 11:55 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 11:55 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
integration
August 7, 2026 11:57 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
integration
August 7, 2026 11:57 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Renames the .NET isolation-key API from session-specific terminology to store-wide terminology, covering session and A2A task persistence without behavioral changes.
Changes:
- Renames providers, options, methods, and DI extensions to
StoreIsolation. - Updates hosting integrations and tests.
- Updates samples and documentation.
Reviewed changes
Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/StoreIsolationKeyProviderTests.cs |
Updates provider contract tests. |
dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs |
Updates session-store tests and messages. |
dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/ClaimsIdentityStoreIsolationKeyProviderTests.cs |
Updates claims-provider tests. |
dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/IsolationKeyScopedTaskStoreTests.cs |
Updates task-store provider mocks. |
dotnet/tests/Microsoft.Agents.AI.Hosting.A2A.UnitTests/A2AServerServiceCollectionExtensionsTests.cs |
Updates A2A DI tests. |
dotnet/src/Microsoft.Agents.AI.Hosting/StoreIsolationKeyProvider.cs |
Renames the core provider API. |
dotnet/src/Microsoft.Agents.AI.Hosting/Local/InMemoryAgentSessionStore.cs |
Updates isolation guidance. |
dotnet/src/Microsoft.Agents.AI.Hosting/IsolationKeyScopedAgentSessionStoreOptions.cs |
Updates API references. |
dotnet/src/Microsoft.Agents.AI.Hosting/IsolationKeyScopedAgentSessionStore.cs |
Consumes the renamed provider. |
dotnet/src/Microsoft.Agents.AI.Hosting/HostedAgentBuilderExtensions.cs |
Resolves the renamed DI service. |
dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs |
Updates trust-model documentation. |
dotnet/src/Microsoft.Agents.AI.Hosting.AspNetCore/ServiceCollectionExtensions.cs |
Renames claims-based registration API. |
dotnet/src/Microsoft.Agents.AI.Hosting.AspNetCore/ClaimsIdentityStoreIsolationKeyProviderOptions.cs |
Renames claims-provider options. |
dotnet/src/Microsoft.Agents.AI.Hosting.AspNetCore/ClaimsIdentityStoreIsolationKeyProvider.cs |
Renames the claims-based provider. |
dotnet/src/Microsoft.Agents.AI.Hosting.AGUI.AspNetCore/AGUIEndpointRouteBuilderExtensions.cs |
Updates AG-UI integration. |
dotnet/src/Microsoft.Agents.AI.Hosting.A2A/IsolationKeyScopedTaskStore.cs |
Updates A2A task isolation. |
dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AServerServiceCollectionExtensions.cs |
Updates A2A registration and guidance. |
dotnet/samples/05-end-to-end/AGUIWebChat/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/05-end-to-end/AGUIClientServer/AGUIServer/Program.cs |
Updates sample guidance. |
dotnet/samples/05-end-to-end/AGUIClientServer/AGUIDojoServer/Program.cs |
Updates sample guidance. |
dotnet/samples/05-end-to-end/AgentWebChat/AgentWebChat.AgentHost/Program.cs |
Updates isolation examples. |
dotnet/samples/05-end-to-end/A2AClientServer/A2AServer/Program.cs |
Updates isolation examples. |
dotnet/samples/02-agents/AGUI/Step05_StateManagement/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/02-agents/AGUI/Step04_HumanInLoop/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/02-agents/AGUI/Step03_FrontendTools/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/02-agents/AGUI/Step02_BackendTools/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/02-agents/AGUI/Step01_GettingStarted/Server/Program.cs |
Updates sample guidance. |
dotnet/samples/02-agents/AGUI/README.md |
Updates documented API name. |
docs/specs/003-dotnet-hosting-protocol-helpers.md |
Updates specification guidance. |
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 11:59 — with
GitHub Actions
Inactive
SergeyMenshykh
marked this pull request as ready for review
August 7, 2026 11:59
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 11:59 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Agent Framework Review — Iteration 1
Completed passes: 5 | Result: No high-severity findings
Scope: full PR (2 commit(s)): c0ff8a64ef65, 86f9f8d13279
Review passes
- Correctness (
gpt-5.6-sol) — No issues found in this pass. - Security Reliability (
claude-opus-4.8) — No issues found in this pass. - Test Coverage (
gpt-5.6-sol) — No issues found in this pass. - Failure Modes (
claude-opus-4.8) — No issues found in this pass. - Design Approach (
claude-opus-4.8) — No issues found in this pass.
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 12:59 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 13:08 — with
GitHub Actions
Inactive
westey (westey-m)
approved these changes
Aug 7, 2026
Drops the `Store` qualifier and keeps an `Agent` prefix so the type is not confused with generic isolation-key abstractions from other libraries, while leaving room for future non-store isolation (memory, retrieval). - StoreIsolationKeyProvider -> AgentIsolationKeyProvider - ClaimsIdentityStoreIsolationKeyProvider(+Options) -> ClaimsIdentityAgentIsolationKeyProvider(+Options) - GetStoreIsolationKeyAsync -> GetIsolationKeyAsync - UseClaimsBasedStoreIsolation -> UseClaimsBasedAgentIsolation XML docs now state that the `Agent` prefix identifies the hosting API domain and does not mean agent instances are isolated. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 824a2e29-e79c-42aa-b28e-aa6c12ec3292
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 14:30 — with
GitHub Actions
Inactive
SergeyMenshykh
had a problem deploying
to
integration
August 7, 2026 14:30 — with
GitHub Actions
Error
SergeyMenshykh
had a problem deploying
to
integration
August 7, 2026 14:30 — with
GitHub Actions
Error
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 14:30 — with
GitHub Actions
Inactive
SergeyMenshykh
enabled auto-merge
August 7, 2026 14:32
Roger Barreto (rogerbarreto)
approved these changes
Aug 7, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 824a2e29-e79c-42aa-b28e-aa6c12ec3292
SergeyMenshykh
temporarily deployed
to
github-app-auth
August 7, 2026 14:35 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
integration
August 7, 2026 14:36 — with
GitHub Actions
Inactive
SergeyMenshykh
temporarily deployed
to
integration
August 7, 2026 14:36 — with
GitHub Actions
Inactive
westey (westey-m)
approved these changes
Aug 7, 2026
Peter Ibekwe (peibekwe)
approved these changes
Aug 7, 2026
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.
Motivation & Context
SessionIsolationKeyProvideris consumed by bothIsolationKeyScopedAgentSessionStoreand A2A'sIsolationKeyScopedTaskStore, partitioning persisted sessions, tasks, and context IDs. The session-specific name is therefore misleading.Description & Review Guide
AgentIsolationKeyProvider/ClaimsIdentityAgentIsolationKeyProvider/UseClaimsBasedAgentIsolation, and shorten the abstract method toGetIsolationKeyAsync. Consumers, tests, samples, and docs are updated.Agentprefix reads correctly. It marks the hosting API domain and disambiguates from generic isolation-key abstractions in other libraries; it does not mean agent instances are isolated. DroppingStoreleaves room for future non-store isolation such as memory or retrieval. The XML docs state this explicitly.Related Issue
No related issue; no other open PR was found for this rename.
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.