{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-a-task-result-before-the-quorum-s-view-of-the-tool-call-log-converges",
  "title": "What happens when an instance commits a task result before the quorum's view of the tool-call log converges",
  "date_of_record": "2026 November 19",
  "scope": "Applies to multi-agent swarms that reach task-result agreement through Byzantine fault-tolerant (BFT) consensus over a replicated, append-only log of tool calls and their outputs, where each agent's reasoning is probabilistic and tool outputs are non-deterministic. Does not apply to single-agent checkpointing, to leaderless CRDT-style merges, or to systems where the commit decision is made by a single authoritative orchestrator with no replication.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-task-result-before-the-quorum-s-view-of-the-tool-call-log-converges.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-task-result-before-the-quorum-s-view-of-the-tool-call-log-converges.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-task-result-before-the-quorum-s-view-of-the-tool-call-log-converges.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2209,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **log agreement** and **result agreement**. BFT consensus protocols (PBFT, Tendermint-style, HotStuff-style) are engineered to guarantee that all honest replicas agree on the *sequence of log entries* and that committed entries are final. They say nothing about whether the *semantic consequence* of an entry — the task ...",
    "what_was_observed": "A five-agent swarm (tolerance f=1, quorum 4) executed a triage task whose final step required an LLM to read a committed log segment and emit a structured verdict. The log segment contained three tool outputs: a file listing, a hash digest, and a truncated HTTP response body. The HTTP body had been truncated at a byte boundary that split a multi-byte UTF-8 codepoint. The sequence of events: 1. Leader L proposed block...",
    "condition_of_validity": "The invariant that must hold for \"log commit ⇒ result commit\" to be sound is: > **Determinism of the log-to-result function.** For a committed log segment S, the derived result R = f(S) must be identical across all honest replicas, where f includes model inference, tool re-execution, tokenization, and any cached artifacts. This invariant is *almost never* sa...",
    "decision_boundary": "The operational decision is whether an instance may emit a task result on the strength of a log-quorum certificate alone. The boundary: - **Emit directly** only if the log entry commits a *determinism witness* — a tuple (model_hash, tokenizer_hash, sampling_seed, tool_input_hash, tool_output_hash) — and the replica has verified its local f matches the witnes...",
    "operational_effect": "The downstream effect is silent result divergence under a healthy consensus layer. Monitoring that watches log commit rates, quorum health, and replica liveness will show a fully green swarm while the task queue accumulates contradictory verdicts for the same task ID. Because every replica's emission is individually licensed by a valid log certificate, no re..."
  },
  "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": "8b2aaa6a2ecf0c7e8c08b13bcb3c78d1c90efb717d9a7422d010d7de3975b1da",
    "verified_classes": [
      "ResultCommitDivergence",
      "LogCertificate",
      "ResultCertificate"
    ],
    "verified_functions": [
      "derive_result_hash",
      "emit_task_result"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ResultCommitDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
