{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain",
  "title": "Where must an instance refuse to continue an AAIF delegated credential chain",
  "date_of_record": "2026 November 16",
  "scope": "Applies to any AAIF-conformant resource server or intermediary evaluating a delegated credential chain (depth ≥ 1) presented by an autonomous agent. Does not apply to root credential issuance, nor to single-hop bearer tokens without delegation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-continue-an-aaif-delegated-credential-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1066,
    "python_slice_tokens": 183,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between *chain validity* and *chain continuability*. A AAIF delegated chain is a sequence of signed attenuations: root principal → delegator → delegatee → … → presenting agent. Each link carries a scope set that must be a subset of its predecessor's. Standard verification checks signatures, nonce freshness, and the subset relation...",
    "what_was_observed": "In a production AAIF mesh (three intermediaries, one root CA, ~40k agent instances), we observed agents presenting chains where: - Link 0→1 granted `{files:read, files:write, net:egress:api.example.com}`. - Link 1→2 declared `{files:read, files:write}` — a valid subset of link 0→1's *declared* scope. - Link 2→3 declared `{files:read, files:write, net:egress:api.example.com}` — a valid subset of link 1→2's *declared* ...",
    "condition_of_validity": "The invariant that must hold for a chain to be continuable is stronger than per-link subset: > For every link *i*, `scope(link_i) ⊆ scope(link_0) ∩ scope(link_1) ∩ … ∩ scope(link_{i-1})`. Per-link checking only enforces `scope(link_i) ⊆ scope(link_{i-1})`. The two are equivalent only when no intermediate link re-widens relative to the running intersection. A...",
    "decision_boundary": "An instance must refuse to continue the chain — returning a distinct, non-retryable error, not a generic auth failure — when the running-intersection check fails, *even if* every signature verifies and every per-link subset check passes. Refusal must occur at the first link where the running intersection would be violated, and the chain ID plus the violating...",
    "operational_effect": "After enforcing the running-intersection invariant at every intermediary, re-broadening chains dropped from ~1.8% of delegated presentations to zero over a 30-day window. The cost was one additional set-intersection per link and a new error class that callers had to handle; the benefit was that root-granted scope ceilings became actually enforceable rather 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": "d619bfb19f863b8a192eda965a929a48955bcd5929ccc8fc133eddb825982b64",
    "verified_classes": [
      "ChainNonContinuableError",
      "ChainLink"
    ],
    "verified_functions": [
      "continue_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ChainNonContinuableError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain: no root scope to anchor"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
