Send the owner its outstanding mutation offer over v10
Session protocol v10 adds type 26: the life's earned offer with its unranked candidates in operator order and each successor's capability value, maintenance and total mass. The cellular bridge sends it when the offer or the owner's session changes and clears a consumed offer; the client keeps the latest one for the maintainer's choice UI (ADR-0121, 11.4d server half). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -90,4 +90,8 @@ pending; no gameplay balance is treated as final by this plan.
|
||||
session. SQL now refuses a checkpoint that skips a reserved choice, and the
|
||||
host reloads pending reservations after uncertainty or restart. 11.4c is
|
||||
complete once CI passes; 11.4d's server half (offer replication to the
|
||||
owner) is next, and the choice UI stays with the maintainer.
|
||||
owner) is next, and the choice UI stays with the maintainer.- 11.4d server half: v10 type 26 sends the owner its outstanding offer, with
|
||||
unranked candidates in operator order and each successor's capability value,
|
||||
maintenance and total mass, when the offer or the session changes; the
|
||||
engineering client keeps the latest offer. The choice and review UI and the
|
||||
11.4d playtest notes remain with the maintainer.
|
||||
|
||||
@@ -7318,3 +7318,25 @@ outcome; a v7 session cannot send one.
|
||||
Executed locally: MSVC Debug `ctest` 68/68; client-network QUIC/session 8/8;
|
||||
g++-14 `-Werror`, clang-tidy-19 and clang-format 19.1.5 on the host, session,
|
||||
server main and test sources. The PostgreSQL tests run only in CI.
|
||||
|
||||
## 2026-10-13 — M11.4d server half: owner offer replication (CI pending)
|
||||
|
||||
Session protocol v10 adds type 26 `CellularMutationOffer` (schema in
|
||||
`schemas/network/session-v10-cellular-mutation-action.md`): the owner's
|
||||
outstanding offer with up to eight unranked candidates in operator order and
|
||||
each successor's capability value, maintenance and total mass. `offer_view`
|
||||
builds it from the life; the cellular bridge sends it through
|
||||
`RegionSessions::send_mutation_offer` when the offer or the owner's session
|
||||
changes, and an empty view clears a consumed offer. The client keeps the
|
||||
latest offer (`mutation_offer()`); the choice UI stays with the maintainer.
|
||||
|
||||
Tests: `cellular-intent-protocol` round-trips an offer and a clear, and refuses
|
||||
it under v9, out of operator order, with a future offer tick, a non-empty clear,
|
||||
an unknown capability, non-zero reserved bytes and a short payload.
|
||||
`quic-sessions` delivers an offer and its clear to a v10 owner only;
|
||||
`cellular_host_admits_mutation_choices` checks `offer_view` against a real
|
||||
offer.
|
||||
|
||||
Executed locally: MSVC Debug `ctest` 68/68, network 74/74, client-network
|
||||
88/88; g++-14 `-Werror` and clang-tidy-19 on the protocol, session, host,
|
||||
client, server main and test sources (no new findings); clang-format 19.1.5.
|
||||
|
||||
Reference in New Issue
Block a user