Skip to content

refactor!: remove naming.v1, dirctl mcp serve, and dirctl import - #2126

Draft
ramizpolic wants to merge 3 commits into
feat/identity-addfrom
feat/identity-remove-legacy
Draft

ramizpolic wants to merge 3 commits into
feat/identity-addfrom
feat/identity-remove-legacy

Conversation

@ramizpolic

Copy link
Copy Markdown
Member

Summary

Full removal of naming.v1, dirctl mcp serve, and dirctl import — stacked on top of #2125 (adds the identity/ownership claim system that supersedes naming.v1).

  • naming.v1: removes the NamingService gRPC service (domain verification + name resolution), its server-side implementation (server/naming), storage, CLI (dirctl naming), reconciler task, and client bindings. client.Resolve/cli/util/reference switch to the identity-based resolve now that the name collision with naming.v1's Resolve is gone.
  • dirctl mcp serve: removes the subcommand and its github.com/agntcy/dir-mcp dependency (a convenience wrapper around a separately released, standalone project). dirctl init agents/dirctl install no longer derive a (now-broken) MCP server entry for the DIR record's own self-description — only the DIR skill artifact is installed.
  • dirctl import: removes the subcommand and its github.com/agntcy/dir-importer dependency, the dedicated import-records CI workflow, and rewrites e2e export tests to seed data via dirctl push with pre-built OASF fixtures instead of importing raw sources.

Also updates the CLI reference, usage guide, skill-reference docs, README, renovate.json, and example Helm chart values accordingly.

Verification

go build && go vet && go test pass across api, server, client, cli, reconciler, tests, samples/ard-over-ads at this PR's tip.

Review note

Each individual commit is buildable on its own (naming.v1 removal → mcp removal → importer removal, in dependency order), but the middle commit intentionally leaves cli non-buildable in isolation (the pinned dir-mcp dependency needs naming.v1's GetVerificationInfo types until it's also removed in the next commit) — only the full 3-commit sequence needs to be green.

Superseded by the identity/ownership claim model (identity.v1): DNS
TXT/well-known JWKS domain verification is now one of several identity
providers (dns/wellknown/did/spiffe) behind a common Resolver interface,
rather than a naming-specific service.

Removes the NamingService gRPC service (domain verification + name
resolution), its server-side implementation (server/naming), storage
(server/database/gorm/naming.go), reconciler task, CLI (dirctl naming),
and client bindings. Migrates the sample consumer to the new
GetIdentityStatus API.
Removes the `dirctl mcp serve` subcommand and its embedded
github.com/agntcy/dir-mcp server. It was only ever a convenience wrapper
around a separately released, standalone project; removing it also lets a
later commit drop the naming.v1 wire-compat shim that dir-mcp's
`verify_name` tool needed.

`dirctl init agents` / `dirctl install` no longer derive a (now-broken) MCP
server entry for the DIR record's own self-description — only the DIR
skill artifact is installed. Updates docs and the example Helm chart
values accordingly.
Removes the `dirctl import` subcommand and its github.com/agntcy/dir-importer
dependency, along with the import-records CI workflow (dedicated to running
it against production). Rewrites e2e export tests to seed data via `dirctl
push` with pre-built OASF fixtures instead of importing raw A2A/MCP/SKILL.md
sources, and drops the extractor-enricher e2e suite that only exercised
`dirctl import --config`.

Updates the CLI reference, usage guide, and skill-reference docs (the
"Import and Export" page becomes "Export"-only). Also folds in two small
naming.v1-era leftovers missed by the earlier naming-removal commit: a
"nameVerificationStatus" -> "ownerVerificationStatus" parameter rename in
catalog.go, and the dead NameVerificationHost e2e test-config field.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification,
and it looks like your proposed title needs to be adjusted.

Details:

No scope found in pull request title "refactor!: remove naming.v1, dirctl mcp serve, and dirctl import". Scope must match one of: dir, dir/api, dir/server, dir/client, cli, cli/dir, helm, helm/dir, helm/dirctl, docker, importer, .*.

Examples:

- feat(dir/api): add new authentication endpoint
- fix(sdk/js): resolve issue with token refresh
- chore(deps): update dependencies

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedSep 8, 2026, 5:46 PM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 2000+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant