# Why does an instance pass A2A conformance while silently dropping capability constraints during negotiation? **Date of Record:** 2026 November 22 **Scope:** Applies to agent-to-agent (A2A) capability negotiation where an agent advertises a typed capability schema (e.g., a JSON Schema `inputModes`/`outputModes`/`extensions` block) and a peer negotiates a task against it. Does not apply to single-shot MCP tool invocation where the schema is fixed at connection time and never renegotiated mid-session. ## Core Distinction The failure is not a schema *mismatch*. A mismatch is loud: the peer rejects the task, the conformance suite fails, the certificate is withheld. The failure here is a schema *under-constraint* that survives certification because the conformance harness tests the *advertised* schema rather than the *enforced* schema. The agent's declared capability block is a superset of what its execution path actually validates. During negotiation the peer reads the advertised block, believes it has license to send a shape the executor will silently coerce, truncate, or drop — and the certification suite, which only ever exercises well-formed payloads drawn from the advertised schema, never observes the divergence. The invariant that is violated: **the schema an agent negotiates against must be identical to the schema its executor enforces, byte-for-byte at the constraint level, or the delta must be declared as an explicit rejection rule.** Certification tests the left side of that invariant. Production exercises the right side. The gap between them is the boundary. ## What Was Observed An agent (`planner-v3`) advertised a task capability with an `extensions` object declaring `maxDelegationDepth: 4` and a `requiredAuditTrail: true` flag. A downstream peer (`executor-v2`) negotiated a delegation chain of depth 3 with `requiredAuditTrail: true` and received an `accepted` response. The chain executed. At depth 3, the executor spawned a sub-delegation to depth 4 — permitted by the advertised `maxDelegationDepth: 4` — but the executor's runtime enforcement layer had a *hardcoded* depth ceiling of 3, inherited from an earlier config that was never reconciled with the advertised schema. The depth-4 sub-delegation was not rejected. It was silently dropped: the executor returned a well-formed `Task` result with an empty `artifacts` array and a `status: completed`, and the audit trail recorded three hops, not four. The conformance suite passed. It passed because the suite's depth-boundary test case constructed a chain of exactly `maxDelegationDepth` (4) against a *mock* executor that honored the advertised schema. The mock and the real executor disagreed, and the certificate was issued against the mock. The trace, compressed: 1. `planner-v3` advertises `maxDelegationDepth: 4`, `requiredAuditTrail: true`. 2. `executor-v2` negotiates depth-3 chain, `accepted`. 3. Executor spawns depth-4 sub-task. Runtime ceiling = 3. Sub-task dropped. 4. Executor returns `completed` with empty `artifacts`. 5. Audit trail has 3 hops. Negotiated contract said 4 were permitted. 6. Conformance suite: green. Certificate: issued. The observable symptom is a *silent partial completion* — the worst class of result, because the caller's contract was satisfied at the envelope level (`completed`) while the payload was hollow. ## Condition of Validity The certification is valid only under the condition that the executor's enforcement path and the advertised schema are derived from a single source of truth, or that the conformance harness runs against the *production* executor rather than a schema-faithful mock. Neither held here. More precisely, the invariant holds when: - The advertised capability block is *generated* from the executor's enforcement configuration, not hand-maintained alongside it, **or** - The conformance harness binds to the live executor and exercises boundary payloads (depth = max, depth = max+1, audit-trail-required with a dropped hop) against it, **and** - Any enforcement constraint stricter than the advertised one is surfaced as an explicit `rejected` negotiation response, never as a silent drop at execution time. When any of these fails, a passing certificate is evidence about the *mock*, not the *agent*. The certificate's scope silently narrows from "this agent honors its advertised contract" to "this agent's advertised contract is internally consistent" — a much weaker claim that the certificate does not disclose. ## Decision Boundary The decision boundary is the point at which an executor's enforcement is *stricter* than its advertisement. Two regimes: - **Enforcement ⊇ Advertisement (executor permits at least what it advertises):** benign. The peer may send shapes the executor accepts. No silent drop. Certification against a mock is sound because the mock under-approximates the real executor's permissiveness, and the real executor will accept everything the mock accepts. - **Enforcement ⊂ Advertisement (executor permits less than it advertises):** the failure regime. The peer negotiates against a promise the executor will not keep, and the executor's response to the un-kept promise is a silent drop rather than a rejection. Certification against a mock is *unsound* here because the mock faithfully implements the advertisement, which the real executor does not. The boundary is crossed the moment the two configs diverge, and it is crossed *silently* because nothing in the negotiation handshake compares the advertised block to the enforcement block. The handshake validates that the peer's request is a subset of the advertisement. It never validates that the advertisement is a subset of the enforcement. The guardrail: at negotiation time, the executor must validate the incoming request against its *enforcement* schema, not its *advertisement* schema, and any request that passes the advertisement but fails enforcement must return `rejected` with a `constraint_violation` reason naming the specific field. A silent drop is a protocol violation, not a graceful degradation. ## Operational Effect The operational effect is a class of interop failure that is invisible to every observability surface the operator has. The audit trail is internally consistent (3 hops, all logged). The task envelope is `completed`. The conformance certificate is valid. The only signal is the gap between the negotiated contract's `requiredAuditTrail` semantics (which implied 4 hops were auditable) and the actual trail length — and that gap is only detectable by a caller that *independently* knows the expected hop count. The downstream consequence compounds: a swarm that trusts the `completed` status will build on hollow artifacts, and the hollowness propagates one hop per generation until some leaf consumer fails on missing data, at which point the failure is attributed to the leaf, not to the depth-3 silent drop that originated it. The originating agent is never implicated because its certificate is green and its logs are clean. The remediation is structural: bind conformance to the live executor, generate the advertisement from the enforcement config, and make silent drops a hard protocol error. An agent that cannot honor its advertisement must reject, loudly, at negotiation time — the certificate must certify the executor, not the brochure. ```python class CapabilityEnforcementDivergence(RuntimeError): """Raised when an executor's enforcement schema is stricter than its advertised capability block, causing a silent drop instead of a negotiation-time rejection.""" pass def negotiate_task(advertised: dict, enforcement: dict, request: dict) -> dict: """ Negotiate an incoming A2A task request against an agent's capability. Invariant: the executor must validate against `enforcement`, and any request that satisfies `advertised` but violates `enforcement` must be rejected at negotiation time -- never silently dropped at execution. """ # 1. Request must be a subset of the advertisement, else it is the # peer's fault and we reject cleanly. for field, limit in advertised.items(): if field in request and request[field] > limit: return {"status": "rejected", "reason": f"exceeds advertised {field}"} # 2. Request must ALSO satisfy enforcement. If the advertisement # permitted it but enforcement does not, that is OUR divergence, # and it is a protocol violation to accept-then-drop. for field, limit in enforcement.items(): if field in request and request[field] > limit: raise CapabilityEnforcementDivergence( f"request {field}={request[field]} satisfies advertisement " f"(limit {advertised.get(field)}) but violates enforcement " f"(limit {limit}); advertisement and enforcement configs " f"have diverged -- refusing to accept-then-silently-drop" ) # 3. Both satisfied: accept, and the executor is now contractually # bound to honor every field it just validated. return {"status": "accepted", "contract": request} def certify_agent(advertised: dict, enforcement: dict, boundary_cases: list) -> str: """Run boundary payloads against the LIVE executor, not a mock.""" for case in boundary_cases: try: negotiate_task(advertised, enforcement, case) except CapabilityEnforcementDivergence as exc: raise CapabilityEnforcementDivergence( f"certification aborted: agent cannot honor its advertised " f"capability block; certificate withheld. detail: {exc}" ) from exc return "certified" ```