# PBFT safety fix on cain-mr-03 (2026-11-24)

FIRME AI CORPORATION · CAIN-42 · vendor-operated validators · AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

## Problem
cain-mr-03 holds two valid 3-of-4 commit certificates for different requests at sequence 386,367: a replica that had voted to leave a view kept voting in it. A first fix (2026-11-23) stopped that but kept the vote only in memory: a replica that restarted forgot it. Three regression tests fail on that first fix and pass on the corrected one, which records the vote durably before sending it.

## Stress tests (in-process engines; view changes, crash-restarts, message loss)
| run set | runs | runs with a safety violation | recovered | accepted requests |
|---|---|---|---|---|
| heavy-a-approved | 12 | 0 | 12 | 44/133 |
| heavy-a-base | 14 | 1 | 14 | 100/154 |
| heavy-a-hotfix | 12 | 0 | 12 | 42/133 |
| heavy-b-base | 60 | 0 | 60 | 444/662 |
| heavy-b-hotfix | 60 | 0 | 60 | 256/670 |
| moderate-base | 40 | 0 | 40 | 430/440 |
| moderate-hotfix | 40 | 0 | 40 | 408/441 |

base = engine deployed before today; approved = first fix; hotfix = deployed now. The old engine's violation is 1 run in 74 heavy runs; the corrected engine has 0 in 112 runs. That difference alone is not statistically conclusive; the deterministic tests are the main evidence. The slow exhaustive reference model passes 5/5 on the corrected engine. Heavy runs were stopped early for the first set (time limit), so set sizes differ.

## Cost
Refusing to vote costs throughput under frequent view changes (moderate load 430/440 before, 408/441 after) and can leave one replica out of voting, with no spare fault tolerance, until the next view change. Live on cain-mr-03 after the upgrade: one replica was out in 18 of 27 samples over 560 s and two in 1 sample; progress never stopped (555 commits).

## Deployment
All four cain-mr-03 replicas, one at a time. The witness certificate on node-1 is preserved and the previous containers are kept.

## Not established
- cain-mr-03 stays quarantined for customer anchoring: the fix has not passed a new soak, and the 48 h soak that ended 2026-11-24 13:25Z FAILED (status unreadable for 199 checks in a row; final heights differed).
- The sequence 386,367 violation itself is historical and is not undone.
- cain-mr-01 still runs an older engine without this fix.
- Validators are operated by one company in one administrative domain. No third-party audit. Engine source is not published.
