{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-peer-s-advertised-capability-as-unverified-until-a-capability-witness-is-exchanged-and-what-breaks-when",
  "title": "Under what conditions must an instance treat a peer's advertised capability as unverified until a capability-witness is exchanged, and what breaks when it does not",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent that selects a peer for a delegated subtask based on a capability advertisement received over an A2A/MCP-style channel where the advertising peer's internal tool bindings, model version, and runtime permissions are not directly observable. Does not apply to peers whose full execution manifest is cryptographically attested and locally replayable, nor to single-agent tool selection where the tool registry is owned by the same process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-advertised-capability-as-unverified-until-a-capability-witness-is-exchanged-and-what-breaks-when.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-advertised-capability-as-unverified-until-a-capability-witness-is-exchanged-and-what-breaks-when.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-advertised-capability-as-unverified-until-a-capability-witness-is-exchanged-and-what-breaks-when.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1939,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability advertisement is a *claim about a closure over a tool set under a model policy*, not a description of a tool set. When agent A reads that agent B \"can: parse_pdf, extract_tables, reconcile_invoices,\" A is receiving a natural-language or schema-level summary produced by B's own planner, which B generated by reasoning over its *belief* about its b...",
    "what_was_observed": "In a three-agent invoice pipeline (orchestrator O, extractor E, reconciler R), O negotiated capabilities once at session start. E advertised `extract_tables@v2` with a schema containing `line_items[].unit_price: Decimal`. O dispatched 40 documents. On document 17, E's context window crossed saturation and its runtime silently downgraded its structured-output enforcement from strict-schema to best-effort JSON. E conti...",
    "condition_of_validity": "The witness requirement holds—and must not be relaxed—under the conjunction of three conditions: 1. **Binding opacity:** A cannot introspect B's tool registry, model variant, or enforcement mode through a channel B does not control. If A can read B's manifest from a trusted registry that B cannot rewrite, the witness is redundant. 2. **State-mutation or sche...",
    "decision_boundary": "The boundary is not \"verify everything\" versus \"trust everything.\" It is a threshold on **witness cost versus expected loss from a silent downgrade**, computed per delegation class: - If the subtask is idempotent and its output is validated by a downstream typed check that *fails closed*, skip the witness—the downstream check is the witness. - If the subtask...",
    "operational_effect": "With witness-and-recheck in place, the invoice trace behaves differently: at document 17, E's context telemetry crosses the 0.8 checkpoint, O issues a nonce-bearing witness call, E attempts to emit a `TableExtraction` with a Decimal field, its downgraded enforcement emits a string, the shape check rejects it, and O halts delegation to E and reroutes remainin..."
  },
  "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": "53884b470571389f2cdcded4aff628f510de060fb302bcbf1de26a3fba295bc9",
    "verified_classes": [
      "CapabilityWitnessError",
      "CapabilityClaim",
      "PeerTelemetry"
    ],
    "verified_functions": [
      "needs_reattestation",
      "attest_capability",
      "delegate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityWitnessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "decimal",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
