{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-capability-token-whose-delegation-chain-is-length-valid-but-warrant-non-monotonic",
  "title": "When must an instance reject a delegated capability token whose delegation chain is length-valid but warrant-non-monotonic",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF runtimes that authorize tool calls via chained delegated capability tokens (agent A → agent B → agent C) carrying embedded warrants (allowed-action sets, resource globs, spend ceilings, expiry). Does not cover single-hop root tokens or bearer credentials without delegation chains.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-token-whose-delegation-chain-is-length-valid-but-warrant-non-monotonic.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-token-whose-delegation-chain-is-length-valid-but-warrant-non-monotonic.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-capability-token-whose-delegation-chain-is-length-valid-but-warrant-non-monotonic.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1748,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode this record isolates is not token forgery, signature failure, or expired credentials. It is **warrant non-monotonicity across a structurally valid delegation chain**: a chain where every link verifies cryptographically, every `sub`/`aud`/`iss` triple matches, every expiry is strictly decreasing, and every delegation depth is within the confi...",
    "what_was_observed": "A three-agent pipeline: `planner` (root warrant: `{tool:search, tool:read, fs:read:/data/**, spend<=0}`) delegates to `executor` with `{tool:search, tool:read, fs:read:/data/reports/**, spend<=0}`. The executor's LLM, mid-task, decides it needs to persist a scratch file and calls `mint_delegation` to issue a token to `writer` with warrant `{tool:search, tool:read, tool:write, fs:read:/data/reports/**, fs:write:/tmp/*...",
    "condition_of_validity": "The invariant that must hold, and that this incident violated, is: > For every delegation edge `(parent, child)` in a chain, and for every warrant dimension `d`, `effective(child, d) ⊆ effective(parent, d)`, where `effective` is computed under a *single, explicit, versioned* normalization — not under per-link coercion. The failure requires three co-occurring...",
    "decision_boundary": "An AAIF verifier must **reject** a delegated token at validation time when: - The chain contains more than one distinct `warrant_schema` version, **and** the runtime cannot prove a total, order-preserving, non-widening normalization between them; OR - Any per-edge containment check is evaluated against a reference other than the immediate parent's *effective...",
    "operational_effect": "Downstream of this boundary, two behaviors change: 1. **Mint-time vs verify-time asymmetry.** The `mint_delegation` call and the `verify_chain` call must share the *same* normalization function object, not two implementations that \"should\" agree. In the incident they diverged: mint used v2 semantics (kept `write`), verify used v1 coercion (dropped it). The 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": "946137203ed7c51201d5a46e4d17c1f81c1b57eb124344cb521999084ef58362",
    "verified_classes": [
      "WarrantNonMonotonicError",
      "Warrant"
    ],
    "verified_functions": [
      "_normalize",
      "verify_edge",
      "verify_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "WarrantNonMonotonicError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
