Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
bef635c
Complete normal region handoff and retained execution custody
benhook1013 Nov 13, 2026
512c816
Carry final admission fixture fix into region handoff
benhook1013 Nov 13, 2026
a76e509
Stage region handoff review fixes and coordinated migration carry
benhook1013 Nov 14, 2026
b88e4b1
Carry front retention fixes into native-qualified region handoff
benhook1013 Nov 14, 2026
08ad12e
Carry handoff documentation into the controlled region owner slice
benhook1013 Nov 14, 2026
73fe10b
Fix region handoff fixture catalog and redundant guard
benhook1013 Nov 14, 2026
2db0c0f
Carry bounded installation fixes through region handoff
benhook1013 Nov 14, 2026
784a3c2
Carry qualified capacity documentation through region handoff
benhook1013 Nov 14, 2026
37a4590
Bound region handoff install by renewed grant lifetime
benhook1013 Nov 14, 2026
5a872a5
Carry exact no-write recovery through region handoff
benhook1013 Nov 14, 2026
3197cb8
Format grant lifetime boundary regressions
benhook1013 Nov 14, 2026
f045651
Merge commit '2b0a17b3a72df2bcd6fecc920bfb2906d8a35717' into dot/mud3…
benhook1013 Nov 14, 2026
50223b7
Merge commit '63163b612fb3131c0fbf43c0d24f986670d2cf23' into dot/mud3…
benhook1013 Nov 14, 2026
7f84c1d
fix: resume exact terminal transfer retention after interruption
benhook1013 Nov 14, 2026
6697c4b
Fix World composition fixture deadline-aware owner reads
benhook1013 Nov 14, 2026
0380bec
Carry qualified head recovery into region owner slice
benhook1013 Nov 14, 2026
a095efc
Carry incremental jOOQ input tracking
benhook1013 Nov 14, 2026
4110065
Validate committed transfer metadata and exercise actual incarnation …
benhook1013 Nov 14, 2026
d0f4c44
Recheck final installation lease and pin canonical execution vector
benhook1013 Nov 14, 2026
3d9bd66
Carry qualified front owner fixes into region handoff
benhook1013 Nov 14, 2026
4ff7464
Align child negative fixtures with shared resolver and locked reconci…
benhook1013 Nov 14, 2026
8aeb5ef
Prove forward sealed dispatch receipt primitive without production ac…
benhook1013 Nov 14, 2026
fa159bd
Merge commit '4352d797238ad1c9434c807d85363ef29a2a7dd6' into dot/acco…
benhook1013 Nov 14, 2026
62998a6
Seal transfer preparation and issue effectful dispatch once
benhook1013 Nov 14, 2026
25d4934
Merge commit 'fa159bdd7c30fdeca6bae9f4695ad621a3e5ad3d' into dot/3445…
benhook1013 Nov 14, 2026
7d912c9
Merge commit '97e81376a2a2fd18b9e5faea299ca33010ece445' into dot/3445…
benhook1013 Nov 14, 2026
f69d5b2
Format combined lease recovery callback
benhook1013 Nov 14, 2026
457e6c4
Keep initialization proof callback bound to retained preparation
benhook1013 Nov 14, 2026
bfadf81
Guard nullable SQL snapshots in physical test listeners
benhook1013 Nov 14, 2026
17ea5c2
Format nullable SQL test guard
benhook1013 Nov 14, 2026
272094b
Require retained row in lost acknowledgement proof
benhook1013 Nov 14, 2026
5d12174
Include transfer receipt resources in cross-service proof jar
benhook1013 Nov 14, 2026
e665074
Update runtime catalog receipt epoch fixture
benhook1013 Nov 14, 2026
db22640
Retain initialization claim custody across caller deadlines
benhook1013 Nov 14, 2026
461b8a6
Update runtime catalog receipt epoch fixture
benhook1013 Nov 14, 2026
5eaaa35
Merge commit 'e66507464e2a438c4a4b7a3223cf3202b6bc5f60' into dot/mud3…
benhook1013 Nov 14, 2026
a52b23b
Separate initialization readiness from lifetime observers
benhook1013 Nov 14, 2026
9ddacc0
Remove unused initialization fixture locals
benhook1013 Nov 14, 2026
7479aa8
Bound retained recovery caller wait without abandoning SQL custody
benhook1013 Nov 14, 2026
c07f08d
Merge current capacity parent while retaining region recovery proof
benhook1013 Nov 15, 2026
844bd8b
Carry the current capacity parent through #3445
benhook1013 Nov 19, 2026
b1fd46c
Carry formatted capacity parent and clarify retained handoff
benhook1013 Nov 19, 2026
9e5b407
Carry corrected capacity handoff parent into region review
benhook1013 Nov 19, 2026
21c4aca
Carry qualified capacity parent into region handoff review
benhook1013 Nov 19, 2026
7e26223
Stabilize stalled transfer observation deadline test
benhook1013 Nov 19, 2026
bf8c343
Carry tested issuer proofs and record installed region lease
benhook1013 Nov 20, 2026
eb2f77d
Carry Account capacity test proofs into the region stack
benhook1013 Nov 20, 2026
acfb622
Merge commit '347def01336553f3b6c59a78e7c1b51dd6d3f389' into HEAD
benhook1013 Nov 20, 2026
20bef13
Make Region handoff integration tests deterministic
benhook1013 Nov 20, 2026
8bb8ff8
Carry Game Session fixture setup cleanup into Region tests
Nov 20, 2026
601feb8
Carry the current Game Session capacity base into #3445
benhook1013 Nov 22, 2026
d754162
Apply exact Spotless formatting to #3445 integration fixtures
benhook1013 Nov 22, 2026
f77862a
Carry the updated capacity base and strengthen handoff fixture proofs
benhook1013 Nov 22, 2026
910056e
Carry capacity CI repairs and preserve transfer serialization proof
benhook1013 Nov 22, 2026
b0d9845
Carry the corrected smoke retarget contract from #3427
benhook1013 Nov 22, 2026
5c0ae80
Carry the guarded transfer isolation fixture from #3427
benhook1013 Nov 22, 2026
da785f5
Carry capacity qualification into the existing region handoff fixtures
benhook1013 Nov 22, 2026
185d81e
Reuse the retained Redis connection for committed transfer readback
benhook1013 Nov 22, 2026
8a4de37
Carry the updated Account and CI prerequisite into the region handoff…
benhook1013 Nov 22, 2026
cce24c8
Carry qualified capacity fixtures and prove restart from a durable pr…
benhook1013 Nov 22, 2026
b98df8b
Carry qualification and reconcile the relocated region custody fixture
benhook1013 Nov 22, 2026
392708c
Prove a recreated region owner observes its applied receipt before re…
benhook1013 Nov 22, 2026
d41cd96
Carry the tested capacity fixture repairs into region handoff
benhook1013 Nov 22, 2026
79525cd
Import the capacity execution type in region serialization integratio…
benhook1013 Nov 22, 2026
2d4795c
Carry the corrected capacity owner integration fixture
benhook1013 Nov 22, 2026
4656639
Keep transfer PREPARE fixture in the admitted operation budget
benhook1013 Nov 22, 2026
2935377
Strengthen region handoff and retained custody test proofs
benhook1013 Nov 22, 2026
c4a6c65
Exercise current receipt recovery for both terminal capacity outcomes
benhook1013 Nov 22, 2026
34f1c6d
Carry current capacity base with a single borrowed installation budget
benhook1013 Nov 23, 2026
c069095
Carry Game Session fixture compiler rename
benhook1013 Nov 23, 2026
ac67f0a
Carry lifecycle assertion compiler fix into region-owner handoff
benhook1013 Nov 23, 2026
59f68f4
Correct region owner integration fixture setup and detached cleanup e…
benhook1013 Nov 23, 2026
f1229a7
Carry the capacity parent and address returned region handoff review …
benhook1013 Nov 23, 2026
1658f54
Carry capacity fixture correction and add focused region transfer cases
benhook1013 Nov 23, 2026
2d18e9c
Carry Redis fixture correction and add region handoff coverage
benhook1013 Nov 23, 2026
0969702
Carry capacity proof and verify transfer receipt boundaries
benhook1013 Nov 23, 2026
ebedceb
Carry the Account prerequisite and test correction
benhook1013 Nov 23, 2026
a1c5f37
Carry reviewed capacity and region handoff corrections
benhook1013 Nov 23, 2026
de7ad48
Carry consolidated Game Session review fixes through #3445
benhook1013 Nov 23, 2026
d179bd0
Format inherited review fixes and align the exact parent
benhook1013 Nov 23, 2026
ef0b3c4
Anchor the physical Redis expiry regression after committed SQL claim
benhook1013 Nov 23, 2026
c1de9aa
Carry exact runtime producer proof pin
benhook1013 Nov 23, 2026
0796711
Carry formatted Account and codec regression fixtures
benhook1013 Nov 23, 2026
2561387
Carry bounded physical Game Session SQL and Redis test fixture correc…
benhook1013 Nov 23, 2026
7bea519
Carry exact trusted runtime definition scope
benhook1013 Nov 23, 2026
9e177f9
Carry Game Session proof fixes with exact handoff fixtures
benhook1013 Nov 23, 2026
a12b72c
Restore typed catalog guard fixtures across stack
benhook1013 Nov 23, 2026
6e5a7c9
Reconcile Game Session review tests across updated parent
benhook1013 Nov 24, 2026
b9fcb46
Carry the corrected Game Session Redis policy regression fixture
benhook1013 Nov 25, 2026
16abe07
Carry current Game Session qualification fixtures into region handoff
benhook1013 Nov 25, 2026
e2ef2dc
Carry the parent integration fixture analyzer correction
benhook1013 Nov 25, 2026
29a99e6
Carry exact admission test and develop updates
benhook1013 Nov 25, 2026
ec53eb3
Require exact durable successor for Game Session transfer completion
benhook1013 Nov 26, 2026
294af50
Carry qualified Account capacity handoff into Game Session transfer
benhook1013 Nov 26, 2026
96f7efa
Recheck every completed region transfer fence before serving
benhook1013 Nov 26, 2026
c944f43
Carry exact Account admission replay into the region handoff
benhook1013 Nov 26, 2026
4781674
Retain exact timeline no-write release evidence
benhook1013 Nov 26, 2026
80e56e0
Carry capacity SQL retirement fence into region owner stack
benhook1013 Nov 26, 2026
9f0fe77
Prove repeat region handoff retains exact fence custody
benhook1013 Nov 26, 2026
08ab513
Retain the exact Account capacity send boundary
benhook1013 Nov 26, 2026
cd2ca5a
Align region handoff with the capacity validation fixes
benhook1013 Nov 26, 2026
271192a
Bind transfer receipts and repair capacity CI fixtures
benhook1013 Nov 26, 2026
9592dd6
Align region handoff with reviewed capacity fixes
benhook1013 Nov 26, 2026
ee4f81e
Verify both exact transfer custody refusals
benhook1013 Nov 26, 2026
24a8352
Preserve dependency cache on bounded throttling retries
benhook1013 Nov 26, 2026
650fe49
Bind transfer custody to the exact bridge workload namespace
benhook1013 Nov 26, 2026
8555438
Align reviewed transfer custody with the latest admission fixes
benhook1013 Nov 26, 2026
05b9649
Carry exact build logic retry into the aligned region handoff
benhook1013 Nov 26, 2026
bef3cbe
Merge commit '63238a7d35e0d44fb14929be3d50713fc822c6c0' of /tmp/dispa…
benhook1013 Nov 26, 2026
0a6eec2
Merge commit '9722f51705bae2a5a4a121491c620be515887f41' of /tmp/dispa…
benhook1013 Nov 26, 2026
5d619ba
Exercise the receiving capacity send and budget guards in integration…
benhook1013 Nov 26, 2026
35fa7a1
Merge commit '139b1cef1477d4601ec8c2d8b81ba52dddd701a5' of /tmp/dispa…
benhook1013 Nov 26, 2026
c6ff857
Qualify renewed lease expiry at final installation
benhook1013 Nov 27, 2026
b8bca59
Hold the region transfer readback connection through installation
benhook1013 Nov 27, 2026
ac2bbc8
Reconcile exact region handoff with typed capacity and Redis fencing
benhook1013 Nov 27, 2026
7890467
Merge commit 'a1b868f53419582cb05489bb86776e9d1be37386' into HEAD
benhook1013 Nov 27, 2026
4993c5d
Format reconciled capacity and region proof fixtures
benhook1013 Nov 27, 2026
c80a756
Merge commit '807dcb624db15f8b1d92546aa372a41e33b9af6c' into HEAD
benhook1013 Nov 27, 2026
775ddbe
Qualify prepared timeline budget fixtures with Redis time
benhook1013 Nov 27, 2026
3854c98
Merge commit 'cfe734808a58037474279278889659d279e97b0a' into HEAD
benhook1013 Nov 27, 2026
7997e9d
Complete exact region transfer custody and carry Account execution pr…
benhook1013 Nov 28, 2026
8024f83
Settle exact Account denials through the installed region successor
benhook1013 Nov 28, 2026
0cc6424
Align region handoff with reviewed admission and settle exact denials
benhook1013 Nov 28, 2026
a4a98d2
Settle exact Account denials after retained Game Session abort
benhook1013 Nov 29, 2026
0cacfd1
Integrate the folded Game Session baseline and denial proof
benhook1013 Nov 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ Ordinary Account gRPC methods use canonical Account UUID text for Account-valued

Exact replay is guaranteed only for outcomes Account durably retained. A billing or non-creating entitlement refusal that did not retain a decision receipt is not a replayable outcome; a later retry rechecks current evidence freshness before deciding and cannot treat the earlier refusal as a retained result.

`ReadTenantCapacityAdmissionOutcome` is the private read-only reconciliation operation for the exact Game Session mTLS peer while its original reserve remains active. It takes the original commit request and matches the outer identity, attempt, fence, complete payload and digest. In one read-only transaction Account returns either the exact retained reservation corroborated by the matching accepted origin decision, or a durable quota or expired-evaluation denial with its exact kind and decision UUID and no reservation. Missing or ambiguous evidence keeps the original reserve and admission closed. A fresh request or automatic mutation retry does not recover the original outcome. Before enabling this composition, qualify recovery after the original response is lost, quota headroom returns and the caller restarts. Verify that no new attempt, reservation or refusal slot was used. Verify in the Game Session settlement owner that the same original reserve and its current fence are still authoritative in the transaction that consumes the denial. The historical request and Account receipt authenticate the original outcome, not ownership after the RPC returns. Before composition is enabled, qualify a disposable case where the original reserve fence changes while the read is outstanding: the late denial must not advance, release or otherwise mutate that reserve, and the unchanged-fence case must preserve the original reconciliation semantics. The [strict tenant-capacity owner tracker](../../../project-management/implementation-tracking/player-access-and-session.md#strict-tenant-capacity-owner-preparation) records the remaining caller and owner proof.
`ReadTenantCapacityAdmissionOutcome` and `ReadTenantCapacityAdmissionReservation` are private read-only reconciliation methods for the exact Game Session mTLS peer and typed player context. Both match the original commit request’s outer identity, attempt, fence, complete canonical payload and digest. Each fails closed on missing, ambiguous or mismatched evidence without changing Account state, requesting a new evaluation or consuming a refusal slot.

`ReadTenantCapacityAdmissionOutcome` returns either the exact retained reservation corroborated by its matching accepted origin decision in one read-only transaction or the original durable quota or expired-evaluation denial with its exact kind and decision UUID. Game Session may settle the still-held original charge after the original OPEN window expires. The settlement transaction must recheck the exact charge, current selected owner fence and concurrent execution custody. See [Game Session capacity evidence](../game-session-service/runtime-and-data.md#original-new-capacity-execution-evidence) for send and retention rules and the [strict tenant-capacity owner tracker](../../../project-management/implementation-tracking/player-access-and-session.md#strict-tenant-capacity-owner-preparation) for pending proof.

`ReadTenantCapacityAdmissionReservation` returns only the original retained reservation and its lifecycle state. Game Session must independently establish current authority before using any historical reservation evidence for execution, renewal or transfer.

The shared [capacity-admission/v1 schema](../../../../services/common-platform-core/src/main/resources/capacity/capacity-admission-v1.schema.json) declares the exact ADR 0047 seven-field mapping and bounds. Its `accountEvidence` member is canonical padded base64 of the complete existing Account bundle bytes, validated by the closed variant codec with canonical re-encoding equality before hashing. This binds every evidence field and cutoff/checkpoint byte, not a digest or reconstructed subset. `capacity_delta` is `optional int64`; missing presence is invalid and a present zero remains distinct. The Game Session and World alternatives retain distinct typed contexts. The ordinary registered Account receiver does not expose this private composition, and no route is enabled by adding the proto.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The manually composed original-NEW final coordinator requires the exact retained

An already COMMITTED original uses [Account's exact confirmation read](../account-service/api-contracts.md#account-reader-for-the-original-new-final-admission) to qualify its current reservation without the separate capacity commitment listener. Game Session binds the result to the retained execution digest and still requires its current original source, credential and exact physical final receipt. Fresh original execution continues to obtain its Account capacity commitment before the final owner CAS.

Normal region-owner handoff is target state and unavailable at this front: the existing acquire/install/revalidate path refuses replacement of an installed owner. Prepared transfer storage and deny-only evidence do not provide executable successor continuation. `FENCED_INDETERMINATE` remains denying and grants no capacity transition or player admission. The [normal-handoff contract](./runtime-and-data.md#normal-handoff-future-execution-fencing) owns its storage currentness, complete inventory, positive-retention and failure requirements. No default receiver or scheduler is registered.
The separately qualified, manually composed controlled region-owner handoff can consume current deny-only transfer evidence through its protected acquire/install/revalidate path. This receiving slice does not establish deployed registration or default availability. `FENCED_INDETERMINATE` remains denying and grants no capacity transition or player admission. The [normal-handoff contract](./runtime-and-data.md#normal-handoff-future-execution-fencing) owns its storage currentness, complete inventory, positive-retention and failure requirements. No default receiver or scheduler is registered.

## Steady-State Account Public-JWKS Provenance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Keep the realm held and preserve the source and protection evidence for owner re

### Initial region timeline recovery boundary

For an initial region timeline whose durable preparation is `INITIALIZING` after its one-time creation permission was consumed, absent Redis metadata cannot distinguish never-executed initialization from metadata loss. Descriptor, source, connection, principal, `SCRIPT LOAD`, or current-binding/World/incarnation revalidation refusal before the SQL claim does not change the preparation phase or timeline keys. If the preparation is still `PREPARED` and the proved-absent preimage remains valid, a corrected ordinary attempt can still make the first claim; an existing `INITIALIZING` phase remains held unless its live prepared owner proves `EVALSHA` was never invoked or retains the exact definitive v2 `INITIALIZE` no-write result. The [initial timeline contract](./runtime-and-data.md#tick-coordination-and-lease-ownership) defines which results prove no write. That proof supplies a single-use capability for separately bounded SQL cleanup of the matching claim back to `PREPARED`; stale permits/proofs cannot release a later claim. The composed owner reserves one of 64 bounded local recovery slots before claiming creation permission, retaining the exact no-write capability if cleanup admission or SQL fails. A later same-operation attempt retries that capability before requesting a new claim; capacity exhaustion refuses before claim and never evicts retained evidence. These slots are process-local, not restart recovery. A successful rollback before any cleanup commit attempt preserves the exact proof for retry. After an ambiguous cleanup commit, acquire the same region transaction lock and reread the preparation on the primary at READ COMMITTED. PREPARED is already settled. Only the exact same still-INITIALIZING claim generation without an installed owner permits retrying that SQL cleanup with the retained proof. This does not derive recovery authority from Redis absence, logs, elapsed time, or operator phase edits. After those checks pass, the owner claims the permission and immediately attempts the sole `EVALSHA`; a process stop between claim and send or an ambiguous send/result leaves the scope held, with no automatic same-scope retry or recovery. Preserve the original SQL preparation and source evidence. Do not delete or reset the affected region keys, recreate metadata, or retry with a fresh create permission or same-epoch rewrite. For that unknown-effect case, no same-scope automated or operator repair exists. Stop and quarantine the affected admission scope; use World Management's normal authorized [instance termination lifecycle](../world-management-service/api-contracts.md#instance-termination-contract) and proceed under a new instance scope only when its usual authorization and protection are available. Otherwise keep the scope blocked for owner-scoped reconciliation. This is a safe recovery boundary, not an implemented or proved repair procedure, and does not qualify launch, production activation, or first `OPEN`. Region timeline and lease authority remain with [Tick System](../../system-architecture-ticks.md#region-authority-and-tick-executor), Redis owns the [key projection](../../system-architecture-redis.md#canonical-region-key-projection), and current Game Session recovery gaps are tracked in [runtime and tick coordination](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#active-gaps). A current authenticated region installation retry may use the original durable region preparation to locate a still-retained exact local no-write proof. Reconciliation uses the retry’s own operation budget and leaves the original preparation bound to its original transition. A successor transition gains no permission to adopt it from that cleanup.
For an initial region timeline whose durable preparation is `INITIALIZING` after its one-time creation permission was consumed, absent Redis metadata cannot distinguish never-executed initialization from metadata loss. Descriptor, source, connection, principal, `SCRIPT LOAD`, or current-binding/World/incarnation revalidation refusal before the SQL claim does not change the preparation phase or timeline keys. If the preparation is still `PREPARED` and the proved-absent preimage remains valid, a corrected ordinary attempt can still make the first claim; an existing `INITIALIZING` phase remains held unless its live prepared owner proves `EVALSHA` was never invoked or retains the exact definitive v2 `INITIALIZE` no-write result. The [initial timeline contract](./runtime-and-data.md#tick-coordination-and-lease-ownership) defines which results prove no write. That proof supplies a single-use capability for separately bounded SQL cleanup of the matching claim back to `PREPARED`; stale permits/proofs cannot release a later claim. The composed owner reserves one of 64 bounded local recovery slots before claiming creation permission, retaining the exact no-write capability if cleanup admission or SQL fails. A later same-operation attempt retries that capability before requesting a new claim; capacity exhaustion refuses before claim and never evicts retained evidence. These slots are process-local, not restart recovery. A successful rollback before any cleanup commit attempt preserves the exact proof for retry. After an ambiguous cleanup commit, acquire the same region transaction lock and reread the preparation on the primary at READ COMMITTED. The retained release ordinal can confirm settlement even after a later claim or installation. Only the exact original still-INITIALIZING generation and ordinal without an installed owner permits retrying that SQL cleanup with the retained proof. This does not derive recovery authority from Redis absence, logs, elapsed time, or operator phase edits. After those checks pass, the owner claims the permission and immediately attempts the sole `EVALSHA`; a process stop between claim and send or an ambiguous send/result leaves the scope held, with no automatic same-scope retry or recovery. Preserve the original SQL preparation and source evidence. Do not delete or reset the affected region keys, recreate metadata, or retry with a fresh create permission or same-epoch rewrite. For that unknown-effect case, no same-scope automated or operator repair exists. Stop and quarantine the affected admission scope; use World Management's normal authorized [instance termination lifecycle](../world-management-service/api-contracts.md#instance-termination-contract) and proceed under a new instance scope only when its usual authorization and protection are available. Otherwise keep the scope blocked for owner-scoped reconciliation. This is a safe recovery boundary, not an implemented or proved repair procedure, and does not qualify launch, production activation, or first `OPEN`. Region timeline and lease authority remain with [Tick System](../../system-architecture-ticks.md#region-authority-and-tick-executor), Redis owns the [key projection](../../system-architecture-redis.md#canonical-region-key-projection), and current Game Session recovery gaps are tracked in [runtime and tick coordination](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#active-gaps). A current authenticated region installation retry may use the original durable region preparation to locate a still-retained exact local no-write proof. Reconciliation uses the retry’s own operation budget and leaves the original preparation bound to its original transition. A successor transition gains no permission to adopt it from that cleanup.

## Scaling and Region Rebalancing

Expand Down
Loading
Loading