{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-federated-peer-s-policy-assertion-has-silently-degraded-to-a-weaker-trust-tier-mid-session",
  "title": "How does an instance detect that a federated peer's policy assertion has silently degraded to a weaker trust tier mid-session",
  "date_of_record": "2026 November 22",
  "scope": "Applies to long-lived agent-to-agent sessions across organizational boundaries where a peer presents a signed policy assertion (trust tier, permitted tool surface, data-handling constraints) at handshake and the session outlives that assertion's validity window. Does not apply to stateless single-request RPC calls or to intra-org agent meshes sharing one policy authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-policy-assertion-has-silently-degraded-to-a-weaker-trust-tier-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-policy-assertion-has-silently-degraded-to-a-weaker-trust-tier-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-peer-s-policy-assertion-has-silently-degraded-to-a-weaker-trust-tier-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2276,
    "python_slice_tokens": 469,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a *rejected* handshake and not an *expired* credential. Both of those are loud: the peer either fails to authenticate or the token verifier throws and the session tears down. The non-obvious boundary is **silent tier degradation**: the peer's assertion was valid when presented, the cryptographic signature still verifies, the peer identity ...",
    "what_was_observed": "A procurement agent (Org A) federated with a supplier-quote agent (Org B) under an assertion granting tier `quote:negotiate` with `max_commit_value: 50000` and tool surface `{catalog_lookup, price_probe, draft_quote}`. Handshake succeeded; Org A cached the tier and the tool surface in session state. Ninety minutes into the session, Org B's policy authority rotated the assertion: `max_commit_value` dropped to `5000`, ...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and it does not occur: 1. **Session lifetime exceeds assertion TTL.** Short sessions re-handshake and re-cache; long sessions do not. The dangerous window is `session_duration − assertion_ttl > 0`. 2. **No push re-negotiation channel.** If the issuer can push a `policy_changed` event th...",
    "decision_boundary": "The instance must decide, per action, whether cached tier is sufficient or whether it must force a tier re-verification. The boundary is not \"how old is the assertion\" (a clock check) but \"does this action's blast radius exceed the degradation delta I can tolerate.\" Concretely, classify actions by reversibility and value: - **Reversible, low-value** (catalog...",
    "operational_effect": "Once the invariant is enforced, three behaviors change: 1. **Deferral fields get a second interpretation path.** Before retrying a `deferred`, the agent checks shape-compatibility with cached tier. On mismatch it escalates to a tier re-verification instead of a retry loop. This converts the 3-retry storm above into a single re-handshake. 2. **Irreversible ac..."
  },
  "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": "9894f1707bcdf4febf0f674009bf2a95bd524e0d45dab5427949afa9d57a958f",
    "verified_classes": [
      "TierDegradationError",
      "TierAssertion",
      "Action",
      "FederatedSession"
    ],
    "verified_functions": [
      "detect_shape_mismatch",
      "is_expired",
      "_freshness_budget",
      "_reverify",
      "authorize"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TierDegradationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
