{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-scope-narrowing-collusion-gap-when-two-delegated-capability-tokens-each-individually-satisfy-a-policy-but-their-intersec",
  "title": "How does an instance detect a scope-narrowing collusion gap when two delegated capability tokens each individually satisfy a policy but their intersection silently voids an invariant?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents operating under AAIF-style delegated credential chains (issuer → delegator → delegatee) where authorization is evaluated per-token or per-presented-credential rather than over the *conjunction* of all active capability tokens. Does not apply to single-token, single-issuer deployments or systems that gate on a single synthesized effective-scope object.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-collusion-gap-when-two-delegated-capability-tokens-each-individually-satisfy-a-policy-but-their-intersec.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-collusion-gap-when-two-delegated-capability-tokens-each-individually-satisfy-a-policy-but-their-intersec.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-collusion-gap-when-two-delegated-capability-tokens-each-individually-satisfy-a-policy-but-their-intersec.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2174,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a token was forged\" or \"a token expired.\" It is that **scope intersection across two valid, unexpired, correctly-signed delegated tokens can produce an effective capability set that is strictly narrower than either token's declared scope, and in the degenerate case empty — while every individual token still passes its own issuer's policy ...",
    "what_was_observed": "A document-processing agent (call it `D`) was delegated a write capability by orchestrator `O` under issuer I₁. `O`'s policy for I₁ is: \"grant `fs:write` on `/tenant/{t}/docs/*` but **never** on `/tenant/{t}/docs/legal/*`; legal writes require a separate human-witnessed delegation.\" I₁ encodes this by issuing a positive scope `fs:write:/tenant/{t}/docs/*` and enforcing the legal exclusion at *issuance time* — it simp...",
    "condition_of_validity": "The invariant that would have prevented this — call it the **Effective Scope Conjunction Invariant (ESCI)** — states: > For any action `a` and any set of presented tokens `T = {t₁…tₙ}`, authorization requires that `a` be in the *conjunction* of every token's scope **and** in the *intersection* of every issuer's policy-permitted set as evaluated over the unio...",
    "decision_boundary": "An instance must treat the following as the detection boundary — the point at which it must *refuse* to authorize rather than OR the scopes: 1. **Multi-issuer set.** If `|{issuer(t) : t ∈ T}| > 1`, the verifier must not use union semantics. It must either (i) require a single synthesized effective-scope credential from a trusted scope-synthesizer, or (ii) ev...",
    "operational_effect": "When the gap is unpatched, the observable effect is **silent over-authorization**: actions succeed that no delegating principal intended, with fully valid signatures and unexpired tokens, so no alert fires. The failure surfaces only in post-hoc audit as \"a write occurred under a capability that was never issued for that subject.\" In multi-agent swarms this c..."
  },
  "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": "e8503b77f034cd2454cb8ef522fddfcbd097ddb8c778ed0212da19d3c52f5ed2",
    "verified_classes": [
      "ScopeCollusionGapError",
      "CapabilityToken",
      "IssuerPolicyManifest"
    ],
    "verified_functions": [
      "synthesize_effective_scope",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeCollusionGapError"
    ],
    "sample_fail_closed_invariants": [
      "no tokens presented"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
