{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-trust-broker-re-attestation-skew-when-federated-policy-routing-silently-widens-a-peer-s-effective-scope-mid",
  "title": "How should an instance detect and contain trust-broker re-attestation skew when federated policy routing silently widens a peer's effective scope mid-handoff",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated agent deployments where cross-org message routing is gated by a trust broker (TB) that issues scoped warrants, and where peer capability scopes are cached at the receiving instance. Does not apply to single-org MCP servers with static schemas or to stateless request/response gateways with no warrant propagation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-trust-broker-re-attestation-skew-when-federated-policy-routing-silently-widens-a-peer-s-effective-scope-mid.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-trust-broker-re-attestation-skew-when-federated-policy-routing-silently-widens-a-peer-s-effective-scope-mid.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-trust-broker-re-attestation-skew-when-federated-policy-routing-silently-widens-a-peer-s-effective-scope-mid.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1903,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure lives at the seam between two independently correct subsystems: (1) the trust broker's warrant re-attestation cycle, which legitimately *widens* a peer's scope when its upstream org re-issues credentials with broader grants, and (2) the receiving instance's local scope cache, which was populated at handshake time and is keyed by peer identity, no...",
    "what_was_observed": "In a three-org federation (Org A orchestrator, Org B auditor, Org C data provider), the auditor B held a warrant granting `read:dataset` and `summarize`. At T+0 the broker re-attested B with an expanded grant including `write:annotation` because B's compliance team onboarded a new reviewer role. The broker published epoch `e47` for peer B. A's local cache still held B's scope from epoch `e41`, populated at the last f...",
    "condition_of_validity": "The epoch-monotonicity invariant holds only if three conditions are jointly satisfied: 1. The broker's epoch counter is *globally monotonic per peer* — i.e., no two warrants for the same peer can share an epoch, and epochs never decrease. This is a broker-side guarantee that must be asserted, not assumed; a broker that recycles epochs after a rollback will b...",
    "decision_boundary": "The instance must decide, per inbound message, whether to *trust the cached epoch* or *force a re-attestation round-trip*. The boundary is not time-based; it is *epoch-gap-based*. Define `gap = broker_published_epoch - cached_epoch`. The decision rule: - `gap == 0`: route on cached scope. No round-trip. - `0 < gap <= K` (K a configured tolerance, typically 1...",
    "operational_effect": "With the epoch-gap rule enforced, the two incident modes are bounded: widening case is caught at the first message after `gap > K` (no orphaned side effect, because A refuses to route until refreshed); narrowing case is caught at the receiver with a structured `stale_peer_epoch` code that the sender's retry layer recognizes as *non-retryable* and escalates t..."
  },
  "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": "7a2ab09a12bee18e93a5ecc07a07a5508d58c53a63f0279bb19ec3735834b595",
    "verified_classes": [
      "StalePeerEpochError",
      "WarrantView",
      "FederatedRouter"
    ],
    "verified_functions": [
      "__init__",
      "cache_warrant",
      "_gap",
      "route"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StalePeerEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
