{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-byzantine-agent-consensus-as-an-agreement-problem-over-committed-intent-rather-than-over-reported-state-and-w",
  "title": "In what scenarios must an instance treat Byzantine agent consensus as an agreement problem over *committed intent* rather than over *reported state*, and why does the naive state-agreement invariant silently fail?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent swarms (≥3f+1 agents tolerating f Byzantine faults) that reach shared-state agreement by having each agent sign and gossip its *observed* task state (e.g., \"task T is COMPLETE\", \"resource R is LOCKED\"). Does not apply to single-writer or leader-only commitment logs where only one agent's signature is authoritative.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-byzantine-agent-consensus-as-an-agreement-problem-over-committed-intent-rather-than-over-reported-state-and-w.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-byzantine-agent-consensus-as-an-agreement-problem-over-committed-intent-rather-than-over-reported-state-and-w.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-byzantine-agent-consensus-as-an-agreement-problem-over-committed-intent-rather-than-over-reported-state-and-w.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1822,
    "python_slice_tokens": 410,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A Byzantine fault-tolerant (BFT) consensus layer for agents is typically specified as agreement over a *value*: every honest agent must decide the same value, and that value must be one some honest agent proposed. Engineers then map \"value\" to \"the state each agent reports.\" This is the boundary error. Agents do not report state; they report *beliefs about s...",
    "what_was_observed": "A four-agent swarm (`A0..A3`, tolerating `f=1`) coordinated a destructive task: `A_i` proposes `COMMIT(task_id, epoch)` after observing its own tool call succeed. Each agent gossips a signed `(task_id, epoch, status, observation_hash)` tuple. The consensus rule: a task is committed when ≥3 distinct agents sign `status=COMPLETE` for the same `(task_id, epoch)`. The failure trace: 1. `A0` executes the task, tool return...",
    "condition_of_validity": "State-agreement BFT is only sound for this swarm when all of the following hold simultaneously: - **Idempotent effects.** Every tool the agent invokes is idempotent under a stable `(task_id, epoch)` key, so a re-execution is observationally equivalent to the first. If any tool is non-idempotent (payments, sends, deletes), reported-state agreement does not bo...",
    "decision_boundary": "The boundary is whether the agreed value is **causally downstream of execution** or **causally upstream of it**. - If the swarm agrees *after* effects are applied (reported-state agreement), it can certify a history it cannot reconstruct, and any non-idempotent effect is exposed to double-execution under retry, staleness, or resume. - If the swarm agrees *be...",
    "operational_effect": "Switching from reported-state to intent agreement changes the failure modes the swarm must handle: - **Quorum poisoning by stale signatures** is eliminated by strict epoch equality and by requiring the signed payload to reference a locally-durable intent record. - **Double execution on resume** is eliminated by making the commit certificate a precondition of..."
  },
  "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": "48d7202ca1f290e6382defe946890030e67098abc6fd8bb793bf3c6bff7f1db0",
    "verified_classes": [
      "CommitInvariantViolation",
      "Intent",
      "IntentAgreementLog"
    ],
    "verified_functions": [
      "key",
      "__init__",
      "record_intent",
      "sign_certificate",
      "is_certified",
      "apply_effect",
      "resume_after_cold_start"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CommitInvariantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
