Decline a mutation offer (ADR-0120 amendment, schema v40)
Foundation / checks (ecs) (push) Successful in 2m20s
Foundation / checks (deploy) (push) Successful in 4m1s
Foundation / checks (tsan) (push) Successful in 9m49s
Foundation / checks (client) (push) Successful in 19m23s
Foundation / checks (network) (push) Successful in 19m31s
Foundation / checks (checks) (push) Successful in 42m41s
Foundation / checks (postgres) (push) Successful in 45m36s
Foundation / postgres-tools (push) Successful in 28s
Foundation / server-image (push) Successful in 3m15s
Foundation / image (push) Successful in 3m18s

An offer the cell cannot afford stayed open, and only one offer is issued at a
time, so banked feeding credit never became a new offer. A v10 choice naming
operator 0 now declines the exact outstanding offer. It is reserved and published
like any choice: schema v40 accepts operator 0 in the reserved input and trace
selections and stores result 3, declined. The owner consumes the offer and
changes nothing else, and the client reports it as committed. Old traces never
carry operator 0, so their replay is unchanged. The Evolution panel gets a
"Decline this offer" button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-15 19:43:36 -04:00
co-authored by Claude Opus 5.5
parent d98d71e7c0
commit 1446d36d26
24 changed files with 396 additions and 46 deletions
+31
View File
@@ -7690,3 +7690,34 @@ trip with and without tick effects, v9 refusal, and refusal of a cleared view wi
a cost. Executed locally: those unit tests, the WSL PostgreSQL suite, clang-tidy-19
on the changed sources, WSL client 14/14 with clang-tidy plus the Xvfb check, MSVC
`client-package` 18/18, and clang-format 19.
## 2026-10-15 — declining a mutation offer, schema v40 (CI pending)
ADR-0120 amendment: a v10 mutation choice with operator 0 declines the exact
outstanding offer. It is reserved and published like a choice, and schema v40 lets
the reserved input and trace selections carry operator 0 and stores result 3,
declined. The owner consumes the offer without a genome or inventory change; its
reserved successor identity stays unused. Clients get `committed`, and the
Evolution panel has a "Decline this offer" button, enabled even when the reserve
cannot pay.
Tests:
- owner: a trace and action block with a decline encode, decode, match and replay;
the offer is consumed and the genome, archive and totals are unchanged; an
operator that was not offered is still refused;
- protocol: type 25 with operator 0 round-trips;
- PostgreSQL: the reservation store accepts operator 0 (refused here only by the
pending choice) and refuses a zero offer tick; the host test feeds until a new
offer, declines it, publishes result 3, consumes the offer and reports
`committed`;
- client panels: an unaffordable candidate cannot be chosen, and Decline sends
operator 0.
Executed locally:
- WSL `m97-postgres` build, 79/79 CTests;
- `postgres-check.sh --full`, including the v40 upgrade, history and checksum-drift
drills;
- clang-tidy-19 on the changed sources;
- WSL client 14/14 with clang-tidy, plus the Xvfb check;
- MSVC `client-package` 18/18;
- clang-format 19.