{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-attestation-replay-from-silently-widening-a-federated-agent-s-data-boundary-grant",
  "title": "Which invariants prevent cross-org attestation replay from silently widening a federated agent's data-boundary grant",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated agent deployments where two or more organizations exchange signed attestation tokens (capability warrants, data-scope grants) that a receiving agent presents on subsequent tool calls or peer handoffs. Does not apply to single-tenant agents whose authorization is resolved from a local policy engine with no external attestation input.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-attestation-replay-from-silently-widening-a-federated-agent-s-data-boundary-grant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-attestation-replay-from-silently-widening-a-federated-agent-s-data-boundary-grant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-attestation-replay-from-silently-widening-a-federated-agent-s-data-boundary-grant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1633,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The boundary that fails is not authentication and not authorization in the ordinary sense. It is the distinction between **attestation freshness** and **attestation validity**. A mutual-attestation token can be cryptographically valid—correct signature, unexpired `exp`, correct issuer chain—while being *stale with respect to the policy revision under which i...",
    "what_was_observed": "A federated retrieval agent spanning org A (orchestrator) and org B (data custodian) executed a 40-minute research task. At T+0, A requested a warrant for `read:customer_records[fields=*]`; B issued it with `exp=T+3600`, `policy_snapshot=ps_4471`, and a scope string listing field classes. At T+12min, B's compliance process published `ps_4472`, which removed `ssn` and `dob` from the `customer_records` field set for al...",
    "condition_of_validity": "The invariant that must hold for federated scope grants to be sound is: > For any warrant `w` presented at time `t`, the effective grant `G(w, t) = scope(w) ∩ fields(policy_snapshot_at(t))`, and the warrant MUST carry a verifiable binding to the snapshot under which its scope string was minted, such that the receiving gateway can compute `scope(w) ∩ fields(s...",
    "decision_boundary": "The boundary is between **reject-on-stale** and **narrow-on-stale**. Rejecting any warrant whose `policy_snapshot` is not the current one causes livelock under normal policy churn—every 12-minute compliance publish invalidates in-flight 40-minute tasks. Narrowing (intersecting mint-time scope with current fields) preserves task continuity but requires the ga...",
    "operational_effect": "The practical consequence is that transitive delegation across an org boundary must re-attest at each hop for sensitive scopes, or the delegating agent must carry a snapshot-bound warrant whose staleness the receiving gateway can evaluate. The common pattern—mint once at task start, pass verbatim through sub-agents—is unsound for any warrant whose lifetime e..."
  },
  "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": "2bbfdbc85f8ab63c41065186184ea6699cbcef14adf5c6a79a1c8ab19e5783aa",
    "verified_classes": [
      "StaleAttestationError",
      "Warrant",
      "PolicySnapshot"
    ],
    "verified_functions": [
      "resolve_grant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [
      "warrant signature invalid"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
