Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9f909b6
Converge selected publication source owners and preserve StartSession…
benhook1013 Oct 13, 2026
69a9b4e
Merge commit '4925747b7eca6a4b5c9e043479492813bf6a6c1e' into codex/do…
benhook1013 Oct 13, 2026
7369cb2
Record qualified Entity parent carry and preserve receiver proof attr…
benhook1013 Oct 13, 2026
052b0e1
Merge commit 'd7c8f84fa947644a651304205803c3919c81684e' into codex/do…
benhook1013 Oct 13, 2026
bb2abcd
Record disjoint controller parent carry and preserved owner proof
benhook1013 Oct 13, 2026
24b6427
Fix receiver reference timing and transaction witness projection
benhook1013 Oct 13, 2026
d8ea19d
Merge commit 'd7f78ebbb5e2d13bfd73885202c0742c41e3f94b' into codex/do…
benhook1013 Oct 13, 2026
371f0dc
Bind reviewed schemas and exact Draft epochs with focused proof
benhook1013 Oct 13, 2026
dd45c57
Fix asset source metadata readback and receiver review findings
benhook1013 Oct 13, 2026
310532f
Unify asset metadata qualification and correct review proof attribution
benhook1013 Oct 13, 2026
7d00748
Preserve selected asset lifecycle updates and bound optional coverage…
benhook1013 Oct 13, 2026
540fa37
Fence retained asset references against stale snapshot writers
benhook1013 Oct 13, 2026
55c23f7
Carry front canonical-quarantine and immutable-parent review repairs
benhook1013 Oct 13, 2026
4d44a94
Carry front CI dispatch contract repair into receiver
benhook1013 Oct 13, 2026
f21641c
Merge commit '02401d4df0276b04c7f0ff780441a050c4b72fc8' into codex/do…
benhook1013 Oct 13, 2026
9786e40
Merge commit '333d4edbe1530489b9d79c60cfa1dbc7b03b7b90' into codex/do…
benhook1013 Oct 13, 2026
29c5812
Merge commit '2e98a9883edb7bee7f34eb0ab86a2e03d131d9dc' into codex/do…
benhook1013 Oct 13, 2026
1e22da1
Merge commit '3505ecbb332c2f140374536a817dc394fec00ad8' into codex/do…
benhook1013 Oct 14, 2026
4629880
Merge commit 'a6a1333cc7db4423ee927471d1aa324ddee0e225' into codex/do…
benhook1013 Oct 14, 2026
5092dea
Merge commit 'e5fee409d7a26e3e4697ffdb6cfe025ad8f908bb' into codex/ga…
benhook1013 Oct 14, 2026
1014878
Merge commit '9db96cf8a601c2f167cab8c9a0a4768b795ecefc' into codex/ga…
benhook1013 Oct 14, 2026
6232d1c
Merge commit '412e5bbd70afdd5a89a8e7506956c1c0962c30eb' into codex/ga…
benhook1013 Oct 14, 2026
c97f794
Merge commit '58ec3605221bfd10b3ddecf8cc7a1604c6c14a87' into codex/ga…
benhook1013 Oct 14, 2026
12a6dfa
Merge commit '05e5aeb73d386b35ca222162d8617230c0f8d59a' into codex/ga…
benhook1013 Oct 14, 2026
24c0e8a
Merge commit '5da24f222334aadde0133b04a4b5dcb20c75354c' into codex/ga…
benhook1013 Oct 14, 2026
3cc84e8
Merge remote-tracking branch 'origin/develop' into codex/gameplay-319…
benhook1013 Oct 14, 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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,8 @@ jobs:

- name: ☂️ Upload Coverage to Codecov
continue-on-error: true
# Optional coverage upload must leave time for required proof artifacts.
timeout-minutes: 2
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
use_oidc: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Accepted

This ADR is partially implemented. Logging & Admin has current operator-facing read, investigation, admission-pointer read/audit, and prepared-upgrade proof-read surfaces, but no forwarded owner mutation family is currently supported as an executable external route until its action-family schema, shared cross-language `mutationDigest/v1` golden vectors, and Account-issued authorization-reference issuance plus owner-side redemption exist. The service-local `/moderation/actions` and `ApplyModerationAction` paths are present legacy transport stubs that now hard fail closed after their narrow tenant/admin checks: HTTP returns `503 Service Unavailable`, gRPC returns an application-level `UNAVAILABLE` error, and neither path dispatches or persists the generic legacy `moderation_actions` row. They have no external Gateway route, persist no separate fixed-category audit evidence, and perform no owner-side enforcement. The target Logging & Admin-owned moderation policy-input/audit path remains gated pending Account authorization-reference issuance plus Logging & Admin receiving-service validation/redemption; it does not require domain-owner redemption. The live `EvaluateModerationPolicy` read remains available only to its internal enforcement owners. Versioned policy propagation and owner enforcement remain target-state work.

The original StartSession receiver retains Account-returned tuple bytes through Logging completion, independent exact authorization readback and the one-time owner-pending handoff. Missing or substituted evidence and ambiguous transport or durable transitions fail closed; the coordinator and clients reject ambient SQL transactions or synchronization. The disabled-by-default composition, passive production reservation owner and absence of a routable StartSession ingress remain in force. Current receiving proof and its controlled-input limits are recorded in the [coherent owner receiving tracker](../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#coherent-owner-receiving-prerequisite). This source preparation supplies no genuine producer, activation or operational-region proof.

## Decision Record

- Decision date: 2026-07-19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ For a `SaveRevision` request carrying `worldDesignMutation`, the same authorizat

## Implementation Status

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. They do not replace or alter the registered `TenantIdentityService.ResolveFreshTenantCreation` contract above, and introduce no 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.

The owner-local foundation persists authored-world source operations and delivery outbox rows, canonical Version and bundle identity, opaque release references, optional manifest/artifact metadata, and additive launch-descriptor bindings. There is no creator source-registration RPC. The complete fixture successor activates only the claimed run-owned producer and source-bound descriptor handlers described above; production launch-read authorization remains deny-only. Ordinary new Version and bundle writes derive identity from the exact persisted Game row; retained all-null descriptor reads and inserts remain supported. State-changing `CompareAndSetVersionState` calls return `VERSION_STATE_MUTATION_UNAVAILABLE` after tenant/version and expected-epoch checks; exact same-state requests remain no-ops. This containment does not establish legal lifecycle transitions, Account authorization, or database CAS proof.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Game Design is the canonical authored-history, publication-coordination, release

The owner-local foundation stores canonical Version identity derived from the exact persisted Game row and canonical release identity with an owner-generated opaque reference. Retained Versions and bundles keep their original all-null canonical identity; new canonical inserts cannot mint identity for a retained unbound Version. Bundle writes are immutable, and demo restart reads and reuses the existing bundle. The additive asset-mapping and export-snapshot schemas do not activate asset publication; the complete source-bound fixture successor supplies its own claimed registration, receipt, and runtime handler boundary. State-changing `CompareAndSetVersionState` requests fail closed after tenant/version and expected-epoch checks, preserving same-state no-op; legal transition and database CAS proof remain unavailable.

The authenticated source-bound v1 `ResolveLaunchDescriptor` path and exact `GetLaunchDescriptor` readback are live; numeric-only tenant/template/version fallback does not authorize launch. Candidate validation and physical execution status are recorded in the [run-owned fixture repair tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#run-owned-authored-world-fixture-repair). The v1 release read projection carries canonical version identity, an opaque release reference, manifest-schema metadata, and artifact-digest fields where present. Its current proto/mapper omit `tenantId`, so remote consumers cannot exact-compare the requested tenant/version pair (see [API contracts](api-contracts.md#implementation-status)); the fixture owner-local seed projection retains its separately verified tenant identity. Producer population and retained-row backfill remain unproved. First-slice Version state-changing requests fail closed after tenant/version and expected-epoch checks, with a same-state no-op preserved. Production asset upload and fresh/PENDING full-version publication remain fail-closed. Version-mapped export snapshots and candidates, artifact publication state, exact-byte repair, and complete launch-binding readback are present in this private source, but normal Draft asset association has no production caller and these mechanics do not establish production publication or physical database, object-store, or Temporal proof. The three production release-bundle, version-state, and artifact-state read RPCs retain exact-peer default denial before owner reads, as specified below. External Git synchronization and canonical multi-branch merge semantics are not implemented. Current authoring uses Game Design-owned revision APIs with optimistic validation and ordered mutation calls, but `SaveRevision` does not provide deterministic replay: it lacks durable request/revision deduplication and can leave a World mutation committed without its corresponding Game Design revision when the later local save fails. ADR 0129's durable multi-owner coordinator, owner-local compare-and-swap application, synchronized commit fence, and proof that partially applied owner rows remain invisible to ordinary Draft reads are also not implemented. Current release-bundle schema and plugin publication/activation code incorrectly reuse Automation & Scripting's aggregate participant `contentDigest` where the dedicated Game Logic-owned `abilitySchemaDigest` is required; exact ability-schema compatibility therefore remains an implementation and proof gap. Plugin publication currently uses signed-only intake; [ADR 0111](../../decisions/adr-0111-unified-dsl-with-distinct-embedded-script-and-plugin-lifecycles.md)'s approved unsigned provenance remains target-only. The plugin publication path now rejects terminal-state reuse: an uploaded `SUPERSEDED` or `REVOKED_DESIGN` row cannot be republished under the same `pluginVersionId`; target rollback still uses a new immutable plugin version and leaves the prior terminal row unchanged, while new-version rollback proof remains absent. Duplicate signed plugin `assetId` values are likewise not rejected before export and can produce ambiguous distribution-manifest keys; target intake rejects them deterministically before publication/export. The live World Management design handoff adds a separate lifecycle race: it checks Game Design's authoritative remote version state (`GetVersionState(...).versionState=DRAFT`) before its own transaction, but has no durable owner-local publication freeze or exact Game Design version-state epoch/fence in the mutation request. That remote state check is not proof that a WMS mutation cannot commit after publication; current status and evidence remain in [World Management Runtime and Data](../world-management-service/runtime-and-data.md#implementation-status).
The authenticated source-bound v1 `ResolveLaunchDescriptor` path and exact `GetLaunchDescriptor` readback are live; numeric-only tenant/template/version fallback does not authorize launch. Candidate validation and physical execution status are recorded in the [run-owned fixture repair tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#run-owned-authored-world-fixture-repair). The v1 release read projection carries canonical version identity, an opaque release reference, manifest-schema metadata, and artifact-digest fields where present. Its current proto/mapper omit `tenantId`, so remote consumers cannot exact-compare the requested tenant/version pair (see [API contracts](api-contracts.md#implementation-status)); the fixture owner-local seed projection retains its separately verified tenant identity. Producer population and retained-row backfill remain unproved. First-slice Version state-changing requests fail closed after tenant/version and expected-epoch checks, with a same-state no-op preserved. Production asset upload and fresh/PENDING full-version publication remain fail-closed. Version-mapped export snapshots and candidates, artifact publication state, exact-byte repair, and complete launch-binding readback are present in this private source, but registered ordinary Draft asset authoring has no production caller. The reviewed ordinary source owner and synchronized projection have bounded controlled-input PostgreSQL proof in the [receiving tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#coherent-owner-receiving-prerequisite); these mechanics do not establish production publication, physical object-store or Temporal proof. The three production release-bundle, version-state, and artifact-state read RPCs retain exact-peer default denial before owner reads, as specified below. External Git synchronization and canonical multi-branch merge semantics are not implemented. Current authoring uses Game Design-owned revision APIs with optimistic validation and ordered mutation calls, but `SaveRevision` does not provide deterministic replay: it lacks durable request/revision deduplication and can leave a World mutation committed without its corresponding Game Design revision when the later local save fails. ADR 0129's durable multi-owner coordinator, owner-local compare-and-swap application, synchronized commit fence, and proof that partially applied owner rows remain invisible to ordinary Draft reads are also not implemented. Current release-bundle schema and plugin publication/activation code incorrectly reuse Automation & Scripting's aggregate participant `contentDigest` where the dedicated Game Logic-owned `abilitySchemaDigest` is required; exact ability-schema compatibility therefore remains an implementation and proof gap. Plugin publication currently uses signed-only intake; [ADR 0111](../../decisions/adr-0111-unified-dsl-with-distinct-embedded-script-and-plugin-lifecycles.md)'s approved unsigned provenance remains target-only. The plugin publication path now rejects terminal-state reuse: an uploaded `SUPERSEDED` or `REVOKED_DESIGN` row cannot be republished under the same `pluginVersionId`; target rollback still uses a new immutable plugin version and leaves the prior terminal row unchanged, while new-version rollback proof remains absent. Duplicate signed plugin `assetId` values are likewise not rejected before export and can produce ambiguous distribution-manifest keys; target intake rejects them deterministically before publication/export. The live World Management design handoff adds a separate lifecycle race: it checks Game Design's authoritative remote version state (`GetVersionState(...).versionState=DRAFT`) before its own transaction, but has no durable owner-local publication freeze or exact Game Design version-state epoch/fence in the mutation request. That remote state check is not proof that a WMS mutation cannot commit after publication; current status and evidence remain in [World Management Runtime and Data](../world-management-service/runtime-and-data.md#implementation-status).

`GetCompleteLaunchBinding` retains its exact same-namespace candidate peer check for Game Session, World Management, and Entity Management, then defaults to `PERMISSION_DENIED` before the owner read. Production access remains unavailable pending genuine operation-specific tenant/scope authority; this RPC gate does not disable the owner-local service or direct fixture proof.

Expand All @@ -22,6 +22,12 @@ Current cross-seam security status is also blocked: Account's runtime membership

The current passive authored-publication prerequisite retains the first exact selection and does not release its reservation after definitive `FAILED`/`NO_PUBLICATION`. Fresh/PENDING registered ingress is denied before reservation; this containment does not establish failed-selection recovery. The authorized Game Design fresh-attempt or source-bound successor contract and proof remain an OPEN [production-readiness follow-up](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#current-status) before selected-publication enablement or genuine protected proof requiring recovery. Preserve immutable original evidence and fresh reviewed bindings; World’s ABORTED reopening after reconciled No Publication is a separate owner boundary.

## Selected Publication Storage and Retained Operations

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.

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

- Each asset revision already stores author and timestamp metadata.
Expand Down
Loading
Loading