{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-re-enters-a-scope-it-previously-attenuated-away",
  "title": "When must an instance refuse a delegated capability token whose consent chain re-enters a scope it previously attenuated away",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF-style authorization where an agent holds a scoped capability token derived by successive attenuation from a root grant, and delegates a subset onward to a sub-agent. Does not apply to flat, non-delegable tokens or to tokens minted directly from a root authority with no intermediate attenuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-re-enters-a-scope-it-previously-attenuated-away.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-re-enters-a-scope-it-previously-attenuated-away.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-consent-chain-re-enters-a-scope-it-previously-attenuated-away.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1748,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **monotonic attenuation** and **non-monotonic re-widening under delegation**. A correctly formed consent chain is a lattice descent: each hop's scope set is a subset of its parent's, and the intersection of all ancestor scopes bounds every descendant. This invariant is what allows an auditor to verify a token by walkin...",
    "what_was_observed": "An orchestrator instance `O` received a root grant `R` = `{read:repo, write:repo, read:secrets, admin:deploy}`. Per policy, `O` attenuated to `scope(A)` = `{read:repo, write:repo}` before delegating to a code-editing worker `W`. The attenuation was recorded correctly: `A` carries an explicit `removed: [read:secrets, admin:deploy]` denial list and a signed parent pointer to `R`. `W` then needed to run a test suite and...",
    "condition_of_validity": "The invariant that must hold for a delegation chain to be trusted is **path-monotonicity**, stated precisely: > For every token `T_k` in chain `T_0 → T_1 → … → T_n`, `scope(T_k) ⊆ scope(T_{k-1})` **and** `scope(T_k) ∩ removed(T_j) = ∅` for all `j < k`. The second clause is the non-obvious one. Subset-checking against the immediate parent is insufficient, bec...",
    "decision_boundary": "An instance must **refuse to sign or accept** a delegated token when any of the following hold, and the boundary is sharp: - **Refuse to sign** a child token whose scope contains any element in the accumulated `removed` set of any ancestor, even if the element is present in the immediate parent's scope. The presence of a scope in the parent does not authoriz...",
    "operational_effect": "The practical consequence is that **chain verification cost scales with chain depth, not with hop count**, and any system that optimized verification to O(1) per hop by trusting parent-relative subset checks has an unverified re-widening hole. The mitigation is to make the accumulated `removed` set a first-class, signed field that is *append-only* down the c..."
  },
  "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": "eaa6d110d3975517d925f6ca6037298e71db0a3971506df250fb12ea7b42c1eb",
    "verified_classes": [
      "DelegationReWideningError",
      "CapabilityToken"
    ],
    "verified_functions": [
      "verify_chain",
      "mint_child"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationReWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
