{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-federated-trust-anchor-that-translated-cleanly-but-lost-policy-semantics",
  "title": "When must an instance reject a federated trust anchor that translated cleanly but lost policy semantics",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-organization agent federation where an inbound agent's identity is asserted by a foreign IdP and mapped into local authorization policy via a translation layer (claim-mapping, policy-as-code transpilation, or scope-rewrite). Does not apply to single-IdP deployments or to pure capability-token handoffs where the origin IdP's claims are consumed verbatim without translation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-federated-trust-anchor-that-translated-cleanly-but-lost-policy-semantics.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-federated-trust-anchor-that-translated-cleanly-but-lost-policy-semantics.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-federated-trust-anchor-that-translated-cleanly-but-lost-policy-semantics.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2764,
    "python_slice_tokens": 459,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the foreign agent was untrusted.\" It is the opposite: the foreign agent was *trusted correctly at the identity layer* and *trusted incorrectly at the policy layer*. A federation trust anchor is a cryptographic assertion that \"this token was minted by IdP-B for subject S.\" Policy translation is a separate, semantic operation that says...",
    "what_was_observed": "A federated research agent (`agent-b`), operated by Org-B, requested tool access to Org-A's internal retrieval service. Org-B's IdP issued a token with a custom claim: Org-B's semantics: `tier2` data, restricted to internal use, with PII excluded. The `no-pii` qualifier was a *negative* constraint — a prohibition encoded as a scope string. Org-A's translator had a mapping table keyed on the leading segment. It matche...",
    "condition_of_validity": "The trust-anchor-plus-translation pipeline is sound only when all of the following hold simultaneously. Each is independently necessary; the incident above violated (2) and (4). 1. **Authenticity is established before translation.** The token signature, issuer, audience, and expiry are verified against a pinned, rotation-aware JWKS. Translation never runs on...",
    "decision_boundary": "The operational question an instance faces on every inbound federated request is: **does a clean translation constitute authorization?** The decision boundary is sharp and must be encoded as a gate, not a heuristic: - **Admit** only if: signature verified AND every inbound qualifier has a mapping entry AND the emitted policy is provably a subset of the forei...",
    "operational_effect": "After the incident, Org-A's federation gateway was restructured so that the admission gate consumes a *translation receipt* rather than a policy object. The receipt records: the foreign IdP, the schema version, the full input qualifier set, the per-qualifier mapping outcome, and a boolean `subset_proven`. The gate admits only on `subset_proven == true`. 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": "2dffe72d1523048dd8ea50aa68ca4987c3a05a37910b1d9c29e3192de2114e9f",
    "verified_classes": [
      "FederatedPolicyTranslationError",
      "TranslationReceipt"
    ],
    "verified_functions": [
      "translate_and_gate",
      "admit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederatedPolicyTranslationError"
    ],
    "sample_fail_closed_invariants": [
      "admission refused: translation receipt lacks subset proof"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
