Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
940fa18
Prepare authenticated initial-room region observation and lifecycle r…
benhook1013 Oct 26, 2026
750f954
Add qualified manual region leases and Entity runtime actor reference
benhook1013 Oct 26, 2026
5309afe
Prepare nonadmitting region timeline and durable binding bridge owner
benhook1013 Oct 26, 2026
3bc7108
Merge commit '34fea833796f759e77991388fe376772caac4961' into codex/ga…
benhook1013 Oct 26, 2026
2e9ea1f
Repair region owner compilation and preserve atomic Redis fixtures
benhook1013 Oct 26, 2026
9441fea
Merge commit 'b30bc84ea5d530a2b6afec732081b59a8b9f4b8c' into codex/ga…
benhook1013 Oct 26, 2026
1994e63
Place unpublished region migrations after protected realm owner
benhook1013 Oct 26, 2026
d920563
Merge commit '203899e72edc74b53e8ef550fd6939dabb7ecc5b' into codex/ga…
benhook1013 Oct 26, 2026
e7e6326
Merge commit 'bc3a6cd8954240fb2365501ab1cd783ed1592088' into codex/ga…
benhook1013 Oct 26, 2026
4551fbe
Merge commit 'd8a77ba1a0301f85ebb26f6a497440fd8757e5f2' into codex/ga…
benhook1013 Oct 26, 2026
0beb1c7
wip(gameplay): preserve actual region composition and Human runtime f…
benhook1013 Oct 26, 2026
2132984
Merge commit '937049527673852c6f95ce63b7238dbf47b0c116' into codex/ga…
benhook1013 Oct 26, 2026
0593e84
fix(gameplay): repair actual Human-to-region bridge composition
benhook1013 Oct 26, 2026
0df28a1
Merge commit '4d188b6488aeed9535a5b4acb97eeda6dc823d87' into codex/ga…
benhook1013 Oct 26, 2026
8dae717
docs(gameplay): record qualified actual region owner composition
benhook1013 Oct 26, 2026
63bfad5
Merge qualified protected admission review fixes into region prerequi…
benhook1013 Oct 26, 2026
2e9ad87
docs(gameplay): record current-parent region qualification and skip r…
benhook1013 Oct 26, 2026
cc90e78
Merge qualified issuer and protected admission corrections into regio…
benhook1013 Oct 26, 2026
3c12325
docs(gameplay): record final protected-parent region proof
benhook1013 Oct 26, 2026
97ac592
test(gameplay): preserve historical roster seeds before runtime proje…
benhook1013 Oct 26, 2026
3299748
test(gameplay): qualify retained roster migration fixture recovery
benhook1013 Oct 26, 2026
e2e94ba
Prepare retained region ACK abort and multi-binding owner reuse
benhook1013 Oct 26, 2026
6086042
Receive protected owner fixes before region qualification
benhook1013 Oct 26, 2026
54a88a9
Align exact region fence comparison and canonical formatting
benhook1013 Oct 26, 2026
395a4d3
Receive final protected owner review fix
benhook1013 Oct 26, 2026
8013fea
Qualify retained region abort and shared-region binding proofs
benhook1013 Oct 26, 2026
98747ce
Keep provisional region inventory reads limited to required evidence
benhook1013 Oct 26, 2026
7f6b2f0
fix: preserve issuer cohorts across region bridge schema growth
benhook1013 Oct 26, 2026
4190654
fix: preserve acknowledged region evidence through member repair
benhook1013 Oct 27, 2026
3ad3912
fix: retain region acknowledgement across grant replacement
benhook1013 Oct 27, 2026
706308c
Merge commit '6108b23b4b0b882c440c8dc004f860cca6dfe083' into codex/ga…
benhook1013 Oct 27, 2026
9a4ad8c
Merge commit 'a90a8ff4c01a021ef91697946f3427a30e4bdef5' into codex/ga…
benhook1013 Oct 27, 2026
3912ec4
Merge commit 'a4ff857ea2d9345502ee9ae72d9bf435181cf559' into codex/ga…
benhook1013 Oct 27, 2026
e68e7d2
Merge commit 'bb6a768c8bc73deecc9781ce0c82fa91db7e51c3' into codex/ga…
benhook1013 Oct 27, 2026
8342df0
Merge commit 'd92da9b995516e36bee9157fcd5e2f34a8ca7087' into codex/ga…
benhook1013 Oct 27, 2026
79bf52b
Merge commit 'c9e15e90944c87d959dcbcb57182957c9880e0e6' into codex/ga…
benhook1013 Oct 27, 2026
e877aef
Fix region metadata refusals and Human runtime completion fence
benhook1013 Oct 27, 2026
8286e03
Fix fresh region grant reuse and deterministic World read refusals
benhook1013 Oct 27, 2026
2f60701
Reuse canonical lifecycle read ID in World composition proof
benhook1013 Oct 28, 2026
7a361e9
Merge commit '2a353cdbc41d2dc977908f1228c0be7420dd45c2' into codex/ga…
benhook1013 Oct 28, 2026
b1bd004
Merge commit '27fe020e62bd1e702b6cec9a5562d6d9fab94bdc' into codex/ga…
benhook1013 Oct 28, 2026
c3dbda6
Merge commit 'e25c05cfb1a002412ad59851caf21f6eaea2aab1' into codex/ga…
benhook1013 Oct 28, 2026
7f208e2
Merge commit 'c0f720c989a0921f8cc2cfe1f5cf08127ca9bac6' into codex/ga…
benhook1013 Oct 28, 2026
0da087b
fix: classify owner outages and prove fenced initialization cut
benhook1013 Oct 28, 2026
88ece94
Merge commit 'b97000e0b4bfc0d191bcb3a922abb23829e531b7' into codex/ga…
benhook1013 Oct 28, 2026
38d3ac8
Merge commit '0199f7bdc0f600ffb06bb47912f297d41dbc107e' into codex/ga…
benhook1013 Oct 28, 2026
09979e9
refactor: share initial lifecycle read identity and clarify proof
benhook1013 Oct 28, 2026
e60a30e
test(gamesession): account for region executor type rewrite
benhook1013 Oct 28, 2026
4be0da3
Merge commit '0322d825935d57f0c026baa39cecd142cae66660' into codex/ga…
benhook1013 Oct 28, 2026
95cac7d
Merge commit 'e95b5229e020bcd5080d4db16ec4d2a0aa6a9829' into codex/ga…
benhook1013 Oct 28, 2026
94160da
Merge commit '19f83897e1db7c500a8a4eca78cd11eabc267924' into codex/ga…
benhook1013 Oct 28, 2026
ec666c7
refactor: share region runtime lock and proof fixtures
benhook1013 Oct 28, 2026
7c93587
fix: align runtime actor contracts and World proof digests
benhook1013 Oct 28, 2026
61ee960
fix: acquire runtime locks before region bridge transitions
benhook1013 Oct 28, 2026
b815be3
docs: distinguish target runtime replacement from initial projection
benhook1013 Oct 29, 2026
ab14d81
Merge commit '356a510f0f1043bc413c4026920315b859953d79' into codex/ga…
benhook1013 Oct 29, 2026
7e75bed
Merge commit '94a5d630e044735285aa4e7ddc2e20d6ababe656' into codex/ga…
benhook1013 Oct 29, 2026
6bf302b
Reconcile protected region consumer onto settlement successor
benhook1013 Oct 29, 2026
c4365c5
Merge branch 'codex/gameplay-current-issuer-membership-20261029' into…
benhook1013 Oct 29, 2026
ba2bdd5
Merge commit '7f0ae38481' into codex/gameplay-2972-first-new-owner-lo…
benhook1013 Oct 29, 2026
7edd5e2
Merge commit 'b12624d2ba5303b02cf15235aa99ba50631e5293' into codex/ga…
benhook1013 Oct 29, 2026
cf09f3e
docs: remove duplicate blank after roster retention reconciliation
benhook1013 Oct 29, 2026
fbe153c
Merge commit '51bbda229cb32eb66a232c58c8a9ba8733f3162b' into codex/ga…
benhook1013 Oct 29, 2026
f397f70
fix(world): map unexpected region response conversion failures
benhook1013 Oct 29, 2026
1a65a45
Merge commit '626db8b7d21e7b6904db9147f76ce43cab328533' into codex/ga…
benhook1013 Oct 29, 2026
be0d287
Merge commit 'fbe5f7168e569021669dec9f17f120bf409f2444' into codex/ga…
benhook1013 Oct 29, 2026
4ece97c
style(gameplay): preserve formatted composition helper spacing
benhook1013 Oct 29, 2026
44c1d33
Merge commit 'fe00ee8c4752a9f50f8d2c77592fdb6cba7c2620' into codex/ga…
benhook1013 Oct 29, 2026
c0e6c9d
fix(gameplay): preflight region timeline before one-shot claim
benhook1013 Oct 29, 2026
4f2ba77
Merge remote-tracking branch 'origin/develop' into codex/gameplay-297…
benhook1013 Oct 29, 2026
a3792e6
Merge remote-tracking branch 'origin/develop' into codex/gameplay-297…
benhook1013 Oct 29, 2026
5d96c1f
fix(gameplay): revalidate timeline before dispatch claim
benhook1013 Oct 29, 2026
87d970f
fix(ci): qualify sufficient Redis ACK loss and canonical Node updates
benhook1013 Oct 29, 2026
ba6154e
Merge remote-tracking branch 'origin/develop' into codex/gameplay-297…
benhook1013 Oct 29, 2026
9a3fd6d
fix(region): exercise actual bridge phases and canonicalize recovery …
benhook1013 Oct 29, 2026
b7bf14e
ci: allow bounded completion of Game Session native validation
benhook1013 Oct 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,8 @@ jobs:
permissions:
contents: read
id-token: write
# Full checks, packaging and cleanup need 60 minutes for Account/Game Session (PostgreSQL/Redis issuer suites), 40 for World and 30 for Game Design.
timeout-minutes: ${{ (matrix.module == 'account-service' || matrix.module == 'game-session-service') && 60 || matrix.module == 'world-management-service' && 40 || matrix.module == 'game-design-service' && 30 || 20 }}
# Allow 90 minutes for the full Game Session native issuer suites; retain Account 60, World 40 and Game Design 30.
timeout-minutes: ${{ matrix.module == 'game-session-service' && 90 || matrix.module == 'account-service' && 60 || matrix.module == 'world-management-service' && 40 || matrix.module == 'game-design-service' && 30 || 20 }}
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPER_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide explains how to configure a local development environment for the Fir
Install the following tools before building the services:

- **Java 21+** – required for all Spring Boot microservices.
- **Node.js 24 LTS** – needed if you plan to build the React frontend. The repository's exact Node version is declared once in [`.node-version`](.node-version) and consumed by both Gradle and CI.
- **Node.js at the repository-pinned version** – needed if you plan to build the React frontend. The repository's exact Node version is declared once in [`.node-version`](.node-version) and consumed by both Gradle and CI.
- **Docker** and **Docker Compose** – run the full stack locally.
- **Git** – version control for cloning and contributing.
- **Gradle** – optional; only needed for an intentional wrapper upgrade.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Target state makes Game Session the authoritative owner of region/tick coordinat

The local issuer-index source carries the selected physical member schema v2 and manually composed SQL, partition and finite initial-coverage owners. Decoding alone validates shape, not current source, anchor, capacity or incarnation authority. Qualified local bootstrap, ordinary physical projection and definitive-abort issuer-local cleanup, together with the remaining admitting acknowledgement and final-CAS gaps, are recorded in the [Player Access tracker](../../../project-management/implementation-tracking/player-access-and-session.md#canonical-new-admission-components); this source is unregistered and supplies no player admission. Retained physical v1 artifacts remain unqualified without fallback, and Account acknowledgement schema v2 remains account-only. The separate owner-qualified issuer acknowledgement and final guarded controller CAS remain required before manual NEW consumers can admit; the [issuer-index owner](../../system-architecture-redis.md#issuer-active-binding-index) owns that contract.

The manual initial-location client and `CanonicalInitialPlayerLocationRegionResolver` consume World’s [initial-room region consequence](../world-management-service/api-contracts.md#canonical-initial-player-location). The resolver compares that observation with a separate authenticated lifecycle read before returning a privately constructed resolved value. No default registration or player-binding gate composition is supplied by this component; its current proof and missing genuine placement prerequisites remain in the [World tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#canonical-initial-player-location-preparation).

The local [canonical NEW admission lease contract](../../system-architecture-session-behavior.md#canonical-public-production-new-admission) now has generated transport carriers and a manually composed `AccountGameplayAdmissionLeaseClient` for Account’s four purpose-specific methods. Its narrow candidate uses the exact Account issuer string at the original string wire tag; shape validation supplies no issuer authority. The [Account API](../account-service/api-contracts.md#canonical-public-production-new-admission-lease-source) owns caller authentication, acquisition, original finalization and read/abort recovery. The prepared Account-only reverse-read proto and closed codec preserve separate current published-target and exact provisional-decision purposes, with their finite transport bounds; this prerequisite does not supply their genuine Game Session owner composition or register a source receiver. The Account receiver’s focused physical-COMMIT and durable-ACK proof uses explicitly controlled reverse responses. These local components do not acknowledge issuer/region obligations or admit a binding; the [Player Access tracker](../../../project-management/implementation-tracking/player-access-and-session.md#canonical-new-admission-components) records component proof and remaining composition.

The initial-LOGIN PostgreSQL journal and exact original-attempt cleanup owner are unregistered source preparation, with no new Game Session endpoint or legacy LOGIN handler composition. Their unregistered Account client authenticates the exact same-namespace Account mTLS peer and validates the explicit initial delegation profile, signature, original request/context, token hash, claim/projection equality and bounded nonsecret evidence. Its one transient invocation permits at most one transport reload/retry under the unchanged deadline. It also uses the original-request retirement contract. The result retains compact private-token bytes only in process; validation supplies neither current registry authority nor live context installation. Journal snapshots and typed closure fixtures supply no authenticated caller custody or physical Redis closure; the separate Redis adapter remains outside runtime composition. See the [canonical coordination contract](../../system-architecture-jwt-and-token-contracts.md#game-session-original-attempt-coordination) and [implementation tracker](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Before deploying the new Game Session admission validation, Automation must alre
- Prometheus scrapes metrics from `/actuator/prometheus`.
- Target state: logs, traces, and control-plane reads expose the active exact `{scriptPatchVersion, scriptPinEpoch}` execution fence so operators can identify the hotfix revision and selection epoch during incident triage without adding either raw value as ordinary high-cardinality metric labels. Current coverage is summarized in [Implementation Status](#implementation-status).

### 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. 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. 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).

## Scaling and Region Rebalancing

- 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.
Expand Down
Loading
Loading