Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
44675c5
Serve the run-owned fixture's World lifecycle through the canonical l…
benhook1013 Nov 20, 2026
f1515f2
Run Telnet JOIN on the run-owned fixture through the canonical chain
benhook1013 Nov 21, 2026
6384a7e
Keep the persisted catalog evidence form and inject the membership ge…
benhook1013 Nov 21, 2026
a71be0e
Add pre-v1 PLAY stand-ins for the issuer layout, incarnations and bud…
benhook1013 Nov 21, 2026
cb2143e
Carry the current Telnet admission parent into the PLAY slice
benhook1013 Nov 22, 2026
d5d366c
Compose run-owned Telnet PLAY through canonical admission
benhook1013 Nov 22, 2026
934d989
Fence fixture admission against its retained OPEN completion
benhook1013 Nov 22, 2026
aab5b3b
Preserve the run-owned fixture completion version floor
benhook1013 Nov 22, 2026
3ef0eb5
Reserve issuer capacity before fixture PLAY becomes provisional
benhook1013 Nov 22, 2026
af6077f
Authenticate tenant capacity on the shared Account service
benhook1013 Nov 22, 2026
e2eff6b
Establish player capacity in the run-owned fixture birth transaction
benhook1013 Nov 22, 2026
ee85f0b
Merge commit '479fc671f2f4d5ce88ce129f92a784d5e2c7453b' into claude/c…
benhook1013 Nov 22, 2026
2ee775b
Use the original lease deadline for fixture final admission
benhook1013 Nov 22, 2026
03f72ce
Resolve LOOK from the admitted run-owned starter room
benhook1013 Nov 22, 2026
473043b
Exercise malformed discovery evidence and exact protected RPC registr…
benhook1013 Nov 22, 2026
d9eae80
Give the run-owned admission services one CPU each
benhook1013 Nov 22, 2026
9c13b47
Report LOOK admission and room failures at their owning stage
benhook1013 Nov 22, 2026
f7c477c
Carry the protected LOOK owner prerequisites from #3474
benhook1013 Nov 22, 2026
0987334
Preserve the historical Human region cohort projection
benhook1013 Nov 22, 2026
ed6c3d7
Authenticate fixture LOOK with the exact Game Logic workload
benhook1013 Nov 22, 2026
f316a53
Keep published route and actor interceptor tests on the canonical pro…
benhook1013 Nov 22, 2026
5805ef2
Carry the exact Game Logic smoke leaf from #3474
benhook1013 Nov 22, 2026
8403ef3
Carry the tested WebSocket ingress and fixture tooling from #3474
benhook1013 Nov 22, 2026
80778fc
Prove canonical WebSocket and Telnet on independently fresh fixtures
benhook1013 Nov 22, 2026
295d9a7
Discover worlds before credential LOGIN on the WebSocket smoke
benhook1013 Nov 22, 2026
b35ac3f
Recognize canonical tenant and world selectors in smoke discovery
benhook1013 Nov 22, 2026
8e016ec
Create mock smoke certificate directories with a private umask
benhook1013 Nov 22, 2026
4022ab4
Refresh the canonical WebSocket world menu after login
benhook1013 Nov 22, 2026
96737c0
Bound WebSocket fixture discovery by its startup deadline
benhook1013 Nov 22, 2026
8314829
Check that fixture discovery uses its own startup deadline
benhook1013 Nov 22, 2026
2eba307
Refresh reviewed smoke fingerprints for the complete player flow
benhook1013 Nov 22, 2026
49567a5
Record canonical player admission on both fixture transports
benhook1013 Nov 22, 2026
4ffd9bc
Wait for first OPEN before both canonical smoke transports log in
benhook1013 Nov 22, 2026
7a43869
Keep the qualified player runtime tree on its compiling parent
benhook1013 Nov 22, 2026
a688b7c
Carry the guarded LOOK and historical issuer test fixes
benhook1013 Nov 23, 2026
afdb1e6
Match current and frozen region bridge test evidence
benhook1013 Nov 23, 2026
b98f1aa
Carry the verified Entity analyzer annotation
benhook1013 Nov 23, 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/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ jobs:
// Include held-admission proof, authenticated cleanup, and their executed inputs.
const canonicalPlayClassifierSha256 = {
"dev-tools/verify-smoke-images.sh": "6597800feb9604921a55be989e70247ec4610f81ac8c203f038429c1be7d0bc7",
"dev-tools/smoke/smoke_common.py": "74c37f2641b457eb6dda266f30222c5cc7448ab0ba14f374d413a7d6d54514e1",
"services/game-session-service/websocket-login-look-smoke.sh": "60bc796c04364706235816b02b1b495f1e1e2d260b6d36b093dd0ed2eb845d44",
"dev-tools/smoke/smoke_common.py": "523a3986814fcbdf91531ccc98fa36f3901ed91d311436870ae1a958f9e8bd18",
"services/game-session-service/websocket-login-look-smoke.sh": "7f10f11a36bc758ca5556e67c63cbcd5e3b67b893945a461d52f39958a4f15ad",
"dev-tools/smoke/demo-smoke-defaults.sh": "8c9aae1abf005b47af3f313e0d635a666c74776733bcf5278a2e11ac9c8a18fb",
"dev-tools/smoke/held-admission-qualification.sh": "b548a773f1786b72d40a3728052a336cb249257a3f40735f005b060812184ed3",
"dev-tools/smoke/held_admission_qualification.py": "2d118d7ba6a19dac7d8c717dbbbe25df6f04a3c186a3185135d1bdc5fc75b557",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ For direct text/Telnet, `HELP` is non-discovery, `WORLDS` is the sole anonymous
| `WORLDS` | Lists worlds visible to the caller. Before `LOGIN`, this is a public browse/discovery command intended to let players explore the platform before signing up or logging in. After `LOGIN`, it may also include caller-specific membership or entitlement context. | `WORLDS` |
| `HELP` | Returns static command/help content. It is non-discovery: it does not list worlds, realms, characters, membership, or admission state, and it does not replace `WORLDS`. | `HELP` |
| `REALMS <world>` | Requires successful `LOGIN` and lists visible realms for a world, where `<world>` is the stable `tenantSlug/worldSlug` selector or menu index returned by `WORLDS`. A bare `tenantSlug` is accepted only when that tenant exposes exactly one visible authored world; a bare `worldSlug` is never resolved globally. The default public production realm may be visible before membership exists; additional realms require explicit grants. | `REALMS demo/demo` |
| `JOIN <world>` | **Target-only; not currently implemented.** Explicitly joins the selected world's public production realm through the Account-owned idempotent membership writer. The resulting membership is durable and powers later return discovery. `<world>` follows the same tenant-scoped selector rules as `REALMS`. | `JOIN demo/demo` |
| `JOIN <world>` | Explicitly joins the selected world's public production realm through the Account-owned idempotent membership writer. The resulting membership is durable and powers later return discovery. `<world>` follows the same tenant-scoped selector rules as `REALMS`. | `JOIN demo/demo` |
| `CHARS <world> [realm]` | Requires successful `LOGIN` and presents Entity's persisted roster/policy result for the resolved realm. It is discovery evidence, not admission authority; `PLAY` revalidates the selected actor and current runtime fence. | `CHARS demo/demo production` |
| `PLAY <world> [realm] [character]` | Binds the authenticated connection to a world, optional realm, and optional character after the discovery, `LOGIN`, and conditional membership/character gates, enforcing tenant authorization, realm routing, and entitlements. Players may omit `[realm]` or `[character]` only when the fresh target resolution is unambiguous; direct text never reuses the first-party WebSocket discovery snapshot. A public-production player with missing or `INACTIVE` membership must complete `JOIN <world>` first when fresh joining policy permits; a closed policy denies that required join/repair without changing membership. Existing `ACTIVE` membership skips `JOIN` and is not denied `PLAY` solely because `allowPublicJoin=false`. A grant-backed non-public path may proceed only when its required durable `membershipLifecycleState=ACTIVE` membership already exists. `PLAY` returns `JOIN_REQUIRED` only for the eligible missing/`INACTIVE` public-production predicate and never creates or substitutes membership implicitly. | `PLAY demo/demo production Sora` |
| `LOOK` | Requests the current room snapshot aggregated from Game Logic plus World and Entity services. | `LOOK` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ The protected reservation retains the complete Account protection and original o

The completed `RUNNING` row version is immutable provenance and a lower bound for later lease-bound decisions. An ordinary owner save may advance the current row version; each decision still requires the actual current `RUNNING` state, a version no earlier than completion, and every original launch, target, protection and terminal binding. A stopped runtime or changed source does not acquire authority through a later version number.

For the run-owned Compose fixture, the lease-bound decision uses the fixture policy seal and retained runtime completion. The runtime fence locks the exact current fixture row, checks that its version is at least the completion version, and verifies the committed attempt, current OPEN pointer and matching audit identity. The same fence applies when the candidate becomes provisional and when its final receipt commits.

### Persisted actor admission boundary

Direct-text `CHARS` currently validates the Account identity and resolved realm target, then returns unavailable without invoking Entity's legacy roster adapter or accepting an `onCommand` event. Account bootstrap/HTTP character-roster discovery remains separate. The accepted contract remains in [ADR 0140](../../decisions/adr-0140-realm-authored-controllable-actor-entry.md), [Game Session protocols](./protocols.md), [Session Behavior](../../system-architecture-session-behavior.md), and [Authentication and authorization](../../system-architecture-authentication.md); implementation and proof status are tracked in [Realm Routing and Playable State](../../../project-management/implementation-tracking/realm-routing-and-playable-state.md) and [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ This is a non-normative implementation tracker for player access and session. Ca

## Current Status

The canonical Account cutover currently authenticates LOGIN but direct backend PLAY fails exactly `ERROR ENTITLEMENT_UNAVAILABLE`; LOOK and successful public admission remain unproved. The [temporary CI exception](#temporary-canonical-play-transition-exception) accepts only that classified failure after held-admission qualification and authenticated cleanup for labeled nonproduction cutover PR merge gating. It does not establish runtime success or permit image publication. Remove it with successful fresh-image backend LOGIN/PLAY/LOOK proof after repairing the Account entitlement cutover.
The run-owned Compose demo completes canonical LOGIN, WORLDS, REALMS, JOIN, PLAY, and LOOK over Telnet and the dedicated mTLS WebSocket in #3481. The fixture confines the pre-v1 stand-ins to the claimed deployment. Public browser admission, paid hosting, and production qualification remain open.

Account initial/current/final creation owners, explicit initial billing-owner consent, private Game Design create/close receivers, and original-bound dispatch/recovery are locally composed and unregistered. Focused receiving proof passes, while physical cross-owner qualification, protected Redis/source custody and public/default registration remain incomplete; proof limits are recorded below.

### Temporary canonical PLAY transition exception

The explicitly approved nonproduction canonical-cutover scope has a [bounded Smoke Gate diagnostic exception](../../architecture/system-architecture-cicd.md#pull-request-runtime-and-preview-chain), gated by the `canonical-play-transition` label and fresh evidence for the exact current PR tuple. The label does not authorize expanding that approved scope. The observed failure is successful backend LOGIN followed by exact direct-backend PLAY `ERROR ENTITLEMENT_UNAVAILABLE`, alone or with `Gameplay entitlement is temporarily unavailable. Retry PLAY shortly.` Held-admission denial qualification and authenticated cleanup pass, while LOOK and successful public admission remain unproved. The probe retains its failed Actions-native outcome and exact classified error. Runtime CI and Smoke Gate may pass under the bounded exception after successful authenticated cleanup; their summaries explicitly report that runtime qualification is absent. Image export, upload, typed publication handoff and trusted publication remain blocked for an exception attempt. Repair the canonical Account PLAYER_ADMISSION receiving chain and its Game Session PLAY consumer, then obtain successful fresh-image LOGIN → PLAY → LOOK before removing the exception and resuming trusted branch-image promotion. The integrated stack still leaves the canonical receiver unregistered and numeric PLAY entitlement reads denied; merely registering that receiver or restoring numeric subscription reads does not complete this obligation. This is nonproduction merge-gate accommodation, not activation authority.
The [bounded Smoke Gate diagnostic exception](../../architecture/system-architecture-cicd.md#pull-request-runtime-and-preview-chain) covered the earlier classified backend PLAY `ERROR ENTITLEMENT_UNAVAILABLE` after successful LOGIN, held-admission qualification, and authenticated cleanup. Its recorded outcome is diagnostic evidence for labeled exact PR comparisons. The #3461 → #3474 → #3481 stack leaves `canonical-play-transition` unset and uses normal Smoke Gate qualification.

### Pre-v1 gate waivers

Expand All @@ -28,19 +28,19 @@ Under ADR 0185 (no data carry-over before v1, proposed in #3459), Compose smoke
| World runtime installation for the run-owned Compose fixture is read from a root-owned inventory file (`PreV1ComposeRuntimeInstallationSource`) | A deployed installation controller that holds the completed installation and its workload incarnations through each launch commit |
| Account signer promotion uses self-attested validator readiness (`PreV1SelfAttestedReadinessDriver`) | A Pod-bound readiness receiver client and orchestrator that verifies each validator Pod's acceptance |
| The run-owned Compose fixture tenant is enrolled into Account from the Game Design receipt as a locator plus the authenticated `ResolveFreshTenantCreation` readback, with a provisioned demo entitlement (`RunOwnedFixtureDemoTenantEnrollmentDriver`) | The Account tenant-creation coordinator and an operator-provisioned entitlement for real tenants |
| Direct-text PLAY runs on the existing direct LOGIN until the authenticated LOGIN, WORLDS, REALMS and JOIN receiver lands (stacked straight after UUID PLAY is green) | Deployed Account JWT signer materializer and public-JWKS API binding, protected Coordination Redis (TLS, ACL, AOF acknowledgement) and the external Coordination qualification authority, then PLAY moved onto the authenticated receiver |
| The authenticated direct-text PLAY composition uses the run-owned fixture's scoped issuer, Coordination, actor, placement and capacity-budget stand-ins and the same-transaction player usage baseline | Deployed Account JWT signer and public-JWKS binding, protected Coordination Redis and qualification authority, production Entity actor and World placement owners, owner-provisioned quota budgets, and Account creator completion for fresh production tenant capacity |

### Direct-text scope and JOIN identifier cutover

The canonical Account boundary requires non-nil UUID tenant and game-instance identifiers. The held Game Session scope target now takes those UUIDs from `CanonicalPlayableTarget`, and its Account client validates the same canonical shape. JOIN correlation retains exact tenant equality. The numeric transport session identifier remains an independent, bounded positive-long coordinate: its original bytes, including leading zeros, are preserved through scope issuance and JOIN rather than replaced by the proxy connection UUID.

Selected client-wire and Account receiver tests exercise these contracts separately, including malformed identifiers and mismatches. They are not an actual paired Game Session-to-Account RPC or deployed composition proof. The lobby, Account's canonical realm-scope owner and JOIN consumers (`AccountCanonicalRealmAdmissionConfiguration`) and Game Session's Account-only admission decision read (`CanonicalGameplayAdmissionDecisionReadConfiguration`) are now registered, and Account's PLAY receivers (entitlement read, admission lease, tenant capacity) are registered by `AccountGameplayAdmissionReceiversConfiguration`. Paid hosting sources are not composed there, so paid tenants fail closed. Runtime REALMS/JOIN proof and public admission remain unfinished (#3474). The observed backend PLAY `ENTITLEMENT_UNAVAILABLE` is a separate recorded failure. The temporary CI exception supplies neither successful JOIN/PLAY proof nor runtime activation.
Selected client-wire and Account receiver tests exercise malformed identifiers and mismatches. Game Session's authenticated direct-text lobby uses Account's canonical realm-scope, JOIN, entitlement, lease, and capacity owners after the fixture's first `OPEN`. Fresh Telnet smoke and fresh mTLS WebSocket smoke in #3481 each returned `OK LOGIN`, `OK WORLDS`, `OK REALMS`, `OK JOIN`, `OK PLAY`, and `OK LOOK` on one connection, reading `Candle-lit Antechamber` (`R-1`). WebSocket polls for the first discoverable world at startup, then refreshes the world menu after LOGIN starts authenticated custody. Telnet terminal evidence records the committed physical binding readback, all three owner acknowledgements, and one reserved Account capacity unit. LOOK reads the mapped World room around the Entity empty-ground check. The Account registration serves the verified demo source with method-specific mTLS guards. Paid hosting remains held pending its owning composition.

This is an intentionally breaking preproduction format cutover of the manually composed, currently unregistered lobby. No production rollback or migration compatibility is claimed. Numeric-era retained scope/JOIN bytes are not supported by the canonical UUID decoder; the existing SQL retention and exact-original identity guards remain unchanged. Repository inspection establishes no runtime registration and supplies no inventory of deployed rows. Existing-data verification belongs to future runtime wiring or activation, not a new merge gate or slicing requirement for this PR: before reusing any database populated by an earlier manual composition, establish whether numeric-era companion evidence exists. If it does, preserve that evidence and resolve its retention and recovery requirements before invoking the new owner against it; neither this cutover nor the temporary CI exception authorizes deletion, identity rewriting or retention bypass. Fresh component fixtures do not prove historical compatibility.
The preproduction format cutover requires canonical UUID scope and JOIN bytes. Existing SQL retention and exact-original identity guards continue to apply. Before activating an existing database populated by an earlier manual composition, establish whether numeric-era companion evidence exists. Preserve that evidence and resolve its retention and recovery requirements before invoking the canonical owner against it. Fresh Compose proof covers a newly initialized database.

### Canonical receiving capability boundaries

The Account source/transport foundation contains unregistered TENANT_OPERATION and PLAYER_ADMISSION owners, transports and controlled proof, Entity persisted-actor discovery, and policy-aware Game Session discovery. These do not replace live PLAY authority. The public receiving boundary contains canonical UUID schema retirement, the public facade/JOIN cutover, initial hosting provider-write source with its focused units, and dependent physical proof. Private FRESH/World preparation remains a separate receiving obligation. A functioning canonical PLAY replacement remains unqualified; no caller custody, runtime registration, admission or activation is established by these source boundaries.
The Account source/transport foundation prepares TENANT_OPERATION and PLAYER_ADMISSION owners, transports and controlled proof, Entity persisted-actor discovery, and policy-aware Game Session discovery. The public receiving boundary contains canonical UUID schema retirement, the public facade/JOIN cutover, initial hosting provider-write source with its focused units, and dependent physical proof. Private FRESH/World preparation remains a separate receiving obligation. The run-owned demo qualification above covers the registered direct-text path. These foundation proofs leave production caller custody, default runtime registration, and activation open.

### Strict tenant-capacity owner preparation

Expand Down
2 changes: 2 additions & 0 deletions dev-tools/smoke/pre-v1-signer-fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ def main():
inventory_path.unlink()
inventory_path.write_text(json.dumps(world_inventory, separators=(",", ":")))
os.chmod(inventory_path, 0o444)
# The non-root World container must traverse this read-only bind mount under any host umask.
os.chmod(world, 0o755)

(out / "identity.json").write_text(json.dumps(identity, indent=2) + "\n")
os.chmod(out, 0o755)
Expand Down
4 changes: 4 additions & 0 deletions dev-tools/smoke/pre-v1-signer-fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ prepare_pre_v1_signer_fixtures() {
export FIREMUD_PRE_V1_SIGNER_FIXTURES FIREMUD_PRE_V1_NAMESPACE_UID FIREMUD_PRE_V1_CLUSTER_UID \
FIREMUD_PRE_V1_CONFIG_MAP_UID
unset FIREMUD_SMOKE_FIXTURE_WEBSOCKET_CERTIFICATE_SHA256
if [[ "${FIREMUD_SMOKE_INITIAL_ADMISSION_FIXTURE_ENABLED:-false}" == true \
&& "${FIREMUD_SMOKE_ADMISSION_QUALIFICATION:-baseline}" == baseline ]]; then
prepare_run_owned_websocket_client "$cert_root" || return 1
fi
}

prepare_run_owned_websocket_client() {
Expand Down
Loading
Loading