openai / gpt-6.1-sol / xhigh / xhigh effort preferred over openai / gpt-6-astra / high / high effort · close win.
Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.
Reviewed public evidence
Task goal
Design a backward-compatible migration from single-valued account tags to ordered multivalued tags across API services, asynchronous consumers and regional read replicas. Old and new clients coexist; events duplicate/reorder; rollout may halt or roll back after writes in the new format. Specify expand/migrate/contract phases, versioned semantics, authority, reconciliation, compatibility gates, rollback boundaries and measurable failure injection acceptance scenarios. No invented implementation or execution evidence.
Give one coherent design with explicit requirements, assumptions and alternatives, state/invariant/transaction details appropriate to the stated scope, and measurable pass/fail acceptance checks. Do not invent benchmark measurements, provider costs, source inspection, executed tests or objective passes. Every contributor must independently answer the complete identical question; there are no separate roles, files or tool evidence.
openai / gpt-6.1-sol / xhigh / xhigh effort answer
## Recommendation and scope
Use **one canonical ordered tag list**, with the legacy scalar maintained as its first-element projection. Serialize writes at a fenced authority, publish versioned snapshots through a transactional outbox, and make every state-bearing consumer reject stale revisions.
This is an independent design based only on the supplied requirements. No implementation was inspected and no tests were executed.
### Requirements and assumptions
The design requires:
- A transactional authority that can atomically update account data, revision metadata and an outbox.
- One logical writer authority per account, even if requests enter through several regions.
- Durable acknowledged writes across the failures the system claims to tolerate. Asynchronous read replicas alone cannot provide zero-data-loss regional failover.
- An enforceable minimum writer/consumer protocol version. Arbitrary historical binaries cannot safely remain authoritative.
- Agreement on legacy omission, assignment and clear semantics before rollout.
Assume tags are bounded, ordered, unique strings, using existing tag validation and identity rules. Do not introduce normalization that changes existing values.
**Backward compatibility means preserving the legacy scalar contract, not exposing the entire list to an old client.** A scalar cannot represent every multivalued state. The treatment of legacy clear operations therefore needs an explicit product decision.
## 1. Versioned semantics
### Proposed API contracts
| Operation | Semantics |
|---|---|
| V1 read | Return the first tag, or the existing “no tag” representation for an empty list. |
| V1 set `x` | Replace the primary tag with `x`, preserving the current secondary tags and their order, excluding any duplicate `x`. |
| V1 clear | Clear the entire list. This deliberately preserves the legacy visible meaning of “no tag.” |
| V1 omitted field | Preserve existing endpoint semantics; assume no change for PATCH. Do not silently reinterpret existing PUT behavior. |
| V2 read | Return the full ordered list and its revision. |
| V2 replace/reorder/clear | Require a matching revision token; otherwise reject with a conflict/precondition failure. |
For example:
```text
Canonical list: ["A", "B", "C"]
V1 set "D": ["D", "B", "C"]
V1 set "B": ["B", "C"]
V1 clear: []
```
V1 operations apply to the **current authoritative list**, not to a list reconstructed from a stale client or replica.
Use an explicit V2 endpoint or media type. Reject arrays sent to V1 rather than silently taking their first element. Preserve existing V1 response shapes, validation, authorization and concurrency behavior.
### Unavoidable compatibility tradeoff
The proposed V1 clear removes secondary tags that the client cannot see. If that is unacceptable, multivalue enrollment must exclude legacy clear-capable writers, or those operations must be rejected for enrolled accounts. That is a deliberate compatibility restriction—not something that can be solved transparently.
Legacy unconditional writes retain their existing last-committed-writer behavior. V2 conditional writes prevent unnoticed concurrent replacement, but cannot make unmodified V1 clients conditional.
## 2. State, invariants and transactions
### Authoritative state
Maintain, logically:
```text
account identity / incarnation
migration state: UNINITIALIZED | READY
ordered tags
legacy scalar projection
monotonically increasing tag revision
writer-fencing metadata
```
An uninitialized row is distinct from a ready row containing `[]`.
### Invariants
1. A ready account has exactly one canonical ordered list.
2. Its scalar shadow equals `first(tags)`, or the legacy empty representation.
3. Revisions never decrease or restart during failover or migration.
4. Every committed canonical revision has a durable event record.
5. Replicas and consumers never become competing authorities.
6. List order is significant; reconciliation never sorts or unions lists.
7. Duplicate values, invalid elements and excess length are rejected, not truncated.
8. Account deletion/recreation uses an incarnation identifier and tombstones so delayed events cannot resurrect an old account.
### Write transaction
At the authority:
1. Validate authorization, API version and input.
2. Check writer fencing and any supplied revision precondition.
3. Lock the account or use equivalent atomic compare-and-swap.
4. If uninitialized, construct the list from the **currently locked scalar value**.
5. Apply the requested operation.
6. Atomically write the list, scalar projection, revision, initialization marker, outbox event and idempotency result.
A failed transaction changes none of these. An unchanged logical operation need not create another revision.
For keyed requests, persist the key, request digest and committed response together. Repeating the same request returns its original result without replaying the mutation; reusing a key with different input fails.
An unkeyed legacy retry cannot always be distinguished from an intentional repeated write. Do not claim otherwise.
## 3. Events, consumers and regional reads
### Events
The new event envelope contains:
```text
schema version
account identity/incarnation
revision and previous revision
operation type
full ordered tag snapshot
content hash
```
Generate it from the committed transaction, not by rereading the account later. Publish at least once from the outbox.
Keep the existing event contract on a separate compatible path where required. Its scalar payload is derived from the same committed revision. Preserve its established business-event semantics; initialization or secondary-only changes must not accidentally trigger legacy primary-change side effects.
All state-bearing sinks—including scalar-only sinks—must understand revision metadata, directly or through an adapter that enforces it **at the final state update**.
### State-projection consumers
Persist state and its watermark atomically:
- Incoming revision greater than stored revision: apply the complete snapshot.
- Equal revision and equal hash: duplicate; no change.
- Lower revision: stale; no change.
- Equal revision with different content: integrity incident; quarantine and reconcile from the authority.
Complete snapshots allow a state projection to skip missing intermediate revisions.
### Transition-sensitive consumers
Consumers that must execute every transition cannot use that fast-forward rule. They need:
- Per-account ordered processing.
- Gap detection and replay from retained history.
- Durable deduplication/effect keys.
- An idempotent downstream operation or transactional effect mechanism.
Without cooperation from an external destination, exactly-once external effects are not generally achievable. Identify these consumers before enabling multivalue writes.
### Regional replicas
Apply each list, scalar projection and revision as one atomic replica update. Never serve a response combining fields from different revisions.
Default reads may remain eventually consistent if that matches the existing contract. V2 responses expose their revision. For read-your-writes or monotonic reads:
- The client supplies a minimum revision token.
- Serve locally only when the replica satisfies it.
- Otherwise wait within a bounded deadline, route to the authority, or return a retryable error.
- Never claim the requested consistency while serving an older revision.
If V1 previously promised stronger consistency, preserve it through routing rather than silently weakening it.
### Reconciliation
Continuously compare authoritative snapshots against replicas and materialized views.
- Behind or missing state: repair from an authoritative snapshot.
- Same revision but different content: alert and repair under controlled authority.
- Replica revision apparently ahead of authority: investigate fencing or data-loss failure; do not promote the replica’s value automatically.
- Scalar/list mismatch: repair from the canonical list, never by choosing whichever field was updated most recently.
Transition-sensitive consumers replay history instead of merely replacing state.
## 4. Expand, migrate and contract
### Expand
1. Add nullable canonical storage, explicit initialization state, revisions, fencing and outbox support.
2. Deploy compatibility-capable writers and consumers with multivalue writes disabled.
3. While unadapted writers remain, keep the scalar authoritative; do not create independently authoritative lists.
4. Establish a write-admission barrier:
- Drain or fence old in-flight writers.
- Prevent unsupported binaries, jobs and direct database credentials from bypassing the new transaction path.
- Switch capable writers to canonical semantics.
**Gate:** every mutation path is accounted for and fenced; rollback-compatible binaries are available; consumer schemas and revision handling are verified. A feature flag alone is insufficient.
### Migrate
1. Backfill each account under the same transaction rules as live writes.
2. Initialize only if still uninitialized, using the current scalar.
3. Publish initialization snapshots without inventing user changes.
4. Quarantine invalid legacy values for explicit resolution rather than dropping them.
5. Validate list/scalar invariants and reconcile downstream state.
6. Enable V2 reads, then multivalue writes for progressively larger cohorts.
A backfill racing a live write must either observe that write or serialize before it. It must never overwrite it with an earlier scalar snapshot.
**Gate before each cohort:** no unresolved invariant violations, all relevant sinks are compatible, backlog and replica lag meet approved budgets, and rollback/failover drills pass.
If rollout halts, leave canonical writes, shadows, events and reconciliation operating. A partially migrated population is a supported state.
### Contract
Remove redundant storage and old internal event paths only after:
- No remaining component depends on them.
- All accounts are migrated or explicitly excluded.
- Restore procedures work with canonical data.
- Retention covers the supported rollback and replay windows.
- The organization accepts that older incompatible binaries can no longer return.
Keep the V1 API as a projection adapter for as long as old clients are supported. Storage contraction does not require public API removal.
Traffic reaching zero is not proof that dormant clients no longer exist. Retirement also requires a declared support/deprecation policy.
## 5. Rollback boundaries and authority
There are two important boundaries:
1. **Canonical-authority activation:** unsupported writers are no longer safe because they can break list/scalar consistency.
2. **First multivalue write:** scalar-only recovery cannot preserve all committed information.
After either boundary, operational rollback means deploying a **compatibility-capable previous application version**, not restoring an arbitrary historical binary.
After multivalue writes:
- Disable new enrollment or V2 mutations if necessary.
- Keep existing lists, revisions, compatible V1 mutations and replication intact.
- Never truncate lists merely to make older software start.
- Do not restore an old backup over newer acknowledged writes; recover and replay them.
Returning to truly scalar-only authority requires an explicit, audited transformation. It is lossless only when every surviving list has at most one value; otherwise it requires separately authorized data loss or preservation outside the scalar system.
During failover, the new authority must preserve revisions and committed history, and fence the previous writer. If the available replica may be missing acknowledged commits, stop rather than pretending it is a safe zero-loss promotion.
## 6. Proposed failure-injection acceptance checks
These are **proposed tests and approval targets, not executed results**. Final performance budgets should be approved against the required production load. Example budgets: replica convergence within 60 seconds after ordinary recovery, consistency-request response within 2 seconds, and operational rollback within 10 minutes.
| Injection/scenario | Measurable pass condition |
|---|---|
| V1/V2 coexistence | Exhaustive operation cases produce the specified scalar projection and ordered list; omitted fields retain established semantics; invalid inputs make no changes. |
| Backfill/write race | Force both transaction orderings for initialization and live set/clear/replace. Every result corresponds to a legal serial ordering; zero lost acknowledged writes. |
| Concurrent V2 replacements | Two requests use the same revision. Exactly one succeeds; the other fails its precondition. Only the successful change produces a new canonical revision. |
| Legacy write versus V2 write | Every outcome corresponds to authoritative commit order. V1 non-clear writes preserve the current secondary tags according to the specified rule. |
| Request retry | Drop the response after commit, then retry with the same idempotency key after another write. Return the original result without another mutation; different input with that key fails. |
| Event duplication/reordering | Deliver each event ten times in shuffled order, including old events after the newest one. Every state projection ends at the latest authoritative snapshot; zero revision regressions. |
| Conflicting duplicate | Inject different content for the same account/incarnation/revision. It is detected and quarantined; it is never silently accepted as newer state. |
| Crash around publication | Crash before commit, after commit/before publish, and after broker acceptance/before acknowledgement. No uncommitted event becomes visible; every committed revision is eventually delivered; duplicates are harmless. |
| Consumer outage and gaps | Disconnect a consumer within the supported retention window. State projections converge by snapshot; transition consumers replay every required transition without duplicate effects. |
| Replica partition and regional switch | A minimum-revision read never returns an older revision as successful. Within the approved deadline it returns qualifying data or a retryable error. Default eventual reads retain their documented behavior. |
| Split-brain/failover | Keep the former authority alive while promoting another. Zero writes commit through the fenced writer; acknowledged history and revision monotonicity survive the supported failure model. |
| Halt/rollback after multivalue writes | Roll back to the designated compatibility release with representative multivalue accounts. Lists and ordering remain intact, V1 behavior remains correct, and no truncation occurs. |
| Corruption and delayed resurrection | Corrupt a shadow or projection; deliver events for a deleted incarnation. Repair follows canonical authority, and zero old-incarnation records are resurrected. |
| Contract rehearsal | Remove dependencies in a staging rehearsal, restore canonical backups and replay retained events. Remaining clients and consumers operate without removed storage; unsupported rollback is explicitly blocked. |
For all tests, compare against an authoritative revision history—not just the final scalar value. Record acknowledged writes, event identities, resulting lists, rejected revisions and reconciliation outcomes.
## 7. Alternatives, missing evidence and next action
**Alternatives**
- Full-list replacement by V1 assignment is simpler but destroys unseen secondary tags; it is not recommended.
- Dual independent scalar/list authorities create ambiguous conflicts and should be rejected.
- CRDTs can support multiwriter availability, but ordered replacement and legacy clear need additional conflict semantics. They are not warranted under the proposed single-authority requirement.
- If legacy clear must preserve hidden tags, change the model or restrict legacy writes explicitly; do not claim transparent compatibility.
**Missing dependencies:** actual legacy API semantics, event-side-effect requirements, writer inventory, database/failover guarantees, maximum offline/replay windows and approved latency budgets. These determine whether the design’s gates can be met.
**Next useful action:** agree on the V1 assignment/clear contract and enumerate every authoritative writer and state-bearing consumer. Those decisions establish the compatibility floor before schema expansion begins.
Confidence is high in the architectural approach; feasibility for the actual system remains conditional on those dependencies.
openai / gpt-6-astra / high / high effort answer
## 1. Recommended design
Use **one authoritative ordered list per account**, a deterministic scalar projection for legacy clients, and revisioned snapshot events for downstream systems. Do not treat the scalar and list as independent writable authorities.
This is an independent, direct design assessment. No implementation evidence was supplied; the checks below are proposed acceptance criteria, not executed results.
### Requirements and assumptions
- An account’s tags become an ordered list of distinct tag values. Order is meaningful.
- Existing valid scalar values remain valid list elements. Preserve existing equality, encoding and validation rules; do not introduce normalization during migration.
- Old clients retain the existing scalar API and response shape. New clients explicitly select the list API.
- All mutations can eventually be routed through a controlled write boundary. Unfenced direct database writers make safe migration impossible.
- The authoritative store supports atomic account updates, idempotency records and an outbox.
- Regional replicas are asynchronous and are not independent write authorities.
- An acknowledged-write, zero-data-loss failover requires authoritative commits to survive loss of the active region—for example, through synchronously replicated transactional storage. Without that capability, stop writes during an uncertain failover or explicitly accept a nonzero recovery-point objective.
The precise current meaning of omitted fields, `null`, empty strings and deletion is unknown. The concrete semantics below assume omission means “unchanged,” `null` means “clear,” and an empty string remains an ordinary value if already valid. These must be checked against the existing contract.
### Versioned API semantics
Let the canonical list be \(L\), and define the legacy projection:
\[
P(L) = \begin{cases}
null & L=[]\\
L[0] & \text{otherwise}
\end{cases}
\]
Use an explicit API version or negotiated media type. Do not change the type of an existing response field.
| Operation | Meaning |
|---|---|
| V1 read | Return `P(L)` in the existing scalar field. |
| V1 omitted tag | Leave the list unchanged. |
| V1 set tag to `x` | Replace the primary tag; preserve the remaining order, removing any duplicate occurrence of `x`. |
| V1 clear | Set the entire list to `[]`. |
| V2 read | Return the complete ordered list and account revision. |
| V2 replace | Replace the list exactly, subject to a revision precondition. |
| V2 omitted tags in PATCH | Leave the list unchanged. |
Precisely, for nonempty `L`, V1 set computes:
```text
[x] + [t for t in L[1:] if t != x]
```
For empty `L`, it produces `[x]`.
Examples:
```text
[a,b,c] + V1 set x → [x,b,c]
[a,b,c] + V1 set b → [b,c]
[a,b,c] + V1 set a → [a,b,c]
```
V2 rejects duplicate elements rather than silently changing the submitted order. Set limits so every possible primary tag remains representable to legacy clients.
**Important compatibility boundary:** V1 clear removes hidden secondary tags. That preserves the old “this account has no tag” postcondition. Preserving hidden tags while returning no scalar would require a different data model, such as a separately nullable primary selection. This behavior must be an explicit product decision before activation.
V2 mutations require `If-Match` against the account revision; a stale value fails without changing state. V1 clients need not add preconditions: concurrent unconditional legacy writes retain last-committed-writer behavior for the primary tag. Internally, apply each V1 transformation to the latest locked row, not a stale list supplied by a service.
No backward-compatible mechanism can infer whether an unkeyed legacy request is a retry or an intentional later write. Exactly-once retry protection is guaranteed only where a stable request key exists.
### Authoritative state and invariants
A conceptual account record contains:
```text
account_id stable, non-reused identity
representation LEGACY | CANONICAL
tags_v2 nullable only while LEGACY
legacy_tag compatibility projection
revision monotonically increasing per account
```
Representation version, API version, event schema version and account revision are separate concepts.
Required invariants:
1. Once `CANONICAL`, the list is authoritative; scalar fallback is forbidden.
2. `tags_v2=[]` means explicitly empty. It is never confused with “not migrated.”
3. For canonical rows, `legacy_tag == P(tags_v2)`.
4. Every committed mutation receives a greater revision; revisions are never reset by deployment rollback.
5. Every mutation and its outbox snapshot commit atomically.
6. A revision identifies exactly one state. Two payloads with the same account identity and revision but different contents are corruption.
7. Only the fenced current writer may commit. Old processes cannot bypass the boundary.
8. Regional and consumer state never moves to a lower revision.
A list can carry an account-level revision or a dedicated tag revision; choose one consistently. If account-level revisions are used, unrelated account edits may cause additional V2 conflicts.
### Mutation transaction
Within one authoritative transaction:
1. Verify current write authority and request authorization.
2. Look up the request key, scoped to caller/account/operation. The same key with different input is rejected.
3. Lock the account or perform an equivalent compare-and-swap.
4. Check V2’s revision precondition.
5. If still legacy, interpret the scalar as `[]` or `[value]`.
6. Apply the requested operation and validation.
7. Write the canonical list, scalar projection, marker and next revision.
8. Insert an outbox record containing the complete resulting list, projection, revision and event schema version.
9. Persist the keyed request result and commit.
Persist idempotency results for a documented retry window; do not promise deduplication after expiry. After a committed response is lost, a keyed retry returns the original result even if subsequent writes occurred.
The outbox publisher may duplicate delivery. Correctness does not require atomicity between database commit and broker publication.
### Consumers, events and regional reads
Use explicitly versioned events, for example:
```text
account.tags.snapshot.v2
{ account_id, revision, tags, legacy_projection, schema_version, event_id }
```
Publish a separate legacy-compatible representation where needed. Do not silently replace a scalar field with an array inside an existing event schema.
For snapshot materializations, atomically compare and apply:
- Incoming revision greater than stored: replace state.
- Equal revision and equal payload: duplicate; no effect.
- Lower revision: obsolete; no effect.
- Equal revision and different payload: reject, quarantine and alert.
The revision check and sink write must be atomic. Checking in memory before an unconditional database write is insufficient.
An unchanged primary tag does not mean an unchanged list. New consumers must receive revisions that modify only secondary tags or their order.
Legacy consumers that cannot compare revisions must sit behind an adapter that materializes revision-fenced state and provides an ordered, deduplicated application boundary. If the final consumer performs non-idempotent effects without transactional deduplication, that adapter alone cannot guarantee exactly-once effects; activation is blocked until the effect boundary is fixed.
Snapshot consumers may skip missing intermediate revisions. Consumers that need **every transition**, such as notification workflows, instead require contiguous revision processing, gap recovery and effect deduplication. Do not use snapshot convergence as proof of transition delivery.
Regional reads:
- Default reads may be stale, with a documented freshness contract.
- A write returns a revision token.
- A read carrying that token must wait for a replica at least that current, route to authority, or return a retryable freshness failure within a bounded timeout.
- A session may carry its highest observed revision to prevent read regression across regions.
- Responses expose enough revision information for new clients to detect staleness.
Failover must fence the former authority and recover every acknowledged commit before accepting writes. An arbitrary asynchronous read replica is not a valid promotion source.
### Reconciliation
Run continuous, checkpointed anti-entropy in addition to event delivery:
- Compare canonical state, scalar projection and sink revisions using authoritative snapshots.
- Repair a stale sink with the latest authoritative snapshot through its normal revision-checked apply path.
- Recompute an incorrect scalar projection from the canonical list.
- Investigate a sink ahead of authority; never “repair” by silently copying it backward.
- Detect missing outbox records using an authoritative change log or a periodic complete scan. Broker offsets alone cannot prove source completeness.
- Preserve revisions in deletion tombstones, or retain sufficient deletion history to prevent delayed events from resurrecting accounts.
Never reconcile two representations by timestamps or by picking whichever scalar was written most recently. The representation marker and authority rules decide the winner.
## 2. Expand, migrate and contract
### Expand
1. Inventory API writers, direct database writers, consumer effects, caches, replica readers and rollback artifacts.
2. Add nullable list storage, representation markers, revisions, outbox and idempotency support.
3. Deploy readers that understand both representations and distinguish unmigrated from empty.
4. Deploy the unified transactional writer everywhere, initially allowing only singleton lists.
5. Fence obsolete write paths using database permissions, versioned procedures or an equivalent enforceable mechanism.
6. Deploy event version routing, revision-aware consumers and replica schema support.
7. Exercise the supported rollback deployment before enabling multivalued writes.
**Gate:** No uncontrolled writer remains; all consumers receiving V2 are capable; all serving replicas can read the expanded schema; supported rollback artifacts preserve canonical state.
Traffic observations alone do not prove dormant writers are gone. Combine registration/capability evidence with access enforcement.
### Migrate
Backfill only rows marked `LEGACY`:
```text
legacy null → canonical []
legacy value → canonical [value]
```
Lock each row, or condition the update on its observed marker and revision. Convert the marker, list, projection, revision and outbox atomically.
A concurrent foreground write either precedes conversion or observes its result. A stale backfill attempt cannot overwrite that write. Backfill is resumable and skips canonical rows; it must never reconstruct a populated list from its scalar projection.
Enable V2 multivalued writes gradually by account or tenant. Keep the gate at the authoritative writer. Monitor migration counts, projection mismatches, rejected stale events, conflicts, publication lag, replica freshness and reconciliation lag.
**Gate:** Complete required cohort backfill, zero unexplained invariant violations, and pass the proposed fault checks below before expanding eligibility.
A rollout halt stops new cohort activation. It does not stop compatibility writes, event publication or reconciliation for existing multivalued accounts.
### Contract
After every row is canonical and every executable deployment uses canonical-aware access:
- Remove legacy-row fallback and migration machinery.
- Remove obsolete writer permissions permanently.
- Retire old event formats only after their consumers are explicitly retired.
- Drop the physical scalar column when all readers derive the projection from the list.
- Retain the V1 scalar API for as long as old clients are supported.
Storage contraction does not require retiring V1 clients. The API projection can remain indefinitely.
Retain backups, event decoding capability and rollback artifacts for the agreed recovery window. A long period of no old-client traffic is not sufficient proof that dormant clients cannot return.
### Rollback boundaries
| Point reached | Supported rollback |
|---|---|
| Expanded schema, singleton-only data | Roll back within the canonical-aware compatibility release set. |
| First multivalued commit | Disable new feature activation and roll application/UI releases back only to list-preserving builds. Keep canonical storage and adapters. |
| Legacy storage/event contracts removed | Roll back only within the contracted-compatible release set, or perform an explicit forward restoration of compatibility infrastructure. |
After multivalued writes, returning an original scalar-only writer to service is unsafe. A feature flag does not change that fact.
A true data downgrade requires stopping writes, exporting complete lists, obtaining an explicit lossy mapping decision, transforming data and establishing a new recovery boundary. Restoring an old backup alone loses later acknowledged writes and is not a compatible rollback.
## 3. Proposed measurable acceptance checks
These are design targets for a controlled fault environment, not observed performance claims. Suggested recovery targets are **60 seconds after transport recovery** for normal replication and **10 minutes after reconciliation starts** for missed-delivery repair. Confirm those targets against actual capacity before making them contractual.
Use a reference state machine driven by authoritative commit order.
| Injection | Pass condition |
|---|---|
| Race backfill against V1 set/clear and V2 replacement across 1,000 accounts | Every result equals a valid transaction order; zero tail truncations attributable to backfill; every canonical projection matches. |
| Deliver every snapshot 10 times in random order, including revision `r+2` before `r` | Sink revisions never decrease; final lists exactly match authority; no duplicate keyed effect. |
| Crash before commit, after commit before response, and after broker publication before acknowledgment | Precommit cases change nothing; committed cases eventually publish; keyed retries create no extra mutation. |
| Concurrent V2 edits using one starting revision | Exactly one incompatible replacement succeeds; others receive precondition failures; no partial update. |
| Mix V1 and V2 mutations | Results match the specified primary replacement and clear rules; stale V2 writes fail; V1 scalar responses remain compatible. |
| Lose selected broker deliveries, then run reconciliation | All affected snapshot sinks converge within 10 minutes; zero authoritative data copied backward from a sink. |
| Submit equal-revision, different-payload events | Zero corrupt applies; every conflict is surfaced and quarantined. |
| Pause a regional replica, write at authority, then issue a token-bearing read there | No successful read returns a revision below the token; bounded routing/wait/failure behavior matches the contract. |
| Partition the old writer during authority failover | Zero commits from the fenced writer; zero missing acknowledged commits; revisions remain monotonic. If durability cannot be established, writes remain unavailable. |
| Halt activation after multivalued writes; deploy the designated rollback release | Lists survive byte-for-byte and order-for-order except for subsequently authorized operations; V1 remains functional; propagation continues. |
| Attempt writes from an original scalar-only binary | Every direct write is blocked or passes through the canonical-aware boundary; zero silent list truncation. |
| Replay an event older than a deletion, including after recreation | No resurrection or mutation of a new account incarnation. |
| Restore backup plus retained log/outbox to a declared recovery point | Every committed revision through that point is recovered, with projection and downstream convergence invariants satisfied. |
Run transition-consuming workflows separately: withholding one revision must block or explicitly recover the gap, and releasing duplicates must not duplicate external effects.
## 4. Alternatives, dependencies and next action
**Rejected defaults**
- **Independent scalar/list dual writes:** partial failure creates competing authorities.
- **Timestamp last-write-wins:** clock skew and delayed delivery can overwrite newer state.
- **V1 set replaces the entire list:** simpler, but every ordinary legacy edit destroys unseen secondary tags.
- **Active-active CRDT lists:** viable for a different availability requirement, but require explicit conflict semantics for ordering, replacement and clearing.
- **Automatic rollback to scalar storage:** cannot preserve information that the scalar format cannot represent.
**Confidence and missing evidence**
Confidence is high in the single-authority, revision-fencing and transactional-outbox approach. Feasibility remains conditional on existing API semantics, transactional capabilities, direct-writer control, consumer side effects, replica topology and recovery guarantees. No source locations or execution results were supplied.
**Next useful action:** approve the V1 mutation/clear truth table and inventory every write/effect boundary. Those determine whether the compatibility contract is achievable before implementation begins.Primary judge's stated reason
B receives a slight forced preference because its explicit legacy side-effect safeguard makes the consumer compatibility gate more directly actionable. A offers stronger detail on detecting missing source events. These are closely balanced designs; the preference does not establish a material quality difference, and an independent review could reasonably reject it.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: e827becb-f131-4c91-b3c5-1ed5c885e725. Pair: brp1_4eeabf33407b4bade531e50b20dde6b1dddfbcfc8b56bb92908b6abf3a681482. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.