{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-non-monotonic-across-a-scope-narrowing-hop",
  "title": "Under what conditions must an instance refuse a delegated capability token whose consent chain is non-monotonic across a scope-narrowing hop",
  "date_of_record": "2026 December 2",
  "scope": "Applies to any AAIF-governed agent that receives a scoped capability token carrying a delegated consent chain (principal → agent A → agent B → …) and must decide whether to honor it for a tool invocation. Does not apply to root tokens minted directly by a principal, nor to tokens whose consent chain is a single hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-non-monotonic-across-a-scope-narrowing-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-non-monotonic-across-a-scope-narrowing-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-is-non-monotonic-across-a-scope-narrowing-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1995,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The AAIF spec treats scope narrowing as the safety primitive: each delegation hop must produce a child token whose scope set is a subset of its parent's. Implementations therefore check `child.scope ⊆ parent.scope` at each hop and, if that holds everywhere, accept the chain as valid. This is the wrong invariant. Subset-checking per-hop guarantees that the *f...",
    "what_was_observed": "A three-hop delegation: principal P → orchestrator A → worker B → tool-runner C. P mints a token with scope `{files:read, files:write}` plus a *constraint attribute* `resource_allowlist = {/data/tenant-42/*}` and `max_ops = 100`. A's token is a faithful subset. A delegates to B, but A's serializer emits constraints as a flat string map and B's parser only recognizes a subset of constraint keys; `resource_allowlist` i...",
    "condition_of_validity": "A delegated token is safe to honor **iff** the consent chain is *monotonic in the constraint lattice*, not merely subset-valid in the scope lattice. Formally: for every hop `i → i+1`, the effective constraint set `K_{i+1}` must satisfy `K_i ⊑ K_{i+1}` where `⊑` is the *narrowing* order — every constraint present in `K_i` must be present in `K_{i+1}` with a v...",
    "decision_boundary": "The boundary is between **\"I cannot parse this constraint\"** and **\"this constraint does not apply.\"** A conforming AAIF implementation must treat an unrecognized parent constraint key as a hard stop, not a soft default. The decision rule: - If the parent token carries a constraint key the receiver does not understand, the receiver MUST refuse the delegation...",
    "operational_effect": "Enforcing monotonic constraint checking changes three operational behaviors. First, delegation becomes *fail-closed on parse gaps*: agents that previously \"worked\" because they silently dropped unknown constraints will now reject chains, and rollout must be staged with a `shadow` mode that logs would-be refusals before enforcing. Second, constraint schemas b..."
  },
  "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": "70ade329ae2b19841284f4feec2910d1ede9063f052a63e585dc8d8282c62531",
    "verified_classes": [
      "NonMonotonicConsentError",
      "Constraint",
      "Token"
    ],
    "verified_functions": [
      "_narrows",
      "verify_monotonic_chain",
      "authorize_tool_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "NonMonotonicConsentError"
    ],
    "sample_fail_closed_invariants": [
      "empty consent chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
