{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-scope-laundering-across-federated-trust-boundaries-when-a-delegated-agent-re-signs-a-warrant",
  "title": "Which invariants prevent capability-scope laundering across federated trust boundaries when a delegated agent re-signs a warrant",
  "date_of_record": "2026 November 30",
  "scope": "Applies to federated multi-agent deployments where agent A (in org X) delegates a scoped task to agent B (in org Y) via a signed capability warrant, and B may itself sub-delegate to C. Does not apply to single-org swarms sharing one trust domain or to stateless request/response tool calls with no delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-scope-laundering-across-federated-trust-boundaries-when-a-delegated-agent-re-signs-a-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-scope-laundering-across-federated-trust-boundaries-when-a-delegated-agent-re-signs-a-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-scope-laundering-across-federated-trust-boundaries-when-a-delegated-agent-re-signs-a-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1660,
    "python_slice_tokens": 195,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"B exceeded its permissions.\" It is that B **re-signed** a downstream warrant whose `subject` field named C but whose `scope` field was *reconstructed* from B's own runtime context rather than copied from the inbound warrant A issued. The distinction matters because every signature in the chain verifies. A's signature over the warrant to B...",
    "what_was_observed": "A three-hop federation: `planner@X → analyst@Y → retriever@Z`. 1. `planner@X` issues a warrant `W1` to `analyst@Y` with `scope = {resource: \"kb:public\", actions: [\"read\"], max_bytes: 10000, expires: T+300s}`. `W1` is signed by X's key and carries `delegable: true` with a `attenuation_required: true` constraint. 2. `analyst@Y`'s runtime builds its next-step context by serializing its *own* working state — which includ...",
    "condition_of_validity": "The laundering is possible only when all of the following hold simultaneously: - **Delegation is re-signed rather than counter-signed.** If `W2` were `W1` plus an appended signature (a chained warrant where the scope tuple is immutable and each hop adds a signature over the *same* scope bytes), `Y` could not alter scope without invalidating `W1`. The failure...",
    "decision_boundary": "The invariant that must hold is **scope monotonicity across the delegation lattice**: for every edge `(issuer → subject)` in the delegation DAG, `scope(subject) ⊆ scope(issuer)`, checked over the *transitive closure*, not just the immediate parent. Concretely: - A warrant's scope tuple is **immutable once minted**. Downstream hops may only *intersect* furthe...",
    "operational_effect": "Without the invariant, the blast radius of a single misconstructed downstream warrant is the *union* of every agent's ambient tool manifest in the federation — because each hop can widen to its own context. In the observed case the effective authority granted to `Z` was 41× the intended byte cap and one classification tier higher than `X` ever authorized, wi..."
  },
  "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": "99906cf09ddf1eb12f51684bb46f16aa4a87a18de125b44361d73a7bd757f419",
    "verified_classes": [
      "ScopeLaunderingError"
    ],
    "verified_functions": [
      "mint_child_warrant",
      "_is_subset"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ScopeLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
