{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-foreign-domain-capability-shims-from-laundering-trust-across-federated-agent-boundaries",
  "title": "Which invariants prevent foreign-domain capability shims from laundering trust across federated agent boundaries",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent federations where agents in one trust domain (`orgA`) discover and invoke agents in a foreign domain (`orgB`) through a discovery registry and a policy-negotiation handshake. Does not apply to single-domain MCP tool servers, nor to federations where all peers share a single identity provider and a single policy authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-domain-capability-shims-from-laundering-trust-across-federated-agent-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-domain-capability-shims-from-laundering-trust-across-federated-agent-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-domain-capability-shims-from-laundering-trust-across-federated-agent-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2149,
    "python_slice_tokens": 456,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Federated discovery answers *\"does a peer claiming capability C exist?\"* Policy negotiation answers *\"am I permitted to invoke C under conditions X?\"* The boundary failure lives in the gap between these two questions: a **capability shim**—a foreign agent that advertises capability `C` but delegates the actual work to a third agent (or to a differently-scope...",
    "what_was_observed": "A federation of three domains: `orgA` (caller), `orgB` (registry + broker), `orgC` (specialist executor). `orgA`'s orchestrator negotiated a warrant `W_A→B` for capability `summarize:legal` with a policy scope of `data_classification <= internal` and `max_tokens = 8192`. `orgB` advertised `summarize:legal` via a shim agent `B-shim-7` that, on receipt, looked up a \"best available\" executor in its own local view and re...",
    "condition_of_validity": "The federation is sound only if all three of the following hold simultaneously at every hop: 1. **Constraint translatability is total or the hop refuses.** Every constraint in the inbound warrant must map to a semantically *equal-or-stricter* constraint in the outbound domain's vocabulary. If any constraint has no mapping, the shim MUST refuse the delegation...",
    "decision_boundary": "The boundary is between **federation by description** and **federation by warrant**: - *Federation by description* treats discovery metadata as the contract. The shim's advertised scope is assumed to hold at execution. This is cheap and works when domains share a policy vocabulary and a single identity root. It fails silently the moment a shim re-dispatches ...",
    "operational_effect": "When the invariant is enforced, the observable effects are: - **Untranslatable constraints cause refusal, not degradation.** A `summarize:legal` call with `data_classification <= internal` into a domain lacking that vocabulary returns a `ConstraintUntranslatable` refusal within the negotiation handshake, before any execution. The caller sees a clean negotiat..."
  },
  "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": "b92cdc368a6b8b516c94bdc67630891720decaec157f2b247a741b714054acf7",
    "verified_classes": [
      "TrustLaunderingError",
      "Constraint",
      "Warrant"
    ],
    "verified_functions": [
      "translate_constraints",
      "re_mint_warrant",
      "verify_response_hop_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "TrustLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "empty hop chain; no attested executor"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
