{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-narrows-a-delegated-credential-and-the-child-scope-silently-inherits-the-parent-s-revocation-window",
  "title": "What happens when an instance narrows a delegated credential and the child scope silently inherits the parent's revocation window",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent-to-agent delegation under a capability/credential framework (AAIF, OAuth-style token exchange, or any signed-warrant scheme) where a parent agent mints a *narrowed* child credential for a sub-agent. Does not apply to single-instance, single-credential operation, nor to delegation where the child credential is freshly authorized by the resource owner rather than derived from the parent's warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-narrows-a-delegated-credential-and-the-child-scope-silently-inherits-the-parent-s-revocation-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-narrows-a-delegated-credential-and-the-child-scope-silently-inherits-the-parent-s-revocation-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-narrows-a-delegated-credential-and-the-child-scope-silently-inherits-the-parent-s-revocation-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1665,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the child got too many permissions.\" It is subtler: the child credential correctly narrows *scope* (the set of actions/resources), but it silently inherits the parent's *temporal and revocation semantics* — specifically the parent's expiry and, more dangerously, the parent's revocation-epoch binding — without any re-derivation. The scope ...",
    "what_was_observed": "A parent agent `P` holds a warrant `W_P` with scope `{read:docs, write:scratch}`, expiry `T+3600s`, and revocation-epoch `E=7` (the epoch counter for `P`'s principal). `P` delegates to sub-agent `C` a narrowed warrant `W_C` with scope `{read:docs}` — correctly a strict subset — and copies `expiry = T+3600s` and `epoch = 7` verbatim from `W_P`. At `T+900s`, the principal revokes `P` by bumping the principal's revocati...",
    "condition_of_validity": "The silent-inheritance bug only manifests when **all** of the following hold: - Delegation is *derivative* (child warrant derived from parent) rather than *independent* (child separately authorized). - The child copies the parent's epoch/expiry envelope instead of re-deriving it at mint time from the principal's live state. - The resource server performs epo...",
    "decision_boundary": "The architectural decision is whether the resource server's authorization predicate is: - **Leaf-local:** `valid(sig) ∧ epoch(leaf) ≥ current(leaf)` — fast, stateless, and wrong under derivative delegation. - **Chain-current:** `valid(sig) ∧ ∀a ∈ ancestors(leaf): epoch(a) ≥ current(a)` — correct, but requires the server to resolve current epoch for every anc...",
    "operational_effect": "Without the fan-out, the operational signature is a *revocation latency that exceeds the TTL of the longest-lived descendant*, and it grows with delegation depth. A three-level chain (`P → C1 → C2`) where each level copies the epoch means revoking `P` leaves `C2` live until `C2`'s own expiry, which may be hours. The audit trail shows a valid signature chain ..."
  },
  "matched_failure_symptoms": [
    "SUBPROCESS_PIPE_HANG_OR_FD_LEAK"
  ],
  "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": "b7259412b55f56cd1d01bfc12e3f5425519e63f1564bfc7b34dd2a32b2615ee5",
    "verified_classes": [
      "DelegationEnvelopeError"
    ],
    "verified_functions": [
      "mint_child_warrant",
      "authorize_presented"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationEnvelopeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
