IQVO Assets Control
Every surface on this page is built on IQVO/iqvo-assets-control origin/develop 4fefd88 and
released at v0.1.6 (tag 3dde86c, 2026-12-03): the tag's cmd/, internal/adapters/inbound/,
apis/mcp/, charts/ and docs/adr/ trees are identical to develop. Switch states are from
IQVO/warehouse-infra origin/develop d12d05f, helm-values/iqvo-assets-control.yaml: REST on
(gatewayApi.enabled: true, Kong path /api/iqvo-assets-control), MCP on (mcp.enabled: true,
mcp.route.enabled: true, serverVersion: "0.1.6"), web on (web.enabled: true), and no a2a
block, so the A2A agent is built on develop (ADR 0010) and not deployed. Cluster pod state, checked
2026-12-02: the pods iqvo-assets-control, iqvo-assets-control-mcp and
iqvo-assets-control-frontend were all 0/1 Pending on the agent node k3s-agent2, which was
NotReady at the check, on image b5ef164 (the v0.1.3 tag); warehouse-infra develop has since
pinned 3dde86c (v0.1.6) in terraform/targets/k3s.images.yaml (commit 13c2eb8, 2026-12-03),
and whether the cluster has taken that pin was not checked. No surface has auth, like every fleet
endpoint: the in-cluster boundary is the access control.
What it is
iqvo-assets-control is the design-time architecture registry and map of the IQVO warehouse-systems
fleet, a "Kiali for design time" in the words of its README. It imports every published contract from
GitHub into immutable snapshots of the fleet in EventCatalog's
primitives (domains, systems, services, messages (events, commands, queries), channels, flows,
entities and owners), the relationships between them (each with every provenance that proves it and
its evidence), and the drift findings over them
(ADR 0001,
ADR 0004).
It owns the snapshots, the derivation rules and the finding rules, and nothing else. Strategic
classification: Generic; application.kind: platform, domain platform. It is a platform tool beside
this site's bounded contexts rather than one of them, which is why it has this one page and no context
pack. ADR 0010
(accepted 2026-12-02, fleet decision 5a of the agentic-gap plan) makes it the estate's agent registry:
the same snapshots list every MCP tool and A2A skill the fleet's release bundles declare, with the
authority level each one declares, and answer which agent can do something.
The code is hexagonal, enforced by internal/architecture/architecture_test.go, with three binaries:
cmd/api (the REST server plus the import worker), cmd/mcp and cmd/a2a. PostgreSQL is mandatory
and the only backing store (the chart refuses to render without a database); a cmd/ binary never
imports the in-memory test double.
What it reads
Sources and derivation rules are ADR 0002; snapshot persistence and the import queue are ADR 0003. Every import reads GitHub over HTTPS and nothing else:
| Source | What it reads | What it becomes |
|---|---|---|
the IQVO/ecosystem tarball at ECOSYSTEM_REF (default develop) | catalog.contexts.mjs (evaluated with goja), specs/<ctx>/asyncapi.yaml, openapi*.yaml, specs/no-consumer-reasons.yaml | domains, systems, event types, derived relationships |
| the same tarball | the YAML front matter of domains/**/index.mdx, services, events, queries and commands (with versioned/), channels/, users/, teams/, flows/ | services, catalog ids and versions, owners, channels, catalog flows, catalog relationships |
every IQVO/<repo> | the highest-SemVer system/<version>/ bundle | the system's services and messages, derived flows, actors, declared relationships |
every IQVO/<repo> | contracts/pinned.json | pinned relationships |
every IQVO/<repo> with charts/<repo>/, at the bundle's release tag, plus PLATFORM_REPOSITORY helm-values/ at PLATFORM_REF | the chart rendered in-process with _platform.yaml, <repo>.yaml and kind-resources/<repo>.yaml | the service's containers, derived (ADR 0009) |
POST /v1/system-bundles | a pushed System Assets bundle | outranks the GitHub bundle of the same application when newer |
An import is one Snapshot going from pending through importing to completed or failed.
cmd/api runs one every IMPORT_INTERVAL (default 1h; 0 means only on request), its worker
claims queued imports with FOR UPDATE SKIP LOCKED so more than one replica is safe, and
SNAPSHOT_RETENTION (default 50) is how many completed snapshots are kept. POST /v1/snapshots
(REST) and request_snapshot_refresh (MCP) queue the same import. There is no Kafka in v1: no topic,
no CloudEvents published or consumed
(ADR 0001).
What it answers
The web UI's pages, from web/src/pages/: Overview, Graph (the architecture graph through the lenses
all, domains, systems, services, teams and message-flow), Catalog, Domains, Systems,
Services, Containers, Flows, Messages, Impact, Findings, Snapshots (history and diff) and SystemSpecs.
Behind them:
- Specification documents per system
(ADR 0008,
accepted 2026-11-29): each system's OpenAPI, AsyncAPI, MCP server card and primitives, and A2A
agent card, stored per snapshot, content-addressed and checked against the bundle's
SHA256SUMS, served byGET /v1/systems/{id}/specificationsand.../specifications/{kind}. - One service per bounded context
(ADR 0009,
accepted 2026-11-29): a service is one bounded context with its interfaces (
rest,events,mcp,a2a) and the containers its Helm chart renders; a former per-interface service id (<ctx>-api,-mcp,-a2a) answers301to its service until the Sunset, 2027-06-01. - The estate's agent registry
(ADR 0010,
accepted 2026-12-02): every MCP tool and A2A skill of the release bundles with its declared
authority, release and endpoint, over REST (
GET /v1/agent-surfaces), MCP (find_capability,list_agent_surfaces) and A2A (find_capability). - Agent-surface governance findings
(ADR 0011,
accepted 2026-12-02): report-only rows of the existing findings model, filtered by
rule(an id or a prefix:agent-,a2a-,context-) on REST and MCP alike:
| Rule | Severity | What it flags |
|---|---|---|
agent-surface-no-authority | warning | a tool or skill whose authority is unknown: none declared, or a value outside L1..L4 |
agent-write-below-l3 | warning, or info | a tool or skill declared L1 or L2 that reads as a write (info-grade when only a name supports it) |
a2a-too-many-skills | warning | an agent card listing more than two skills (distinct ids) |
a2a-skill-without-mcp-write | warning, or info | a skill declared L3 or L4 with no L3-or-L4 MCP tool of the same system behind it (info-grade when the pairing is undeclared) |
context-mcp-without-agent | info | a system whose bundle lists an mcp asset and no a2a asset, unless exempt |
The exemption is configuration, not code: config/applications.yaml, section
agentGovernance.mcpOnly, lists the systems that are MCP-only on purpose, each with the ADR that
says so, and a listed system raises no context-mcp-without-agent. At develop it has two entries,
equipment-emulator (its ADR 0007) and payment-provider-simulator (its ADR 0006).
What it does not own
- No contract it reads: it is a Conformist to the ecosystem catalog and to every repository's published contracts, and a pushed bundle outranks the GitHub bundle of the same application rather than replacing it.
- No runtime truth: it does not observe runtime traffic, reads nothing from the running cluster, and publishes and consumes no events.
- No agent calls:
find_capabilityreads the imported bundles and calls no live agent; the A2A agent holds no write use case. - No second write: pushing a bundle (
POST /v1/system-bundles) is REST-only, andrequest_snapshot_refreshqueues an import and never changes or deletes a completed snapshot;governance_test.goandinternal/architecturefail the build on any further write. - No gate: the governance findings are report-only.
Surfaces
No surface has auth (fleet decision 2026-09-11): the in-cluster boundary is the access control. The fleet-wide conventions are on Agentic Standard, the per-context tool counts on Agent Catalogue and the per-agent skills on A2A agents.
| Surface | Binary | Port | Edge | Path |
|---|---|---|---|---|
| REST | cmd/api | 8080 | Kong | /api/iqvo-assets-control (prefix stripped) |
| MCP | cmd/mcp | 8090 | Agent Router (http://localhost:8010) | /api/mcp/iqvo-assets-control (rewritten to /mcp) |
| A2A | cmd/a2a | 8093 | Agent Router (http://localhost:8010), when deployed | /api/a2a/iqvo-assets-control (rewritten to /) |
| Web UI | web/ | 80 to 8080 | warehouse-infra's web gateway (http://localhost) | /assets-control/ |
REST
Through Kong at /api/iqvo-assets-control (gatewayApi.hosts[0].path, PathPrefix,
stripPath: true in warehouse-infra's values, which also switch the chart's namespace-scoped
KongPlugins cors, opentelemetry and prometheus on for this route only), answered by cmd/api
on :8080 with GET /healthz (liveness) and GET /readyz (pings PostgreSQL). Errors are RFC 9457
problem+json, POSTs honour Idempotency-Key, and every read takes ?snapshot= (default
latest). The resource model (sub-resources, pagination, caching, deprecation) is
ADR 0006;
the full route-to-use-case table is apis/openapi.yaml in the repository. Grouped by resource:
| Resource | Routes (the Kong prefix stripped) | What it answers |
|---|---|---|
| Snapshots and diff | GET /v1/snapshots, POST /v1/snapshots, GET /v1/snapshots/{snapshotId}, GET /v1/snapshots/{snapshotId}/diff | the import history, requesting a fresh import (the one REST write beside the bundle push), what changed between two snapshots |
| Pushed bundles | POST /v1/system-bundles | a pushed System Assets bundle, validated and immutable |
| Collections | GET /v1/{collection} for domains, systems, services, messages, channels, flows, entities, owners and findings; GET /v1/{collection}/{id} for all of them but findings | the EventCatalog primitives of one snapshot; findings filters by severity, code, system and rule and has no single-get route |
| Sub-resources | GET /v1/{collection}/{id}/relationships (domains, systems, services, messages, channels, flows, entities, owners), /impact (systems, services, messages, channels), GET /v1/systems/{systemId}/context-map, /services, /findings, GET /v1/domains/{domainId}/systems, GET /v1/owners/{ownerId}/systems, GET /v1/channels/{channelId}/messages, GET /v1/messages/{messageId}/versions, /producers, /consumers | what hangs off one item: the Resources table, a system's services and findings, a message's parties |
| Services and containers | GET /v1/services/{serviceId}/interfaces, GET /v1/services/{serviceId}/containers, GET /v1/containers, GET /v1/containers/{containerId} | a service's interfaces and the containers its Helm chart renders (ADR 0009) |
| Specification documents | GET /v1/systems/{systemId}/specifications, GET /v1/systems/{systemId}/specifications/{kind} | a system's OpenAPI, AsyncAPI, MCP server card and primitives, A2A agent card (ADR 0008) |
| Agent surfaces | GET /v1/agent-surfaces, GET /v1/agent-surfaces/{surfaceId} | every MCP tool and A2A skill the release bundles declare, with its authority (ADR 0010) |
| Graph and search | GET /v1/graph, GET /v1/search | the graph through a lens; a free-text search over ids and names |
| Deprecated RPC reads | GET /v1/impact, GET /v1/context-map, GET /v1/resources/{type}/{resourceId} | deprecated since ADR 0006: Deprecation and Sunset headers (Sunset Tue, 01 Jun 2027 00:00:00 GMT) and a successor Link to /v1/{collection}/{id}/impact, /v1/systems/{id}/context-map or /v1/{collection}/{id}/relationships |
MCP
cmd/mcp
(ADR 0005,
amended by
ADR 0007)
is the registry's MCP server: Streamable HTTP, stateless (no Mcp-Session-Id is issued), the official
MCP Go SDK, listening on :8090 (MCP_ADDR), with /mcp and / as the MCP endpoint, GET /healthz
open, and the MCP Server Card at GET /.well-known/mcp-server-card (com.iqvo.platform/iqvo-assets-control,
committed copy apis/mcp/server-card.json, whose remote is
http://localhost:8010/api/mcp/iqvo-assets-control). MCP_SERVER_VERSION is required and is both
serverInfo.version and the card's version; warehouse-infra's values set it to 0.1.6. The Agent
Router route /api/mcp/iqvo-assets-control (mcp.route.path, timeouts.request: "0s" so that
responses streaming over SSE are not cut at Envoy's 15 s default, parentRefs agent-router in
envoy-gateway-system from warehouse-infra's _platform.yaml) rewrites the prefix to /mcp. The
route is on in warehouse-infra develop; the pod iqvo-assets-control-mcp was 0/1 Pending at the
2026-12-02 check.
Every read tool is read-only, authority L1 (_meta["com.warehouse/authority"]), answers from the
latest completed snapshot unless snapshot names another, pages with limit and cursor like REST,
and calls the same use case as the REST route beside it. The registry is pinned by
internal/adapters/inbound/mcp/testdata/tool_registry.golden.json: 26 tools, 25 tagged L1 and one
L3.
| Intent | Tools | Authority |
|---|---|---|
| Orient | search, list_domains, list_systems, get_system, get_graph_summary | L1 |
| Read one primitive | get_service, get_message, get_flow, get_container, list_channels, list_containers | L1 |
| Every collection and sub-collection (read parity) | list_resources, get_resource, list_related | L1 |
| Relationships, impact, diff | get_resources (the Resources table), get_context_map, get_impact, find_producers, find_consumers, diff_snapshots | L1 |
| Findings | list_findings (filters severity, code, system, rule) | L1 |
| Specification documents | list_specifications, get_specification | L1 |
| Agent registry | find_capability, list_agent_surfaces | L1 |
| The one write | request_snapshot_refresh (idempotency_key, initiated_by?) | L3 |
request_snapshot_refresh queues a fresh import of every source, exactly what POST /v1/snapshots
does, through a second read-write pool that cmd/mcp opens for the import queue only (every other
statement runs on a READ ONLY pool). It answers the pending snapshot, answers an import that is
already pending or running instead of queueing another, replays a repeated idempotency_key, and
never changes or deletes a completed snapshot: it is tagged L3 (act on approval) because the import
queue is state, and the queue is the only state it changes. Pushing a bundle stays REST-only.
Beside the tools: one prompt, assess_change_impact(target), the standard operating procedure for
assessing what a change to a system, service, message or channel would affect (impact, producers and
consumers, and the findings around it); two resource templates,
iqvo-assets-control://systems/{systemId} and
iqvo-assets-control://systems/{systemId}/specifications/{kind}, both application/json and the
two entries the Agent Catalogue counts as this server's resources;
and no static resources. Errors use the REST codes (system-not-found, snapshot-not-found,
invalid-parameter). Every tool call opens one span, mcp.tool <name>, on the request's trace
context.
A2A
cmd/a2a
(ADR 0010)
is the registry's read-only Agent2Agent agent, built on a2a-go v2: JSON-RPC 2.0 over HTTP, stateless
and message-only (one request mapped to one answer, no Task lifecycle to track, Streaming: false),
listening on :8093 (A2A_ADDR), with GET /healthz open, /a2a and / as the JSON-RPC handler,
and the Agent Card at GET /.well-known/agent-card.json. The card's name is iqvo-assets-control,
its provider the IQVO organisation, its url the required absolute A2A_AGENT_URL, its version the
required SERVICE_VERSION (the chart version), and it declares no security schemes on purpose. A
skill is called with a data part {"skill": ..., "arguments": {...}} (camelCase arguments, unknown
ones refused) and answered with an envelope {skill, data} or {skill, problem}.
Two skills, both tagged authority:L1:
| Skill id | Name | Arguments | Use case |
|---|---|---|---|
find_capability | Find which agent can do something | q, kind?, maxAuthority?, limit?, snapshot? | FindCapability: the MCP tools and A2A skills of the release bundles that match q, best first and always in the same order, each with its kind, declared authority, owning system, release and the endpoint its card declares |
assess_change_impact | Assess what a change would affect | target (<type>:<id>), depth?, snapshot? | Impact: the systems that depend on the target, directly or transitively up to depth hops, each with its distance, path, technologies and the relationships that prove it |
A2A is the delegation channel: another agent asks the registry who can do something, or what a change
would affect, and gets an answer from the imported snapshot. The agent never calls a live agent,
never proxies another context's data and changes nothing: Deps holds no write use case,
request_snapshot_refresh is not a skill, there is no publisher and no import queue, and cmd/a2a
opens a READ ONLY pool.
Route, when deployed: the Agent Router at /api/a2a/iqvo-assets-control, rewritten to /
(a2a.route.path, timeouts.request: "0s", parentRefs from _platform.yaml; the chart refuses an
enabled route without them and never falls back to Kong). Status: built on develop and released at
v0.1.6, not deployed. The chart's a2a.enabled defaults to false and warehouse-infra's
helm-values/iqvo-assets-control.yaml has no a2a block, which is why the
A2A agents page lists it as built on develop and not deployed.
Web UI
web/ is the browser map of one snapshot: a static single-page application (React, Vite, sigma.js
WebGL graph) that calls only the REST API above, with its TypeScript types generated from
apis/openapi.yaml. It ships as its own image, ghcr.io/iqvo/iqvo-assets-control-web
(nginx-unprivileged on 8080, with a /healthz), is configured at start-up by a /config.json
(apiBaseUrl, optional catalogOrigin; http://localhost:8000/api/iqvo-assets-control in
warehouse-infra's values, the split localhost edge), and is served by warehouse-infra's Nginx web
gateway at /assets-control/ (terraform/apps.yaml web_path) through the Service
iqvo-assets-control-frontend (80 to 8080). It never goes through Kong: the chart renders no
route for it, and it names its objects *-frontend because the web gateway proxies only to
*-frontend Services. web.enabled is true in warehouse-infra develop; the pod
iqvo-assets-control-frontend was 0/1 Pending at the 2026-12-02 check.