Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
ceb574c
Carry scope-binding proof and name dependent capacity retirement
benhook1013 Nov 12, 2026
037770f
Receive original capacity execution and bounded handoff on the Accoun…
benhook1013 Nov 12, 2026
5f90f32
Carry Account contention and retention fixes into Game Session receiving
benhook1013 Nov 12, 2026
6a6fb11
Receive typed Account billing and quota refusals over the capacity RPC
benhook1013 Nov 12, 2026
2058dca
Prove capacity replay while an independent Account row lock is held
benhook1013 Nov 12, 2026
bab67ff
Reconcile capacity execution receiving with the exact Account base
benhook1013 Nov 12, 2026
05ba9d7
Bound region handoff status work and require complete transfer evidence
benhook1013 Nov 12, 2026
9695fcc
Preserve typed capacity refusals and harden admission proof fixtures
benhook1013 Nov 12, 2026
6cfaeec
Merge commit 'a90c3784ae02d1ae7bf5b70aed7d4ccb76c1d1ab' into HEAD
benhook1013 Nov 12, 2026
8c6fc3b
Enforce the frozen handoff deadline for region lease Redis operations
benhook1013 Nov 12, 2026
55b5d1c
Enforce signed transfer evidence expiry through owner installation
benhook1013 Nov 12, 2026
3aaddc5
Initialize jOOQ before the two-query deadline proof
benhook1013 Nov 12, 2026
38351e8
Bound handoff World reads and retain selected Account TLS channels
benhook1013 Nov 12, 2026
9ce6aa2
Preserve published stub and default World call behavior
benhook1013 Nov 12, 2026
9b75b5e
Bound World placement reload and contender lease custody
benhook1013 Nov 13, 2026
b8cb425
Serialize capacity receipts and region handoff custody
benhook1013 Nov 13, 2026
0c7dfb3
Verify the installed final-receipt closure guard
benhook1013 Nov 13, 2026
50794ab
Assert the receipt guard trigger routine
benhook1013 Nov 13, 2026
6fccbf5
Assert the closure trigger update event
benhook1013 Nov 13, 2026
1ca8489
Recover retained aborted handoffs and require complete transfer receipts
benhook1013 Nov 13, 2026
fa7c60f
Strengthen capacity transport and catalog failure proofs
benhook1013 Nov 13, 2026
e333b51
Validate final admission inputs before recording Redis dispatch
benhook1013 Nov 13, 2026
5701b3a
Recover terminal region transfers under exact lease custody
benhook1013 Nov 13, 2026
ae4e9d5
Preserve exact capacity replay and bounded handoff custody
benhook1013 Nov 13, 2026
386f3af
Bound initial timeline setup to the frozen handoff deadline
benhook1013 Nov 13, 2026
3abe0a6
Bound the entire protected region transfer observation
benhook1013 Nov 13, 2026
c8e13a7
Move the complete capacity readback boundary to its receiving slice
benhook1013 Nov 13, 2026
74206d7
Retain capacity admission through abandoned Redis connect cleanup
benhook1013 Nov 13, 2026
bb24af0
Format protected transfer observation proof
benhook1013 Nov 13, 2026
cc31c39
Prove late Redis close retains capacity admission
benhook1013 Nov 13, 2026
1ca5805
Format the late close permit assertion
benhook1013 Nov 13, 2026
175bb98
Bind exact capacity admission and qualify committed first handoff
benhook1013 Nov 13, 2026
2cb1413
Assert typed protected observation timeout in physical proof
benhook1013 Nov 13, 2026
b476ecc
Use the named observation timeout in the integration assertion
benhook1013 Nov 13, 2026
a409aac
Prove that handoff refuses older restored execution evidence
benhook1013 Nov 13, 2026
7cacd7c
Settle bounded execution reserves after exact durable Account denial
benhook1013 Nov 13, 2026
5c1ebdb
Record staged capacity retention proof and activation requirements
benhook1013 Nov 13, 2026
394da3e
Recover exact capacity closure and frozen transfer retries
benhook1013 Nov 13, 2026
63374fb
Reserve bounded tenant transfer history before freezing ownership
benhook1013 Nov 13, 2026
6a0e707
Retain capacity operation permits through scoped Redis disposal
benhook1013 Nov 13, 2026
7fe95f3
Wire scoped disposal into delayed FINAL integration proof
benhook1013 Nov 13, 2026
2953702
Fence region owner snapshot changes and retain prepared Redis disposal
benhook1013 Nov 13, 2026
fdb3a4f
Retain a single region transfer fence dispatch before Redis mutation
benhook1013 Nov 13, 2026
cbe0b3f
Merge remote-tracking branch 'origin/develop' into codex/gameplay-cap…
benhook1013 Nov 13, 2026
d22c608
Merge remote-tracking branch 'origin/develop' into codex/gameplay-cap…
benhook1013 Nov 13, 2026
ea3f8e1
Recover owner transfer proof and bound timeline initialization
benhook1013 Nov 13, 2026
6c6561a
Retain Redis permits until disposal and preflight timeline time
benhook1013 Nov 13, 2026
a957fc5
Bound handoff grant reuse and Redis lease expiry
benhook1013 Nov 13, 2026
0e72131
Prove sealed capacity migrations and stale transfer refusal
benhook1013 Nov 13, 2026
11a8584
Preserve exact capacity denial replay and operational ownership
benhook1013 Nov 13, 2026
58ee082
Recover older frozen originals and keep pre-claim work within its permit
benhook1013 Nov 13, 2026
e26ec3f
Split physical Gameplay proof and update the Account capacity fixture
benhook1013 Nov 13, 2026
ed0bf4e
Freeze region transfers under READ COMMITTED before locking
benhook1013 Nov 13, 2026
dd64f6a
Use retained committed admissions for region handoff across Account f…
benhook1013 Nov 13, 2026
57332a2
Allow bounded replica fsync for the create-only login proof
benhook1013 Nov 13, 2026
9458843
Keep capacity admission and final settlement independently reviewable
benhook1013 Nov 13, 2026
efc4795
Fix final admission test fixture default and verify Redis probe
benhook1013 Nov 13, 2026
c9e2440
Prepare bounded initial installation and retained receipt recovery
benhook1013 Nov 14, 2026
5c49d40
Reconcile gameplay retention documentation and migration
benhook1013 Nov 14, 2026
ed192ff
Assert typed conflict for missing retained capacity topology
benhook1013 Nov 14, 2026
c89fd8b
Clarify Game Session handoff availability at the front boundary
benhook1013 Nov 14, 2026
ea49242
Bound region installation SQL to the frozen execution deadline
benhook1013 Nov 14, 2026
9e6d6d7
Bound unscoped Redis waits by one operation deadline
benhook1013 Nov 14, 2026
32455ee
Refuse expired timeline probes before claiming permission
benhook1013 Nov 14, 2026
16695e0
Consume installation factory result in cancellation assertion
benhook1013 Nov 14, 2026
ba55612
Document the current capacity catalog seal installation
benhook1013 Nov 14, 2026
e0069f4
Clarify original capacity recovery authority boundary
benhook1013 Nov 14, 2026
c1263f2
Recover exact timeline claims after definitive Redis no-write
benhook1013 Nov 14, 2026
2b0a17b
Bound default final-admission Redis connection custody
benhook1013 Nov 14, 2026
63163b6
Preserve exact no-write recovery and installation deadlines
benhook1013 Nov 14, 2026
e82c19e
Retain exact no-write cleanup capabilities across bounded retry
benhook1013 Nov 14, 2026
68ab26a
test: require exact closed execution SQL refusal
benhook1013 Nov 14, 2026
45c77a6
Expose retained fence columns to codegen without rewriting Flyway his…
benhook1013 Nov 14, 2026
2ffa1da
Track staged jOOQ migration inputs for incremental generation
benhook1013 Nov 14, 2026
e5ca92f
Reconcile acknowledged SQL no-write release after lost completion
benhook1013 Nov 14, 2026
aca5f87
Make retained owner fixture shared resolver requirement explicit
benhook1013 Nov 14, 2026
fdcd2f2
Add explicit immutable Account refusal-budget provisioning and readiness
benhook1013 Nov 14, 2026
838876b
Apply canonical Java formatting to refusal provisioning proof
benhook1013 Nov 14, 2026
4352d79
Record bounded refusal provisioning physical proof
benhook1013 Nov 14, 2026
9e12e48
Recover acknowledged undispatched timeline claims before admission ch…
benhook1013 Nov 14, 2026
97e8137
Bound final-admission sentinel deadline and clarify held scaling
benhook1013 Nov 14, 2026
ba4fb1b
Carry Account prerequisite under remaining canonical admission work
benhook1013 Nov 14, 2026
e9afd6c
Fix split proof fixtures for nullable SQL and deadline-aware reads
benhook1013 Nov 15, 2026
055f90a
Avoid lock-join cycle in confirmed rollback proof
benhook1013 Nov 15, 2026
f67ddcb
style: format confirmed rollback integration proof
benhook1013 Nov 15, 2026
2263cab
test: isolate final admission composition database fixture
benhook1013 Nov 15, 2026
79a54bd
Merge commit 'a04d1ff6496f633a74554324a84cd3202d4c944d' into HEAD
benhook1013 Nov 15, 2026
624ef4c
Merge commit '7e88c75b9215d54ffd7f7563d5d7965b072eb5ec' into HEAD
benhook1013 Nov 15, 2026
ddcabd1
Carry the current Account prerequisite through #3427
benhook1013 Nov 19, 2026
d885dca
Carry the formatted Account parent through #3427 and deduplicate reti…
benhook1013 Nov 19, 2026
8c55b07
Carry exact retarget contract fixture through #3427
benhook1013 Nov 19, 2026
e164ea1
Carry Account prerequisite and qualify seven Hosted findings
benhook1013 Nov 19, 2026
7fd8adb
Strengthen retained issuer and same-grant fixture proofs
benhook1013 Nov 19, 2026
eca77e6
test: prove prompt capacity refusal and concurrent foreground slots
benhook1013 Nov 20, 2026
347def0
Always close composed Account fixture resources
benhook1013 Nov 20, 2026
2c3723d
Clean up Game Session fixture resources on setup failure
benhook1013 Nov 20, 2026
46c176b
Cover lost Account response during admission retry
benhook1013 Nov 21, 2026
bf189b4
Tighten gameplay capacity regression and cleanup proof
benhook1013 Nov 21, 2026
ad46376
Use a private monitor in the original admission test fixture
benhook1013 Nov 21, 2026
e0f7653
Carry the current Account capacity prerequisite into #3427
benhook1013 Nov 22, 2026
663c9b0
Carry the current Account capacity prerequisite into #3427
benhook1013 Nov 22, 2026
1806c7f
Apply pinned Java formatting to #3427 integration fixtures
benhook1013 Nov 22, 2026
cf83c17
Carry the current Account capacity prerequisite into #3427
benhook1013 Nov 22, 2026
e4e4cf1
Strengthen exact transaction and cancellation fixture coverage
benhook1013 Nov 22, 2026
e774e92
Carry the passing retarget workflow contract into #3427
benhook1013 Nov 22, 2026
ce510ce
Require the prepared lock statement in the transaction fixture
benhook1013 Nov 22, 2026
70bd60b
Bound final Redis deadlines and strengthen admission custody proof fi…
benhook1013 Nov 22, 2026
0c0d99f
Witness competing capacity decisions and retained close failures
benhook1013 Nov 22, 2026
c953e0a
Carry qualified Account capacity prerequisite into original NEW execu…
benhook1013 Nov 22, 2026
5cc5ade
Carry Account refusal evidence and reconcile player access tracking
benhook1013 Nov 22, 2026
68b089a
Carry updated Account prerequisite evidence and transport fixes
benhook1013 Nov 22, 2026
e67813d
Prove committed timeline claim reaches Redis deadline refusal
benhook1013 Nov 22, 2026
593d50e
Carry corrected Account prerequisite workflow contracts
benhook1013 Nov 22, 2026
02155c8
Preserve exact original NEW replay and quota refusal evidence
benhook1013 Nov 22, 2026
027ac40
Carry coordinated Account and Game Session evidence contracts
benhook1013 Nov 22, 2026
fd64114
Retain real no-retry transport and typed Redis fixture checks
benhook1013 Nov 22, 2026
ed36a9b
Use single-key physical Redis removal in closure fixture
benhook1013 Nov 22, 2026
6838e03
Carry current base and bound Game Session lifecycle operations
benhook1013 Nov 23, 2026
3b47bbc
Fix shadowed fixture transaction provider in lifecycle test
benhook1013 Nov 23, 2026
4e251c3
Disambiguate lifecycle result ownership assertion
benhook1013 Nov 23, 2026
e6f092c
Carry the named prerequisite and address returned capacity review fin…
benhook1013 Nov 23, 2026
c03cc3d
Pass binary Redis fixture key as a typed array
benhook1013 Nov 23, 2026
6e13d59
Use the fixed-arity binary Redis fixture call
benhook1013 Nov 23, 2026
8997636
Prove genuine unavailable capacity reply and Redis expiry
benhook1013 Nov 23, 2026
36a0bc9
Carry the updated Account prerequisite and fix fixture nullability
benhook1013 Nov 23, 2026
20a60e1
Batch returned capacity and region review corrections
benhook1013 Nov 23, 2026
8856972
Carry Account prerequisite and batch returned Hosted Game Session rev…
benhook1013 Nov 23, 2026
f1521dc
Format Hosted Game Session regression fixtures
benhook1013 Nov 23, 2026
b3d9c49
Carry exact runtime producer proof pin
benhook1013 Nov 23, 2026
82c7cb7
Carry formatted Account and codec regression fixtures
benhook1013 Nov 23, 2026
2280f61
Make Game Session proof fixtures independent and deadline-exact
benhook1013 Nov 23, 2026
f5f204f
Carry exact trusted runtime definition scope
benhook1013 Nov 23, 2026
232619c
Fix Game Session catalog and Redis proof fixtures
benhook1013 Nov 23, 2026
7b531e1
Restore typed catalog guard fixtures across stack
benhook1013 Nov 23, 2026
76c8f3a
Carry current parent and cover Game Session review regressions
benhook1013 Nov 24, 2026
9dd7ef9
Fix Game Session test expectations and pinned formatting
benhook1013 Nov 25, 2026
92ee39d
Correct Game Session fixtures and cover rollback before commit
benhook1013 Nov 25, 2026
ba73647
Guard nullable SQL in the rollback integration fixture
benhook1013 Nov 25, 2026
39332fb
Qualify the Game Session admission test boundaries
benhook1013 Nov 25, 2026
8b0cbf8
Guard Game Session settlement and lease recovery
benhook1013 Nov 26, 2026
250665e
Replay committed admission without a capacity mutation call
benhook1013 Nov 26, 2026
63c8ab7
Retire expired capacity SQL transport before returning its permit
benhook1013 Nov 26, 2026
af5c2d3
Repair capacity fixture retirement and retry compile classpath thrott…
benhook1013 Nov 26, 2026
edcfb18
Address Hosted capacity installation and fixture findings
benhook1013 Nov 26, 2026
90cb7dd
Harden admission expiry and bounded cleanup proof
benhook1013 Nov 26, 2026
0a14082
Retry exact build logic throttling without refreshing cached dependen…
benhook1013 Nov 26, 2026
63238a7
Move the measured Playtest lifecycle suite out of the slowest Game Se…
benhook1013 Nov 26, 2026
9722f51
Keep the canonical admission refusal for a missing template
benhook1013 Nov 26, 2026
139b1ce
Keep literal fixture expansion explicit for ShellCheck
benhook1013 Nov 26, 2026
47960b6
Precharge terminal evidence within the capacity record budget
benhook1013 Nov 27, 2026
cc4de81
Reconcile a timeline claim only with exact no-dispatch custody
benhook1013 Nov 27, 2026
a4e87c6
Settle exact quota denial after the observed OPEN window expires
benhook1013 Nov 27, 2026
610a9df
Qualify quota denial recovery after restarting the Account receiver
benhook1013 Nov 27, 2026
5d53b39
Check Redis operation expiry without changing installed records
benhook1013 Nov 27, 2026
a9c1c09
Align capacity admission with the current Account prerequisite
benhook1013 Nov 27, 2026
5349cac
Carry Account publication and denial receipt owners into capacity adm…
benhook1013 Nov 27, 2026
f6dc5a3
Settle exact capacity denials and fence region initialization on Redi…
benhook1013 Nov 27, 2026
d6167aa
Merge commit 'f8279f24e888d4588e04b75f943b0b20c1f95ac9' into HEAD
benhook1013 Nov 27, 2026
a1b868f
Merge commit '976f1fe83a25e00a2c5d283114ca61ca6c03a610' into HEAD
benhook1013 Nov 27, 2026
807dcb6
Merge commit '609fed181eeaa196127e73fda8792e2a23f43ece' into HEAD
benhook1013 Nov 27, 2026
8961b61
Prove retained denial cannot settle across a moved reserve fence
benhook1013 Nov 27, 2026
cfe7348
Merge commit '961e083f3b6415c222b04a256c2343401b9558de' into HEAD
benhook1013 Nov 27, 2026
0190d52
Use the server clock in capacity timeline tests
benhook1013 Nov 28, 2026
bb0c98f
Carry current Account capacity prerequisite
benhook1013 Nov 28, 2026
3e7826b
Stack final admission and settlement after the capacity prerequisite
benhook1013 Nov 28, 2026
8a02562
Align settlement with the verified capacity prerequisite fixes
benhook1013 Nov 28, 2026
3a459ef
Carry the exact publication prerequisite into settlement
benhook1013 Nov 28, 2026
a83dada
Use physical Redis deadlines and reconcile exact old timeline claims
benhook1013 Nov 28, 2026
b9d19bd
Complete the region lease and no-write recovery review fixes
benhook1013 Nov 28, 2026
e71de10
Complete Game Session timeline custody review corrections
benhook1013 Nov 28, 2026
7119bc4
Carry verified Account capacity fixes into Game Session settlement
benhook1013 Nov 28, 2026
d1d0642
Finish Game Session timeline retry and custody review fixes
benhook1013 Nov 28, 2026
fef9ecc
Carry verified Account capacity foundation into final settlement stack
benhook1013 Nov 28, 2026
b35d06c
Repair the carried Game Session qualification fixture
benhook1013 Nov 28, 2026
94d70fa
Align Game Session capacity execution with the reviewed prerequisite
benhook1013 Nov 28, 2026
d0c29f0
Align exact region lease recovery with reviewed capacity prerequisite
benhook1013 Nov 28, 2026
9f77abf
Carry formatted capacity proof into the region lease comparison
benhook1013 Nov 28, 2026
ec68f3a
Format verified region lease recovery proof
benhook1013 Nov 28, 2026
5a2e515
Align region lease proof with the current capacity foundation
benhook1013 Nov 28, 2026
726e823
Carry folded capacity schemas into verified region lease proof
benhook1013 Nov 29, 2026
01e5d40
Use one bounded Redis timeline creation path
benhook1013 Nov 29, 2026
07dc732
Align deadline-safe region proof and shared CI recovery
benhook1013 Nov 29, 2026
cd7ddcd
Carry current folded execution fixtures into region rework
benhook1013 Nov 29, 2026
d835dfc
Pass the shared World resolver to the cross-service second binding
benhook1013 Nov 30, 2026
0e1a2b7
Drop #3427 dependency-recovery runner changes
benhook1013 Nov 30, 2026
47a3f54
Address #3427 region lease review findings
benhook1013 Nov 30, 2026
8479184
Merge commit 'b846931f1e' into HEAD
benhook1013 Nov 30, 2026
afcbdd8
Merge commit 'c0e5c3f8fd' into HEAD
benhook1013 Nov 30, 2026
8388ff6
Keep #3427's bound session template in the merged negative tests
benhook1013 Nov 30, 2026
99d7cda
Consolidate the region timeline onto one script with no no-write reco…
benhook1013 Nov 30, 2026
fbf7062
Merge commit '58f2a47b78' into HEAD
benhook1013 Nov 30, 2026
9361c8c
Apply canonical formatting after the timeline consolidation
benhook1013 Nov 30, 2026
7626915
Merge commit 'aaa7c6c65dc0e74e15ebffca7068fb1e17840661' into HEAD
benhook1013 Nov 30, 2026
cbf18d4
Merge commit 'feb22e2b3854b6ee25751efbf3cdae93e7eeef09' into HEAD
benhook1013 Nov 30, 2026
254d311
Merge commit '6815058ff65952a3c88961ba8c41c8e918863bb0' into HEAD
benhook1013 Nov 30, 2026
97ca732
Merge commit 'c1fa092e6e589df57ae02b8d1601898ce3d9e162' into HEAD
benhook1013 Nov 30, 2026
537f9b4
Merge commit 'ddcfa3d03b5f445d6c8bcec768df0d3e4be1231c' into HEAD
benhook1013 Nov 30, 2026
70937bb
Merge commit 'ecdabd53d27355159c886ce0c9b87249d051a161' into HEAD
benhook1013 Nov 30, 2026
d01fe84
Merge commit '750463a5d27e4552ec10181f14f30e05432bb8d1' into HEAD
benhook1013 Nov 30, 2026
3d1d06d
Merge commit '66bfe9a71a4e5014394f5ec26b1fb73109b3d3c7' into HEAD
benhook1013 Nov 30, 2026
bd82f58
Merge commit 'ce826601dfbdc5e7ae09e0d9b9d5e2f377ce2876' into HEAD
benhook1013 Dec 1, 2026
b1a4762
Merge commit '29396f4fac' into HEAD
benhook1013 Dec 1, 2026
27e5100
Merge commit '3f7f3b4493' into HEAD
benhook1013 Dec 1, 2026
6ab13a9
Merge commit 'c87e117de558b56c7c014fa072dedb4fe5ed6070' into HEAD
benhook1013 Dec 1, 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
9 changes: 9 additions & 0 deletions .github/actions/check-gradle-module/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ runs:
name: test-logs-${{ inputs.module }}-${{ inputs.partition }}-${{ github.sha }}-attempt-${{ github.run_attempt }}
path: ${{ inputs.module == 'load-testing' && 'dev-tools/load-testing/build/reports/tests/' || format('services/{0}/build/reports/tests/', inputs.module) }}

- name: 📤 Upload SpotBugs Reports if Failed
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: spotbugs-${{ inputs.module }}-${{ inputs.partition }}-reports-${{ github.sha }}-attempt-${{ github.run_attempt }}
path: ${{ inputs.module == 'load-testing' && 'dev-tools/load-testing/build/reports/spotbugs/' || format('services/{0}/build/reports/spotbugs/', inputs.module) }}
if-no-files-found: warn
retention-days: 14

- name: 📤 Upload JUnit Test Results
if: ${{ always() && inputs.module != 'account-service' && inputs.module != 'game-session-service' && inputs.module != 'world-management-service' }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
Expand Down
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ subprojects {

tasks.withType<SpotBugsTask>().configureEach {
enabled = fullCheck
reports.create("xml") {
required.set(true)
}
excludeFilter.set(rootProject.file("config/spotbugs/spotbugs-exclude.xml"))
when (name) {
"spotbugsMain" -> dependsOn("compileJava", "processResources")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ For an initial region timeline whose durable preparation is `INITIALIZING` after

- Region-to-instance mapping is flexible and driven by a scheduler or consistent-hashing layer that assigns `<tenantId, gameInstanceId, regionId>` values to Game Session instances.
- **Target state:** replacement does not make the runtime mapping a durable playable-state identity. Game Session carries the catalog-derived `{playableStateNamespaceId, playableStateScope}` and, when applicable, the canonical private/playtest lifecycle proof tuple `{playtestLifecycleId, playtestStateGeneration}` with the active `{tenantId, gameInstanceId}` binding and persists the compatibility proof’s exact target World `PREPARING` state/epoch as the activation precondition. World alone CAS-activates that target to `ACTIVE`, then issues one equality-only `cutoverHoldId`/`cutoverHoldFence`; Game Session persists the resulting exact source/target `ACTIVE` state/epochs and hold identity in the execution result. Before the pointer CAS, Game Session commits the source admission/write fence, and every already-admitted durable source write must have authoritative `APPLIED` or `NOT_APPLIED` proof plus a durable retry/recovery record when not applied; vague flush-or-reconcile status is insufficient. It then performs fresh lifecycle, freshness, and hold revalidation; only matching evidence may proceed to that CAS. The request digest covers only known request/preparation inputs, while the idempotent execution result/readback binds the World-issued proofs, hold, namespace/scope tuple, and applicable lifecycle proof tuple. Game Session accepts the pointer move only after owner-local S1/S2/S3 compatibility evidence, exact source/target `ACTIVE` proofs, expected pointer version, hold binding, and idempotent source-cleanup work registration are in the same pointer/audit/prepared-execution/source-cleanup/drain-fence transaction. The post-swap reconciler obtains authoritative pointer/readback confirmation of that same lifecycle-proof-bound cleanup-work registration and source binding before asking World to finalize the hold and requesting World’s `TERMINATING` transition; this is not the all-owner terminal cleanup acknowledgement, which follows in World’s `TERMINATING` workflow before `TERMINATED`. Public production omits both playtest fields and rejects supplied values. A cleanup acknowledgement is not a pointer-CAS substitute. Temporal lifecycle status is coordination evidence; the World Management database row/epoch remains authoritative. The current wire, durable artifact/readback, digest coverage, hold record, and focused proof do not yet provide those complete replacement guarantees; see the [Game Session API contract](./api-contracts.md#world-lifecycle-and-admission-boundary) and [runtime and tick coordination tracker](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#active-gaps).
- To scale out, operators add more Game Session pods and allow the scheduler to assign regions to new instances; each instance acquires leases for its assigned regions.
- To rebalance load, an instance can stop renewing the lease for selected regions and drain in-flight work to a safe point; other instances then acquire those leases and continue tick processing from the existing Redis state. This is target state for a region with an installed original NEW owner: the current acquire/install path refuses its replacement (see [original NEW normal-handoff continuation](#original-new-normal-handoff-continuation)), so do not drain such a region expecting a takeover.
- Combined with region sizing, splitting hot regions and merging cold ones, this lease-based ownership model allows FireMUD to scale horizontally without global downtime.
- **Target-only scaling procedure, not a current operator recovery path:** after the replacement/continuation guarantees above are implemented and qualified, the scheduler is intended to assign regions to additional Game Session pods and each instance to acquire its assigned leases.
- The target rebalance protocol drains selected regions, stops their renewal, and permits a replacement owner to continue only after the complete owner-authority and continuation checks above pass. Current acquire/install refuses replacement of an installed owner. Do not stop renewal and reacquire as a workaround or assume existing Redis state authorizes continuation; keep the affected scope held when current ownership cannot continue safely.
- Region splitting/merging and no-downtime horizontal scaling remain target behavior until those replacement guarantees have measured qualification.
- The same externalized-state model supports ADR 0013's bounded ordinary restart recovery. A qualifying single-pod restart targets recovery within 10 seconds without client re-`LOGIN` or re-`PLAY`. If continuation authority cannot be established safely, hidden recovery must terminate immediately; otherwise 30 seconds is the hard maximum before falling back to `1013/backend_unavailable`. Operational proof must cover planned and abrupt real Game Session replacement, retained edge sockets, authority and presence convergence, input-buffer behavior, the early fail-closed authority cutoff, and the elapsed-time cutoff.

## Local Development Path
Expand Down
Loading
Loading