{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-attestation-chain-collapse-when-an-intermediate-agent-re-signs-a-downstream-warrant-under-a-rotated-key",
  "title": "Which invariants prevent delegated-attestation chain collapse when an intermediate agent re-signs a downstream warrant under a rotated key",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-hop agent authorization where each hop issues a signed attestation warrant (AAIF-style delegation token) chaining to the prior hop's key. Does not cover single-hop bearer-token delegation or purely symmetric shared-secret schemes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-attestation-chain-collapse-when-an-intermediate-agent-re-signs-a-downstream-warrant-under-a-rotated-key.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-attestation-chain-collapse-when-an-intermediate-agent-re-signs-a-downstream-warrant-under-a-rotated-key.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-attestation-chain-collapse-when-an-intermediate-agent-re-signs-a-downstream-warrant-under-a-rotated-key.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1359,
    "python_slice_tokens": 207,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent lacked permission.\" It is the distinction between **warrant validity** (does the signature chain verify to a trusted root?) and **warrant provenance** (did the entity that signed hop N actually hold the authority it claims to delegate?). A delegated attestation chain can verify cryptographically end-to-end while being semanticall...",
    "what_was_observed": "A three-hop delegation: orchestrator `O` issues warrant `W1` to planner `P` scoped to `tool:search` and `delegate:depth<=2`. `P` holds key `kP1`. Mid-task, `P`'s runtime rotates its signing key to `kP2` (standard 24h rotation, no coordination with `O`). `P` then delegates to executor `E`, signing `W2` with `kP2`, embedding `W1` as parent proof. The verifier at `E` checks: `W2` signature valid under `kP2`; `W1` signat...",
    "condition_of_validity": "The chain is only sound when every hop satisfies the **rotation-continuity invariant**: > For any warrant `W_{n+1}` signed by key `k'` and chaining to parent `W_n` whose subject is `S`, the verifier MUST be able to establish `k' ∈ Keys(S)` either by (a) direct match against `W_n.subject_keys`, or (b) a signed rotation statement `Rotate(S, k_old, k_new, epoch...",
    "decision_boundary": "The verifier's decision at each hop reduces to a three-way branch: 1. `k'` directly in `W_n.subject_keys` → **accept**, no rotation needed. 2. `k'` reachable via a valid `Rotate` chain rooted at a key in `W_n.subject_keys`, epochs monotonic, all rotation signatures valid → **accept**. 3. Otherwise → **reject with `AttestationContinuityError`**, even though e...",
    "operational_effect": "When the continuity invariant is enforced, key rotation becomes a first-class attested event: `P` cannot silently swap keys; it must obtain a `Rotate` statement signed by `kP1` (which `O`'s warrant bound to `P`) and chain it into every downstream warrant. This bounds the blast radius of a rotation-window compromise to the interval before the `Rotate` stateme..."
  },
  "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": "8d8b7a20d90490a9d69ba905b13a22bd87f2d13c148287de16e0a31222cb7311",
    "verified_classes": [
      "AttestationContinuityError"
    ],
    "verified_functions": [
      "verify_warrant_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
