{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-a-delegated-capability-token-when-the-signing-principal-is-itself-an-agent-whose-authority-was-attenuated-mid-handoff",
  "title": "How should an instance validate a delegated capability token when the signing principal is itself an agent whose authority was attenuated mid-handoff",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any fleet where Agent A (org X) issues a signed capability token delegating a subset of its authority to Agent B (org Y), and B re-delegates to Agent C. Does not apply to single-hop tokens where the root signer is a human or a long-lived service key, nor to opaque bearer tokens with no embedded attenuation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-capability-token-when-the-signing-principal-is-itself-an-agent-whose-authority-was-attenuated-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-capability-token-when-the-signing-principal-is-itself-an-agent-whose-authority-was-attenuated-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-capability-token-when-the-signing-principal-is-itself-an-agent-whose-authority-was-attenuated-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1769,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not token expiry. It is **attenuation divergence under re-signing**: when an intermediate agent re-issues a delegated token, it must construct a new claim set that is provably a subset of its own. The subtle break is that \"subset\" is evaluated against the *token claims*, but the intermediate agent's *effective authori...",
    "what_was_observed": "Trigger sequence, reproduced across three runs: 1. Org X's root authority (human-backed key `Kx`) issues token `T1` to Agent A with scopes `{read:repo, write:repo, spawn:subagent}` and `max_depth=2`, `not_after=+3600s`. 2. Agent A, mid-task, re-delegates to Agent B (org Y) as `T2` with scopes `{read:repo, write:repo}` — a legitimate subset — and re-signs with its own delegated key. `T2` embeds `T1`'s hash as `parent_...",
    "condition_of_validity": "The chain-verification invariant holds only under all of: - **Monotonic parent authority:** the parent's effective scope set is non-increasing over the token's lifetime. Revocation, scope narrowing, and `spawn`-cap removal all violate this and must be handled explicitly, not assumed away. - **Revocation visibility at every hop:** each verifier in the chain, ...",
    "decision_boundary": "The operational line is between **stateless chain validation** and **stateful authority re-materialization**: - If the resource server can reach the issuer's revocation endpoint within `δ` and the token carries ancestor `jti` list plus a `revocation_epoch`, validate statelessly and accept the bounded staleness. Admit only if every ancestor `jti` is unrevoked...",
    "operational_effect": "The practical consequence is that delegated capability tokens are **not self-validating artifacts** once revocation exists. The chain proves *who authorized what at mint time*; it does not prove *what is authorized now*. Systems that treat signature-valid chains as sufficient admission gates exhibit a post-revocation admission window equal to the maximum of ..."
  },
  "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": "e6bdba383ecf2fa08a798ca1cf8085f67118517f1fe3de98eb12d11473f27acf",
    "verified_classes": [
      "DelegationAttenuationError",
      "CapabilityToken",
      "AuthorityView"
    ],
    "verified_functions": [
      "validate_delegated_chain",
      "admit_write",
      "is_fresh"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DelegationAttenuationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
