Skip to content

fix(dotnet-agent-identity)!: rename the package and namespace - #2153

Merged
Benoît Cortier (CBenoit) merged 1 commit into
masterfrom
cbenoit-rename-agent-identity-authority
Oct 26, 2026
Merged

Benoît Cortier (CBenoit) merged 1 commit into
masterfrom
cbenoit-rename-agent-identity-authority

Conversation

@CBenoit

Copy link
Copy Markdown
Member

Publish the authority library as Devolutions.Agent.Identity.Authority, and rename its assembly, root namespace, projects, solution and folder (dotnet/Devolutions.Agent.Identity.Authority/) to match. Packages group by product with dots, as Devolutions.Gateway.Client and Devolutions.Agent.Channel do, and "authority" is the contract's term for the side that DVLS and PowerShell Universal implement, so the name says which side of the protocol the library serves.

Type names, behaviour and test vectors are unchanged: a host replaces the package reference and using Devolutions.AgentIdentity; with using Devolutions.Agent.Identity.Authority;. The version is 2026.10.26.

The folder's two intent files, INTENT.md and the INTENT.agent-identity.md link, move with it unchanged, and the test markers that cite INTENT.md follow the new path.

BREAKING CHANGE: the package ID, assembly name and namespace change from Devolutions.AgentIdentity to Devolutions.Agent.Identity.Authority.

Issue: DGW-479
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Publish the authority library as
`Devolutions.Agent.Identity.Authority`, and rename its assembly, root
namespace, projects, solution and folder
(`dotnet/Devolutions.Agent.Identity.Authority/`) to match. Packages
group by product with dots, as `Devolutions.Gateway.Client` and
`Devolutions.Agent.Channel` do, and "authority" is the contract's term
for the side that DVLS and PowerShell Universal implement, so the name
says which side of the protocol the library serves.

Type names, behaviour and test vectors are unchanged: a host replaces
the package reference and `using Devolutions.AgentIdentity;` with
`using Devolutions.Agent.Identity.Authority;`. The version is
2026.10.26.

The folder's two intent files, `INTENT.md` and the
`INTENT.agent-identity.md` link, move with it unchanged, and the test
markers that cite `INTENT.md` follow the new path.

BREAKING CHANGE: the package ID, assembly name and namespace change
from `Devolutions.AgentIdentity` to
`Devolutions.Agent.Identity.Authority`.

Issue: DGW-479
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CBenoit Benoît Cortier (CBenoit) added the publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) label Oct 26, 2026
@CBenoit

Copy link
Copy Markdown
Member Author

Lines changed, all one-for-one renames (111 files, +141 −141):

Part Files Lines
Production (library sources, .csproj, packed README) 59 +68 −68
Tests 45 +63 −63
Other (CI, publish-libraries.yml, build.ps1, solution, .editorconfig, intent files) 7 +10 −10

Intent files touched, moved only, content unchanged:

  • dotnet/AgentIdentity/INTENT.md → dotnet/Devolutions.Agent.Identity.Authority/INTENT.md (it does not name the package);
  • dotnet/AgentIdentity/INTENT.agent-identity.md → dotnet/Devolutions.Agent.Identity.Authority/INTENT.agent-identity.md (a link to docs/agent-identity/INTENT.agent-identity.md, same relative target).

No contract file names the package.

git grep -i AgentIdentity still matches only these, each intentional:

  • the public types, whose names don't change: AgentIdentityError, AgentIdentityErrorCode, AgentIdentityErrorCodeExtensions, AgentIdentityResult, AgentIdentityProtocol, their test classes, and the README lines naming them;
  • DVLS's own intent path, DVLS/Server/server/Common/AgentIdentity/INTENT.md in the RDM repository, cited by agent-identity-mock and agent-identity-conformance;
  • DVLS OpenAPI names (AgentIdentityPublicApi_*, AgentIdentity*DTO, AgentIdentityView, AgentIdentityManage, …) in the same two crates, and the conformance suite's DevolutionsAgentIdentityConformance task name;
  • the Agent installer's AgentIdentity helper and its EnrollAgentIdentity and RemoveAgentIdentity custom actions, which are agent-side.

Checks run locally on 7e60933b4:

  • dotnet test on the solution: 1786 passed, 0 failed;
  • build.ps1: Release build with 0 warnings, packs Devolutions.Agent.Identity.Authority.2026.10.26.nupkg and .snupkg; the nuspec ID is the new one, the dependency is Devolutions.Agent.Channel 2026.9.25, and the assembly holds no Devolutions.AgentIdentity string;
  • ci/check-oracle-markers.ps1 -Base origin/master: exit 0.

Version: publish-libraries.yml packs the .csproj version, now 2026.10.26 under the date scheme; Devolutions.AgentIdentity stays at 2026.10.20 on nuget.org. The publish-required label is set because the new ID has no published version yet.

Note

LLM-assisted content (no human feedback).

@CBenoit
Benoît Cortier (CBenoit) merged commit b4b1995 into master Oct 26, 2026
56 checks passed
@CBenoit
Benoît Cortier (CBenoit) deleted the cbenoit-rename-agent-identity-authority branch October 26, 2026 11:22
@github-actions github-actions Bot removed the publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant