Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
928749a
Prepare original Account ordered GD World source and exact terminal s…
benhook1013 Oct 14, 2026
ef62951
Converge terminal proof onto current graph owner and canonical fixtures
benhook1013 Oct 14, 2026
a9a7790
Merge branch 'codex/document-world-publication-parent-carry-20261015'…
benhook1013 Oct 14, 2026
81abe7b
Merge commit 'bcca304747414b34cfd8275e4e5d7bd4f07e87e0' into codex/do…
benhook1013 Oct 14, 2026
f6bae4f
Merge branch 'codex/document-world-publication-parent-carry-20261015'…
benhook1013 Oct 14, 2026
6fccfc5
Preserve formatted terminal proof and local qualification diagnostics
benhook1013 Oct 14, 2026
1f0f75f
Record exact suite attribution correction for receiving proof
benhook1013 Oct 14, 2026
a4069bf
Complete original owner composition and gameplay-rule source qualific…
benhook1013 Oct 14, 2026
46ea3de
Merge commit '1590bcee8c78dd8c1073bb00dde72682a7bdbba1' into codex/do…
benhook1013 Oct 14, 2026
aca7ba2
Merge commit '56a15e23bc94f8cc4849b406de8b2c9903d37516' into codex/do…
benhook1013 Oct 14, 2026
0b60be8
Merge commit '5a02f3201a6bb69d89d2e2d60190442241cf3d9e' into codex/do…
benhook1013 Oct 15, 2026
5cb7cbf
Merge commit '4cd93b2920d9a681a8665618ef7d232bf6d95fba' into codex/ga…
benhook1013 Oct 15, 2026
b559e35
Merge commit '2e2de6536d543ee5699af3d01f53064696c85c0c' into codex/ga…
benhook1013 Oct 15, 2026
8d1d93b
Merge current authenticated receiving parent and World review correct…
benhook1013 Oct 15, 2026
4915f93
Carry verified World frontier into topology writer stage
benhook1013 Oct 15, 2026
cdb65ec
Merge current World evidence carry into 3227
benhook1013 Oct 15, 2026
e2d6a16
Merge qualified World carry into Gameplay 3227
benhook1013 Oct 15, 2026
5b210c8
Merge qualified gameplay login fix into Gameplay 3227
benhook1013 Oct 15, 2026
f0dba78
Merge fixture rename and import order into Gameplay 3227
benhook1013 Oct 15, 2026
93c1778
Merge qualified World receipt correction into receiving stage
benhook1013 Oct 15, 2026
ae0d8dd
Merge published gameplay carry into receiving stage
benhook1013 Oct 15, 2026
c27de60
Merge published authentication receiver correction
benhook1013 Oct 15, 2026
93b51d0
Merge qualified gameplay parent into #3227 receiving branch
benhook1013 Oct 15, 2026
f6a210e
Merge commit 'a6b188c50b5d4d96b8aef092eb945d3ab848a673' into codex/ga…
benhook1013 Oct 15, 2026
ea7f36f
Merge commit '21fbd234cea85835cf8582f1a86fde3a3ce9215a' into codex/ga…
benhook1013 Oct 15, 2026
e38a9ee
Merge commit '50ac37e970639377340a02548c36e60b0ba05d82' into codex/ga…
benhook1013 Oct 15, 2026
f7f4a8f
Merge commit 'ff3fe1b0fe790335291786826eb1f1e031307347' into codex/ga…
benhook1013 Oct 15, 2026
91031c0
Merge commit '195c07771815b3536aeeb9b24ca9edea8319fb92' into codex/ga…
benhook1013 Oct 15, 2026
9ea1b39
Merge commit 'f50f5491c134323643ea5859fcddc02eff9a7970' into codex/ga…
benhook1013 Oct 15, 2026
c156a8f
Merge commit 'a2469a4656098dfb4922260ff642af58f2adf1e5' into codex/ga…
benhook1013 Oct 15, 2026
d8b5709
Merge qualified selected World review corrections from parent
benhook1013 Oct 15, 2026
5ace3aa
Merge qualified shared closure review corrections from parent
benhook1013 Oct 15, 2026
1a1828d
Merge commit '0aad0c31454779d4539a27cf3a9dfb2beea60be0' into codex/ga…
benhook1013 Oct 16, 2026
a30d4e0
Merge commit '8a6105a578e2c614d816b4637483028867c2d3cd' into codex/ga…
benhook1013 Oct 16, 2026
d53b30d
Merge commit '114456c0462dff1170ff5983c7a594e183e5756b' into codex/ga…
benhook1013 Oct 16, 2026
af02dbc
Carry current WebSocket rebootstrap and membership documentation fixes
benhook1013 Oct 16, 2026
ab33177
Merge qualified front fixes into the next receiving stage
benhook1013 Oct 16, 2026
b357e41
Merge front Python and bootstrap contract CI corrections
benhook1013 Oct 16, 2026
1c69216
Merge qualified front review and held smoke corrections
benhook1013 Oct 16, 2026
9f8d772
Use canonical pinned Redis image in World terminal proof and carry pa…
benhook1013 Oct 16, 2026
6de9f4d
Consolidate executed physical proof observation under bounded steward…
benhook1013 Oct 16, 2026
41575f5
Merge published Gateway scope corrections into original-order caller
benhook1013 Oct 16, 2026
29e0e62
Merge front diagnostics and documentation fixes into original-order c…
benhook1013 Oct 16, 2026
9819448
docs: bind original-order transport size and inactive recovery holds
benhook1013 Oct 16, 2026
eab675b
style: format original-order receiver metadata requirement
benhook1013 Oct 16, 2026
9375ee1
Merge commit 'a68fc1e655a2c67c6e57ac93650d7fed92ce0a75' into codex/ga…
benhook1013 Oct 16, 2026
74974cd
fix(authoring): bound complete terminal-read transport consistently
benhook1013 Oct 16, 2026
290bada
docs(authoring): state shared terminal transport bounds and registrat…
benhook1013 Oct 16, 2026
c0b83fc
Merge commit '43dfa83f908911d93f3b7b1fc29589409740563c' into codex/ga…
benhook1013 Oct 16, 2026
99eb1fd
Apply canonical formatting to terminal read wire fix
benhook1013 Oct 16, 2026
1250ab2
Capture original selected gameplay source for publication
benhook1013 Oct 16, 2026
2219bf4
Use genuine predecessor capture fixtures for gameplay migration proof
benhook1013 Oct 16, 2026
8fc62a5
Seal historical capture with the genuine failed publication attempt
benhook1013 Oct 16, 2026
00ec27d
Record qualified gameplay capture and focused-test selector lesson
benhook1013 Oct 16, 2026
5f27336
Clarify receiver wire limits and observation entry structure
benhook1013 Oct 16, 2026
7560af7
Merge commit '996d401aa3fa56aeff9a60f83d298ac8158788fb' into codex/ga…
benhook1013 Oct 16, 2026
15b8d0b
Merge develop after #3224 human merge into #3227
benhook1013 Oct 17, 2026
39ac670
Require ordinary asset evidence for terminal v2 capture reads
benhook1013 Oct 17, 2026
6740e55
Populate the terminal capture regression with valid realm policy source
benhook1013 Oct 17, 2026
b0d2c0d
Verify exact SQL guards for rejected gameplay captures
benhook1013 Oct 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ Supported reads and downloads, including any controlled export the product suppo

Decline or missing reacceptance does not itself cancel a subscription, delete content, decide a refund, or change billing or entitlement state. Subscription and billing consequences remain independent under [ADR 0143](../../decisions/adr-0143-stripe-v1-hosting-billing-and-deferred-creator-monetization.md) and the Account subscription lifecycle; payment or continued hosting never implies hosted-terms acceptance or marketplace enrollment. Future creator commerce remains separately gated by [ADR 0179](../../decisions/adr-0179-firemud-managed-creator-commerce-boundary.md).

The original Draft claim transport delegates to Account’s existing creator and retained-fence owners; a claim uses the exact same-namespace Game Design workload and protected creator credential, while the separate held-order read is restricted to the exact World workload. The [original-order proto](../../../../protos/account/v1/original_draft_order_service.proto) carries only the original operation and transport correlation; it supplies neither environment authority nor a creator credential in its body. The credential is carried in the protected binary metadata header and retains Account’s 16 KiB maximum compact creator-token bound. The shared transport codec permits 22,872 bytes of inbound metadata and a 4 MiB + 1 KiB inbound request message. Before registering `AccountOriginalDraftOrderGrpcService`, the Account receiving server must allow inbound metadata of at least `AccountOriginalDraftOrderGrpcCodec.MAX_METADATA_BYTES` and inbound request messages of at least `AccountOriginalDraftOrderGrpcCodec.MAX_WIRE_BYTES`; binding the service configures neither server limit. Held replay preserves the original binding and pending settlement rather than issuing fresh creator authority. These adapters remain unregistered, and both application profiles continue to omit permission for the RPCs. Controlled issuer, environment and PKI inputs are component proof only; caller qualification and remaining genuine authority are tracked in [Game Authoring](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#original-account-ordered-world-source-caller).

The unregistered Draft terminal reconciler consumes the exact required Game Design and World owner readbacks outside Account transactions, then retains missing evidence through the existing Account fence repository after rechecking the original binding and ordering. Additional required v2 owners without a supported reader remain pending. It creates no new authorization or runtime access; its qualification and source-provenance limits belong to [the authoring tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#account-terminal-settlement-continuation).

Both terminal-read transports retain the complete original binding and complete owner readback. Their shared bounds are 4 MiB for the binding, 16 MiB for the complete framed owner readback (including its repeated binding and result), and 1 KiB for protobuf/request metadata. The response allowance is therefore 20 MiB plus 1 KiB; both Account clients set that inbound limit, and both owner codecs enforce the same field and wire bounds on production and consumption. Receiving-server composition must allow the request bound of 4 MiB plus 1 KiB before these currently unregistered adapters are enabled. These limits change no original bytes, outcome, owner authorization or settlement rule.

### Account-Owned Playtest Grant Contract

Account is the sole writer and read authority for non-public realm grants under [ADR 0138 (PLAYTEST-01)](../../decisions/adr-0138-expiring-playtest-grants-with-bounded-active-revocation.md). The canonical grant identity is `{accountId, tenantId, worldSlug, realmSlug, playtestLifecycleId}`, with `playtestLifecycleId` immutable for the lifecycle; the record carries active/revoked state, monotonic `grantRevision`, `grantExpiresAt`, grantor/audit metadata, and the stable `requestId` outcome. `tenantAdmin` may create, extend, list, and revoke grants only within the exact tenant it administers. Authenticated `platformAdmin` may create, extend, revoke, or deliberately re-grant only through a distinct reasoned and audited `privileged_control`/break-glass grant-mutation branch governed by [Operator Authorization References](#operator-authorization-references) and [operator delegation](../../system-architecture-authz-route-matrix.md#operator-delegation). The branch requires an Account-issued authorization reference bound to the typed grant action, exact target and current playtest lifecycle, canonical `mutationDigest/v1` digest, live `platformAdmin` role, exact target-tenant generation, and `privileged_control` evidence. The grant's stable `requestId` remains the domain idempotency identity; the operator flow's `controlPlaneRequestId` is a separate correlation identity, and the reference binds both. The branch carries an explicit reason and audit attribution, is distinct from `tenantAdmin`, and is not tenant impersonation or a gameplay grant. Both paths validate the exact tenant, world, realm, account, and current playtest lifecycle; a slug or caller-supplied tenant identifier is not proof.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ For a `SaveRevision` request carrying `worldDesignMutation`, the same authorizat

## Implementation Status

The prepared Draft terminal-read adapter retains the exact original Account-bound owner outcome under the shared [Account terminal-read transport bounds](../account-service/api-contracts.md#account-owned-hosted-terms-and-creator-party). Its producer and consumer codecs enforce the complete response bound; future server composition must admit the bounded request before this currently unregistered adapter is enabled.

The coherent selected-publication receiver installs immutable source inventories, selected owner attestations and mandatory fresh-v2 operation/capture guards through V1023, then asset-bound reviewed-base v2 guards in V1024. Current Java callers supply complete v2 operation evidence and the ordinary asset owner participates in synchronized source and export projection. Original v1 operation/review bytes remain readable history without fresh write authority. This adds no registered publication ingress or activation authority. The canonical retention and fresh-operation rule is in [Version Control](./version-control.md#selected-publication-storage-and-retained-operations), with physical owner proof, controlled-input limits and current qualification in the [authoring tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#coherent-owner-receiving-prerequisite).

The first authored-world source-retention cut includes passive `GetAuthoredWorldVersionState` and `ResolveAuthoredWorldSource` reads for World Management, implemented by the owner-local `AuthoredWorldVersionStateService` and `GameAuthoredWorldSourceRepository`. Their RPC adapters (`AuthoredWorldVersionStateGrpcService` and `AuthoredWorldSourceReadGrpcService`) are standalone and unregistered, authenticate the exact same-namespace World workload, and use no caller-context propagation. Both adapters return retryable `UNAVAILABLE` for connection acquisition and transaction timeouts, and `INTERNAL` for permanent propagation, rollback, nested-transaction and isolation failures, with bounded descriptions that do not expose underlying storage errors. They do not replace or alter the registered `TenantIdentityService.ResolveFreshTenantCreation` contract above, and introduce no generic registration or activation path. World proof status and exact scope are recorded in the [World runtime tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#authored-world-source-retention-status). Graph snapshot capture is a later World owner-digest/topology stage, not part of these reads. No external source application, runtime activation, or gameplay-admission claim is made.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ The current passive authored-publication prerequisite retains the first exact se

Game Design retains the exact selected publication operation, source captures and owner attestations as immutable evidence. Fresh `game-design-publication-operation/v2` includes the original Account authorization, recipient-qualified World selector and complete public World inventory with its exact digest. Storage checks the operation framing, child correlation, selected commit and supported inventory profile before accepting a new reservation, source capture or derived publication evidence. A closure-qualified inventory must retain its explicit inbound declaration and paired graph/digest schema; a digest alone cannot replace those inputs.

Fresh full-version publication requires operation-bound captures of all six Game Design source families: commands, realm policies, ordinary assets, gameplay rules, template configuration and branding. Each capture retains the exact original publication operation and selected synchronized snapshot bytes; consumers compare those bytes with the selected source and retained owner evidence before deriving publication proof. Gameplay-rule capture also enforces the existing complete Game Logic source boundary: generic rule revisions and nonempty legacy effective commands cannot disappear behind an empty typed manifest. Missing capture is unknown, including for an explicit empty authored set; retained pre-feature evidence stays readable as history and cannot authorize a fresh publication.

Original retained three-frame v1 bytes remain readable with their original row and request checksums. They do not establish inventory completeness and cannot authorize a new operation reservation, capture or terminal seal after the v2 storage guards apply. Forward migrations do not rewrite those bytes or fabricate source history. Forward migrations also preserve original `game-design-reviewed-draft-base/v1` rows and their exact bytes. Fresh reviewed-base v2 evidence binds the original policy, command and ordinary asset genesis, or the exact synchronized snapshots and complete owner vector for an authored base. An old review without ordinary asset lineage remains readable and cannot authorize a fresh source write. The database independently reconstructs fresh review bytes from the retained owner records before accepting the claim. Source-family inventories, exact Game Logic and World associations, normalized template references, original Account owner schema and candidate projection remain separate retained owner facts; installing their tables and guards does not produce those facts or enable publication.

## Approach
Expand Down Expand Up @@ -74,6 +76,12 @@ Game Design owns the durable, creator-visible coordination record for every shar
- Game Design advances the synchronized fence only after every required owner durably reports the same exact commit and digest. Partial application remains diagnostic workflow state and cannot satisfy `IN_SYNC` or become a publish target.
- Conflict assistance may construct a new proposed diff, but it must produce a new digest and exact base/epoch binding for creator review. Reconciliation never silently merges a stale proposal.

The original two-owner Game Design/World caller preserves the complete Account operation and obtains the original `COMMIT_ORDER` through the [Account-owned hosted creator boundary](../account-service/api-contracts.md#account-owned-hosted-terms-and-creator-party). Remote Account and World calls occur outside owner transactions. Game Design records each exact owner outcome and advances synchronized source visibility only after both owners durably agree; an unavailable or uncertain World result retains the original application slot for exact recovery. Independently retained terminal source evidence is recovered before consulting mutable creator credentials. This source composition does not settle Account’s original operation or provide public creator recovery.

Gameplay-rule source participates in the same Game Design owner transaction and synchronized visibility fence as the other authored families. Fresh Draft genesis records an explicit empty inventory; absence of retained lineage is unavailable evidence. Ordered revisions preserve original commit provenance through inheritance and explicit deletion, and a complete synchronized handoff must contain the selected rule snapshot when its genesis or rule mutations exist. Generic revision rows and legacy command definitions cannot stand in for the exact source-bound rule inventory consumed by Game Logic.

**Current limitation:** The caller and Account transport adapters remain unregistered; production original-creator/environment wiring and commit-time protection are unavailable. An uncertain or denied Account-order attempt can leave the local application slot held, and current owner statuses do not prove durable Account no-order; safe slot release and retry recovery remain unimplemented. Keep registration held until that recovery boundary is implemented. Component qualification, the transport receiver limit, and controlled-source limits belong to [the implementation tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#original-account-ordered-world-source-caller).

The [authored-source genesis and replay contract](./api-contracts.md#authored-source-genesis-and-deterministic-replay) requires explicit new-Draft genesis or an audited retained baseline before synchronized effective source can be captured. Its closed first-proposal base reference names the independently persisted genesis receipt, not a fabricated authored commit; subsequent authored bases name exact retained commit UUIDs. Proposal acceptance and frozen selection preserve the complete owner-resolved base evidence and digest rather than an opaque caller label. History and release assembly retain its stable-key replay and original source provenance; absent or unknown lineage cannot be normalized into empty content.

Game Design's [realm-entry policy owner contract](./api-contracts.md#published-realm-entry-policy-owner-read) separately freezes the complete effective policy source at that selected synchronized fence. A latest mutable revision query or the selected commit's diff alone cannot supply unchanged inherited policy state. Policy capture and immutable published-policy association preserve the original operation and genuine terminal bundle without adding policy fields to the existing closed release or terminal representation; they do not establish runtime catalog or admission authority.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Implementation Status

The prepared, unregistered Draft terminal-read adapter accepts only the exact same-namespace Account workload and returns the original Account-bound committed graph application or definitive-abort owner evidence. It enforces the shared [Account terminal-read transport bounds](../account-service/api-contracts.md#account-owned-hosted-terms-and-creator-party); future server composition must admit the corresponding bounded request. It preserves the current graph and original inbound-source closure carriers and inherited SQL history. It supplies no graph mutation, source authorization, visibility change or activation; component proof and remaining limits are recorded in [the authoring tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#account-terminal-settlement-continuation).

The source-first stage retains the published World fixture verifier, demo seeder and predecessor lifecycle dispatch while canonical preparation remains an explicit source operation. `RunOwnedCanonicalWorldLaunchEvidenceProvider` authenticates the canonical Game Session allocation; the package-private canonical preparation owner composes source/Version intake and fixed-preset materialization. The registered generic prepare RPC retains its predecessor behavior. Before ordinary demo seeding reads or changes topology, the existing storage owner must establish or verify the immutable `LEGACY_NUMERIC` tenant claim under its allocation-coordinated transaction; unresolved, canonical, nil, or contradictory ownership refuses the seed. The claim is not inferred from numeric tenant/version values, fixture mode, or absence of a V25 row. Canonical Draft writers retain their separate V25 `OPEN` serialization and manifest guards. Canonical activation, first admission, Entity placement and operational-region authority remain unavailable. [The World tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#current-status) records current proof and staging limits; [Testing Strategy](../../system-architecture-testing.md#run-owned-v1-launch-read-evidence) owns the complete target ordering.

This API contract is target-state canonical; implementation coverage is partial and must not be inferred from target examples alone.
Expand Down
Loading
Loading