Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -70,7 +70,7 @@ This target contract is not complete in the current service. The existing `secur

The prepared selected gameplay-rule intake authorization, source-reservation/recovery, read and terminal-settlement owners are standalone and unregistered. Their typed transports add no available API or caller authority. Before enabling any standalone intake receiver (authorization, source read, HELD read, or settlement), its inbound message limit must accommodate the applicable 24 MiB codec bound: authorization and HELD read use `GameLogicIntakeAuthorizationGrpcCodec.MAX_WIRE_BYTES`; source read uses `GameLogicIntakeSourceReadProtoCodec.MAX_WIRE_BYTES`; settlement uses `AccountGameLogicIntakeSettlementEvidence.MAX_WIRE_BYTES`. The authorization receiver also carries the unchanged protected creator credential in binary metadata, so its inbound metadata limit must accommodate `AccountGameLogicIntakeAuthorizationCredentials.MAX_METADATA_BYTES`, which includes base64 wire encoding of the existing 16 KiB credential maximum plus metadata overhead. Binding a service configures neither limit. These are required receiver configurations, not claims about current deployment. The [Account prerequisite tracker](../../../project-management/implementation-tracking/player-access-and-session.md#selected-gameplay-rule-intake-authorization-prerequisite) records qualification and receiving pipeline gaps.

The original StartSession admission-protection acquisition owner has manually composed source without a default registered caller or runtime path. The internal acquisition contract and its authenticated bounded transport are below. The retained settlement schema, typed read interface and closed codec define the separate Account-purpose Game Session owner read; its network client, receiving executor and Account settlement coordinator belong to successor #3341. Pending protection continues to exclude source writers until exact authenticated settlement; the retained contract grants no runtime admission or activation. The [Account storage consequence](./runtime-and-data.md#original-startsession-source-protection-storage) and [focused proof tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-source-protection-storage) retain the exact boundary and remaining qualification.
The original StartSession admission-protection acquisition and settlement owners now have manually composed source, but no default registered caller or runtime path. The internal acquisition contract and its authenticated bounded transport are below; settlement consumes the separate Account-purpose Game Session owner read. Neither source composition grants runtime admission or activation. The [Account storage consequence](./runtime-and-data.md#original-startsession-source-protection-storage) and [focused proof tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-source-protection-storage) retain the exact boundary and remaining qualification.

The initial private gameplay LOGIN owner, signer, registry, and response-recovery code is present as unregistered Account source, with focused proof sources. Before its final Account transaction, the commit source publishes the current issuer and Account projections and requires an exact matching observation; publication or observation failure denies the commit. Caller currentness and response recovery may use an older committed signer generation only while the exact original public-key fingerprint remains in the current trusted JWKS and current owner evidence, including the original issuance JTI, still matches; the applicable authority, API, source, expiry, and compromise fences remain required. This does not add or activate an API, proto method, or Spring composition; the source has no caller-selected profile or property override. See the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake) for exact proof scope; deployed ACL/TLS, signer-key custody, caller authentication, gameplay admission, and runtime activation remain unproved.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The selected-recipient intake source prepares distinct Entity/Automation source

The additive [V1003 source-protection storage](../../../../services/account-service/src/main/resources/db/migration/V1003__original_start_session_source_protections.sql) provides passive original StartSession admission and activation protection relations and source-writer exclusions. It adds no registered producer or transport. Qualification and remaining composition gates are recorded in the [source-protection tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-source-protection-storage).

The manually composed admission acquisition owner reads the retained original Account participation and Game Session attempt in a short transaction, obtains a fresh authenticated Game Session current-attempt read with no Account transaction open, then uses Account's existing currentness callback and source-key-before-protection lock order to install or replay the immutable protection. A separate committed read verifies the exact current protection bytes. Settlement requires the retained protection, an exact authenticated Game Session terminal read outside SQL, the matching immutable Account settlement and independent receipt readback. The retained storage, schema, typed interface and closed codec supply integrity prerequisites; the network client, receiving executor and Account settlement coordinator belong to successor #3341. Until exact settlement is available, protection retains Account's source-writer exclusion. A missing, pending, unavailable, expired, or mismatched result cannot release that exclusion or renew the original lease. The acquisition source remains unregistered and provides no production admission or activation path. The [API contract](./api-contracts.md#startsession-admission-protection-acquisition) owns the transport boundary, and the [Player Access tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-source-protection-storage) owns proof status.
The manually composed admission acquisition owner reads the retained original Account participation and Game Session attempt in a short transaction, obtains a fresh authenticated Game Session current-attempt read with no Account transaction open, then uses Account's existing currentness callback and source-key-before-protection lock order to install or replay the immutable protection. A separate committed read verifies the exact current protection bytes. The settlement owner reads the retained protection, obtains the exact Game Session terminal through its purpose-specific authenticated read outside SQL, stores the matching immutable Account settlement, and independently reads that receipt back. A missing, pending, unavailable, expired, or mismatched result does not release Account's source-writer exclusion; neither acquisition nor settlement renews the original lease. These source owners remain unregistered and provide no production admission or activation path. The [API contract](./api-contracts.md#startsession-admission-protection-acquisition) owns the transport boundary, and the [Player Access tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-source-protection-storage) owns proof status.

Account has an unregistered initial private gameplay LOGIN source slice for request-bound credential digests, signer and JWKS trust, pending and committed registry ownership, authority projection reads, and encrypted response recovery. Before its final Account transaction, the commit source publishes the current issuer and Account projections and requires an exact matching observation; publication or observation failure denies the commit. Caller currentness and response recovery may use an older committed signer generation only while the exact original public-key fingerprint remains in the current trusted JWKS and current owner evidence, including the original issuance JTI, still matches; the applicable authority, API, source, expiry, and compromise fences remain required. The source fixes the explicitly approved `game-session-account-delegation` profile and has no caller-selected profile or property bypass. It adds no endpoint or runtime registration; deployed ACL/TLS, signer-key custody, caller authentication, consumer authorization, gameplay admission, and runtime activation remain unproved. See the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#initial-private-gameplay-login-issuance-source-intake) for exact unit and physical fixture proof scope.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ The response reports the existing persisted assignment operation UUID, intent di

This read authenticates historical assignment provenance only. It does not revalidate current Account eligibility, settle a protection, grant `PLAY`, initialize location or activate a runtime. World independently owns the [initial placement boundary](../world-management-service/api-contracts.md#canonical-initial-player-location).

## Initial runtime actor reference

`CanonicalPreseededActorAssignmentService.ReadPreseededActorRuntimeReference` is a distinct read for the exact same-namespace Game Session workload. It loads the actual Entity-owned projection for the original assignment, full expected target and character; it never allocates or backfills a missing projection. The [Entity runtime projection owner](./runtime-and-data.md#initial-runtime-actor-projection-and-reference) defines allocation, uniqueness, retained generations and nonreuse. The response carries that typed scoped numeric runtime identity, projection generation/fence and complete original assignment provenance in a closed bounded envelope. The existing assignment and World-only receipt messages retain their character-UUID semantics and immutable bytes.

The service authenticates this method's Game Session peer before selector decoding, rejects unknown or malformed fields and mismatched scope/provenance, and bounds both request and response at its manual transport boundary. It returns no reference for missing, stale or contradictory projection state and exposes no general entity lookup. Peer failure returns `PERMISSION_DENIED`; malformed selectors return `INVALID_ARGUMENT`; an absent or stale projection returns `NOT_FOUND`, including quarantine or selector drift; contradictory provenance returns `FAILED_PRECONDITION`; transient data-access or transaction failures return `UNAVAILABLE`; other failures return `INTERNAL`. This read preserves `NOT_FOUND` for absent or stale projections, while the assignment write maps a dependency `NOT_FOUND` to `FAILED_PRECONDITION`. The method's narrow manual composition does not register a production handler, authorize an unsupported replacement or confer placement, region ownership, player admission or activation. Game Session independently joins its [World initial-location read](../world-management-service/api-contracts.md#canonical-initial-player-location) and current region lease before using the reference in a binding bridge.

## Player-created roster and selected character

`CanonicalGameplayRosterService.ListPlayerCreatedRoster(CanonicalPlayerCreatedRosterRequest)` and `ReadSelectedPlayerCreatedCharacter(CanonicalSelectedPlayerCreatedCharacterRequest)` are distinct non-admitting Entity owner reads. They require the exact authenticated same-namespace Game Session workload over mTLS and a closed `PlayerExecutionContext` whose operation, account, session, tenant, realm, playable namespace/scope and runtime instance agree with the request and full target. Listing has no selected actor; selected readback requires `context.character_id` to equal the requested actor. Entity independently obtains and compares the complete current published `PLAYER_CREATED` source, descriptor, policy, canonical version and `SHARED` target before local work. Missing, changed or unsupported source evidence fails closed. `ListPreseededRoster` and `ReadSelectedPreseededAssignment` remain strictly `PRESEEDED_ONLY`; `AUTO_PROVISIONED` is unsupported by these roster methods.
Expand Down
Loading
Loading