Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
596ee4d
Prepare protected Human admission owner and authenticated terminal proof
benhook1013 Oct 26, 2026
8e1e517
Document protected realm admission and exact owner settlement proof
benhook1013 Oct 26, 2026
b30bc84
Merge commit '34fea833796f759e77991388fe376772caac4961' into codex/ga…
benhook1013 Oct 26, 2026
c1c54a4
Record actual-parent protected owner qualification
benhook1013 Oct 26, 2026
203899e
fix(test): align disposable baselines with protected owner migrations
benhook1013 Oct 26, 2026
bc3a6cd
fix(test): preserve retained completion guard in command resets
benhook1013 Oct 26, 2026
d8a77ba
fix(ci): allow Account checks to finish after integration tests
benhook1013 Oct 26, 2026
9370495
Merge commit 'b7b71c9528f92e9653d19df105142db7f5882187' into codex/ga…
benhook1013 Oct 26, 2026
39a9de1
Merge commit 'dd164c1ca4795fc9b1fd11f150ab0edaa7cddbc2' into codex/ga…
benhook1013 Oct 26, 2026
4d188b6
fix(ci): allow World admission checks to finish packaging
benhook1013 Oct 26, 2026
f377129
wip(gameplay): preserve protected admission review corrections
benhook1013 Oct 26, 2026
f9e2d00
Merge commit '4ce0204ff4691c2fff682cd3fcf788e6a6b6c335' into codex/ga…
benhook1013 Oct 26, 2026
bea4f4d
test(gameplay): qualify protected admission fixes on current issuer p…
benhook1013 Oct 26, 2026
8e7546b
fix(gameplay): reuse retained protection for pending bind retries
benhook1013 Oct 26, 2026
b7a6210
fix(gameplay): retain protected owner failure causes
benhook1013 Oct 26, 2026
8e15d7a
Merge qualified issuer lifecycle blockers into protected admission
benhook1013 Oct 26, 2026
a6a82fa
fix(gameplay): classify protected settlement storage failures
benhook1013 Oct 26, 2026
e9fb3de
Retain protected settlement refusal diagnostic causes
benhook1013 Oct 26, 2026
1f46cbe
Scope protected Human completion to its configured workload owner
benhook1013 Oct 26, 2026
6e58648
Keep protected abort independent of later pointer creation
benhook1013 Oct 26, 2026
17f8c8f
Reject malformed current-attempt proofs before Account acquisition
benhook1013 Oct 26, 2026
2423281
Merge commit '57d425cd045d67e3474f34a6df6907dedb019c21' into codex/ga…
benhook1013 Oct 27, 2026
233c1e7
Merge commit '1c68113a96acf10f9a3bb7446ce39bcf59d3b0ef' into codex/ga…
benhook1013 Oct 27, 2026
6108b23
Merge commit '8185a0d4a2356554b3c2a8f8c85d2f1a1df4302b' into codex/ga…
benhook1013 Oct 27, 2026
a90a8ff
Merge commit 'a8ed522f9bc2ef784505b1f22639fe6f97b112b6' into codex/ga…
benhook1013 Oct 27, 2026
a4ff857
Use SQL-owned protected timestamps and preserve dependency causes
benhook1013 Oct 27, 2026
bb6a768
Reuse canonical Account admission workload guard in owner services
benhook1013 Oct 27, 2026
d92da9b
Merge commit '699967127c1b13687c8d4fca55ed75dfce0475a5' into codex/ga…
benhook1013 Oct 27, 2026
c9e15e9
Merge commit '17f6b52a1fd05a3a624a7edee7098fb0efc01290' into codex/ga…
benhook1013 Oct 27, 2026
15b28b2
Retain immutable CLOSED origin on protected abort retries
benhook1013 Oct 28, 2026
2a353cd
Merge commit '3ef811dc53fce280db1442904929c1efab5adddf' into codex/ga…
benhook1013 Oct 28, 2026
27fe020
Merge commit '95acdbf6720c22c7c73a5e689f1a6a86a65a006b' into codex/ga…
benhook1013 Oct 28, 2026
c02b01d
Reject unbound autocommit completion and invalid receiver namespace
benhook1013 Oct 28, 2026
e25c05c
Merge commit 'bd2f159581d2cc0f816c2bf4d6bb30dc903cf8a7' into codex/ga…
benhook1013 Oct 28, 2026
c0f720c
fix: order protected admission catalog locks before absence fences
benhook1013 Oct 28, 2026
b97000e
refactor: use shared canonical owner client lifecycle
benhook1013 Oct 28, 2026
003cf21
fix: reject unsupported fresh abort before Account acquisition
benhook1013 Oct 28, 2026
0199f7b
Merge commit '7cec9f93a35b4635b1fe6691f756bb251ab7fbfd' into codex/ga…
benhook1013 Oct 28, 2026
0322d82
Merge commit '77877e04511db5cd6defb8d6e2e7e701e83efa86' into codex/ga…
benhook1013 Oct 28, 2026
e95b522
Merge commit '0b368b8bc98b53f046fb20b97a3bc6da32828003' into codex/ga…
benhook1013 Oct 28, 2026
19f8389
Merge commit 'e7c7627cebd31db81635c1ca3e4814ce41b24f8f' into codex/ga…
benhook1013 Oct 28, 2026
a3be562
Merge commit '6b2d4b383fb18563ba1119c0c60be3f9343bb1f1' into codex/ga…
benhook1013 Oct 29, 2026
a6866d0
Own terminal issuer retirement with admission settlement
benhook1013 Oct 29, 2026
def424e
Merge commit '35ad2c146ce606da83fbdb8ce930e59e087ab789' into codex/ga…
benhook1013 Oct 29, 2026
3f59cd9
Apply canonical retirement proof import order
benhook1013 Oct 29, 2026
356a510
Merge commit '9c2294487bdf499a6b14f5c12f60b69d41ab6e24' into codex/ga…
benhook1013 Oct 29, 2026
94a5d63
Lock retained settlement sources in canonical order
benhook1013 Oct 29, 2026
0e1fe2e
Merge commit '35d3772b1e1436861583c8833886cebf8dae3c38' into codex/ga…
benhook1013 Oct 29, 2026
f793cff
fix: align protected settlement read and historical abort guards
benhook1013 Oct 29, 2026
1ba0709
Merge commit '024899994aaed55fecef3b64a4f76703f5a66d7d' into codex/ga…
benhook1013 Oct 29, 2026
0530caf
Separate executable settlement from protected admission foundation
benhook1013 Oct 29, 2026
a964395
test(world): account for admission status migration frontier
benhook1013 Oct 29, 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,8 @@ jobs:
permissions:
contents: read
id-token: write
# Account and Game Session need 60 minutes for full checks including PostgreSQL/Redis issuer suites, packaging and post-job cleanup; World and Game Design retain 30 minutes.
timeout-minutes: ${{ (matrix.module == 'account-service' || matrix.module == 'game-session-service') && 60 || (matrix.module == 'world-management-service' || matrix.module == 'game-design-service') && 30 || 20 }}
# Full checks, packaging and cleanup need 60 minutes for Account/Game Session (PostgreSQL/Redis issuer suites), 40 for World and 30 for Game Design.
timeout-minutes: ${{ (matrix.module == 'account-service' || matrix.module == 'game-session-service') && 60 || matrix.module == 'world-management-service' && 40 || matrix.module == 'game-design-service' && 30 || 20 }}
strategy:
fail-fast: false
matrix:
Expand Down
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.

Passive original StartSession admission/activation protection storage adds no callable acquisition, read or settlement API. SQL terminal integrity is not authenticated Game Session/World terminal authority, and no protection 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 open producer/consumer gates.
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 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 Expand Up @@ -225,6 +225,10 @@ The prepared `SettleOriginalStartSessionWorldParticipation` receiver accepts onl

The prepared original activation-protection methods authenticate the exact same-namespace World workload without end-user context. Acquisition compares the original COMMITTED participation and unchanged retained Game Session witness, independently reads the current pending attempt and complete operation-bound STARTING association, and revalidates Account source/reference currentness before retaining protection. Its historical witness lookup is comparison-only; lease expiry and source changes remain checked by the original Account guards. Historical protection readback and settlement cannot reacquire, renew or authorize another operation. Settlement accepts only exact authenticated World-owned terminal evidence. These methods remain unregistered; source and proof limitations belong to [the activation-protection tracker](../../../project-management/implementation-tracking/player-access-and-session.md#original-startsession-protected-activation-source).

### StartSession admission-protection acquisition

`AccountStartSessionAdmissionProtectionService.AcquireStartSessionAdmissionProtection` is an internal schema-1 Game Session-to-Account method defined by the [acquisition proto](../../../../protos/account/v1/start_session_admission_protection_acquisition.proto). It transports the complete canonical Account protection request, bounded to 768 KiB, and returns complete owner-produced protection evidence, bounded to 8 MiB; the receiver's wire bound includes the codec's finite 8-byte protobuf envelope allowance. The manually constructed receiver requires the exact same-namespace Game Session mTLS identity and rejects authenticated end-user context before decoding or owner work. The request is binding/comparison input, not caller authority or terminal evidence. Account's acquisition owner independently checks the original attempt and current source, retains or replays the immutable protection, and verifies its exact current readback without extending the original lease. The method remains unregistered and is not a public API. Account's terminal settlement is a separate owner operation; its authenticated Game Session read contract is defined in [Game Session API Contracts](../game-session-service/api-contracts.md#account-purpose-initial-admission-settlement-read).

## REST APIs

| Method | Path | Description |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ 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.

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.

Account's unregistered original-ACK storage seam requires PostgreSQL 18 for fresh operations: the original executor performs a writable SERIALIZABLE physical COMMIT on its enlisted connection and returns an opaque acknowledgement only after observing the database clock before unchanged expiry; a separate transaction commits the exact receipt. Receiving V146 changes only the fresh receipt-insert guard, preserving the donor V122 SQL unchanged as receiving V144. Its historical durable reader remains PostgreSQL 16-only, so lost-acknowledgement recovery and retained-receipt retries remain denied on PostgreSQL 18. This storage evidence does not authenticate a caller, establish current Account ownership or admission, authorize gameplay, or register runtime behavior. Migration provenance and pending receiving proof are recorded in the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#account-fresh-original-ack-storage-preparation).
Expand Down
Loading
Loading