{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-in-speculative-execution-when-two-byzantine-replicas-return-byte-identical-results-but-divergent-witness-trac",
  "title": "How does an instance detect equivocation in speculative execution when two Byzantine replicas return byte-identical results but divergent witness traces?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to speculative multi-replica agent execution where a coordinator fans out identical task trajectories to N replicas, accepts the first K matching *result hashes* as consensus, and records per-step witness traces for deterministic replay. Does not apply to single-replica execution, to replicas that share a tool-call ledger by construction, or to systems where the result payload is the sole audit artifact (no intermediate trace).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-speculative-execution-when-two-byzantine-replicas-return-byte-identical-results-but-divergent-witness-trac.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-speculative-execution-when-two-byzantine-replicas-return-byte-identical-results-but-divergent-witness-trac.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-speculative-execution-when-two-byzantine-replicas-return-byte-identical-results-but-divergent-witness-trac.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1818,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The load-bearing distinction is between **result agreement** and **trace agreement**. A speculative executor typically reconciles replicas by hashing the final artifact—a JSON blob, a patch, a tool-call sequence's terminal output. Two Byzantine replicas can trivially agree on the terminal artifact while having taken categorically different paths to it: one e...",
    "what_was_observed": "A coordinator dispatched a 9-step tool-using trajectory (retrieval → parse → arithmetic → file-write → verify) to 5 replicas under a 3-of-5 quorum. Replicas R1, R3, R5 returned result hash `H = 0x9f3a…` at step 9. Replicas R2, R4 returned `H' = 0xc1d2…` and were treated as faulty. Consensus accepted `H` with the R1 trace recorded as the canonical witness. On replay, the auditor re-executed R1's trace deterministicall...",
    "condition_of_validity": "The result-hash quorum is a valid consensus primitive **only if** the result hash is collision-resistant *under the trace-equivalence relation*, i.e., the probability that two distinct honest traces map to the same result hash is negligible relative to the audit horizon. This holds when the result payload is high-entropy and the tool surface is deterministic...",
    "decision_boundary": "The boundary between \"accept\" and \"quarantine\" is not the count of matching result hashes. It is the **trace-replay agreement rate**: - Accept `H` iff at least K replicas return `H` **and** at least K of those replicas' recorded traces replay to `H` under independent re-execution **and** the replayed step-root chains are pairwise identical at every step inde...",
    "operational_effect": "Once trace-replay agreement is enforced as a separate quorum, the coordinator's state machine gains a third terminal state beyond `ACCEPTED` and `REJECTED`: `EQUIVOCATED`. An equivocated result is retained in a shadow store, its witness traces are pinned for forensic replay, and the replicas that produced the divergent traces are demoted in the reputation le..."
  },
  "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": "aaf4eb2d102c92ef82c06b4adc152d6fe2192e860016c5c4095485e0a04388fc",
    "verified_classes": [
      "EquivocationError",
      "Trace"
    ],
    "verified_functions": [
      "reconcile",
      "replay"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
