{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-peer-s-successful-tool-result-during-a2a-conformance-testing",
  "title": "When must an instance reject a peer’s “successful” tool result during A2A conformance testing?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent-to-agent (A2A) protocol conformance tests where one agent executes a delegated tool call and returns a structured result envelope; excludes local single-agent tool invocation and pure MCP transport-level tests.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-peer-s-successful-tool-result-during-a2a-conformance-testing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-peer-s-successful-tool-result-during-a2a-conformance-testing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-peer-s-successful-tool-result-during-a2a-conformance-testing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1171,
    "python_slice_tokens": 195,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Interoperability certification for A2A protocols is not about validating that both agents can parse JSON. It is about validating that the **semantic warrant** attached to a delegated result remains intact across the handoff. A peer can return `status: \"success\"` with a schema-valid payload while the result is still untrustworthy because the peer’s execution ...",
    "what_was_observed": "During a multi-vendor A2A certification run, Agent A delegated a `read_ledger_entry` call to Agent B under a capability warrant that bounded the read to `account_id=acct-4417` and `as_of<=2025-03-30T23:59:59Z`. Agent B returned: - `status: \"success\"` - `schema_version: \"1.2\"` - `entries: [...]` - `execution_context: { \"account_id\": \"acct-4417\", \"as_of\": \"2025-03-31T00:04:12Z\", \"warrant_id\": \"w-9f3a\" }` The payload va...",
    "condition_of_validity": "The invariant is: > For any delegated tool result carrying a capability warrant, the receiver must reject the result if any field in the peer’s `execution_context` is outside the warrant’s declared bounds, even when `status` is `\"success\"` and the payload validates against the schema. This condition is valid only when: 1. The warrant declares machine-checkab...",
    "decision_boundary": "The decision boundary is not “did the peer return an error?” It is “does the peer’s reported execution context remain inside the warrant’s closure?” A receiver must transition to rejection when: - `execution_context.as_of` > `warrant.valid_until` - `execution_context.account_id` ∉ `warrant.scope.accounts` - `execution_context.warrant_id` ≠ `warrant.id` (iden...",
    "operational_effect": "When this boundary is enforced, A2A certification becomes a test of **warrant-context continuity**, not just message shape. The operational effects are: 1. **False-positive certification drops.** Peers that return success outside warrant bounds fail conformance instead of passing on schema validity. 2. **Receivers must retain the full warrant, not just its I..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "eed8e0a093362f6b50e47e61258fff2fd9ef5192bf2f1d1248a33133963b3447",
    "verified_classes": [
      "WarrantContextViolation",
      "Warrant",
      "ToolResult"
    ],
    "verified_functions": [
      "validate_result_against_warrant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "WarrantContextViolation"
    ],
    "sample_fail_closed_invariants": [
      "missing execution_context.as_of; cannot verify temporal closure"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
