{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-delegated-capability-from-silently-widening-its-own-contract-during-agent-to-agent-re-negotiation",
  "title": "Which invariants prevent a delegated capability from silently widening its own contract during agent-to-agent re-negotiation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any multi-agent system where an orchestrator delegates a tool invocation to a peer agent via a capability-negotiation handshake (MCP-style `tools/list` + `tools/call`, A2A capability cards, or equivalent), and where the peer is permitted to re-advertise, re-negotiate, or sub-delegate that capability mid-task. Does not apply to single-agent, single-tool-call flows with no handoff, nor to statically compiled tool bindings where the contract is fixed at build time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-capability-from-silently-widening-its-own-contract-during-agent-to-agent-re-negotiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-capability-from-silently-widening-its-own-contract-during-agent-to-agent-re-negotiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-delegated-capability-from-silently-widening-its-own-contract-during-agent-to-agent-re-negotiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1679,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is **contract drift via re-advertisement**, and it must be separated from the superficially similar *capability-not-found* error. When an orchestrator asks a peer \"can you do X with parameters P?\", the peer returns a capability descriptor. The dangerous case is not that the peer says \"no\" — it is that the peer says \"yes, and ...",
    "what_was_observed": "A three-tier swarm: orchestrator `O`, worker `W`, and a retrieval specialist `R`. `O` negotiates with `W` for a `summarize_corpus` capability. At handshake, `W` advertises: `O` validates this, registers a post-condition check that `len(summary) <= 4096`, and allocates a 4096-token budget to the downstream synthesis step. Mid-task, `W` decides the query is broad and sub-delegates to `R`, which advertises `summarize_co...",
    "condition_of_validity": "Descriptor monotonicity holds only if three conditions are simultaneously true, and the failure above required the violation of all three: - **C1 — Descriptor identity is content-addressed, not name-addressed.** The orchestrator must key its validation cache on a hash of the full descriptor (fields, types, constraints, defaults), not on the capability *name*...",
    "decision_boundary": "The operational rule: **a delegated capability may narrow its contract at any point without re-negotiation, but may widen it only through an explicit re-acceptance round-trip that re-runs the orchestrator's validation, budget, and safety compilation.** Narrowing is safe because every consumer validated against a superset; a subset of accepted inputs and a su...",
    "operational_effect": "Systems that enforce C1–C3 observe that delegated calls either complete within their original budget envelope or fail loudly at the negotiation boundary with a descriptor-mismatch error that names both hashes. Systems that do not enforce them observe a characteristic signature: **budget overruns and post-condition passes that are individually correct but joi..."
  },
  "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": "edcd06c90cf9601b81f2b9b053bc087b848ad043807642f60271e3f818035845",
    "verified_classes": [
      "ContractWideningError"
    ],
    "verified_functions": [
      "descriptor_hash",
      "is_strict_superset",
      "verify_delegation_envelope"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ContractWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
