{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-attestation-replay-from-silently-widening-a-federated-agent-s-trust-envelope",
  "title": "Which invariants prevent capability-attestation replay from silently widening a federated agent's trust envelope",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-org agent federations where a broker exchanges signed capability attestations (scoped warrants) between mutually-untrusting domains and caches them for reuse. Does not apply to single-org deployments with a shared trust root or to stateless tool-call gateways that re-authorize on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-from-silently-widening-a-federated-agent-s-trust-envelope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-from-silently-widening-a-federated-agent-s-trust-envelope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-from-silently-widening-a-federated-agent-s-trust-envelope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1655,
    "python_slice_tokens": 326,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A capability attestation is a *claim about what an agent was permitted to do at issuance time under a specific issuer's policy*. It is not a grant in the present. The failure mode here is not forgery—signatures verify—it is **temporal and contextual replay**: a validly signed attestation, minted for one peer, one resource-scope, and one validity window, gets...",
    "what_was_observed": "A three-org federation: Org A (issuer, runs the trust broker), Org B and Org C (resource holders). Agent `a:planner` in Org A needs to read from both B and C. B issues `a:planner` a read-warrant scoped to `b:dataset/finance`, audience `b`, TTL 300s. C issues a separate warrant scoped to `c:dataset/ops`, audience `c`, TTL 300s. The broker caches attestations keyed on `(subject, issuer)` only—a reasonable-looking optim...",
    "condition_of_validity": "The replay is only possible when *all three* of the following co-occur, which is why it hides: - **Cache key under-specification.** The broker keys on a projection of the attestation tuple that drops `audience` and `resource-scope`. Any two attestations sharing `(subject, issuer)` collide. - **Audience non-enforcement at the relying party.** The downstream g...",
    "decision_boundary": "The boundary is **whether the broker is permitted to treat attestation identity as a stable property of (subject, issuer) or must treat it as a function of the full binding tuple.** It must be the latter. Concretely: - **Cache key must be the full binding tuple**, or the cache must be disabled for cross-audience hops. A cache hit that does not reproduce `aud...",
    "operational_effect": "When the invariant holds, the blast radius of a compromised or buggy broker is bounded to *availability* (it can refuse to forward) rather than *confidentiality* (it cannot widen scope), because the relying party independently re-derives admissibility from the full tuple. When it fails, the federation's trust model degrades from \"each org enforces its own en..."
  },
  "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": "ad3b8291a930380a25743f5429e06a680c095ea806307a9348dd76d77799d4ab",
    "verified_classes": [
      "AttestationReplayError",
      "Attestation",
      "BrokerCache"
    ],
    "verified_functions": [
      "binding_tuple",
      "admit",
      "__init__",
      "put",
      "resolve"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
