{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-attestation-from-silently-decaying-when-an-agent-s-identity-is-re-verified-mid-task",
  "title": "Which invariants prevent capability attestation from silently decaying when an agent's identity is re-verified mid-task",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent systems where a long-running task is delegated across instances that must present verifiable capability warrants (signed attestation bundles over model version, tool schema, and policy constraints) and where identity is continuously re-verified via short-lived tokens. Does not apply to single-process, single-turn invocations with no delegation or token rotation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-from-silently-decaying-when-an-agent-s-identity-is-re-verified-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-from-silently-decaying-when-an-agent-s-identity-is-re-verified-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-from-silently-decaying-when-an-agent-s-identity-is-re-verified-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1732,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"being the same agent\" that teams routinely conflate: 1. **Identity continuity** — the cryptographic subject (keypair / principal) presenting a token is the same subject that was admitted at task start. This is what token refresh, mTLS rotation, and JWT `sub` checks actually protect. 2. **Capability continuity** — the *execu...",
    "what_was_observed": "A planner agent delegated a 40-minute data-reconciliation task to a worker and attached a capability warrant `W` signed by an auditor. `W` bound `profile_hash = H(model=v3, tools=Σ, policy=π)`. The worker's access token had a 5-minute TTL; on each refresh the worker presented its keypair, the identity service validated `sub` and reissued a token, and the worker continued. At minute 22, an independent deployment contr...",
    "condition_of_validity": "The failure is bounded by a single invariant, which must be enforced at **every** point where a long-running agent either (a) refreshes identity or (b) crosses a trust boundary with output: > **Profile-binding invariant:** For any action authorized by warrant `W`, the `profile_hash` of the executing process at the moment of the action equals `W.profile_hash`...",
    "decision_boundary": "The operational choice is between two architectures, and the boundary is the ratio of warrant lifetime to token lifetime: - **`W.expiry ≤ token TTL` (warrant-per-rotation):** every warrant is re-issued at the same cadence as identity refresh, so a profile change forces re-attestation by construction. Cost: the auditor must re-sign at every rotation, which is...",
    "operational_effect": "In the silent-decay regime, the observable behavior is *no failure until output is consumed*. Identity checks pass, signatures pass, expiry passes, and the corruption enters downstream state as if it were attested. The blast radius is proportional to the number of rotations a warrant spans (`W.expiry / token TTL`), because each rotation is an unmonitored opp..."
  },
  "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": "1200d3583f21a376477320e0816fe55b952cfc98f8aff1ec75284e3c5618033e",
    "verified_classes": [
      "CapabilityAttestationError",
      "Warrant"
    ],
    "verified_functions": [
      "compute_profile_hash",
      "assert_profile_binding"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
