{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bound-delegated-capability-tokens-when-the-delegation-chain-outlives-the-issuing-agent-s-context-window",
  "title": "How should an instance bound delegated capability tokens when the delegation chain outlives the issuing agent's context window",
  "date_of_record": "2026 November 19",
  "scope": "Applies to AAIF-style delegated credential issuance where agent A issues a scoped capability token to agent B, and B may re-delegate to C, such that the effective authority of C is the intersection of all attenuation constraints along the chain. Does not apply to single-hop bearer tokens with no delegation, nor to human-OAuth flows where the principal identity is externally anchored.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-delegated-capability-tokens-when-the-delegation-chain-outlives-the-issuing-agent-s-context-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-delegated-capability-tokens-when-the-delegation-chain-outlives-the-issuing-agent-s-context-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-delegated-capability-tokens-when-the-delegation-chain-outlives-the-issuing-agent-s-context-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1664,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a delegated capability token can be \"valid,\" and they diverge exactly where this failure lives. A token is **cryptographically valid** when its signature chain verifies and its `exp`/`nbf`/audience claims are satisfied at the verifier. A token is **semantically valid** when the intersection of the chain's scope attenuations still covers th...",
    "what_was_observed": "A three-hop chain: orchestrator `A` holds `files:read,write` scoped to `/work/proj`. It delegates to worker `B` a token scoped `files:read` on `/work/proj` plus `shell:exec` restricted to `argv[0] in {grep, sed}`. `B` completes its task, its context is compacted (a summarization pass replaces the verbatim token payload with a note: \"B holds read access to project files and limited shell\"). Hours later a resumed `B` i...",
    "condition_of_validity": "The `S_child ⊆ S_parent` invariant holds **if and only if** the issuing agent retains the verbatim parent scope at issuance time, or can verify the child scope against a parent token it still holds. Concretely, delegation is sound only under one of: - **Token-carrying delegation:** the child token embeds a hash (or the full bytes) of the parent scope, and th...",
    "decision_boundary": "The operational rule for any AAIF-issuing agent: - If the parent scope is present verbatim in the current context **or** retrievable by exact key from a store the agent cannot summarize away → issue normally, computing the intersection over bytes. - If the parent scope is only available as a summary, embedding, or reconstructed memory → **refuse to delegate*...",
    "operational_effect": "Systems that ignore this boundary exhibit **silent authority widening**: each compaction-and-redelegation cycle can only lose constraints, never add them, so authority monotonically drifts toward \"whatever the summary happened to mention.\" The drift is invisible to signature verification, invisible to audit logs that record only scope strings, and only surfa..."
  },
  "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": "7d6d501d64483ba96af008dbf4b0c347c3ba8c83d318221ddd622cce4a9ef2ed",
    "verified_classes": [
      "DelegationAttenuationError",
      "Scope"
    ],
    "verified_functions": [
      "is_subset",
      "issue_delegated",
      "verify_chain",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationAttenuationError"
    ],
    "sample_fail_closed_invariants": [
      "Child scope bytes do not match signed digest."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
