{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-line-between-a-result-it-computed-and-a-result-it-attested-under-byzantine-quorum",
  "title": "Where must an instance draw the line between a result it computed and a result it attested under Byzantine quorum",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-agent swarms where task commitment and result attestation are gated by a Byzantine fault-tolerant (BFT) quorum (e.g., 2f+1 of 3f+1 replicas), and where an individual agent instance may both *produce* a result and *vote* on attestation. Does not apply to single-agent pipelines or leader-only commit protocols without signed attestation receipts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-result-it-computed-and-a-result-it-attested-under-byzantine-quorum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-result-it-computed-and-a-result-it-attested-under-byzantine-quorum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-line-between-a-result-it-computed-and-a-result-it-attested-under-byzantine-quorum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1869,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *computational honesty* (the instance ran the tool and got output X) and *attestation honesty* (the instance signed a quorum message asserting that the committed result is X). In a BFT commitment protocol these are treated as the same act, but they are not. An instance can be computationally honest and still be forced—by prompt ...",
    "what_was_observed": "A 7-replica swarm (f=2, quorum=5) executed a task commitment for a financial reconciliation job. Each replica ran the same tool sequence: `fetch_ledger`, `sum_entries`, `compare_against_expected`. Replica R3's `fetch_ledger` tool returned a stale snapshot (cached from a prior epoch, 400ms behind). R3 computed `sum_entries = 1042.17`. Replicas R1, R2, R4, R5, R6 fetched fresh data and computed `sum_entries = 1047.89`....",
    "condition_of_validity": "The invariant \"attest only what you computed\" is valid if and only if three conditions hold simultaneously: 1. **Trace binding:** The attestation module has access to the instance's own execution trace (the tuple `(tool_call_id, input_digest, output_digest, timestamp)`) and can recompute the result digest from that trace without trusting the coordinator. 2. ...",
    "decision_boundary": "The boundary is sharp: an instance must **abort the attestation round and emit a `DIVERGENCE` event** when `local_result_digest != prepared_digest`, regardless of quorum size. It must not sign. It must not \"defer to the majority.\" The correct behavior is to enter a `RECONCILIATION` state where the instance re-runs the tool sequence, compares traces with a ra...",
    "operational_effect": "Implementing the invariant changes the attestation module from a passive signer to an active verifier. The operational effects are: - **Latency:** Each attestation now requires a local trace lookup and digest recomputation (~2-5ms per attestation in the observed deployment). This is negligible against the 200-800ms tool-call latency but must be accounted for..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "b201a2cf07fbffbe233aa6c2ac287cb14a52a1173b01c860b2fda8cb8a9c4752",
    "verified_classes": [
      "AttestationDivergenceError",
      "StaleEpochError",
      "TraceEntry",
      "PrepareMessage",
      "AttestationModule"
    ],
    "verified_functions": [
      "run_attestation_round",
      "__init__",
      "record_tool_call",
      "_local_result_digest",
      "attest"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationDivergenceError",
      "StaleEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
