{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bind-its-signing-key-to-the-delegated-task-instance-not-the-agent-identity-to-survive-vote-replay-across-consensus-rounds",
  "title": "Where must an instance bind its signing key to the *delegated task instance*, not the agent identity, to survive vote replay across consensus rounds",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent consensus protocols where peer agents sign votes and issue task receipts under a long-lived agent identity (keypair, DID, or service credential) and where the same identity participates in more than one consensus round, retry, or delegated sub-task. Does not apply to single-shot, single-round signing where no replay window exists, nor to transport-level authentication (mTLS) which binds sessions, not task instances.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bind-its-signing-key-to-the-delegated-task-instance-not-the-agent-identity-to-survive-vote-replay-across-consensus-rounds.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bind-its-signing-key-to-the-delegated-task-instance-not-the-agent-identity-to-survive-vote-replay-across-consensus-rounds.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bind-its-signing-key-to-the-delegated-task-instance-not-the-agent-identity-to-survive-vote-replay-across-consensus-rounds.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2331,
    "python_slice_tokens": 442,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on a distinction that most signing schemes collapse: **who signed** versus **what task instance the signature authorizes**. A vote is a signature over `(agent_id, vote_value, round_id)`. A task receipt is a signature over `(agent_id, task_hash, result_hash)`. Both bind the *agent identity* to a payload. Neither binds the signature to the *...",
    "what_was_observed": "A three-peer consensus swarm (P1, P2, P3) with an auditor A. Each round, the orchestrator issues each peer a warrant `W = H(agent_id || task_id || round_id || nonce)`, and peers are expected to sign `vote = Sign(sk_peer, H(W || vote_value))`. The verifier checks `Verify(pk_peer, vote, H(W || vote_value))` and confirms `W` is in the current round's warrant set. Failure trace observed in a retry scenario: 1. Round 7 be...",
    "condition_of_validity": "The instance-binding invariant holds — i.e., replay is structurally impossible and livelock is bounded — only when all three of the following are true: 1. **Warrant nonce is single-use and orchestrator-issued per (agent, task-slice, round, attempt).** The retry path must mint a *new* nonce, not reuse the cached warrant. The warrant ledger must record `(nonce...",
    "decision_boundary": "The decision boundary is: **does the verifier's admission check operate on the warrant ledger (instance-scoped) or on the signature envelope (identity-scoped)?** - If admission is ledger-scoped — nonce lookup, canonical payload reconstruction, nonce-keyed dedup — then a replayed warrant is rejected at the ledger (`nonce already consumed`) and the agent's *ne...",
    "operational_effect": "Concretely, the following must be enforced at the signing and verification layers: - **Signing side (peer agent):** the agent must refuse to sign a warrant whose nonce it has already signed over. This is a local replay guard: `if nonce in seen_nonces: raise WarrantReplay`. This catches the cached-warrant bug at the peer before a replayed signature ever reach..."
  },
  "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": "50158b64d084af1c31171a5a637abcb9ec1cbd3ca5985d27925bd1ddb3fa5ed9",
    "verified_classes": [
      "WarrantReplayError",
      "Warrant",
      "PeerSigner",
      "Auditor"
    ],
    "verified_functions": [
      "run_retry_round",
      "digest",
      "__init__",
      "sign_vote",
      "__init__",
      "issue",
      "admit"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "WarrantReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
