fix(module)!: move module path to github.com/agentnameservice/ans - #93
Merged
Conversation
The repository moved from github.com/godaddy/ans to github.com/agentnameservice/ans, but go.mod still declared the old module path. Go refuses to fetch a module whose declared path differs from the requested one, so 'go install github.com/agentnameservice/ans/cmd/...@latest' was broken at the canonical home. Rename the module directive and all 208 import sites, and point the README clone URL and CONTRIBUTING upstream/issue links at the new home. Deliberately unchanged: - CHANGELOG.md release links (historical; the GitHub transfer redirect keeps them resolving) - oss@godaddy.com contacts in SECURITY.md / CODE_OF_CONDUCT.md (project contacts, not the repo home) - transparency.ans.godaddy.com schema URIs in the TL spec (production service hostnames served for historical-verifier compatibility) BREAKING CHANGE: importers must switch from github.com/godaddy/ans to github.com/agentnameservice/ans; the old import path no longer resolves against this repository. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: kperry <kperry@godaddy.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the repository’s Go module path from github.com/godaddy/ans to github.com/agentnameservice/ans (the repo’s current canonical location) and performs the corresponding mechanical import-site and documentation URL rewrites so the module can be consumed via the correct path.
Changes:
- Updated
go.modmodule directive togithub.com/agentnameservice/ans. - Rewrote Go import paths across the codebase from
github.com/godaddy/ans/...togithub.com/agentnameservice/ans/.... - Updated repository URLs in
README.mdandCONTRIBUTING.md.
Reviewed changes
Copilot reviewed 211 out of 211 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/demo/signproof/main.go | Import path rewrite to new module path |
| README.md | Clone URL updated to new GitHub org |
| internal/tl/service/statustoken.go | Import path rewrite to new module path |
| internal/tl/service/statustoken_test.go | Import path rewrite to new module path |
| internal/tl/service/statustoken_internal_test.go | Import path rewrite to new module path |
| internal/tl/service/schema.go | Import path rewrite to new module path |
| internal/tl/service/receipt.go | Import path rewrite to new module path |
| internal/tl/service/receipt_test.go | Import path rewrite to new module path |
| internal/tl/service/producersig.go | Import path rewrite to new module path |
| internal/tl/service/producersig_test.go | Import path rewrite to new module path |
| internal/tl/service/merkleproof.go | Import path rewrite to new module path |
| internal/tl/service/log.go | Import path rewrite to new module path |
| internal/tl/service/log_more_test.go | Import path rewrite to new module path |
| internal/tl/service/identitybadge.go | Import path rewrite to new module path |
| internal/tl/service/codec.go | Import path rewrite to new module path |
| internal/tl/service/checkpoint.go | Import path rewrite to new module path |
| internal/tl/service/badge.go | Import path rewrite to new module path |
| internal/tl/service/badge_internal_test.go | Import path rewrite to new module path |
| internal/tl/receipt/verify_helpers_test.go | Import path rewrite to new module path |
| internal/tl/receipt/statustoken.go | Import path rewrite to new module path |
| internal/tl/receipt/statustoken_test.go | Import path rewrite to new module path |
| internal/tl/receipt/smoke_verify_test.go | Import path rewrite to new module path |
| internal/tl/receipt/receipt_test.go | Import path rewrite to new module path |
| internal/tl/receipt/getters_test.go | Import path rewrite to new module path |
| internal/tl/receipt/generator.go | Import path rewrite to new module path |
| internal/tl/producerkey/memory_test.go | Import path rewrite to new module path |
| internal/tl/logstore/signer_errors_test.go | Import path rewrite to new module path |
| internal/tl/logstore/open_errors_test.go | Import path rewrite to new module path |
| internal/tl/logstore/log.go | Import path rewrite to new module path |
| internal/tl/logstore/log_test.go | Import path rewrite to new module path |
| internal/tl/logstore/jwssigner.go | Import path rewrite to new module path |
| internal/tl/logstore/jwssigner_test.go | Import path rewrite to new module path |
| internal/tl/logstore/getters_test.go | Import path rewrite to new module path |
| internal/tl/logstore/c2spsigner.go | Import path rewrite to new module path |
| internal/tl/logstore/c2spsigner_test.go | Import path rewrite to new module path |
| internal/tl/handler/handler.go | Import path rewrite to new module path |
| internal/tl/handler/handler_test.go | Import path rewrite to new module path |
| internal/tl/handler/handler_identity_test.go | Import path rewrite to new module path |
| internal/tl/handler/error_mapper_test.go | Import path rewrite to new module path |
| internal/tl/handler/empty_param_test.go | Import path rewrite to new module path |
| internal/tl/handler/empty_param_identity_test.go | Import path rewrite to new module path |
| internal/tl/handler/checkpoint.go | Import path rewrite to new module path |
| internal/tl/handler/admin_producerkeys.go | Import path rewrite to new module path |
| internal/tl/handler/admin_producerkeys_test.go | Import path rewrite to new module path |
| internal/tl/event/v1/event_test.go | Import path rewrite to new module path |
| internal/tl/event/v1/builder.go | Import path rewrite to new module path |
| internal/tl/event/identity/event.go | Import path rewrite to new module path |
| internal/tl/event/event.go | Import path rewrite to new module path |
| internal/tl/event/event_test.go | Import path rewrite to new module path |
| internal/tl/event/envelope_getters_test.go | Import path rewrite to new module path |
| internal/ra/service/v1event.go | Import path rewrite to new module path |
| internal/ra/service/renewal.go | Import path rewrite to new module path |
| internal/ra/service/renewal_expiry.go | Import path rewrite to new module path |
| internal/ra/service/renewal_expiry_test.go | Import path rewrite to new module path |
| internal/ra/service/registration.go | Import path rewrite to new module path |
| internal/ra/service/registration_test.go | Import path rewrite to new module path |
| internal/ra/service/registration_errors_test.go | Import path rewrite to new module path |
| internal/ra/service/order_flow_test.go | Import path rewrite to new module path |
| internal/ra/service/lifecycle.go | Import path rewrite to new module path |
| internal/ra/service/lifecycle_verifydns_test.go | Import path rewrite to new module path |
| internal/ra/service/lifecycle_test.go | Import path rewrite to new module path |
| internal/ra/service/leiverifier.go | Import path rewrite to new module path |
| internal/ra/service/identitykinds.go | Import path rewrite to new module path |
| internal/ra/service/identity.go | Import path rewrite to new module path |
| internal/ra/service/identity_test.go | Import path rewrite to new module path |
| internal/ra/service/identity_lei_test.go | Import path rewrite to new module path |
| internal/ra/service/identity_flow_test.go | Import path rewrite to new module path |
| internal/ra/service/helpers.go | Import path rewrite to new module path |
| internal/ra/service/helpers_test.go | Import path rewrite to new module path |
| internal/ra/service/feed.go | Import path rewrite to new module path |
| internal/ra/service/feed_test.go | Import path rewrite to new module path |
| internal/ra/service/dnsrecords.go | Import path rewrite to new module path |
| internal/ra/service/dnsrecords_test.go | Import path rewrite to new module path |
| internal/ra/service/dnsmismatch_test.go | Import path rewrite to new module path |
| internal/ra/service/discovery_default.go | Import path rewrite to new module path |
| internal/ra/service/agent_expiry.go | Import path rewrite to new module path |
| internal/ra/outbox/worker.go | Import path rewrite to new module path |
| internal/ra/outbox/worker_test.go | Import path rewrite to new module path |
| internal/ra/outbox/worker_errors_test.go | Import path rewrite to new module path |
| internal/ra/middleware/ownership.go | Import path rewrite to new module path |
| internal/ra/middleware/ownership_test.go | Import path rewrite to new module path |
| internal/ra/handler/v1renewal.go | Import path rewrite to new module path |
| internal/ra/handler/v1registration.go | Import path rewrite to new module path |
| internal/ra/handler/v1lifecycle.go | Import path rewrite to new module path |
| internal/ra/handler/v1lifecycle_direct_test.go | Import path rewrite to new module path |
| internal/ra/handler/v1events.go | Import path rewrite to new module path |
| internal/ra/handler/v1events_test.go | Import path rewrite to new module path |
| internal/ra/handler/v1certificates.go | Import path rewrite to new module path |
| internal/ra/handler/renewalmap.go | Import path rewrite to new module path |
| internal/ra/handler/registration.go | Import path rewrite to new module path |
| internal/ra/handler/order_dto_test.go | Import path rewrite to new module path |
| internal/ra/handler/lifecycle.go | Import path rewrite to new module path |
| internal/ra/handler/lifecycle_test.go | Import path rewrite to new module path |
| internal/ra/handler/identity.go | Import path rewrite to new module path |
| internal/ra/handler/identity_handler_test.go | Import path rewrite to new module path |
| internal/ra/handler/errors.go | Import path rewrite to new module path |
| internal/ra/handler/errors_internal_test.go | Import path rewrite to new module path |
| internal/ra/handler/dto.go | Import path rewrite to new module path |
| internal/ra/handler/dto_more_test.go | Import path rewrite to new module path |
| internal/ra/handler/dto_helpers_test.go | Import path rewrite to new module path |
| internal/port/store.go | Import path rewrite to new module path |
| internal/port/eventbus.go | Import path rewrite to new module path |
| internal/port/dns.go | Import path rewrite to new module path |
| internal/port/discovery.go | Import path rewrite to new module path |
| internal/port/certauthority.go | Import path rewrite to new module path |
| internal/lognote/lognote.go | Import path rewrite to new module path |
| internal/lognote/lognote_test.go | Import path rewrite to new module path |
| internal/finder/project/project.go | Import path rewrite to new module path |
| internal/finder/project/project_test.go | Import path rewrite to new module path |
| internal/finder/project/internal_test.go | Import path rewrite to new module path |
| internal/finder/poller/poller.go | Import path rewrite to new module path |
| internal/finder/poller/poller_test.go | Import path rewrite to new module path |
| internal/finder/poller/poller_edge_test.go | Import path rewrite to new module path |
| internal/finder/poller/httpclient.go | Import path rewrite to new module path |
| internal/finder/poller/httpclient_test.go | Import path rewrite to new module path |
| internal/finder/index/index.go | Import path rewrite to new module path |
| internal/finder/index/index_test.go | Import path rewrite to new module path |
| internal/finder/handler/validate.go | Import path rewrite to new module path |
| internal/finder/handler/handler.go | Import path rewrite to new module path |
| internal/finder/handler/handler_test.go | Import path rewrite to new module path |
| internal/finder/handler/handler_error_test.go | Import path rewrite to new module path |
| internal/finder/handler/dto.go | Import path rewrite to new module path |
| internal/finder/handler/conformance_test.go | Import path rewrite to new module path |
| internal/finder/feed/feed.go | Import path rewrite to new module path |
| internal/finder/feed/feed_test.go | Import path rewrite to new module path |
| internal/crypto/x509_test.go | Import path rewrite to new module path |
| internal/crypto/notekey_test.go | Import path rewrite to new module path |
| internal/crypto/keyhash_test.go | Import path rewrite to new module path |
| internal/crypto/jws.go | Import path rewrite to new module path |
| internal/crypto/jws_test.go | Import path rewrite to new module path |
| internal/crypto/jws_errorpaths_test.go | Import path rewrite to new module path |
| internal/crypto/jws_crit_test.go | Import path rewrite to new module path |
| internal/crypto/csr_test.go | Import path rewrite to new module path |
| internal/adapter/tlclient/client.go | Import path rewrite to new module path |
| internal/adapter/tlclient/client_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/store_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/sqlite.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/producerkeys.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/producerkeys_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/identityevents_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitetl/events.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/store_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/store_edge_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/sqlite.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/search.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/filter.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/explore.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/cursor.go | Import path rewrite to new module path |
| internal/adapter/store/sqlitefinder/apply.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/stores_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/sqlite.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/revocation.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/renewal.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/order_persistence_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/identity.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/identity_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/feed.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/feed_test.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/endpoint.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/certificate.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/byoc.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/agent.go | Import path rewrite to new module path |
| internal/adapter/store/sqlite/agent_test.go | Import path rewrite to new module path |
| internal/adapter/leiverifier/verifier.go | Import path rewrite to new module path |
| internal/adapter/leiverifier/noop.go | Import path rewrite to new module path |
| internal/adapter/leiverifier/leiverifier_test.go | Import path rewrite to new module path |
| internal/adapter/keymanager/file.go | Import path rewrite to new module path |
| internal/adapter/keymanager/file_test.go | Import path rewrite to new module path |
| internal/adapter/eventbus/inmemory.go | Import path rewrite to new module path |
| internal/adapter/eventbus/inmemory_test.go | Import path rewrite to new module path |
| internal/adapter/docsui/docsui_test.go | Import path rewrite to new module path |
| internal/adapter/dns/noop.go | Import path rewrite to new module path |
| internal/adapter/dns/lookup.go | Import path rewrite to new module path |
| internal/adapter/dns/dns_test.go | Import path rewrite to new module path |
| internal/adapter/dns/dns_more_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/registry/registry.go | Import path rewrite to new module path |
| internal/adapter/discovery/registry/registry_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/txt.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/txt_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/tlsa.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/tlsa_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/protocol.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/protocol_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/dnsaid.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/dnsaid_test.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/ansbadge.go | Import path rewrite to new module path |
| internal/adapter/discovery/ans/ansbadge_test.go | Import path rewrite to new module path |
| internal/adapter/didresolver/web.go | Import path rewrite to new module path |
| internal/adapter/didresolver/resolver_test.go | Import path rewrite to new module path |
| internal/adapter/didresolver/noop.go | Import path rewrite to new module path |
| internal/adapter/cert/validator.go | Import path rewrite to new module path |
| internal/adapter/cert/serverselfca.go | Import path rewrite to new module path |
| internal/adapter/cert/selfca.go | Import path rewrite to new module path |
| internal/adapter/cert/le_live_smoke_test.go | Import path rewrite to new module path |
| internal/adapter/cert/cert_test.go | Import path rewrite to new module path |
| internal/adapter/cert/acme.go | Import path rewrite to new module path |
| internal/adapter/cert/acme_test.go | Import path rewrite to new module path |
| internal/adapter/auth/static.go | Import path rewrite to new module path |
| internal/adapter/auth/static_test.go | Import path rewrite to new module path |
| internal/adapter/auth/oidc.go | Import path rewrite to new module path |
| internal/adapter/auth/oidc_e2e_test.go | Import path rewrite to new module path |
| internal/adapter/auth/admin_test.go | Import path rewrite to new module path |
| go.mod | Module directive updated to new canonical module path |
| CONTRIBUTING.md | Upstream remote + issues links updated |
| cmd/ans-verify/walk.go | Import path rewrite to new module path |
| cmd/ans-verify/walk_test.go | Import path rewrite to new module path |
| cmd/ans-verify/main.go | Import path rewrite to new module path |
| cmd/ans-tl/main.go | Import path rewrite to new module path |
| cmd/ans-tl/main_test.go | Import path rewrite to new module path |
| cmd/ans-ra/main.go | Import path rewrite to new module path |
| cmd/ans-finder/main.go | Import path rewrite to new module path |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ervice # Conflicts: # internal/adapter/tlclient/client.go # internal/ra/service/lifecycle_test.go # internal/ra/service/registration.go # internal/tl/event/event.go
csnitker-godaddy
approved these changes
Jul 23, 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.
What
Renames the Go module from
github.com/godaddy/anstogithub.com/agentnameservice/ans— the repo's actual home — in one shot:go.modmodule directiveREADME.mdclone URL,CONTRIBUTING.mdupstream remote + issues links(Replaces #92, which was missing the DCO sign-off. Includes a sync-merge of
main— #47, #68, #84, #89, #90, #91 — with the rename re-applied over the merged tree.)Why
The repo was transferred to
agentnameservice/ans, but the module directive still declared the old path. Go refuses a module whose declared path differs from the requested one, so the canonical install path was broken:This also unblocks listing the finder as an ARD reference implementation with a working quickstart.
Deliberately unchanged
Breaking
Anyone importing
github.com/godaddy/ansmust switch togithub.com/agentnameservice/ans. Until now the old path kept working via the GitHub transfer redirect; after this change only the canonical path resolves.Verification (re-run on the merged tree)
go build ./...✅go vet ./...✅make lint(golangci-lint v2.11.4): 0 issues ✅go test ./... -count=1: 42 packages pass ✅AI assistance
Assisted-by: Claude Code (claude-fable-5)
🤖 Generated with Claude Code