Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
6365c18
Prepare canonical selected Entity and Automation owner intake prerequ…
benhook1013 Oct 18, 2026
f9e3f87
Merge commit 'a929545a740098c11973f4b301a075aeee22ccb7' into codex/ga…
benhook1013 Oct 18, 2026
2ffbe65
docs: record bounded owner intake prerequisite qualification
benhook1013 Oct 18, 2026
a858908
Merge commit '7912432d7ca814aadb1c57ef5f260ddd38356e79' into codex/ga…
benhook1013 Oct 18, 2026
fc4c60b
Merge commit '8ec665708630b3e6c5e9d7e8d0621878c3f284d1' into codex/ga…
benhook1013 Oct 18, 2026
570dd77
Merge commit 'ae71bdbc48db537ab8ffba13260e71cbdf8b3519' into codex/ga…
benhook1013 Oct 18, 2026
2f9bd6a
Merge prepared selected-source documentation corrections
benhook1013 Oct 18, 2026
f338702
Receive selected-owner transport review corrections
benhook1013 Oct 18, 2026
a2bd271
Receive transport test collector qualification correction
benhook1013 Oct 18, 2026
a5da391
Receive bounded review-record recovery observation
benhook1013 Oct 18, 2026
8a7e2cf
Merge commit 'a95429e2ddd82fa8532cc90a5baa848055771bf6' into codex/ga…
benhook1013 Oct 18, 2026
80c3597
Receive parent settlement binding cache correction
benhook1013 Oct 18, 2026
fdcc676
Fix selected-source snapshot guards and shared client proof
benhook1013 Oct 18, 2026
e41d7f7
Merge commit '19907273a7509fbc6d59ea4b4aada9188364f045' into codex/ga…
benhook1013 Oct 18, 2026
bc10f8b
Reach the Entity isolation guard through truncate cascade
benhook1013 Oct 18, 2026
e41497e
Receive merged recovery maintenance in owner-intake prerequisite
benhook1013 Oct 18, 2026
215d841
Receive qualified source-reservation digest proof correction
benhook1013 Oct 18, 2026
e2c38ec
fix: preserve selected-source owner scope and retry boundaries
benhook1013 Oct 18, 2026
a5d501c
test: assert selected scope conflict through public exception contract
benhook1013 Oct 18, 2026
ac1b323
docs: attribute selected-source digest proof to its actual gate
benhook1013 Oct 18, 2026
00392ff
Merge commit '46cee89794d09249c08e8967fadf1451fbda0717' into codex/ga…
benhook1013 Oct 18, 2026
5f6c431
fix: distinguish intake storage failures and bind retained publicatio…
benhook1013 Oct 18, 2026
feb1f93
Merge commit '5da0ac48a3c196e908b03d48a96bb3f3d71c72ce' into codex/ga…
benhook1013 Oct 18, 2026
3123dbe
fix: defensively retain shared test PKI identities
benhook1013 Oct 18, 2026
f2d3142
test: align selected-source status fixture namespace
benhook1013 Oct 18, 2026
6208dcc
Merge commit 'ea3fb3468ad42cfc134f0f30dc62cc265210c73f' into codex/ga…
benhook1013 Oct 18, 2026
d3a3848
Merge commit '7a9e97d2924dac836ed2e390ccaee72b33e20818' into codex/ga…
benhook1013 Oct 18, 2026
f68d4a6
Merge commit 'cb6899b02ecc5386ef3fcbb86724d5ac4f1d5e96' into codex/ga…
benhook1013 Oct 18, 2026
a329704
Merge commit '12dec8a80c23d1b513c8b60e23ff8d94002dece3' into codex/ga…
benhook1013 Oct 18, 2026
cc2ed94
fix: distinguish Entity intake conflicts and correct proof counts
benhook1013 Oct 18, 2026
ffbfd16
Preserve canonical actor identity across source-key reservations
benhook1013 Oct 18, 2026
17c82ab
Unwrap retained receipt in corruption regression proof
benhook1013 Oct 18, 2026
c74ff99
Link Entity storage guard status to its owning contract
benhook1013 Oct 19, 2026
9a38864
Clarify digest schema state and owner-specific proof attribution
benhook1013 Oct 19, 2026
8c5e6f8
Merge held front #3248 into #3269
benhook1013 Oct 19, 2026
fabfe77
Merge commit '887dedd7ca2491900fcf6755a6ca14a6d03e8314' into codex/ga…
benhook1013 Oct 19, 2026
cb58e8c
Merge commit '7b05b3f06fa71464335716a88befcc9a08946fa0' into codex/ga…
benhook1013 Oct 19, 2026
2f1c182
Merge commit '9c54ce2551572d4bc6552dff5143d409b8a08db0' into codex/ga…
benhook1013 Oct 19, 2026
78d87d1
Merge commit '6a2f6aaf9e9e49c4c06aed774cc087bfbde37470' into codex/ga…
benhook1013 Oct 19, 2026
6bb9329
Receive develop reconciliation from PR #3249
benhook1013 Oct 19, 2026
76d94ed
Merge commit '707b4f5891e05af17fac9d2b94a8c74fd047064c' into codex/ga…
benhook1013 Oct 19, 2026
f8dc7e8
Fix Entity intake tracker link after prerequisite split
benhook1013 Oct 20, 2026
60786c6
Receive qualified controller parent without changing intake patch
benhook1013 Oct 20, 2026
962ebcf
Fix Automation intake tracker link after prerequisite split
benhook1013 Oct 20, 2026
992d870
Merge remote-tracking branch 'origin/develop' into codex/gameplay-325…
benhook1013 Oct 23, 2026
c1e22d8
Generate expired CA test fixture with explicit past dates
benhook1013 Oct 23, 2026
7383c88
Merge commit '46323806f526c02b80bbb2ec01a90c32bdbb0910' into codex/ga…
benhook1013 Oct 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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ For `ListScriptHandoffEvents`, the target command identity is the complete Comma

## Implementation Status

The prepared empty selected-source command and immutable receipt/digest reads remain standalone, unregistered and unqualified. Forward V1003 retains empty selected source over the current combined Automation/Saga parent; it neither attests arbitrary scripts nor enables evaluation, dispatch or runtime publication. Its publication consumption follows the [canonical Game Design profile](../game-design-service/version-control.md#selected-full-publication-profile); current controlled-input proof limits and pending cross-owner qualification belong to the [selected-full owner tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#selected-entity-and-automation-intake-prerequisite).

This section records the current implementation boundary only. The API sections below remain normative target contracts; a current implementation note does not relax those contracts, and a target-only surface must not be inferred as shipped.

The unsupported NPC formation REST family has been removed from the runtime and authoritative OpenAPI. Formation operations remain available only through the authenticated internal gRPC control-plane path; no REST caller can supply a tenant or NPC identifier to reach the formation service. The gRPC path retains its existing global admin guard, which is neither tenant-bound `tenantAdmin` authorization nor Entity-owned NPC namespace/ownership proof; formation behavior remains partial until those target checks are implemented and proven.
Expand Down Expand Up @@ -272,10 +274,16 @@ This service is a required digest participant for full publishes and script-patc

Publish gating must fail closed when the service cannot attest a digest under its documented manifest for the reported `digestSchemaVersion`.

**Current selected-empty status:** An unregistered owner-local reader now provides a bounded selected-empty full-version primitive over Automation's immutable validated fresh-empty receipt. Its native receiver applies the existing exact `PublicationReadGuard` and validates the complete publication request binding before lookup. The existing registered full-version reader remains unchanged; this primitive does not make Automation publication readiness or runtime registration complete. It accepts only a receipt created by the fresh `retainFresh` path with all three declared script, event-binding, and patch-base-binding families explicitly empty. Nonempty or historical participant evidence outside this exact fresh-empty path is unsupported and denied; old participant evidence is not silently rewritten or reinterpreted. This selected-empty full-version semantic path uses `digestSchemaVersion=6`; the existing script-patch digest remains schema 5 with its existing behavior.

The selected-empty reader resolves by configured namespace, canonical tenant UUID, and the numeric Game Design Version row in the incoming full-version request. It scans only that namespace/tenant association prefix, fully validates each receipt, and requires exactly one association whose retained original selected-target proof matches the tenant, canonical Version UUID, and numeric Game Design Version row. The retained proof supplies the canonical Version UUID; the caller does not invent or submit it, and no mapping migration is introduced. Missing, ambiguous, corrupt, or mismatched evidence fails closed. Private Automation numeric keys, receipt digests/bytes, request/operation/authorization provenance, World read evidence, and timestamps are not publication identity or digest input. Its SHA-256 content preimage uses ADR 0047 byte-length framing over these ordered segments: the owner-specific domain `automation-selected-empty-publication-digest/v1`, schema `6`, canonical tenant UUID, numeric Game Design Version row, canonical Version UUID retained in the selected-target proof, and the exact canonical Automation inventory declaration. `appliedCommitId` is the original selected commit UUID retained in the receipt. This subset is not a claim that nonempty full-version script graphs or bindings are covered, and schema-6 participant evidence is not created by rewriting old evidence.

The selected-empty service also requires the complete incoming publication request, derived workflow and digest to match its original retained World freeze and exact selected commit/acknowledgement. This schema-6 participant is admitted only through the [canonical selected-full profile](../game-design-service/version-control.md#selected-full-publication-profile) with independent retained recipient validation; it supplies no activation or publication authority on its own.

### Game Design owner-to-owner digest authorization

For publication-gate calls, `GetDraftDesignDigest` is not an admin or user operation. The target receiver authorization is a method-level allowlist for the authenticated Game Design workload identity, under the shared [Security Architecture](../../system-architecture-security.md) and [Authentication & Authorization](../../system-architecture-authentication.md) owner rules. The call must carry and validate the exact `{tenantId, scope}` (`versionId` or `scriptPatchVersion`) together with the stable caller `publishRequestId`, derived workflow identity, and canonical `requestDigest`; omitted or changed binding fails closed. This context is authorization and replay evidence, not a digest input. Other internal workloads are denied, and no user/admin JWT is accepted as a substitute. Game Design's Temporal activities must never forward the initiating human operator JWT; operator authority terminates at workflow admission.

**Current status:** `GetDraftDesignDigest` now invokes `PublicationReadGuard` for the exact Automation publication-read method. The guard requires the authenticated Game Design workload peer in the trusted namespace and a role-free internal JWT; the JWT `serviceName` claim is not treated as workload identity, and user/admin JWT substitution or a different peer is denied. The request proto carries tenant, typed scope, the patch `baseVersionId` when applicable, stable `publishRequestId`, derived workflow identity, and canonical `requestDigest`; the handler validates that complete binding before reading content and exact-compares the returned tenant and scope. Focused unit proof covers the allowlisted peer, missing/wrong peer, JWT-only/user/admin substitution, and changed request digest. This closes the former empty-role/admin-guard authorization failure, but does not claim live mounted-certificate or real Temporal-activity proof. The schema-5 script-patch content digest includes the retained base version. Remaining content/proof gaps are explicit: the full-version digest input is still tenant-wide rather than version-mapped, and multi-version/cross-tenant owner proof is still required. See the [Game Design publication/Temporal contract](../game-design-service/version-control.md#owner-to-owner-digest-authorization-and-tenant-identity) for the coordinator-side boundary.
**Current status:** `GetDraftDesignDigest` now invokes `PublicationReadGuard` for the exact Automation publication-read method. The guard requires the authenticated exact Game Design workload mTLS peer in the configured trusted namespace and denies account, global-role, or scoped-role context. It does not add an end-user JWT requirement; a role-free internal identity is neither workload authorization nor an independent denial condition when the exact peer is present. The request proto carries tenant, typed scope, the patch `baseVersionId` when applicable, stable `publishRequestId`, derived workflow identity, and canonical `requestDigest`; the handler validates that complete binding before reading content and exact-compares the returned tenant and scope. Focused unit proof covers the allowlisted peer without end-user context, missing/wrong peer, account/global/scoped-role context denial, and changed request digest. This does not claim live mounted-certificate or real Temporal-activity proof. The existing script-patch content digest remains schema 5 and includes the retained base version; the selected-empty schema-6 primitive is unregistered and does not replace the live full-version reader, whose input remains tenant-wide. Multi-version/cross-tenant owner proof is still required. See the [Game Design publication/Temporal contract](../game-design-service/version-control.md#owner-to-owner-digest-authorization-and-tenant-identity) for the coordinator-side boundary.

The same owner-to-owner authorization now covers the WMS, Entity, Game Logic, and Automation participant reads: each handler applies the shared exact-method `PublicationReadGuard`, validates the complete typed request binding, and checks the returned tenant/scope before exposing its digest. The shared negative proof covers missing or wrong peer identity and JWT-only/user/admin substitution; live mounted-certificate, real Temporal-activity, and multi-version/cross-tenant proof remain separate gaps. Content manifests remain owner-local: Automation's patch digest now binds the retained base version, while its full-version mapping remains tenant-wide, so the authorization boundary must not be read as complete digest correctness. The shared target and proof requirements are maintained in [Game Design Version Control](../game-design-service/version-control.md#owner-to-owner-digest-authorization-and-tenant-identity), not redefined here.
The same owner-to-owner authorization now covers the WMS, Entity, Game Logic, and Automation participant reads: each handler applies the shared exact-method `PublicationReadGuard`, validates the complete typed request binding, and checks the returned tenant/scope before exposing its digest. The guard requires the exact authenticated Game Design workload mTLS peer and denies account or role-bearing context; role-free internal identity alone is not authorization or a substitute for that peer. Live mounted-certificate, real Temporal-activity, and multi-version/cross-tenant proof remain separate gaps. Content manifests remain owner-local: Automation's patch digest now binds the retained base version, while its existing live full-version mapping remains tenant-wide, so the authorization boundary must not be read as complete digest correctness. The shared target and proof requirements are maintained in [Game Design Version Control](../game-design-service/version-control.md#owner-to-owner-digest-authorization-and-tenant-identity), not redefined here.
Loading
Loading