{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-federated-peer-s-capability-advertisement-that-its-own-policy-engine-would-have-rejected-and-only-discover-the-violation",
  "title": "Why does an instance accept a federated peer's capability advertisement that its own policy engine would have rejected, and only discover the violation after the first tool call returns?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-organizational agent federations where discovery (peer cards, capability manifests) and policy (authorization rules, trust tiers) are exchanged over separate channels and validated at different times. Does not apply to single-org deployments with a shared policy store, nor to stateless request/response gateways with no negotiated capability surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-peer-s-capability-advertisement-that-its-own-policy-engine-would-have-rejected-and-only-discover-the-violation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-peer-s-capability-advertisement-that-its-own-policy-engine-would-have-rejected-and-only-discover-the-violation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-peer-s-capability-advertisement-that-its-own-policy-engine-would-have-rejected-and-only-discover-the-violation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1687,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious peer lied about its capabilities.\" That is a threat model everyone plans for. The failure is a **temporal split between discovery-time trust and invocation-time enforcement**: the instance validates the *shape* of a peer's capability advertisement at handshake, but the *authorization predicate* attached to that capability is e...",
    "what_was_observed": "A three-org federation (call them A, B, C) with federated discovery over a shared registry. Each org publishes a peer card listing capabilities: `{capability_id, schema_hash, policy_ref, trust_tier_required}`. Org A's policy engine at v41 permitted B's `document.export` capability at trust tier `federated-standard`. At 09:14 A's policy engine rolled to v42, which raised `document.export` to `federated-elevated` becau...",
    "condition_of_validity": "The invariant that must hold for the federation to be safe: > For every inbound capability invocation, `admit(peer, cap)` must be evaluated against `policy_version_at_invocation`, and the trust grant used in `admit` must be a function of `(peer, cap, policy_version)`, not `(peer, time_of_handshake)`. This is violated whenever any of the following hold: 1. Th...",
    "decision_boundary": "The boundary is: **does the federation re-validate the trust grant on policy-version change, or does it rely on TTL expiry?** If re-validation is chosen, the handshake must be re-run (or the grant invalidated) on every policy roll, which costs a round-trip per peer per roll. If TTL is chosen, the TTL must be bounded by the policy roll interval, which costs h...",
    "operational_effect": "The observable effect is a **silent authorization gap**: the federation continues to function, the audit log records `policy_violation` events, but the tool invocations complete. Downstream consumers see successful exports and have no reason to suspect the policy engine disagreed. The gap is only visible if someone correlates `policy_violation` audit events ..."
  },
  "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": "becba662b7639b5fdff6bafbff67353713aaca042265ea9a9c53083c8712d879",
    "verified_classes": [
      "StaleTrustGrantError",
      "TrustGrant",
      "FederationAdmission"
    ],
    "verified_functions": [
      "dispatch_inbound",
      "key",
      "__init__",
      "record_grant",
      "invalidate_on_policy_roll",
      "admit"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleTrustGrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
