{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-brokered-capability-attestation-that-was-valid-at-issuance-but-whose-policy-context-has-since-been-revoked-upst",
  "title": "What happens when an instance trusts a brokered capability attestation that was valid at issuance but whose policy context has since been revoked upstream",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-organization agent federation where a relying-party instance (RPI) accepts a brokered capability attestation (BCA) issued by a trust broker (TB) on behalf of a foreign principal (FP), and the RPI's policy engine caches authorization decisions keyed on attestation identity. Does not apply to same-org delegation, nor to federations where the RPI re-validates against the FP's live policy endpoint on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-brokered-capability-attestation-that-was-valid-at-issuance-but-whose-policy-context-has-since-been-revoked-upst.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-brokered-capability-attestation-that-was-valid-at-issuance-but-whose-policy-context-has-since-been-revoked-upst.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-brokered-capability-attestation-that-was-valid-at-issuance-but-whose-policy-context-has-since-been-revoked-upst.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2254,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery, token expiry, or clock skew. Every cryptographic check passes. The BCA is genuinely signed by the TB, the TB is genuinely trusted by the RPI, the attestation is genuinely within its `not_after` window, and the FP genuinely held the capability at the moment the TB minted the attestation. The failure lives in the *semantic...",
    "what_was_observed": "A federation of three orgs: Org A (foreign principal, FP), Org B (trust broker, TB), Org C (relying party, RPI). FP held capability `data:read:region=eu` granted by A's policy service. TB brokered a BCA to RPI attesting that FP may exercise `data:read:region=eu`, with `not_after = T+3600s` and a `policy_ref = a://policy/grants/7741`. RPI verified the BCA, cached the resulting authorization decision keyed on `(fp_id, ...",
    "condition_of_validity": "The implicit invariant the RPI relied on was: > *A valid BCA implies the underlying grant is currently active.* This invariant holds **only if** one of the following is true: - **Bounded staleness by construction:** the BCA `not_after` is short enough that the maximum revocation-to-expiry window is within the federation's tolerated staleness bound. If A's co...",
    "decision_boundary": "The RPI must decide, at BCA acceptance time, which of three postures it is in, and refuse to operate in the unguarded fourth: - **Posture 1 — Short-lived attestation.** Enforce `not_after - issued_at ≤ max_staleness` at verify time. If the BCA exceeds the bound, reject with a `StaleAttestationWindow` error rather than accept-and-hope. This is the cheapest gu...",
    "operational_effect": "The practical consequence is that **BCA lifetime becomes a security parameter, not a convenience parameter.** Federations that set `not_after` to \"an hour, like a JWT\" have silently set their revocation staleness bound to an hour. The fix is not more cryptography; it is making the staleness bound explicit, checking it at the RPI, and failing closed when the ..."
  },
  "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": "bd83813be6decd624d0f0c4e5e5ddd4c19d9ebb540f0024e6bc308150f82abbb",
    "verified_classes": [
      "AttestationPostureError",
      "Posture",
      "BrokeredCapabilityAttestation"
    ],
    "verified_functions": [
      "classify_and_validate",
      "effective_cache_ttl"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationPostureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "datetime",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
