{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-capability-token-has-silently-widened-its-scope-during-aaif-credential-exchange",
  "title": "What structural signals indicate a delegated capability token has silently widened its scope during AAIF credential exchange",
  "date_of_record": "2026 November 27",
  "scope": "Applies to AAIF delegated credential exchange between an orchestrator agent and downstream sub-agents where scope attenuation is enforced by token introspection rather than by structural token diffing. Does not apply to single-hop, non-delegated bearer tokens or to human-issued OAuth flows without agent intermediaries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-widened-its-scope-during-aaif-credential-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-widened-its-scope-during-aaif-credential-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-silently-widened-its-scope-during-aaif-credential-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1744,
    "python_slice_tokens": 363,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF delegated credential exchange assumes *monotonic attenuation*: a child agent's scoped capability token must be a strict subset of the parent's scope set, and that subset relation must survive every hop of the delegation chain. The failure mode documented here is **scope drift at the introspection boundary** — the child token's *declared* scope set is co...",
    "what_was_observed": "An orchestrator agent `A` holds a parent token with scope `{fs:read, fs:write, net:egress:api.example.com, db:query:orders}`. It delegates to sub-agent `B` a token intended to carry only `{fs:read, db:query:orders}`. The delegation request is well-formed: `B`'s token carries `scope: \"fs:read db:query:orders\"` and a `parent_scope_ref` claim pointing at `A`'s token ID. The failure trace: 1. `B`'s token is issued and it...",
    "condition_of_validity": "The invariant holds — attenuation is preserved — only when **every** token in the delegation chain carries an explicit `scope_ceiling` claim whose value is a subset of the parent's declared scope, *and* the introspection endpoint is configured to compute `effective_scope = declared_scope ∩ scope_ceiling ∩ parent_effective_scope` rather than a union. The boun...",
    "decision_boundary": "The operational decision: when an agent receives an introspection response, it must not trust `effective_scope` as an authorization basis unless it can independently verify the attenuation chain. The decision boundary is between **trusting the resolver** (accept `effective_scope` as-is) and **re-deriving the intersection locally** (fetch the chain, intersect...",
    "operational_effect": "Agents that trust `effective_scope` without local re-derivation will, under the union-defaulting resolver, exercise capabilities their delegator never granted. The blast radius is bounded by the parent's scope, but the *amplification* variant (deep chains) can exceed any single ancestor's scope, which defeats the purpose of delegation entirely — the leaf age..."
  },
  "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": "80e428dd634b70b776f29eb093d1bfabb34cb3ee4c82ce920846e5e52d968c61",
    "verified_classes": [
      "ScopeAttenuationViolation",
      "MissingScopeCeiling"
    ],
    "verified_functions": [
      "verify_attenuation",
      "delegate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "MissingScopeCeiling",
      "ScopeAttenuationViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
