{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-attest-capability-warrants-after-a-peer-s-schema-narrows-mid-delegation",
  "title": "Where must an instance re-attest capability warrants after a peer's schema narrows mid-delegation",
  "date_of_record": "2026 November 19",
  "scope": "Applies to multi-agent systems where a delegating agent (principal-instance) discovers a peer's capabilities via a signed capability manifest (e.g., A2A Agent Card, MCP tool schema) and then delegates subtasks under least-privilege warrants. Does not apply to static, single-issuer tool registries where capability schemas are immutable for the lifetime of a session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-capability-warrants-after-a-peer-s-schema-narrows-mid-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-capability-warrants-after-a-peer-s-schema-narrows-mid-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-capability-warrants-after-a-peer-s-schema-narrows-mid-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1983,
    "python_slice_tokens": 450,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer became untrustworthy.\" It is that **capability discovery and capability authority are two different clocks.** A peer's *advertised* schema (what it claims it can do now) can narrow, widen, or re-scope between the moment a warrant is minted and the moment the delegated call is executed. Least-privilege warrants are bound to the sc...",
    "what_was_observed": "A three-hop delegation chain: orchestrator `O` → specialist `S` → sub-specialist `T`. `O` holds a signed manifest `M_S(v3)` for `S` advertising `scope: [\"read:corpus\", \"write:index\", \"emit:report\"]`. `O` mints a warrant `W = sign(scope=[\"write:index\"], aud=S, schema_hash=hash(M_S(v3)))` and dispatches a batch of index-write subtasks. Mid-batch, `S` is hot-reloaded to `M_S(v4)`, which drops `write:index` (the operator...",
    "condition_of_validity": "The invariant that must hold for least-privilege delegation to be sound: > **A warrant is valid at execution time iff the executing peer's *current* manifest hash equals the warrant's `schema_hash`, AND the peer's authority is derived from that same manifest version — never from a residual handler or cached code path.** Three preconditions make this non-triv...",
    "decision_boundary": "Where to place the check: The decision boundary is: **put the enforcing check at the peer, and make manifest reload atomic with handler rebinding.** Principal-side cache invalidation is a latency optimization layered on top, not a security control. A system that relies on principal-side re-validation to catch narrowing drift has inverted the trust direction ...",
    "operational_effect": "- **In-flight warrants must be treated as revocable on manifest narrowing.** The peer fails closed; the principal observes `WarrantRejected` and must not retry against the same `schema_hash`. Retrying with a re-minted warrant against the *new* manifest is correct only if the new manifest still advertises the scope — otherwise the delegation must re-plan. - *..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "c5533bcf8aa34a95472dc6bfd533c1d5c94b609e020091f860a2669b94be8059",
    "verified_classes": [
      "StaleWarrantScopeError",
      "ResidualHandlerError",
      "Manifest",
      "Warrant",
      "Peer"
    ],
    "verified_functions": [
      "delegate",
      "hash",
      "__init__",
      "_bind_handlers",
      "reload_manifest",
      "execute"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ResidualHandlerError",
      "StaleWarrantScopeError"
    ],
    "sample_fail_closed_invariants": [
      "assert delegate(peer, 'write:index') == 'executed:write:index'",
      "over-broad warrant executed — invariant violated"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
