Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
2f2572a
Define non-admitting canonical Entity roster wire contract
benhook1013 Oct 8, 2026
fa9069f
Prepare canonical Game Session roster and assignment source reads
benhook1013 Oct 8, 2026
14c03d5
Stack canonical roster wire on published Game Design source foundation
benhook1013 Oct 8, 2026
4108d70
Preserve canonical launch producer and non-admitting Game Session pre…
benhook1013 Oct 8, 2026
6d8ce7d
test(game-design): prove canonical launch reader peer matrix
benhook1013 Oct 8, 2026
a4673a6
Compose canonical launch and Game Session preparation on published ro…
benhook1013 Oct 8, 2026
57953d2
Bind canonical roster selection to immutable snapshot evidence
benhook1013 Oct 8, 2026
b9be392
Bind preseeded roster reads to trusted player context and policy
benhook1013 Oct 8, 2026
d722db6
Close canonical launch wire and retained proof compilation
benhook1013 Oct 8, 2026
a6efc8f
Keep roster selection readback non-authorizing
benhook1013 Oct 8, 2026
13fdd4a
Merge commit 'a6efc8fe192de77192f062c454697234ebd5e101' into codex/ga…
benhook1013 Oct 8, 2026
881bffb
Bind roster consumer reads to typed player context and exact snapshot
benhook1013 Oct 8, 2026
32924d7
Define roster selection as original persisted Entity assignment evidence
benhook1013 Oct 8, 2026
ee968be
Merge commit '32924d716' into codex/gameplay-gs-roster-source-read-20…
benhook1013 Oct 8, 2026
377b056
Format roster consumer and complete focused rejection fixture
benhook1013 Oct 8, 2026
777964c
Merge commit '010cbd7668ba96357985e632c66f4d2d9452edb2' into codex/ga…
benhook1013 Oct 8, 2026
bd66aef
Merge commit 'db7a85455' into codex/gameplay-entity-roster-wire-20261009
benhook1013 Oct 8, 2026
9b086a8
Merge commit '777964c6d47e06ef67a56dfac4d2a9fa53f88a39' into codex/ga…
benhook1013 Oct 8, 2026
2a23188
Merge branch 'codex/gameplay-entity-roster-wire-20261009' into codex/…
benhook1013 Oct 8, 2026
0676d79
feat(game-session): compose non-admitting owner roster selection
benhook1013 Oct 8, 2026
582f75d
Merge commit 'd7b0417c0442172bb46fdf6754674c89e90e28d0' into codex/ga…
benhook1013 Oct 8, 2026
5f0b533
Merge commit '582f75d395ab042b4d6d163783e3736f727415fc' into codex/ga…
benhook1013 Oct 8, 2026
3e2e406
Align roster owner adapter fixture with sealed policy namespace
benhook1013 Oct 8, 2026
6936625
Distinguish canonical launch wire from target plugin extensions
benhook1013 Oct 8, 2026
b7597d8
Bind roster ordinal selections to the displayed snapshot
benhook1013 Oct 9, 2026
05851d5
Reject malformed launch runtime flags before sealing success
benhook1013 Oct 9, 2026
d964949
Merge commit '6fd9b420daedbe3a24461d087a1e2a8224ee2cb4' into codex/ga…
benhook1013 Oct 9, 2026
ea0dedb
Reconcile source foundation preserving canonical launch proof status
benhook1013 Oct 9, 2026
e892ef7
Merge commit '24e291cc1a9020859782e17b151ceb780d3a6d4f' into codex/ga…
benhook1013 Oct 9, 2026
dec952f
Merge branch 'codex/gameplay-entity-roster-wire-20261009' into codex/…
benhook1013 Oct 9, 2026
cdf5086
fix: align roster proof fixture and immutable-target analysis
benhook1013 Oct 9, 2026
f06fc01
Merge commit '04e403da9d07a0cae264b534e5c13f032f0b18fd' into codex/ga…
benhook1013 Oct 9, 2026
ec1e2d4
Merge commit 'f06fc019a2fb3782aa42ba5d9ea17abce894d8e4' into codex/ga…
benhook1013 Oct 9, 2026
5bf00b2
test(game-design): target actual retained launch migration predecessor
benhook1013 Oct 9, 2026
348c0a1
Merge commit '3d88652c1b16b655bb4bd2d7c4f311fc5e830c43' into codex/ga…
benhook1013 Oct 9, 2026
24ea7f2
Merge commit '348c0a169539126e1b04f16b2aaf85c312415390' into codex/ga…
benhook1013 Oct 9, 2026
ce134c3
Merge commit '58643bc90764bbd1b32735bc7f7c4369b12f06e6' into codex/ga…
benhook1013 Oct 9, 2026
1dc1f7f
Merge commit 'ce134c3683a8685891477da1d7436bd6d7328e06' into codex/ga…
benhook1013 Oct 9, 2026
079a670
test: honor explicit launch selections in preparation evidence
benhook1013 Oct 9, 2026
a063dc4
fix(game-session): align canonical source migration and retained fixt…
benhook1013 Oct 9, 2026
8328b0a
Merge commit 'e764f85eb' into codex/gameplay-entity-roster-wire-20261009
benhook1013 Oct 9, 2026
bb1a5c7
Merge commit '8328b0ad5' into codex/gameplay-gs-roster-source-read-20…
benhook1013 Oct 9, 2026
7bc6496
Merge commit '74b43902bf3efe6c9e0af046ee3baa1c29d8eec0' into codex/ga…
benhook1013 Oct 9, 2026
df54e24
Merge commit '7bc6496117493015e289cfe4a11c2ba0ef8eaa3a' into codex/ga…
benhook1013 Oct 9, 2026
3858b27
style: format reconciled launch descriptor integration proof
benhook1013 Oct 9, 2026
6cd7e79
fix: persist complete authored source identity in launch outcomes
benhook1013 Oct 9, 2026
121ec90
Merge commit '7af572b66' into codex/gameplay-entity-roster-wire-20261009
benhook1013 Oct 9, 2026
f4ea42d
Merge commit '121ec901d' into codex/gameplay-gs-roster-source-read-20…
benhook1013 Oct 9, 2026
9b4a2b8
style: format complete launch source identity proof
benhook1013 Oct 9, 2026
e201e8a
test: prove non-null canonical launch fixture version
benhook1013 Oct 9, 2026
1e27696
Merge commit '1149fda52' into codex/gameplay-entity-roster-wire-20261009
benhook1013 Oct 9, 2026
cb2d0f6
Merge commit '1e2769614' into codex/gameplay-gs-roster-source-read-20…
benhook1013 Oct 9, 2026
bea0741
Reconcile Entity roster wire stage with current policy source parent
benhook1013 Oct 11, 2026
efdf1bd
Merge commit '902ba9c58407208949e6362352b578c52a1371d6' into codex/ga…
benhook1013 Oct 11, 2026
f8b9b97
Reconcile retained roster source with current launch and owner-read p…
benhook1013 Oct 11, 2026
9116443
Merge commit '785d084ab0686d44dd3639eb503a5b7267809b78' into codex/ga…
benhook1013 Oct 11, 2026
957dc5e
Restore canonical descriptor test helpers after roster reconciliation
benhook1013 Oct 11, 2026
209b8af
Merge commit '8f3be450e35832343104a5aff6418ba30298c3e6' into codex/ga…
benhook1013 Oct 11, 2026
f6ed212
Merge commit 'e60415bed7' into codex/gameplay-entity-roster-wire-2026…
benhook1013 Oct 11, 2026
de32fef
Merge branch 'codex/gameplay-game-design-policy-source-20261009' into…
benhook1013 Oct 11, 2026
872737c
Merge commit 'a4515e6e6a02100d7d975d5fe776e3cc730bbe62' into codex/ga…
benhook1013 Oct 11, 2026
b4f44f8
Merge commit '90678b8a10071c47f1b2074746fe8f23e207572d' into codex/ga…
benhook1013 Oct 11, 2026
e32040c
Merge commit '1d364053851bcb308ef364ad7d0dad57e11534de' into codex/ga…
benhook1013 Oct 11, 2026
3ae8b07
Merge commit '0081ff62b13a4b32e2478c5a0092b8767da5f2bc' into codex/ga…
benhook1013 Oct 11, 2026
b67be6e
Merge commit '8b61c83db9fd0ea40ec6b315cd1357e0c7509306' into codex/ga…
benhook1013 Oct 11, 2026
3e3e423
Merge commit '252df26ef6bbf995d594ee8dccb8c4f8f8963d89' into codex/ga…
benhook1013 Oct 11, 2026
3ee73fb
Align roster source fixtures with canonical evidence contracts
benhook1013 Oct 12, 2026
f9ae4d5
Reconcile publication source while preserving canonical roster wire
benhook1013 Oct 12, 2026
71dc2b2
Carry preserved receiving correction into roster wire parent
benhook1013 Oct 12, 2026
55bd14e
Preserve roster wire and align composed denial and migration fixtures
benhook1013 Oct 12, 2026
30e0079
Compose canonical Entity roster wire with passive Game Session reads
benhook1013 Oct 12, 2026
d0f5b5b
Carry current parent Account repairs into combined roster consumer
benhook1013 Oct 12, 2026
38c67d1
Carry bounded retained replay into roster source stage
benhook1013 Oct 12, 2026
e71bf38
Carry LOGIN and replay fixes into roster source stage
benhook1013 Oct 12, 2026
a95e749
Carry current LOGIN review fixes into roster source preparation
benhook1013 Oct 12, 2026
7ca0c72
Merge corrected gameplay currentness and Account proof into roster so…
benhook1013 Oct 12, 2026
da1a3fb
Merge current Account and World proof into roster source
benhook1013 Oct 12, 2026
6738541
Merge commit '103db4ac95315b739f5375a3f46151450f02f8d3' into codex/ga…
benhook1013 Oct 12, 2026
5c88837
Merge commit 'f6e35598dbd4a9dd43857abebecff45458c34d92' into codex/ga…
benhook1013 Oct 12, 2026
ccfd0d8
Merge commit '0b21d52d18afbc8d869abc94878978fd133a3473' into codex/ga…
benhook1013 Oct 12, 2026
04179f5
Merge commit '188362e01e9da3492313f8f6b4718ebb9b646d73' into codex/ga…
benhook1013 Oct 12, 2026
12f2a7c
Merge commit '2d3511703512b55edfaa2644d0c6692cd4363e4e' into codex/ga…
benhook1013 Oct 12, 2026
9a79fb8
Merge commit '64d0bcc7501b93e0d472723c95b950c4d67e7147' into codex/ga…
benhook1013 Oct 12, 2026
5de28e1
Merge commit 'b46bd3daa12fa634784ac3a4cf0fb3896fe6c993' into codex/ga…
benhook1013 Oct 12, 2026
0239772
Carry upstream authored source review and registry corrections
benhook1013 Oct 13, 2026
198aa77
Carry final authored source proof and canonical formatting
benhook1013 Oct 13, 2026
730171d
Reconcile upstream develop ancestry after owner tuple merge
benhook1013 Oct 13, 2026
f8c8056
Merge commit 'de90b1d4cc55a2988bafc4129518775f61fe1748' into codex/ga…
benhook1013 Oct 13, 2026
0c310c5
Merge commit 'c0b80749e30ad46e396dac4d17afba09e9a00377' into codex/ga…
benhook1013 Oct 13, 2026
70fe6dd
Merge commit '4499a7f46113bef9d2c2fb4fc8555cf68522eb9d' into codex/ga…
benhook1013 Oct 13, 2026
1b89f28
Merge commit '3a28f8fb19659704088160a22b746486ad4b7b85' into codex/ga…
benhook1013 Oct 13, 2026
759524f
Merge commit '053fddf4558e0f2a7c4970791c608132d3256711' into codex/ga…
benhook1013 Oct 13, 2026
a005527
Merge commit '8a85adf28f9022f59c442de0f4fe87b818e28656' into codex/ga…
benhook1013 Oct 13, 2026
b0ce2ba
Carry final Game Design receipt and visibility fixes into roster reads
benhook1013 Oct 13, 2026
65bf729
Carry qualified Game Design source repairs into roster stage
benhook1013 Oct 13, 2026
e9e98d6
Carry qualified terminal replay and current-schema source proof into …
benhook1013 Oct 13, 2026
f3e70c2
Carry qualified command source deletion proof into roster review fixes
benhook1013 Oct 13, 2026
bb61225
Classify owner read failures and preserve roster and retained request…
benhook1013 Oct 13, 2026
d68f4ee
Reconcile roster source after human merge of Game Design prerequisite
benhook1013 Oct 13, 2026
82cc9ec
Fix roster denial mappings and review proof alignment
benhook1013 Oct 13, 2026
1d66904
Merge commit '1690c95f038ae57476442c5f98ce83d00a7cf973' into codex/ga…
benhook1013 Oct 13, 2026
56ed784
Share canonical roster target validation and clarify source contracts
benhook1013 Oct 13, 2026
ff8b902
Unify typed roster validation and prove tenant mismatch denial
benhook1013 Oct 13, 2026
225540d
Merge commit 'be595ea54e5c2382d4a0749bdb7e7b1d0f928f55' into codex/ga…
benhook1013 Oct 13, 2026
6ac7420
Merge commit 'b43f4c2450796eb19dbe84d08219f9d16aecaed8' into codex/ga…
benhook1013 Oct 13, 2026
55c6ecb
Bind World stub tests directly to ephemeral ports
benhook1013 Oct 13, 2026
3451072
Clarify launch method authentication and explicit owner-read test stu…
benhook1013 Oct 13, 2026
7d8effc
Map assignment precondition denials by selection context and clarify …
benhook1013 Oct 13, 2026
749eadd
Prove UUID legacy tenant denial alongside blank tenant rejection
benhook1013 Oct 13, 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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Authoritative read surfaces worth wiring into creator/operator tooling:

Current capability and proof gaps remain: Game Session's exact pin/epoch persistence and convergence, plus its append-only rollout-history append/readback, are partial and unproved; Game Design plugin publication currently uses the signed-only intake path and exposes one allowlisted `signerKeyId` rather than the target complete `verifiedSignatures[]` set. The ADR 0111 operator-permitted unsigned provenance path remains unimplemented. Draft commit coordination, owner-local compare-and-swap, and the synchronized read fence in [ADR 0129](../../decisions/adr-0129-durable-fenced-multi-owner-draft-commits.md) are also target-state and unproved. The official-hosted creator mutation gate in [ADR 0180](../../decisions/adr-0180-account-owned-hosted-terms-acceptance-gate.md) and changed-term continuity in [ADR 0181](../../decisions/adr-0181-changed-hosted-terms-decline-and-existing-content-continuity.md) are also target-only: no Account evidence check, stale-write classification, or durable tenant/evidence binding is implemented or proved. The target 25 MiB file limit, 2 GiB tenant quota, and streaming/chunked transfer for asset uploads are not implemented or proved. Current `GameAssetServiceImpl` refuses before accessing the multipart body or repository because Account commit-bound owner proof is unavailable; this fail-closed response does not establish upload readiness or resource-safety proof. The service exposes only the creator `POST /assets` path, with no public asset `GET`/download route. The private export mechanics write content-addressed artifact and manifest objects, but public/Temporal full-version ingress remains fail-closed, and durable private-candidate isolation and approved public `/assets/**` delivery remain unimplemented. Current asset repair, lifecycle CAS, and release-attestation gaps are recorded in [Asset Storage](./asset-storage.md), and the following target-state script-patch and release-bundle descriptions are not current implementation proof. See the [Game Session runtime and tick coordination tracker](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#capability-status), [modding-framework.md](./modding-framework.md), [ADR 0111](../../decisions/adr-0111-unified-dsl-with-distinct-embedded-script-and-plugin-lifecycles.md), and [ADR 0128](../../decisions/adr-0128-game-design-plugin-trust-provenance.md).

### Authored-World Launch Boundary

The canonical authored-world launch slice includes source-qualified ResolveLaunchDescriptor and exact independent GetLaunchDescriptor. Target `GetCompleteLaunchBinding` returns the exact descriptor and release-attestation evidence separately; current production `GetCompleteLaunchBinding` authenticates exact same-namespace candidate peers, then returns `PERMISSION_DENIED` before request validation or owner reads. Game Session's evidence-only preparation and focused proof sources are present; capability and proof gaps are recorded in the [implementation tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#launch-activation-cutover-and-termination). Numeric launch selectors are non-authorizing.

## Responsibilities

- Provide REST/gRPC tools and a web UI for editing game assets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ The protobuf service definitions under [../../../../protos/game-design/v1](../..

For REST endpoints, the authoritative request/response schema source is [openapi.yaml](../../../../services/game-design-service/src/main/resources/openapi.yaml). Design-doc examples should be updated to match when those schemas evolve.

## Authored-World Launch Binding

Launch resolution is authorized by an exact canonical authored-world source, not by a legacy numeric tenant selector, a template/default tuple alone, or retained Game Session instance metadata. ResolveLaunchDescriptor binds a canonical non-nil tenant UUID, worldSlug, authored-source operation UUID and expected source-evidence digest to the control-plane request and template selection. Optional inputs retain explicit presence in the closed request digest. Game Design verifies source evidence and template ownership, then persists one immutable descriptor outcome for the exact namespace, tenant, and controlPlaneRequestId; exact retries return that original result or deterministic denial, while changed request or source scope cannot replace it. The response carries the complete authored-world request/result evidence needed for independent verification.

GetLaunchDescriptor is a separate exact read using a fresh non-nil read-request UUID, canonical tenant UUID, world slug, control-plane request ID, and expected request/result digests. A caller compares this committed readback with the original resolve response; a successful resolve response alone is not committed-evidence proof. GetCompleteLaunchBinding reads the same exact descriptor together with its matching immutable full-version release attestation, including participant digests and manifest/artifact evidence. Descriptor evidence and release attestation remain separate digested objects and must not be substituted for one another. These reads are read-only and do not authorize Game Session instance creation, World activation, admission, or PLAY.

The target caller matrix is: launch resolution accepts only the exact same-namespace Game Session workload identity; descriptor readback accepts same-namespace Game Session or World Management; complete-binding readback accepts same-namespace Game Session, World Management, or Entity Management. Target behavior rejects absent/malformed peer identity, noncanonical or nil UUIDs, and unknown request fields before owner reads. Legacy numeric Game Session launch selectors fail closed and are not translated into this contract. The base and production gRPC public-method lists include `ResolveLaunchDescriptor`, `GetLaunchDescriptor`, and `GetCompleteLaunchBinding` to bypass bearer validation; each method retains its method-specific same-namespace mTLS peer check.

Current limitation: `GetCompleteLaunchBinding` authenticates those exact same-namespace candidate peers and then returns `PERMISSION_DENIED` before request validation or owner reads. No production owner-read permission or activation authority is enabled; see the [implementation tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#launch-activation-cutover-and-termination).

## Fresh-Tenant Prerequisite Implementation Status

The owner-local fresh-creation repository and exact Account/Game Session mTLS receipt read are implemented; authenticated creator authorization, Account enrollment, runtime admission, and playable proof remain unavailable. No creation RPC or activation is introduced. Current validation evidence and remaining gaps are recorded in the [implementation tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#fresh-tenant-identity-prerequisite).
Expand Down Expand Up @@ -132,7 +142,9 @@ The published realm-policy owner read is present behind the default-off `firemud
- `GetDesignControlPlaneDigest` – digest surface for publish gating over normalized metadata.
- `GetTemplateReferencePhase` – **Target state only; absent from the current proto and implementation:** returns the persisted normalized-reference enforcement phase (`BACKFILLING`, `VALIDATED`, `ENFORCED`) used by instance-creation and retirement workflows.
- `GetPublishedReleaseBundle` – authoritative read surface for immutable release attestation used by activation, cutover preflight, and repair workflows. It also carries the canonical publish workflow identity and workflow-runtime status for operators. `NOT_FOUND` means the target version is not publish-complete; `SCHEMA_VERSION_UNSUPPORTED` means callers must fail closed until they understand the attestation schema.
- `ResolveLaunchDescriptor` – resolves template metadata and control-plane inputs into one immutable launch descriptor for a game-instance creation attempt. The request must include `controlPlaneRequestId`, and repeated calls for the same launch attempt must return the same descriptor values without re-resolving to newer attestation or patch state. The resolved descriptor now carries the real version-state CAS epoch rather than a derived release-bundle surrogate, and deterministic launch-preflight failures such as `RELEASE_BUNDLE_NOT_FOUND` and `LAUNCH_REMAP_REQUIRED` are returned as normal app errors rather than generic invalid-input collapse. When a cross-version replacement launch is valid, the descriptor now freezes the approved persisted `remapSetId` for the source/target version pair.
- `ResolveLaunchDescriptor` – resolves an exact canonical authored-world source, tenant/world selector, template, and closed optional override tuple into one immutable source-qualified descriptor. The descriptor contains request/result digests and source operation/evidence identity; exact retries replay the stored outcome, and changed reuse fails closed.
- `GetLaunchDescriptor` – independently reads the exact committed descriptor by read-request UUID, canonical tenant, world slug, control-plane request ID, and expected request/result digests.
- `GetCompleteLaunchBinding` – **Target behavior:** returns that exact descriptor together with its matching full-version release attestation and artifact/manifest evidence; it does not infer or authorize runtime admission. **Current behavior:** authenticates the exact same-namespace candidate peer, then returns `PERMISSION_DENIED` before request validation or owner reads.
- `CreateTemplateRemapSet` / `ApproveTemplateRemapSet` / `GetTemplateRemapSet` – authoritative control-plane APIs for persisted version-to-version remap identities and their audit history. Game Design owns the `remapSetId` namespace consumed by replacement launch resolution and later cutover preflight.
- `CanDeleteVersionAssets` – deletion-eligibility oracle for version-scoped asset prefixes.
- `BeginPurgeVersionAssets` – **Target state:** CAS-guarded purge start that atomically re-checks deletion eligibility and transitions `version_asset_artifact` into purge-in-progress state. The current implementation has no database CAS or shared idempotency ledger.
Expand Down Expand Up @@ -210,8 +222,9 @@ Detailed request and response schemas are defined in the [OpenAPI specification]
- `GetDesignControlPlaneDigest(GetDesignControlPlaneDigestRequest) returns (GetDesignControlPlaneDigestResponse)` – returns normalized metadata digest used by publish gates.
- `GetTemplateReferencePhase(GetTemplateReferencePhaseRequest) returns (GetTemplateReferencePhaseResponse)` – **Target state only; the current proto has no such RPC:** returns the persisted normalized-reference enforcement phase (`BACKFILLING`, `VALIDATED`, `ENFORCED`) used by instance-creation and retirement workflows.
- `GetPublishedReleaseBundle(GetPublishedReleaseBundleRequest) returns (GetPublishedReleaseBundleResponse)` – **Target response:** returns the immutable `(tenantId, versionId)` release attestation including participant digests, the dedicated Game Logic-owned `abilitySchemaDigest` for the same target commit (using Game Logic's existing participant `digestSchemaVersion` and canonicalization evidence), any required `artifactDigests[]` and `requiredManifestAssetKeys[]` for exported derived assets, `manifestHash`, `generationConfigRevision`, and the canonical publish workflow runtime metadata (`publishWorkflowId`, `workflowRunId`, `workflowStatus`). **Current live response/compatibility path:** the implementation still uses the attested `AUTOMATION_SCRIPTING` aggregate participant digest in place of the dedicated ability-schema field; that aggregate is not ability-schema proof, so consumers must fail closed until the target field and evidence converge. Missing, unsupported, or mismatched ability-schema evidence fails closed. Missing attestation must surface as `NOT_FOUND`, and unreadable attestation schema must surface as `SCHEMA_VERSION_UNSUPPORTED`.
- `ResolveLaunchDescriptor(ResolveLaunchDescriptorRequest) returns (ResolveLaunchDescriptorResponse)` – resolves template metadata and control-plane inputs into one immutable launch descriptor for a game-instance creation attempt.
Missing attestation must surface as `RELEASE_BUNDLE_NOT_FOUND`, unsupported attestation schema as `SCHEMA_VERSION_UNSUPPORTED`, and cross-version replacement launches without exactly one approved persisted remap set for the source/target pair as `LAUNCH_REMAP_REQUIRED`.
- `ResolveLaunchDescriptor(ResolveLaunchDescriptorRequest) returns (ResolveLaunchDescriptorResponse)` – resolves a source-qualified canonical authored-world request and returns a descriptor carrying the complete request/result evidence.
- `GetLaunchDescriptor(GetLaunchDescriptorRequest) returns (GetLaunchDescriptorResponse)` – performs an independent committed read using exact tenant, world, request, and expected-digest selectors.
- `GetCompleteLaunchBinding(GetLaunchDescriptorRequest) returns (GetCompleteLaunchBindingResponse)` – **Target behavior:** returns the exact descriptor plus a matching immutable release attestation; callers must compare both complete evidence objects. **Current behavior:** authenticates the exact same-namespace candidate peer, then returns `PERMISSION_DENIED` before request validation or owner reads.
- `CreateTemplateRemapSet(CreateTemplateRemapSetRequest) returns (CreateTemplateRemapSetResponse)` – persists a draft remap set for a concrete `(tenantId, sourceVersionId, targetVersionId)` pair.
- `ApproveTemplateRemapSet(ApproveTemplateRemapSetRequest) returns (ApproveTemplateRemapSetResponse)` – marks a persisted remap set approved for launch/cutover consumers and records approval reason.
- `GetTemplateRemapSet(GetTemplateRemapSetRequest) returns (GetTemplateRemapSetResponse)` – returns the canonical remap-set payload and approval state for an existing `remapSetId`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,14 @@ Required deterministic failure vocabulary for the first implementation slice:

These are application-level launch-preflight outcomes, not transport failures. Retries for the same `controlPlaneRequestId` must return the same deterministic business result until callers intentionally start a new launch attempt with a new `controlPlaneRequestId`.

Illustrative control-plane schema:
The current authored-world launch-binding wire contract is defined in the [Game Design API contract](./api-contracts.md#authored-world-launch-binding) and [Game Design proto](../../../../protos/game-design/v1/game_design_service.proto). `ResolveLaunchDescriptorRequest` is source-qualified by `canonical_tenant_id`, `world_slug`, `authored_world_source_operation_id`, and `expected_authored_world_source_evidence_digest`; its response carries the complete authored-world binding evidence. Plugin-selection and named rollback-target fields are not part of this current wire contract.

- Request: `ResolveLaunchDescriptorRequest { tenantId, gameTemplateId, controlPlaneRequestId, requestedRuntimeFlags?, requestedScriptPatchVersion?, requestedPluginSelection?: { mode: EMPTY | EXPLICIT | REUSE_ROLLBACK_TARGET, enabledPluginVersions[]? { pluginId, pluginVersionId } }, sourceVersionId?, targetVersionId?, rollbackTargetLaunchDescriptorId? }`
- Response: `ResolveLaunchDescriptorResponse { launchDescriptorId, tenantId, gameTemplateId, versionId, scriptPatchVersion (nullable; explicit null when no patch is pinned), pluginSelectionMode, enabledPluginVersions[] { pluginId, pluginVersionId }, runtimeFlags, generationConfigRevision, versionStateEpoch, remapSetId?, publishedReleaseBundleRef }`
Target-only plugin-selection and rollback illustration (not the current wire contract):

The exact transport schema may evolve, but every implementation must preserve the same contract shape:
- Request extension: `requestedPluginSelection?: { mode: EMPTY | EXPLICIT | REUSE_ROLLBACK_TARGET, enabledPluginVersions[]? { pluginId, pluginVersionId } }`, `rollbackTargetLaunchDescriptorId?`.
- Response extension: `pluginSelectionMode`, `enabledPluginVersions[] { pluginId, pluginVersionId }`.

These target-only fields do not replace or relax the current authored-world source binding. If implemented, their transport must preserve the following plugin-selection semantics:

- request fields identify the template, the launch attempt identity, and any caller-supplied runtime overrides that are allowed to participate in deterministic resolution;
- response fields are the immutable resolved values consumed by launch-time workflows;
Expand All @@ -243,9 +245,9 @@ The exact transport schema may evolve, but every implementation must preserve th

Before computing the request idempotency digest, normalization rejects `EMPTY` with a non-empty list, `EXPLICIT` with an empty list, and `REUSE_ROLLBACK_TARGET` without a named rollback target or with any entries; accepted presence forms must first derive the modes and effective selections defined above consistently.

Normative examples:
Target-only conceptual extension illustrations (not the current wire contract or executable RPC examples):

The examples below intentionally use numeric `versionId` values because the current Game Design launch and published-bundle protobuf contracts expose `int64 version_id`. UUID-shaped version identifiers elsewhere in the target architecture must not be substituted into these current-contract examples until those transport fields are migrated together.
The current authored-world binding wire contract is defined by the [Game Design API contract](./api-contracts.md#authored-world-launch-binding) and [Game Design proto](../../../../protos/game-design/v1/game_design_service.proto). The current launch and published-bundle protobuf contracts expose numeric `int64 version_id`, so these illustrations retain numeric `versionId` values. The plugin-selection and rollback fields shown below are conceptual target extensions and are not current transport fields or executable requests.

- Fresh launch from a template with no script patch pinned:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Target state makes Game Session the authoritative owner of region/tick coordinat

Current seams are narrower: patch/request convergence reads, instance-scoped pause/resume, region-epoch fencing, and existing version-fence paths do not yet prove complete `scriptPinEpoch` propagation, final-effect enforcement, or Game-Session-owned append-only history. Track those implementation and proof gaps in the [Game Session runtime and tick coordination tracker](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#active-gaps).

The canonical authored-world launch preparation service is an evidence-only, source-backed preparation seam. It validates the committed realm catalog and source intake, resolves the canonical descriptor, independently reads it back, and persists exact prepared evidence. It is not wired into instance creation or runtime composition and does not write game_instances, call World activation, admit gameplay, or authorize PLAY; focused proof sources are present and validation is deferred.

## Terminology

- **Tenant** – a hosted game world or project, identified by `tenantId`. All database rows and Redis keys include this prefix so data is isolated between games.
Expand Down
Loading
Loading