# Under what conditions must an instance refuse to sign a cross-org task commitment when its local quorum view diverges from the propagated commit certificate **Date of Record:** 2026 November 29 **Scope:** Applies to BFT-consensus-backed task commitment protocols where heterogeneous agent instances (owned by different orgs) co-sign a commitment certificate before executing a shared plan. Does not apply to single-org internal consensus or to non-committing advisory/audit channels. ## Core Distinction The failure mode here is not Byzantine *fault* detection — it is Byzantine *view divergence* at the moment of certificate acceptance. A committing agent does not need to prove a peer malicious to be wrong; it only needs to hold a locally valid quorum view (e.g., 2f+1 signatures over digest D) that is *incompatible* with the certificate it is being asked to co-sign (digest D'), where both D and D' individually satisfy the quorum threshold under the local membership set. This is possible when membership views are non-identical across orgs (a peer was evicted in one view but not another, or a replica's signed vote was counted under a stale epoch). The invariant that must hold is: **an instance signs a commitment certificate only if the certificate's embedded view-epoch and membership digest exactly match its own last-committed view, and the certificate's quorum set is a subset of that view's committee.** Divergence is not a reason to *vote* differently; it is a hard reason to *refuse to sign* and force a view-change. ## What Was Observed Three orgs (A, B, C) run a 5-replica committee {A1, A2, B1, B2, C1} with f=1. Org A's instance A1 is mid-view-change from epoch 7 to epoch 8 after a suspected liveness stall on B2. During the transition, A1 still holds epoch-7 membership {A1, A2, B1, B2, C1} and accepts a propagated *prepare certificate* for task commitment digest `D_task=sha256(plan_v3)`. The certificate carries 3 signatures: {A2, B1, C1} under epoch 7 — a valid 2f+1=3 quorum for the epoch-7 committee. A1's local view agrees: 3 ≥ 3, membership matches, so A1 signs. Meanwhile, org B's instance B1 has already advanced to epoch 8 with membership {A1, A2, B1, C1, C2} (B2 evicted for stall, C2 added). B1 has *also* collected a 3-signature quorum {A2, C1, C2} for a *different* digest `D_task'=sha256(plan_v3_revised)` — plan_v3 was revised after B2's eviction invalidated a resource assumption. Both certificates are individually valid under their respective epoch committees. Both reach the execution layer. The two orgs execute incompatible plans against shared external state (a reservation ledger), producing a double-commit: two conflicting task-commitment records with the same task_id but different plan digests, each "certified." The trace shows the divergence was not detected because A1's signer checked *signature validity and quorum count* but not *epoch equality between certificate and its own last-committed view*. The certificate's epoch field (7) matched A1's view (7), so no alarm fired — but A1 never compared the certificate's epoch against the *highest epoch it had observed* (it had observed an epoch-8 view-change proposal in its inbox, unprocessed). The gap between "last committed" and "highest observed" is the attack surface. ## Condition of Validity The refusal-to-sign rule is valid — and must be enforced — under the following conditions, all of which held in the incident: 1. **Epoch monotonicity across observations.** An instance must track `highest_observed_epoch` separately from `last_committed_epoch`. A certificate whose epoch < `highest_observed_epoch` is *stale* and must be refused even if its quorum is locally valid, because a higher-epoch committee may have already superseded it. 2. **Membership-digest binding.** The certificate must embed a digest of the committee that produced it, and the signer must verify that digest equals its own view's committee digest. Counting signatures against a *reconstructed* membership set is insufficient — the set itself must be attested. 3. **Quorum-set subset check.** Every signer in the certificate's quorum must be a member of the signing instance's current committee. A quorum that includes an evicted replica (B2 in epoch 8) is invalid regardless of count. 4. **No sign-after-observe-supersession.** Once an instance has observed any evidence of a higher epoch (a view-change proposal, a new-view message, a signed epoch-advance vote), it must not sign certificates for lower epochs, even if its own view-change is incomplete. The rule does *not* require an instance to know the correct plan, nor to detect that a peer is malicious. It only requires local bookkeeping discipline over observed epochs and attested membership. ## Decision Boundary The boundary is precise: **sign if and only if `cert.epoch == self.last_committed_epoch == self.highest_observed_epoch` AND `cert.membership_digest == self.committee_digest` AND `cert.quorum_set ⊆ self.committee`.** Any inequality triggers refusal and a forced view-change request. The non-obvious edge: `last_committed_epoch < highest_observed_epoch` is *not* a state in which the instance may "catch up and sign." It is a state in which the instance is *unqualified to sign anything* until the view-change resolves and it commits a new view. Signing during that window — even with a locally valid quorum — is the exact defect. The instance is in a "signing embargo" between observation of supersession and commitment of the new view. A second boundary: if two certificates for the same `task_id` with different digests both reach the execution layer, the execution layer must treat this as a *safety violation* (not a liveness retry) and halt, because BFT safety guarantees that at most one digest can be committed per epoch per task. Two certified digests means the safety proof was violated by the signing rule, and continuing execution compounds the violation. ## Operational Effect Enforcing the embargo converts a silent double-commit into a bounded liveness stall: A1 refuses to sign the epoch-7 certificate, broadcasts a view-change request citing `highest_observed_epoch=8`, and the committee converges on epoch 8 before any commitment is signed. Cost: one round of view-change latency. Benefit: the safety invariant (at most one committed plan per task_id) is preserved, and the reservation ledger never sees conflicting writes. Without the embargo, the system exhibits *certified equivocation*: two orgs each hold a cryptographically valid certificate for incompatible plans. This is unrecoverable at the consensus layer because both certificates are valid under their local views; reconciliation requires application-level compensation (ledger rollback, resource re-negotiation), which is exactly the cross-org trust cost BFT was supposed to eliminate. The operational lesson: BFT quorum counting is necessary but not sufficient — the *epoch and membership binding* of the certificate to the signer's own observation state is the invariant that prevents certified equivocation across divergent views. ```python import hashlib from dataclasses import dataclass class CertifiedEquivocationRisk(RuntimeError): """Raised when an instance is asked to sign a commitment certificate whose epoch/membership binding does not match its own observation state.""" pass @dataclass(frozen=True) class Certificate: task_id: str plan_digest: str epoch: int membership_digest: str quorum_set: frozenset # signer ids @dataclass class InstanceView: last_committed_epoch: int highest_observed_epoch: int committee_digest: str committee: frozenset def committee_digest(members: frozenset) -> str: return hashlib.sha256(",".join(sorted(members)).encode()).hexdigest() def may_sign(cert: Certificate, view: InstanceView, quorum_threshold: int) -> bool: """Return True only if the certificate is safely signable under this view.""" if cert.epoch != view.last_committed_epoch: return False if cert.epoch != view.highest_observed_epoch: # Instance has observed a supersession it has not yet committed. return False if cert.membership_digest != view.committee_digest: return False if not cert.quorum_set.issubset(view.committee): return False if len(cert.quorum_set) < quorum_threshold: return False return True def sign_commitment(cert: Certificate, view: InstanceView, quorum_threshold: int) -> str: if not may_sign(cert, view, quorum_threshold): raise CertifiedEquivocationRisk( f"refusing to sign task {cert.task_id!r}: cert epoch {cert.epoch} " f"vs last_committed {view.last_committed_epoch} vs " f"highest_observed {view.highest_observed_epoch}; " f"membership_match={cert.membership_digest == view.committee_digest}" ) return f"signed:{cert.task_id}:{cert.plan_digest}:{cert.epoch}" ```