Skip to main content

Agentic Standard v2

Status: accepted, phased rollout. Date: 2026-11-02. Scope: the warehouse fleet and the retail network.

The fleet already runs the three transports that matter, and this decision does not replace any of them:

TransportCarriesUnchanged rule
Kafka + CloudEventsfacts between contextsthe only data-sync channel
MCPan agent's toolsadditive inbound adapter, Streamable HTTP, official Go SDK
A2Adelegation of a goal to another context's agentmessage-only skills, at most two per context

What changes is governance and completeness on top of them. Nothing in a domain or application layer moves, the hot path is untouched, and every endpoint stays unauthenticated (the 2026-09-11 revert stands; re-adopting auth is a separate decision plus an ADR).

Why now​

Across the WMS and supply-chain market in 2026 the same patterns converge: named role agents split into interactive assistants and background monitors; graduated authority per agent; a control plane with approvals and a traceable action record; MCP and A2A so customers' own AI platforms can reach the agents; a single workspace of issues with recommended resolutions; procedures tested on historical scenarios before go-live. The fleet already has the protocols on every context. It lacks the governance, the completeness and the evaluation discipline around them.

The nine standards​

IdStandardEnforced by
AS-1Every MCP tool and A2A skill declares an authority level L1 to L4fleet rule agent-authority, fitness test per repo, catalogue
AS-2An agent-initiated state change is attributable through an initiated_by data field on the domain eventthe same rule, contract test on the pilot event
AS-3A complete MCP surface: tools, at least one resource, at least one promptgolden registry test
AS-4MCP specification revision 2026-07-28 conformance (stateless, server discovery)post-deploy conformance probe
AS-5Long-running work returns a task handle (MCP Tasks extension, A2A task lifecycle); transactional skills stay message-onlyper-tool review plus probe
AS-6One generated catalogue of MCP servers and A2A agents with authority levels, with a live drift checkgenerator check in the docs CI
AS-7OpenTelemetry GenAI semantic conventions on agent and tool spans, plus an agent-operations dashboard as codedashboard-as-code check
AS-8Agents earn authority through replay evaluation and shadow-mode agreementCI scenario replay gate
AS-9An agentic commerce edge on the retail network (catalog and checkout capabilities over MCP, mandate-based payments simulated)retail-network ADR plus e2e scenario

AS-1 Authority levels​

LevelNameWhat the tool may doGate the caller must apply
L1Informread facts, change nothingnone
L2Recommendreturn a proposal or ranking, change nothingnone
L3Act on approvalchange statea human confirmation between proposal and call
L4Act within an envelopechange state without per-call approvalonly where the owning context's domain enforces the envelope as an invariant, granted by an ADR in that context

There is no L5. Declaration: MCP tool metadata key com.warehouse/authority with the value L1 to L4; A2A skill tag authority:L1 to authority:L4. A write is L3 unless an ADR says otherwise. Because endpoints are unauthenticated, the level documents the gating the caller applies; the confirmation lives in the client (the ops agent's HMAC confirmation token from its act slice), not in the context.

AS-2 Attribution​

The durable record of an agent action is the domain event the owning context already publishes. When a write arrives through MCP or A2A, the adapter stamps initiated_by into the event data. REST writes carry none. It is a data field, not a CloudEvents extension attribute, so the envelope standard is untouched.

A proposal event stream published by the ops agent is deliberately deferred: the ops agent owns no persisted state and no Kafka producer (its ADR 0001 and ADR 0027), and giving it both is a change of its own that needs its own ADR. Until then the proposal trail is the confirmation token, a proposal identifier carried into initiated_by, and spans and logs. The seam is recorded, not removed.

AS-3 to AS-7 in one paragraph each​

AS-3: the agent catalogue page counts the MCP servers that also expose resources and prompts (32 of 43 on 2026-12-02); the others expose tools only. Resources are scoped read models, never dumps; prompts are the operator procedures, which is the fleet's answer to procedures-as-agents. AS-4: the 2026-07-28 revision removes protocol sessions and the initialize handshake and adds server discovery; the pinned Go SDK supports it, but a server built with the default HTTP handler options still advertises only the older revisions over HTTP. Each server therefore turns on the SDK's stateless handler option (one line in its MCP server file), which serves the new revision and keeps answering legacy initialize clients. The fleet moves once, in a single wave, and post-deploy probes stop relying on a session header; the raw probe needs a method header and per-request metadata (see the contracts file). AS-5: expensive evaluations (capacity plans, slot plan review, network what-ifs) return a task handle; quick request and response skills stay as they are. The pinned Go SDK does not yet implement the MCP Tasks extension (its upstream issues are open), so until it does the MCP side uses an explicit start tool that returns a server-minted handle plus a result tool taking that handle, which is the pattern the 2026-07-28 revision itself recommends for cross-call state. The A2A side can use the task lifecycle that the pinned A2A SDK already provides. AS-6: the A2A card index generator grows into an agent catalogue that also emits a private server.json per MCP server (registry format, Streamable HTTP remote) and the authority levels; it is not published to the public registry because the servers are cluster-internal. AS-7: keep the mcp.tool and a2a.skill spans, add the GenAI operation and agent name attributes, and ship one agent-operations dashboard.

AS-8 Earned authority​

Each agent behaviour has a godog feature and a replay scorecard on the warehouse-day simulator. L2 to L3 requires shadow-mode agreement above an agreed threshold over N replayed days. L3 to L4 requires an ADR in the owning context. This is the same left-shift as the repo gates.

AS-9 Commerce edge​

Status 2026-12-02: storefront-bff has a shopper-shaped MCP server (nine tools, prepare_checkout hands off with a continue_url and never completes a purchase) and an A2A agent, built on develop and not deployed; the payment provider simulator has an MCP surface of three tools for mandate-style test tokens. The storefront contexts that have an A2A agent but no MCP server gain one. Product discovery targets the Universal Commerce Protocol catalog capability over its MCP binding; checkout and payments follow later, with a mandate model simulated by the payment provider simulator. The Agentic Commerce Protocol is deferred.

Feature verdicts​

Each candidate behaviour was checked against the current code and ADRs before being accepted.

IdBehaviourVerdictEvidence and constraint
F1Explain why work is not being releasedPROCEED, L1read-only over flow status, availability and exceptions; ops agent stays read-only
F2Labor reallocation proposal and approved assignmentPROCEED, L2 then L3, pilotworkforce-management already offers assign_labor on MCP and A2A with domain invariants (one active assignment, certification match); labor-performance only serves reads; reuses the act-slice confirmation flow
F3Auto-close a fully received receiptDEFER, L4 candidateinbound-receiving MCP is read-only by charter, so a close tool first needs an ADR in that context amending the charter; the envelope (zero discrepancies on every line) is a domain invariant, which is what makes L4 admissible
F4Draft an ASN from a documentDEFER, L3needs an outbound extraction port in stub mode behind an anti-corruption layer, owned by vendor connectivity or seller inbound; draft passes normal validation
F5Cycle-count proposalsPROCEED, L2 onlyRunCycleCount belongs to inventory-storage and an overage is reported, never auto-reconciled (its ADR 0002); the agent proposes, humans count
F6Exception triagePROCEED, L1 and L2extends the advisory exception context already in the ops agent (its ADR 0028)
F7Agent inbox screen in the consolePROCEEDnew console remote on the ops agent backend, following the MFE registration standard
F8Daily brief reasonerPROCEED, L1finishes the documented next phase of the ops agent ADR 0004; deterministic fallback stays the arbiter
F9Shipment ETA riskPROCEED, L1read-only outlook over shipping, linehaul and last-mile contexts
F10Agent shopping and checkoutPROCEED in phasesAS-9; catalog first, checkout later

Not adopted, on purpose​

A no-code agent builder; a separate agent platform outside the bounded contexts (agents stay inside their context or in the ops agent); a shared data foundation for agent-to-agent negotiation (it would break database-per-context and events-for-facts); governed autonomy as a level; robotics and warehouse control orchestration (a reserved, unbuilt seam).

Seams recorded, not built​

Enterprise-managed authorization for MCP, signed Agent Cards and mutual TLS in A2A 1.0, and a gateway aware of MCP and A2A in front of or beside the current gateway. Each is a decision for later and none is a prerequisite.

Rollout​

PhaseContentDone when
0this decision, the fleet rule, pinned contract namesmerged
1spike: one context on the 2026-07-28 revision with one task tool and authority metadataprobe shows discovery, stateless listing and a polled task
2pilot F2 end to end in the clusterproposal, approval, assignment, event with initiated_by, trace
3fitness tests and generators in the harness templateeach gate fails when broken once
4fleet waves: metadata and surface completeness, conformance, behaviourscatalogue lists every tool and skill with its level
5commerce edgea catalog client completes discovery against the cluster
6polish: interactive widgets for external clients, gateway evaluationoptional

References​