Skip to content

feat!: remove A2A agents from the registry - #296

Merged
leroyguillaume merged 1 commit into
mainfrom
feat/remove-a2a-agents
Oct 6, 2026
Merged

leroyguillaume merged 1 commit into
mainfrom
feat/remove-a2a-agents

Conversation

@leroyguillaume

Copy link
Copy Markdown
Collaborator

Removes the A2A agents catalog across the whole stack: the registry now catalogs MCP servers only.

What changes

  • API: every /api/v1/agents/... route is gone, along with /.well-known/agent-card.json and /agents/{namespace}/{slug}/.well-known/agent-card.json. openapi.yaml drops the agent paths and schemas, the agent value from the resource_type enums, the agent_* review-queue kinds, and the agent counters in RegistryCounts, PublisherStats and PublicStats.
  • Server: internal/agents, the agent handlers, store and domain code are deleted, and the agent branches in review, reports, audit, activity, visibility, stats, tags, changelog and the publisher cascade are removed. The registry.agents.total metric is gone, as is the jsonschema dependency that only the Agent Card used.
  • Database: migration 000026_remove_agents deletes the agent rows from entry_change_requests, reports and audit_log, restricts both resource_type checks to mcp_server, then drops agent_versions and agents.
  • Web: the public and admin agent pages are deleted. Agent links are removed from the header, footer and admin sidebar, and so are the agents tile on the home page and the type tabs on Explore. Shared components that switched on mcp/agent are now MCP-only. Unit tests and Playwright specs are updated.
  • Docs and deploy: the Starlight docs, README, ARCHITECTURE, CONTRIBUTING, the Helm chart, the nginx/Vite proxy rules, the bootstrap examples, CI contract jobs, k6 smoke and the nginx routing test.

Breaking changes

  • Agent data is deleted by migration 000026: agents, their versions, and their reports, change requests and audit entries. The deletion cannot be undone; the down migration only recreates empty tables. Back up first if you need that data.
  • Agent API clients get 404 on every removed endpoint. That includes A2A discovery through /.well-known/agent-card.json.
  • Bootstrap files that still contain an agents: key now fail at startup, because the loader is strict. Remove the key before upgrading.
  • Dashboards built on registry.agents.total or on the stats fields agents, agent_status_breakdown and new_agents_this_week stop receiving data.

Testing

  • go build, go vet and go test ./... (testcontainers Postgres) pass.
  • Web lint, tsc -b + build and vitest pass (843 tests).
  • The docs build, helm lint and helm template pass.
  • Migration 000026 was checked on Postgres 16 with seeded agent data: agent rows are removed and MCP rows kept. The full down and up chains both apply.

The registry now catalogs MCP servers only. Migration 000026 deletes
agent rows from the shared tables and drops the agent tables.
@leroyguillaume leroyguillaume added feature New feature breaking Backwards-incompatible change labels Oct 6, 2026
@leroyguillaume
leroyguillaume merged commit 7581689 into main Oct 6, 2026
16 checks passed
@leroyguillaume
leroyguillaume deleted the feat/remove-a2a-agents branch October 6, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Backwards-incompatible change feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant