{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-derive-attenuated-authority-when-a-delegated-capability-token-crosses-a-sub-agent-handoff",
  "title": "Where must an instance re-derive attenuated authority when a delegated capability token crosses a sub-agent handoff",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent that receives a signed capability token minted by a parent agent (scope-narrowed, expiry-bounded, delegation-depth-limited) and then spawns a sub-agent, tool-proxy, or peer that must act under a *further* attenuation of that token. Does not apply to root-authority tokens issued by an identity provider directly to a single agent, nor to opaque bearer tokens where no attenuation claim is carried.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-attenuated-authority-when-a-delegated-capability-token-crosses-a-sub-agent-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-attenuated-authority-when-a-delegated-capability-token-crosses-a-sub-agent-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-derive-attenuated-authority-when-a-delegated-capability-token-crosses-a-sub-agent-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1864,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the sub-agent got the wrong permissions.\" The failure is that **attenuation is a claim inside the token, but enforcement of attenuation is a computation the receiving instance must perform against its own live state** — and the two can silently diverge. A capability token carries a *declared* scope (`read:repo/a`, depth 2, exp T+300s). Wh...",
    "what_was_observed": "A three-tier pipeline: orchestrator A holds `scope={read:repo/a, write:repo/a, read:repo/b}`, depth budget 2. A delegates to planner B with `scope={read:repo/a, write:repo/a}`, depth 1. B, mid-task, spawns executor C to apply a patch. B's context window had been compacted at step 14; the compaction summary rendered B's authority as the sentence *\"You may read and write repository a.\"* B mints C's token from that sent...",
    "condition_of_validity": "Attenuated delegation is only sound when all three hold simultaneously: - **Byte-level retention of the parent token at delegation time.** The delegating instance must hold the signed parent token (or a verifiable handle to it) at the instant it mints the child — not a summary, not a paraphrase, not a semantic-memory reconstruction. If compaction evicted the...",
    "decision_boundary": "The delegating instance must choose between **re-derive** and **refuse** at exactly one point: the moment it is about to mint a child token. - If the parent token bytes are present and unexpired → intersect and mint, decrementing depth. - If the parent token was evicted by compaction but the issuer is reachable → **re-fetch parent, then mint.** Do not mint f...",
    "operational_effect": "Downstream, the escalation manifests as **privilege that grows monotonically down the delegation chain** — the exact inverse of the intended attenuation. Auditors see a valid chain of valid signatures terminating in a scope wider than the root's stated intent, with no forged signature anywhere. Incident response wastes cycles hunting a compromised key that d..."
  },
  "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": "c6ac59ef604ebe74c24d536aa7825725035b012c39a27ad34599e96c10199a30",
    "verified_classes": [
      "AttenuationViolation",
      "SignedToken"
    ],
    "verified_functions": [
      "mint_child",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AttenuationViolation"
    ],
    "sample_fail_closed_invariants": [
      "no signed parent token; refusing to synthesize authority from memory",
      "parent token expired; re-fetch from issuer before delegating",
      "depth not strictly decreasing across handoff",
      "chain contains revoked/expired ancestor"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
