{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-an-a2a-delegation-chain-as-non-repudiable-when-a-replayed-taskid-collides-with-a-legitimately-re-delegate",
  "title": "Under what conditions must an instance treat an A2A delegation chain as non-repudiable when a replayed `taskId` collides with a legitimately re-delegated subtask",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-hop A2A (Agent-to-Agent) task delegation where an orchestrator delegates a subtask to a peer, that peer may re-delegate to a sub-peer, and signed task envelopes carry `taskId`, `parentTaskId`, `delegatorWarrant`, and a monotonic `delegationDepth`/`nonce`. Does *not* apply to single-hop request/response calls with no re-delegation, nor to MCP tool invocations (which lack delegation warrants entirely).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-delegation-chain-as-non-repudiable-when-a-replayed-taskid-collides-with-a-legitimately-re-delegate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-delegation-chain-as-non-repudiable-when-a-replayed-taskid-collides-with-a-legitimately-re-delegate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-a2a-delegation-chain-as-non-repudiable-when-a-replayed-taskid-collides-with-a-legitimately-re-delegate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1468,
    "python_slice_tokens": 253,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A replay protection is usually specified as \"reject any `taskId` already seen within the warrant's validity window.\" That rule is sound for *idempotent retries of the same delegation* but is **wrong** for the case where a peer legitimately re-delegates a subtask and the sub-peer, following the spec's \"derive child id from parent\" convention, mints a child ...",
    "what_was_observed": "A three-hop chain: orchestrator `O` delegates `taskId=T1` (warrant `W_O`, depth 0) to peer `A`. `A` accepts, then re-delegates a derived subtask to `B`. The derivation convention in the deployed A2A profile was `childTaskId = hash(parentTaskId || subtaskLabel)[:16]`. A's subtask label happened to be the empty string (a \"whole-task forward\" pattern), so `childTaskId = hash(T1 || \"\")[:16]`, which collided with `T1`'s o...",
    "condition_of_validity": "The flat-uniqueness rule is valid **only** when the id-derivation function is injective over `(parentTaskId, subtaskLabel, depth)`—i.e., no two distinct delegations at distinct depths can produce the same id. The observed deployments violated injectivity because the derivation omitted `delegationDepth` and the warrant id. The corrected invariant: > A delegat...",
    "decision_boundary": "The boundary an instance must resolve at envelope-ingest time: - **If `taskId` matches a cached entry AND `(delegatorWarrantId, delegationDepth)` also match** → true replay; reject, do not execute, do not re-sign. - **If `taskId` matches but `(delegatorWarrantId, delegationDepth)` differ** → depth-aliased distinct delegation; **must not** reject on `taskId` ...",
    "operational_effect": "Enforcing triple-keyed replay protection converts the observed deadlock and mis-attribution into bounded, recoverable states: the depth-aliased delegation is admitted (no 90s stall), and the auditor's replay reconstructs the chain with `A` correctly attributed as `B`'s delegator (non-repudiation holds). The cost is a larger cache key and a mandatory parent-e..."
  },
  "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": "df9d59cb94517fce75ed7bc3368ad3b23a1b7445926ab854366a36ca29a37886",
    "verified_classes": [
      "DelegationReplayConflict",
      "Envelope"
    ],
    "verified_functions": [
      "admit"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationReplayConflict"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
