{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-of-a-delegated-capability-token-fail-authority-verification-when-the-delegation-chain-is-cryptographically-valid-but-the-scope-la",
  "title": "Why does an instance of a delegated capability token fail authority verification when the delegation chain is cryptographically valid but the scope lattice is non-monotonic?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF verifiable credential (VC) chains where each delegation link carries a scoped capability token and the verifier reconstructs authority by intersecting scopes down the chain. Does not apply to flat, single-hop bearer tokens, nor to chains where scopes are opaque blobs compared only by exact equality.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-capability-token-fail-authority-verification-when-the-delegation-chain-is-cryptographically-valid-but-the-scope-la.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-capability-token-fail-authority-verification-when-the-delegation-chain-is-cryptographically-valid-but-the-scope-la.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-capability-token-fail-authority-verification-when-the-delegation-chain-is-cryptographically-valid-but-the-scope-la.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1672,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a signature, revocation, or clock-skew failure. Every link verifies: issuer DID resolves, the VC proof checks out, validity windows overlap, no link is revoked. The chain is *cryptographically* valid end to end. What fails is the **scope lattice join**. AAIF scopes are structured objects — typically `{resource, actions[], constraints{}}` —...",
    "what_was_observed": "A three-hop chain: root `P` grants `A1` scope `S0 = {resource: \"bucket/x\", actions: [\"read\",\"list\"], constraints: {ip: notIn [\"10.0.0.0/8\"]}}`. `A1` delegates to `A2` with `S1 = {resource: \"bucket/x\", actions: [\"read\"], constraints: {ip: in [\"10.1.0.0/16\"]}}`. `A2` delegates to `A3` with `S2 = {resource: \"bucket/x\", actions: [\"read\"], constraints: {}}` (unconstrained read). Every per-link check passes under a naive v...",
    "condition_of_validity": "The per-link subset check is sound **only if** all of the following hold: 1. **Scopes are positively expressed.** No `deny`, `notIn`, `except`, or exclusion constraints anywhere in the chain. Under positive-only scopes, `child ⊆ parent` per field *is* equivalent to the composed meet being implied, because the lattice is a product of powersets and subset is c...",
    "decision_boundary": "- **If the scope algebra is positive-only and action/constraint independent:** per-link attenuation checks are sufficient and cheap; keep them, but assert the preconditions at token-mint time so a future schema change cannot silently break soundness. - **If any scope carries an exclusion or conditional constraint:** materialize the composed predicate and che...",
    "operational_effect": "In production this manifests as **authority amplification through delegation**: a low-privilege agent delegates a scope that, combined with an ancestor's exclusion, yields access the root principal explicitly denied. Because every link verifies, audit logs show a clean chain and incident response initially classifies the event as \"credential compromise\" rath..."
  },
  "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": "92b5f282cc883310fc71575246081ccf8ed2f5990afb66dcfca8a95e3cdb1625",
    "verified_classes": [
      "ScopeContainmentError",
      "Scope"
    ],
    "verified_functions": [
      "_cidr_within",
      "composed_scope",
      "verify_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeContainmentError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
