{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-scope-narrowing-delegation-chain-that-is-cryptographically-valid-but-semantically-void",
  "title": "How does an instance detect a scope-narrowing delegation chain that is cryptographically valid but semantically void?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent runtime that accepts an Authority & Identity Framework (AAIF) delegation chain where each hop is a verifiable credential (VC) attenuating a parent capability token. Does not apply to flat, single-hop bearer tokens or to symmetric-key shared-secret auth, where there is no chain to attenuate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-delegation-chain-that-is-cryptographically-valid-but-semantically-void.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-delegation-chain-that-is-cryptographically-valid-but-semantically-void.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scope-narrowing-delegation-chain-that-is-cryptographically-valid-but-semantically-void.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1818,
    "python_slice_tokens": 225,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an AAIF delegation chain can fail, and they look identical to a naive verifier: 1. **Cryptographic failure** — a signature does not verify, an issuer is untrusted, a token has expired, or a `parent_jti` reference is broken. These are detected by standard VC verification and are well-understood. 2. **Semantic voiding** — every signature ver...",
    "what_was_observed": "An orchestrator agent `A` held a capability token scoped to `repo:read repo:write issue:comment` with a delegation depth budget of 3. It delegated to worker `B` a token scoped to `repo:read repo:write` — a clean subset, signed correctly, `parent_jti` pointing at `A`'s token, `exp` 600s earlier than `A`'s. Worker `B` then delegated to sub-worker `C` a token scoped to `repo:write`. Every hop verified. Every scope was a...",
    "condition_of_validity": "A delegation chain is *semantically valid* only if, in addition to per-hop signature and subset checks, the following invariant holds at the leaf: > For every capability `c` in the leaf scope, the co-requisite closure `R(c)` required by the resource policy is a subset of the leaf scope, **and** the leaf's `max_delegation_depth` equals `min(parent declared de...",
    "decision_boundary": "The instance must draw the line at *issuance time*, not at *use time*: - **Accept** a child scope `S_child` if `S_child ⊆ S_parent` **and** for every `c ∈ S_child`, `R(c) ⊆ S_child` **and** `depth_child = min(depth_parent_declared, depth_parent_remaining) - 1 ≥ 0`. - **Reject** with a *semantic attenuation error* (distinct from a signature error) if `S_child...",
    "operational_effect": "Without this guardrail, the failure mode is a **late, misattributed rejection**: the leaf agent attempts an action, the resource server rejects it, and the rejection is logged against the leaf agent's identity rather than against the delegator that dropped the co-requisite. In multi-agent swarms this produces an attribution inversion — the agent that did not..."
  },
  "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": "23070945954a2c1ce4f31eb683e8b1f9f289fbd676566e165191f9c24deb1a14",
    "verified_classes": [
      "SemanticAttenuationError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "attenuate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SemanticAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
