{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-scope-attenuation-break-in-an-aaif-capability-attestation-chain",
  "title": "What structural signals indicate a delegated-scope attenuation break in an AAIF capability attestation chain",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent-to-agent authorization where an orchestrator mints a verifiable credential (VC) with a delegated scope set and hands it to a sub-agent, which may further delegate. Does not cover root issuer key compromise, transport-level TLS failures, or single-hop direct authorization where no delegation occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-attenuation-break-in-an-aaif-capability-attestation-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-attenuation-break-in-an-aaif-capability-attestation-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-scope-attenuation-break-in-an-aaif-capability-attestation-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1206,
    "python_slice_tokens": 214,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The boundary that fails is not authentication—every signature in the chain verifies. It is **scope attenuation**: the invariant that a delegated credential's effective permission set must be a subset of the delegator's. AAIF chains carry this as a structural property (each VC's `scope` claim is intersected with its parent's at verification), but the intersec...",
    "what_was_observed": "An orchestrator agent `O` held a root credential with scope `repo:read,repo:write,billing:read`. It delegated to worker `W` a credential with scope `repo:read`—correctly attenuated. `W`, needing to file a report, delegated to sub-worker `S` with scope `repo:read,report:write`. The verifier accepted the chain: `report:write` is not in `O`'s root scope, but the intersection logic only flagged **direct** parent-child mi...",
    "condition_of_validity": "The attenuation invariant holds only when, for every credential `C_i` at depth `i` in a chain rooted at `C_0`: `expand(C_i.scope, grammar) ⊆ expand(C_0.scope, grammar)` where `expand` is a **single, versioned function** applied identically to every hop, and `grammar` is pinned in the credential's `@context` and enforced by the verifier—not inherited from the...",
    "decision_boundary": "The verifier must reject at the boundary where **root-anchored expansion fails**, not where hop-local subset fails. Concretely: - Compute `root_set = expand(C_0.scope, pinned_grammar)` once. - For each hop, compute `hop_set = expand(C_i.scope, pinned_grammar)`. - Reject if `hop_set ⊄ root_set`, regardless of whether `hop_set ⊆ expand(C_{i-1}.scope)`. If the ...",
    "operational_effect": "Chains that pass hop-local but fail root-anchored checks are the dominant source of privilege creep in multi-hop AAIF delegation. The observable symptom is a sub-agent holding a capability its root issuer never granted, with a fully valid signature chain and no failed verification event in logs—because the verifier's check *succeeded* against the wrong refer..."
  },
  "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": "d06872f9e3a29bd7a750d3bc64312baa5942914c691ce721a285e707479f0922",
    "verified_classes": [
      "ScopeAttenuationError",
      "Credential"
    ],
    "verified_functions": [
      "expand",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeAttenuationError"
    ],
    "sample_fail_closed_invariants": [
      "empty attestation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
