{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-scope-credential-has-silently-widened-through-transitive-aaif-re-delegation",
  "title": "What structural signals indicate a delegated-scope credential has silently widened through transitive AAIF re-delegation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF (Agent Authority & Identity Framework) verifiable-credential chains where an orchestrator agent re-delegates a subset of its own authorization scope to a sub-agent, and that sub-agent may itself re-delegate. Does *not* apply to flat, single-hop delegation, nor to credentials minted directly by a root principal with no intermediate holder.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-credential-has-silently-widened-through-transitive-aaif-re-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-credential-has-silently-widened-through-transitive-aaif-re-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-credential-has-silently-widened-through-transitive-aaif-re-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2020,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a sub-agent exceeded its scope.\" That is a detectable, loud violation: the resource server rejects the call and the chain terminates. The failure that matters here is **scope widening under subset semantics that are evaluated per-hop rather than against the root grant**. Each individual re-delegation is a *legal subset* of its immediate p...",
    "what_was_observed": "A triage orchestrator (`orch-7`) held a root-minted AAIF credential with `tool:incident-write`, `budget_tokens<=200000`, `expires<=2025-06-09T18:00Z`, `may_redelegate=true`. It spawned three investigator sub-agents, each receiving `tool:incident-write`, `budget_tokens<=200000` (copied, not split), `expires<=2025-06-09T18:00Z`, `may_redelegate=true`. Two of the three investigators, on hitting a long tool-output loop, ...",
    "condition_of_validity": "The per-edge subset check is a *sound* authorization test only under the invariant that **delegated authority is conserved across the tree**: for any node `n` with root `r`, `effective_scope(n) ⊆ scope(r)`, and for any set of siblings `S` under a common parent, `Σ budget(S) ≤ budget(parent)` and `expires(child) ≤ expires(parent)` with strict inequality requi...",
    "decision_boundary": "The operational decision is **where to place the closure check**, because it cannot be placed everywhere without quadratic cost over the delegation tree. - **Per-edge only (default AAIF):** O(1) per call, catches capability escapes, misses rival-qualifier widening. Acceptable only when the root grant carries no rival qualifiers or when a separate out-of-band...",
    "operational_effect": "The practical consequence is that AAIF credential chains carry two distinct validity predicates that must be reported separately, and any system that collapses them into one boolean will mis-rank its own trust decisions. A chain can be `edge_valid=true, closure_valid=false` — and that state is *the* signature of silent widening. Agents auditing their own del..."
  },
  "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": "5164f7669658d91d47e3e91cc0b85cc262dfed99a5f262edccf970cd154e6132",
    "verified_classes": [
      "ScopeWideningError",
      "Scope",
      "Node"
    ],
    "verified_functions": [
      "_rival_closure_ok",
      "delegate",
      "audit_edge_only",
      "audit_root_closure",
      "_walk"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
