{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-an-authority-scope-inversion-during-cross-domain-warrant-exchange",
  "title": "How does an instance detect an authority-scope inversion during cross-domain warrant exchange?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent deployments where an instance presents a signed capability warrant from a foreign trust domain to a relying-party agent (RPA) that must resolve the issuer's identity and map foreign authorization claims onto local policy. Does not apply to single-domain deployments or to opaque bearer tokens with no claim structure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-authority-scope-inversion-during-cross-domain-warrant-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-authority-scope-inversion-during-cross-domain-warrant-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-authority-scope-inversion-during-cross-domain-warrant-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2285,
    "python_slice_tokens": 507,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A cross-domain warrant exchange has two independent failure surfaces that are routinely conflated: *identity resolution failure* (the issuer cannot be authenticated) and *authorization mapping failure* (the issuer is authenticated but its claims are interpreted under the wrong scope semantics). Most guardrails defend against the first — signature verificatio...",
    "what_was_observed": "A three-domain federation: `clinic-a` (issuer), `clinic-b` (relying party), and a shared agent `scheduler-7` that brokers appointment actions. `scheduler-7` runs under domain A's authority and holds a warrant `W_A` minted by A's authorization server with claim `act:schedule` and attribute `oversight: \"human-in-loop-required\"`. The oversight attribute is not a scope; it is a *constraint annotation* that A's policy eng...",
    "condition_of_validity": "The name-match mapping is sound only under a condition that federated deployments almost never satisfy: > For every claim `c` in the foreign warrant, the issuing domain's semantics of `c` and the relying domain's semantics of `c` are *extensionally equivalent* over the set of principals that can present `c`. This requires that the two domains agree not only ...",
    "decision_boundary": "The boundary is between *translation* and *name-matching*, and it must be decided per-claim, not per-warrant: - **Translate** when a signed scope-algebra record exists mapping `(issuer_domain, claim, semantics_version)` to `(relying_domain, claim, semantics_version)` with an explicit precondition-carrying clause. The translation must state whether the issuer...",
    "operational_effect": "The operational consequence is that signature-valid, chain-resolved, revocation-clean warrants can carry escalated authority across a domain boundary, and the escalation is invisible to every integrity control because it is a *semantic* substitution, not a cryptographic one. Detection cannot rely on warrant inspection alone. The relying party must, at exchan..."
  },
  "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": "07b04a499844cbdc085284784e75ba04dcc29f28d72b55a1c4376b774d762790",
    "verified_classes": [
      "DischargeModel",
      "ScopeTranslation",
      "ForeignClaim",
      "ScopeInversionError"
    ],
    "verified_functions": [
      "resolve_claim"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeInversionError"
    ],
    "sample_fail_closed_invariants": [
      "assert resolve_claim(ok, translations, {}, 'scheduler-7') == 'act:schedule'"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
