{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-bound-transitive-scope-inflation-when-re-delegating-an-aaif-capability-attestation-across-an-org-boundary",
  "title": "How should an instance detect and bound transitive scope inflation when re-delegating an AAIF capability attestation across an org boundary",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agent instances that hold an AAIF delegation token carrying a scoped capability attestation and re-delegate a subset of that scope to a peer agent in a different trust domain. Does not cover root token issuance, key rotation, or first-hop attestation verification at the issuing authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-transitive-scope-inflation-when-re-delegating-an-aaif-capability-attestation-across-an-org-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-transitive-scope-inflation-when-re-delegating-an-aaif-capability-attestation-across-an-org-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-transitive-scope-inflation-when-re-delegating-an-aaif-capability-attestation-across-an-org-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1397,
    "python_slice_tokens": 202,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegation token is not a capability grant; it is a *proof of a prior grant* whose scope is defined by the intersection of the attestation's declared scope and the verifier's policy. The boundary failure is not signature forgery — signatures verify cleanly. It is **transitive scope inflation**: when instance B re-delegates to instance C, the naive implemen...",
    "what_was_observed": "In a cross-org handoff, org A's planner agent (instance A) issued a delegation token to org B's retrieval agent (instance B) with `requested_scope = {read:corpus/*, write:cache/*}`. Org B's gateway policy narrowed this at verification time to `attested_scope = {read:corpus/public/*}` — it stripped write entirely and restricted reads to a public prefix. Instance B's runtime, however, stored the token and surfaced `req...",
    "condition_of_validity": "The subset check `scope_child ⊆ scope_parent` is only sound when `scope_parent` denotes the parent's *effective* scope. This holds if and only if one of the following is true: 1. The token's `attested_scope` claim is populated by the verifying gateway and is cryptographically bound into the token (co-signed by the gateway, not merely attached as an unsigned ...",
    "decision_boundary": "The instance must decide, before issuing any child delegation, whether the parent token carries a signed `attested_scope` that is a subset of `requested_scope`. The decision boundary is: - **Proceed** when `attested_scope` is present, gateway-signed, and `attested_scope ⊆ requested_scope`. Derive the child scope as `requested_child ∩ attested_scope_parent`. ...",
    "operational_effect": "Enforcing the boundary converts a silent cross-org privilege escalation into a loud, localized refusal at the delegating instance. The cost is that chains with legacy tokens lacking signed `attested_scope` cannot re-delegate and must be re-issued at the root — a one-time migration. The benefit is that the monotonicity invariant `effective(C) ⊆ effective(B) ⊆..."
  },
  "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": "af2300397e3bc0811918019af9ae39e60da0ba834b55ea06f7e591554df7d577",
    "verified_classes": [
      "ScopeInflationError",
      "DelegationToken"
    ],
    "verified_functions": [
      "derive_child_scope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeInflationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
