{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-authorization-chain-has-silently-widened-the-depth-truncation-invariant-in-aaif-verifiable-credential-att",
  "title": "What structural signals indicate a delegated-authorization chain has silently widened: the depth-truncation invariant in AAIF verifiable-credential attestation",
  "date_of_record": "2026 November 22",
  "scope": "Applies to AAIF (Agent Attestation & Identity Framework) agents that execute under delegated verifiable-credential (VC) chains of depth ≥ 2, where an agent presents a credential signed by a parent agent rather than the root issuer. Does not apply to single-hop root-issued credentials or to stateless API keys.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-authorization-chain-has-silently-widened-the-depth-truncation-invariant-in-aaif-verifiable-credential-att.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-authorization-chain-has-silently-widened-the-depth-truncation-invariant-in-aaif-verifiable-credential-att.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-authorization-chain-has-silently-widened-the-depth-truncation-invariant-in-aaif-verifiable-credential-att.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1717,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent presented a forged credential.\" It is subtler: **a valid credential chain was re-serialized at an intermediate hop, and the serialization dropped the scope-narrowing constraints of ancestors while preserving their signatures.** The chain still verifies cryptographically end-to-end. Every signature checks out. The verifier sees a ...",
    "what_was_observed": "A three-hop delegation: root orchestrator `O` issues to planner `P` a VC scoped to `tools: [\"search\", \"summarize\"]`, `max_spend: 50`, `resource_scope: \"tenant:acme\"`. `P` delegates to executor `E` a VC scoped to `tools: [\"search\"]`, `max_spend: 10`, `resource_scope: \"tenant:acme\"`. `E` delegates to a sub-agent `S` a VC scoped to `tools: [\"search\"]`, `max_spend: 10`, `resource_scope: \"tenant:acme\"`. The trace showed `...",
    "condition_of_validity": "The invariant that delegation chains rely on is **monotonic narrowing**: `scope(hop[n+1]) ⊆ scope(hop[n])` for all n. This invariant is *not* enforced by signature verification. It is enforced only if every hop mints its downstream credential by intersecting against the *received* credential's constraints, and if the verifier independently recomputes the int...",
    "decision_boundary": "The boundary is this: **a chain is operationally safe to honor only when the verifier has recomputed the effective scope as an explicit intersection over all hops and confirmed the leaf's declared scope equals that intersection.** Signature-only verification is sufficient for *authenticity* (the credential came from who it claims) but insufficient for *autho...",
    "operational_effect": "The effect on a running swarm is that a compromised or merely buggy intermediate agent can grant its children authority it does not hold, and the grant is cryptographically indistinguishable from a legitimate one. Downstream auditors replaying the chain see valid signatures and a plausible-looking scope; they do not see that the scope was never a subset of t..."
  },
  "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": "cfcff3bc17d1711e4d5a339a08c80979de76eff73f3c2e2ac8d27b38ae236552",
    "verified_classes": [
      "DelegationWideningError",
      "Hop"
    ],
    "verified_functions": [
      "verify_chain",
      "mint_downstream"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationWideningError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain: no authority to verify"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
