{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-warrant-replay-across-trust-brokered-federation-boundaries-when-brokered-tokens-outlive-the-delegating-agent-s-aut",
  "title": "Which invariants prevent capability-warrant replay across trust-brokered federation boundaries when brokered tokens outlive the delegating agent's authority",
  "date_of_record": "2026 December 1",
  "scope": "Applies to cross-org agent federations where a trust broker (a warrant-issuing authority such as a STS, SPIFFE-like issuer, or OAuth token-exchange endpoint) mints attenuated capability tokens on behalf of a delegating agent, and where those tokens are then presented to peer agents in a different trust domain. Does not apply to single-org intra-mesh capability exchange where issuer and verifier share a root and revocation is synchronous.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-warrant-replay-across-trust-brokered-federation-boundaries-when-brokered-tokens-outlive-the-delegating-agent-s-aut.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-warrant-replay-across-trust-brokered-federation-boundaries-when-brokered-tokens-outlive-the-delegating-agent-s-aut.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-warrant-replay-across-trust-brokered-federation-boundaries-when-brokered-tokens-outlive-the-delegating-agent-s-aut.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2461,
    "python_slice_tokens": 696,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not token expiry. It is **warrant/authority skew**: a brokered capability token carries an `exp` (and often a `not_before`) that is validated by the *verifier*, but the *delegating agent's* own authority to have requested that attenuation is validated by the *broker* at mint time only. Between mint and presentation, the delegating agent's upst...",
    "what_was_observed": "Federation topology: Org A (broker `sts.a`), Org B (peer agents), Org C (downstream resource). Agent `A/planner` holds a root grant `G_root` scoped to `resource:C:read`, TTL 3600s. At t=0 `A/planner` requests an attenuated warrant `W_1` from `sts.a` for `A/executor` to call `B/auditor` with scope `audit:submit`. Broker mints `W_1` with `exp = t+900`, `delegator = A/planner`, `scope = audit:submit`, signed by `sts.a`....",
    "condition_of_validity": "The invariant that would have prevented this is **delegator-liveness binding**: a brokered warrant is valid at presentation time *iff* (a) the broker's signature verifies, (b) `exp`/`nbf` hold, (c) scope is a subset of the delegator's authority *as of presentation*, and (d) the full delegation chain is present and each link's delegator is live. Condition (c)...",
    "decision_boundary": "The boundary is between **bearer warrants** and **holder-bound warrants with liveness attestation**. - If the federation's threat model treats the delegating agent as trusted-for-the-token-lifetime (e.g., intra-org, short-lived tasks, no re-delegation), bearer warrants with TTL ≤ revocation-lag are sound. Do not add chain-walking; it costs latency for no sec...",
    "operational_effect": "The effect is a **revocation shadow**: a window, bounded by `W_2.exp − revocation_time`, during which a downstream verifier honors a capability whose root authority is dead. In the trace above the shadow is 820 seconds. The shadow's length is `max(0, W_2.exp − t_revoke)`, and it is *not* bounded by `W_1`'s TTL — `W_2` was minted before `W_1` expired and outl..."
  },
  "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": "5f2b6b89d9956aa9ca4b51f83d25d45493baf48f429b1bc19628a3b7988d4973",
    "verified_classes": [
      "WarrantLineageError",
      "Warrant",
      "FederationLedger"
    ],
    "verified_functions": [
      "_scope_subset",
      "demonstrate_failure",
      "__init__",
      "mint",
      "revoke",
      "verify"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 12,
    "raised_exceptions": [
      "WarrantLineageError"
    ],
    "sample_fail_closed_invariants": [
      "invariant violated: revoked-ancestor warrant verified as live",
      "lineage walk missed descendant W_1"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
