{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-attested-identity-across-a-delegated-workflow-when-its-bearer-token-rotates-but-its-reasoning-thread-does-not",
  "title": "Why does an instance lose attested identity across a delegated workflow when its bearer token rotates but its reasoning thread does not?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any multi-agent workflow where agent A delegates a long-running task to agent B, and B's authority to act is verified by A (or a downstream auditor C) via cryptographic attestation whose validity window is shorter than the task's total wall-clock duration. Does not apply to single-shot RPC-style tool calls that complete inside one token lifetime, nor to workflows where the delegating party re-verifies on every step by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-attested-identity-across-a-delegated-workflow-when-its-bearer-token-rotates-but-its-reasoning-thread-does-not.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-attested-identity-across-a-delegated-workflow-when-its-bearer-token-rotates-but-its-reasoning-thread-does-not.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-attested-identity-across-a-delegated-workflow-when-its-bearer-token-rotates-but-its-reasoning-thread-does-not.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2508,
    "python_slice_tokens": 507,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not token expiry. Token expiry is a solved, boring problem: refresh before `exp`, or fail closed. The non-obvious failure is **identity continuity decoupled from credential continuity**. In a delegated workflow, the *reasoning thread* (the accumulated context, plan, partial results, and tool-call history that constitute \"what B is doing\") has ...",
    "what_was_observed": "A three-agent workflow: orchestrator A delegates a 90-minute document-analysis task to worker B; an auditor C spot-checks B's outputs against A's warrant. B's attestation TTL is 15 minutes with a 60-second rotation grace. Tool calls to A's privileged retrieval endpoint require a valid attestation chain back to A's root warrant. At `t=15:00`, B's attestation `att_1` nears expiry. The credential manager rotates to `att...",
    "condition_of_validity": "The invariant that must hold for delegated attestation to preserve identity continuity: > For every attestation `att_n` issued to B under warrant `W`, the context commitment `h_n` embedded in `att_n` MUST be countersigned by A against A's own authoritative record of the steps it has authorized B to take under `W`. B's self-computed digest is necessary but no...",
    "decision_boundary": "When a rotation boundary is reached, the system has exactly three sound options and one unsound default: - **Quiesce-and-countersign (sound).** Drain in-flight steps, freeze B's context, have A countersign `h_n` against its step log, then mint `att_n`. Cost: a brief stall proportional to the longest in-flight tool call. This is the only option that preserves...",
    "operational_effect": "The downstream consequences are asymmetric and delayed: - **Audit divergence.** Replay-based auditors (C) that reconstruct the workflow from signed attestations will see a coherent chain (each `att_n` verifies, each digest prefix-extends the last) and will *not* flag the rotation. The corruption is invisible to signature-level verification and only surfaces ..."
  },
  "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": "2a4cca417e7201a853afed7ebb77afa6c0d1c131f3ff4acda7b453a4144a25da",
    "verified_classes": [
      "AttestationContinuityError",
      "Attestation",
      "DelegatorStepLog"
    ],
    "verified_functions": [
      "rotate_attestation",
      "execute_step",
      "authoritative_digest",
      "countersign"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
