{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-aaif-delegated-credential-chain-collapse-at-the-scope-narrowing-boundary",
  "title": "What structural signals indicate AAIF delegated-credential chain collapse at the scope-narrowing boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-hop AAIF (Agent Authorization and Identity Framework) credential delegation where an issuer agent mints a scoped credential for a delegate agent, and that delegate re-delegates a narrowed subset onward. Does not apply to single-hop root-to-leaf issuance, nor to credentials that carry no attenuation constraints (scope-narrowing is the precondition for the failure described).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-aaif-delegated-credential-chain-collapse-at-the-scope-narrowing-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-aaif-delegated-credential-chain-collapse-at-the-scope-narrowing-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-aaif-delegated-credential-chain-collapse-at-the-scope-narrowing-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery, key compromise, or clock skew. It is a **scope-narrowing monotonicity violation**: a delegated credential whose effective permission set is not a strict subset of its parent's, produced without any cryptographic error. Verification passes at every hop because each signature is individually valid. The chain is invalid onl...",
    "what_was_observed": "A three-hop chain: root agent `R` (holding `{read:orders, read:inventory}`) issues to orchestrator `O` a credential scoped `{read:orders, read:inventory}`. `O` re-delegates to worker `W` with the intent to narrow to `{read:orders}`. The issuance path inside `O` did the following: 1. Loaded its own credential from local cache as a parsed object. 2. Serialized the scope set to a canonical form for subset computation. 3...",
    "condition_of_validity": "The subset invariant holds only if the verifier computes set inclusion against the **signed scope bytes of the parent credential as originally issued**, not against any hydrated, normalized, or re-serialized representation. Concretely, the verifier must: - Fetch the parent credential by the `parent_id` reference, not trust a `parent_scope` field embedded in ...",
    "decision_boundary": "The boundary between \"accept\" and \"reject\" is not \"is the child scope a subset of some parent scope I can find.\" It is: **Accept iff** `hash(parent_credential.signed_scope_bytes) == child.parent_hash` **AND** `child.scope ⊆ decode(parent_credential.signed_scope_bytes)` **AND** every hop in the chain satisfies this pairwise. If the hash matches but the subset...",
    "operational_effect": "Enforcing the strict boundary changes three operational behaviors: 1. **Issuance fails closed on representation drift.** An issuer that cannot reproduce its own signed scope bytes must re-fetch and re-verify its parent before minting, or refuse. This surfaces canonicalization bugs at issuance time rather than at audit time. 2. **Revocation domains stay disjo..."
  },
  "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": "1dc634fd624d4560748d4401725bd3ba7550b355c8a6cb41b83ea74d4395672f",
    "verified_classes": [
      "DelegationChainViolation",
      "Credential"
    ],
    "verified_functions": [
      "_hash_scope",
      "verify_chain",
      "issue_child"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationChainViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
