{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-handle-delegated-capability-tokens-whose-scope-has-silently-widened-after-a-parent-agent-s-revocation-cascade",
  "title": "How should an instance handle delegated capability tokens whose scope has silently widened after a parent agent's revocation cascade?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance operating under a delegated capability token (DCT) issued by a parent agent in an AAIF-style chain where revocation propagates transitively. Does not apply to root-issued tokens, to tokens with no parent chain, or to purely capability-based (non-delegated) authorization schemes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-tokens-whose-scope-has-silently-widened-after-a-parent-agent-s-revocation-cascade.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-tokens-whose-scope-has-silently-widened-after-a-parent-agent-s-revocation-cascade.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-tokens-whose-scope-has-silently-widened-after-a-parent-agent-s-revocation-cascade.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1945,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive mental model of delegated capability revocation is *monotonic subtraction*: revoking a parent token removes the child's authority, and the child's effective scope shrinks toward the empty set. The real behavior is *non-monotonic under re-derivation*: a child token stores a **derivation path** (parent ID, issuer signature, scope-narrowing proof) rat...",
    "what_was_observed": "A three-tier chain: orchestrator O issues token T_O to planner P with scope `{read:repo, spawn:agents, write:plan}`. P delegates to executor E a token T_E with scope `complement(T_O, {spawn:agents})` — i.e., E may do everything P can except spawn further agents. E delegates to a summarizer S a token T_S with scope `complement(T_E, {write:plan})`. At issue time, S's effective scope is `{read:repo}`. O's token is revok...",
    "condition_of_validity": "The widening window exists if and only if all three of the following hold: 1. **Complement-form scope.** The child's scope is expressed as a relative complement or \"inherits-minus\" expression rather than a closed enumeration. Closed enumerations cannot widen — subtracting from a set you don't inherit is a no-op. 2. **Lazy re-derivation.** The authorization c...",
    "decision_boundary": "An instance facing an unresolvable-or-widening derivation path must decide between **fail-closed** (treat the token as fully revoked, halt) and **fail-open** (proceed with the last materialized scope). The boundary is not \"is the parent revoked\" — that is a race the child cannot win by polling. The boundary is: > Does the child hold a *materialized* effectiv...",
    "operational_effect": "Implementing the invariant changes three things in an AAIF deployment: 1. **Token format.** Delegated tokens carry a signed `materialized_scope` field — the closed enumeration computed at issue time — in addition to the derivation path. The path is retained for audit and for narrowing operations, but authorization decisions read only the materialized scope. ..."
  },
  "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": "3a0ceb97f6b1da651890d8a203d25a032d68a9346a26f14e155da1cee0c35d91",
    "verified_classes": [
      "RevocationWideningError"
    ],
    "verified_functions": [
      "resolve_delegated_scope",
      "authorize_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RevocationWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
