Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a18dab7
feat: prepare authenticated public character creation source reads
benhook1013 Oct 23, 2026
b97b220
docs: record independent character creation source proof
benhook1013 Oct 23, 2026
e2d1360
Merge commit '5fb09caaa628a491adcd64aac04cbae71912e4cc' into codex/ga…
benhook1013 Oct 23, 2026
0ad0a0b
Merge commit '2c266493a1aa7c048abe9e72f296941d443e0e00' into codex/ga…
benhook1013 Oct 23, 2026
5d2b409
Record current published-parent qualification of created-roster sourc…
benhook1013 Oct 23, 2026
7a03daf
Merge commit '7cb060835ca10589e25d8644ebc20bf7bc4957ef' into codex/ga…
benhook1013 Oct 23, 2026
7bffb8a
Merge commit 'bdca1925865660428501b8121ff1acbadaf9633d' into codex/ga…
benhook1013 Oct 23, 2026
613b7c9
Merge commit 'dba4a2f1f098ba300ae0b5da2ebc6b44a7846e7b' into codex/ga…
benhook1013 Oct 23, 2026
2eecea5
Merge remote-tracking branch 'origin/codex/gameplay-roster-retention-…
benhook1013 Oct 24, 2026
d84249f
Merge commit 'a277d3758ad2eb113b69479e68ae6a1945d503c5' into codex/ga…
benhook1013 Oct 24, 2026
b11470f
docs: record created roster source composition proof
benhook1013 Oct 24, 2026
e668278
Classify public creation source dependency and owner failures
benhook1013 Oct 24, 2026
79c78c5
Record qualified public creation source review corrections
benhook1013 Oct 24, 2026
8f80c32
Separate invalid created-roster source evidence from caller faults
benhook1013 Oct 24, 2026
5cdb222
Align creation protection bounds and canonical source slugs
benhook1013 Oct 24, 2026
5297c88
Record qualified combined creation source review fixes
benhook1013 Oct 24, 2026
2aa25d9
Clarify creation source API and current qualification
benhook1013 Oct 24, 2026
ee9482c
Align Game Session immutable release evidence with Entity validation
benhook1013 Oct 24, 2026
cc33169
Record complete release-evidence correction proof
benhook1013 Oct 24, 2026
4bcceae
Receive merged required-gate replay repair through roster parent
benhook1013 Oct 24, 2026
44c7c9f
Receive reviewed roster cleanup metrics and retained horizon proof
benhook1013 Oct 24, 2026
67e9445
Merge commit '5aa7c9f8707c0a798a2e53a827ee77d3a15a7280' into codex/ga…
benhook1013 Oct 24, 2026
15d9d0b
Merge commit '53b4b292894d1354648bc259e309bac99afb76bc' into codex/ga…
benhook1013 Oct 24, 2026
398af8b
Carry qualified roster replay and dispatch corrections into source reads
benhook1013 Oct 24, 2026
7b9311f
Reconcile current public creation source with staged retention parent
benhook1013 Oct 24, 2026
e793d70
Merge commit '789a5250a2b6410337d68c62e5202617adefa1eb' into codex/ga…
benhook1013 Oct 24, 2026
afc766f
Merge commit '87af69853c7978c64d565741c18e973966c063a3' into codex/ga…
benhook1013 Oct 24, 2026
bd032b6
docs: record created-source parent reconciliation proof
benhook1013 Oct 24, 2026
fcdf106
Receive trusted required-gate recovery from roster parent
benhook1013 Oct 24, 2026
1d6cda8
Merge commit 'cb18cc6f14959053ca4e3c5dae1473c410a7dec5' into codex/ga…
benhook1013 Oct 24, 2026
0b110d0
Merge commit '3df8879e794c2e2aa7d1f4f174a6213548932005' into codex/ga…
benhook1013 Oct 24, 2026
012a253
Merge commit '6356f534212626ebe5707497a0f93eef7da5e041' into codex/ga…
benhook1013 Oct 25, 2026
f6367df
Receive reviewed roster retention fixes without changing created-sour…
benhook1013 Oct 25, 2026
947a02d
Record focused proof for created-source parent reconciliation
benhook1013 Oct 25, 2026
e0e6191
Merge qualified dependency maintenance into created-roster source
benhook1013 Oct 25, 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 @@ -6,6 +6,8 @@ The authoritative REST schema source lives in [../../../../services/entity-manag

## Implementation Status

The standalone, unregistered `EntityPlayerCreatedRosterSourceClient` reads Game Session’s [public character-creation source](../game-session-service/api-contracts.md#public-character-creation-source-read) through exact same-namespace workload mTLS. It checks the complete sealed policy set, original authored source, World lifecycle and current target together, retaining the owner-issued policy identity and digest separately from authored projection identities. Its private authenticated result supplies source input only. It has no current roster consumer and does not widen the existing `PRESEEDED_ONLY` roster or selected-assignment services, allocate a character, acquire protection or establish admission.

The prepared selected-source command and immutable receipt/digest reads remain standalone, unregistered and unqualified. Forward V1011 adds the empty selected source catalogue over the current combined Entity/Saga parent, retaining explicit family and equipment evidence; this does not enable arbitrary authored templates, placement or gameplay admission. 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).

Entity V1003–V1010 and the manually composed, unregistered assignment/receipt/roster services are passive source and storage preparation. The canonical roster proto has manually composed certificate-guarded client, peer-interceptor, and read-adapter source definitions, but no automatic runtime handler, client, or service-bean registration. Default component scanning and legacy activation flags leave this family unregistered; [Runtime and Data](./runtime-and-data.md#implementation-status) owns its registration prerequisites. Legacy adapters and consumers retain develop behavior. The qualified immutable donor contains the complete migration tail; focused qualification of this recut, including the default combined Entity/Saga locations and actual-parent upgrade, is recorded under [GR-3.1](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#validation-and-proof). Neither storage fixtures nor discovery references establish actual owner provenance, fresh Account eligibility, gameplay admission, or PLAY. Authenticated owner handoff and real caller/execution replacement remain required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ When the existing default-off fixture mode is enabled, the retained `RunOwnedIni

The fresh canonical Human admission path also refuses preparation, commit and abort before intent reservation, World hold acquisition, pointer or audit effects while authenticated Account protection acquisition and terminal settlement are unavailable. Retained predecessor terminal records remain readable with their original bytes; storage retention does not qualify current Human execution. Existing legacy initial-bind and player flows keep their distinct boundaries. This containment supplies no strict Account `JOIN`, production activation or fixture first-`OPEN` authority; the [runtime tracker](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#canonical-fixture-launch-owner-stage) records current proof and remaining composition.

### Public character-creation source read

The unregistered `CharacterCreatePublicSourceService.ReadCharacterCreatePublicSource` is a pre-intent source read for the exact same-namespace Account mTLS workload, without bearer or end-user-context substitutes. Its [closed protobuf contract](../../../../protos/game-session/v1/character_create_public_source_service.proto) accepts only expected canonical discovery selectors and echoes them exactly; those selectors establish no Account authentication or issued-scope authority. The initial supported source is visible public-production `SHARED` with `PLAYER_CREATED`, a current canonical `OPEN` pointer, an existing retained original authored-core source, and an independently read matching World `ACTIVE` lifecycle. The composition rereads the original Game Design source through the existing exact-replay codec and compares the complete retained bytes and digest, verifies the immutable historical StartSession association without renewing or reacquiring its claim, then rechecks the full local route, catalog, pointer, launch and retained source after remote reads. Its complete pointer source includes the actual pointer row's `updatedAt`, never a substituted terminal timestamp. Missing, conflicting, replaced, fixture-only or unsupported owner evidence fails closed. The request is bounded to 16 KiB and the complete response to 32 MiB, retaining the existing authored-source codec's 16 MiB wire and 8 MiB canonical-result bounds; downstream Account persistence and terminal budgets require separate qualification and must not truncate this source to fit. Registration remains absent; the adapter checks the closed request bound before owner work. This API constructs no Account action, acquires no protection, allocates no actor and establishes no admission or activation authority.

The unregistered Entity-only `ReadPlayerCreatedRosterSource` read is exposed to the exact same-namespace Entity Management workload certificate, rejecting Account callers, foreign namespaces and authenticated caller context; bearer credentials cannot substitute for the required certificate. Its closed selectors pin canonical tenant, realm, shared playable namespace, runtime instance, catalog and pointer revisions, expected canonical content version and active World epoch, without Account scope or evaluation/expiry timestamps. It preserves the existing original authored-source, historical launch and independent World `ACTIVE` readback composition, including full owner bytes and rereads of current local and historical source facts; expected version and epoch must still match after remote reads. The request is bounded to 16 KiB and the response to 32 MiB. Account's discovery and creation-source methods remain Account-only. This supplies current published `PLAYER_CREATED` policy and descriptor input for Entity's [actor-entry boundary](../entity-management-service/api-contracts.md#character-creation-owner-protection) under [ADR 0140](../../decisions/adr-0140-realm-authored-controllable-actor-entry.md); it grants no roster assignment, Account authority, protection, activation or admission and does not widen the separate `PRESEEDED_ONLY` owner-read or assignment authority.

The Entity-only roster response additionally carries the complete canonical sealed policy set from Game Design's [published realm-entry policy owner read](../game-design-service/api-contracts.md#published-realm-entry-policy-owner-read). Game Session independently reads and validates that set against the original authored association, full immutable release content and World launch, then requires exactly one matching schema-three `PLAYER_CREATED` policy with the same canonical policy, descriptor and source revision as the authored projection. Its owner-issued policy identity and `policyDigest` remain distinct from projection binding identities and content digests. The policy read occurs before final local and historical source revalidation; Account's two methods do not perform this additional RPC or carry the set.

The same unregistered Account-only workload family exposes `ResolveCharacterCreatePublicTarget` before scope issuance. Its closed request contains only schema version, read-request UUID, workload namespace and friendly world/realm slugs. Game Session resolves exactly one match through its actual canonical visible public-production route owner, requires `SHARED` and `PLAYER_CREATED`, and rereads the complete current route, catalog and `OPEN` pointer before returning their typed canonical identifiers, metadata, revisions, canonical content version, active epoch and actual pointer timestamp. Unknown, ambiguous, unsupported or changed targets fail closed. The response is bounded to 64 KiB, echoes the original request and contains no Account-issued scope, evaluation time, expiry, creation intent or membership authority. Account must independently authenticate bootstrap identity and issue its own canonical scope; friendly selectors and target discovery do not supply that authority. The request has the same 16 KiB bound and exact peer requirement as the Account source read above.

### Canonical gameplay roster owner reads

#### Original canonical roster selection reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ This is a non-normative implementation tracker for player access and session. Ca

## Current Status

### Public character-creation and created-roster source preparation

The latest parent carry receives the independently qualified roster retention and recovery corrections without changing this stage’s 23-file owned boundary. R368 freshly passes 13 Entity unit/mTLS cases, 36 Game Session unit/mTLS cases and 44 Game Session PostgreSQL cases, including current-pointer assertions and the inherited reference-owner recovery regressions, with zero failures, errors or skips. Root checks, enabled affected static analysis, formatting and documentation checks pass. The two shared-file merges preserve both this stage’s current-pointer/source assertions and the parent’s operation-UUID and proof-handoff corrections. Earlier runtime results retain their original source attribution; these focused results do not establish genuine authority, created-player admission or activation.

The earlier parent reconciliation at `afc766f0ac093f1adac069e28f4a48d7fcc13e7d` carries the qualified sibling-retirement correction while preserving this stage’s 23-file source boundary. R228 freshly passes 13 affected Entity unit/mTLS cases, 36 Game Session unit/mTLS cases and 42 Game Session PostgreSQL cases, including the current-pointer reader and two-service retained-migration cohort, with zero failures, errors or skips and enabled static/format checks. R229 rebuilds fresh Entity and Game Session images at that clean checkpoint and passes held Gateway/Telnet denial plus isolated backend WORLDS/LOGIN/PLAY/LOOK; authenticated teardown and independent exact-project checks confirm no remaining containers, networks or volumes. This qualifies the carried source and packaging. Earlier full-suite results below retain their original attribution; these runs do not establish genuine source custody, created-player admission or activation.

The release-evidence correction at `ee9482ca8debfa7c5cf881b3aced2213bcb6504e` aligns Game Session with Entity’s existing full immutable-release validation and binds the association, World release and publication operation to byte-identical World evidence. R114 passes the complete Game Session check, formatting and static analysis with 2,531 unit cases, 357 PostgreSQL cases and 36 cross-service cases, all with zero failures, errors or skips. The added unit case exercises nine independently mismatched release/World fields. R115 freshly rebuilds that code and passes held Gateway/Telnet denial and the isolated backend `WORLDS` / `LOGIN` / `PLAY` / `LOOK` baseline; authenticated teardown and independent exact-project inspection confirm no remaining containers, networks or volumes. These results qualify the source correction and packaging, without registering this source or establishing successful public admission.

The preceding combined review correction at `5cdb2224f95cfc248a26b6c77de3d8425ede5bf2` preserves distinct source-client classifications for malformed caller input, invalid authenticated owner evidence and outbound transport failures, retaining the original validation cause. It rejects null Account originals and oversized individual membership or entitlement snapshots, and applies the canonical slug grammar before Account-source owner reads. R92 freshly passes 383 Entity unit cases, 70 Entity PostgreSQL cases and 2,530 Game Session unit cases with affected static analysis, formatting and documentation checks. The new cases cover each exact 1 MiB snapshot limit, each one-byte overflow, null-original classification, 65-character slug rejection before any owner read and exact-64 request acceptance. R94 rebuilds fresh images at that code checkpoint and passes held Gateway/Telnet denial plus isolated backend WebSocket `WORLDS` / `LOGIN` / `PLAY` / `LOOK`; authenticated teardown succeeds and independent exact-project inspection confirms no remaining containers, networks or volumes. These are controlled component and isolated runtime proofs, without genuine source custody, created-roster consumption, runtime registration, successful public admission or activation.

Unchanged Common proof remains 1,001 cases from R65; R69 passed 49 Game Session PostgreSQL and 14 cross-service cases, while all 22 Communication cases first failed on the same PostgreSQL connection refusal in R69 and passed unchanged in R70 (cause unproven). None of these earlier results was freshly rerun in R92.

Game Session prepares the unregistered public-target discovery and full creation-source reads, alongside the distinct Entity-only created-roster source read and its authenticated Entity client. The source preserves the complete original authored evidence and independently read World lifecycle; the Entity branch additionally validates Game Design’s complete sealed policy set and exact schema-three creation descriptor before final source revalidation. The current pointer source uses its actual stored timestamp. These readers acquire no owner protection, allocate no actor and grant no admission. Canonical contracts remain in the [Game Session API](../../architecture/microservices/game-session-service/api-contracts.md#public-character-creation-source-read) and [Entity API](../../architecture/microservices/entity-management-service/api-contracts.md#implementation-status). Genuine source custody, created-roster consumption, runtime registration, successful public admission and activation remain future gaps, as do the broader UUID runtime and CHARACTER_CREATE owners.

### Retained Draft authorization fence migrations

The [Account fence history fixture](../../../services/account-service/src/test/java/integration/net/firedevops/firemud/accountservice/authordraft/AccountDraftFenceHistoryPostgresIntegrationTest.java) executes the owning filesystem migrations from V75 through V76 and then the current default migration set. Its Account UUID and provenance come from PostgreSQL defaults; it retains the original v1 binding, commit order, stipulated World committed readback, missing Game Design outcome, pending source change and 512-byte source key. Every original column and row version in all six authorization ledger tables, and every prior complete Flyway history row, survives both upgrades. The expected V87 addition of one Global Roles serialization lock is checked separately; it supplies no authority evidence. Exact replay, current pending-mutation refusal and denied binding/readback rewrites leave the retained rows unchanged.
Expand Down
49 changes: 49 additions & 0 deletions protos/account/v1/character_create_source_service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
syntax = "proto3";

package account.v1;

option java_package = "net.firedevops.firemud.account.v1";
option java_multiple_files = true;

// Unregistered receiving contract. Reads require an exact same-namespace creation protection
// owner workload: Entity Management, Game Session, or World Management.
// This API supplies original Account source readback, never Entity terminal/release authority.
service CharacterCreateSourceService {
rpc ReadOriginalCharacterCreate(ReadOriginalCharacterCreateRequest)
returns (ReadOriginalCharacterCreateResponse);
rpc ReadOriginalCharacterCreateProtection(ReadOriginalCharacterCreateProtectionRequest)
returns (ReadOriginalCharacterCreateProtectionResponse);
}

message ReadOriginalCharacterCreateRequest {
string target_namespace = 1;
string operation_id = 2;
string mutation_digest = 3;
}

message ReadOriginalCharacterCreateResponse {
string target_namespace = 1;
string operation_id = 2;
string create_character_request_id = 3;
string connect_scope_id = 4;
string authenticated_account_id = 5;
string purpose = 6;
bytes original_action = 7;
string mutation_digest = 8;
bytes original_source_readback = 9;
}

message ReadOriginalCharacterCreateProtectionRequest {
ReadOriginalCharacterCreateRequest original = 1;
string account_protection_id = 2;
int64 account_protection_fence = 3;
}

message ReadOriginalCharacterCreateProtectionResponse {
ReadOriginalCharacterCreateResponse original = 1;
string account_protection_id = 2;
int64 account_protection_fence = 3;
string acquired_at = 4;
bytes original_membership_snapshot = 5;
bytes original_entitlement_snapshot = 6;
}
63 changes: 63 additions & 0 deletions protos/entity-management/v1/entity_character_create_service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
syntax = "proto3";

package entity_management.v1;
option java_package = "net.firedevops.firemud.entitymanagement.v1";
option java_multiple_files = true;

import "account/v1/character_create_source_service.proto";

// Unregistered exact-purpose owner boundary. Only Account may commit or explicitly abort;
// Account, Game Session and World independently authenticate to read the immutable terminal.
service EntityCharacterCreateService {
rpc CommitProtectedCharacterCreate(CommitProtectedCharacterCreateRequest)
returns (EntityCharacterCreateTerminal);
rpc AbortProtectedCharacterCreate(AbortProtectedCharacterCreateRequest)
returns (EntityCharacterCreateTerminal);
rpc ReadEntityCharacterCreateTerminal(ReadEntityCharacterCreateTerminalRequest)
returns (EntityCharacterCreateTerminal);
}

message CharacterCreateProtectionReference {
string protection_id = 1;
int64 protection_fence = 2;
}

// References only: the receiver reads each original directly from its authenticated owner.
message CommitProtectedCharacterCreateRequest {
account.v1.ReadOriginalCharacterCreateRequest original = 1;
CharacterCreateProtectionReference account_protection = 2;
CharacterCreateProtectionReference game_session_protection = 3;
CharacterCreateProtectionReference world_protection = 4;
}

message AbortProtectedCharacterCreateRequest {
CommitProtectedCharacterCreateRequest creation = 1;
string abort_request_id = 2;
}

message ReadEntityCharacterCreateTerminalRequest {
account.v1.ReadOriginalCharacterCreateRequest original = 1;
}

enum EntityCharacterCreateOutcome {
ENTITY_CHARACTER_CREATE_OUTCOME_UNSPECIFIED = 0;
ENTITY_CHARACTER_CREATE_OUTCOME_COMMITTED = 1;
ENTITY_CHARACTER_CREATE_OUTCOME_ABORTED = 2;
}

message EntityCharacterCreateTerminal {
CommitProtectedCharacterCreateRequest original_request = 1;
account.v1.ReadOriginalCharacterCreateResponse account_original = 2;
bytes original_account_protection = 3;
bytes original_game_session_protection = 4;
bytes original_world_protection = 5;
// Full Entity selected-source receipt stays local under its existing 80 MiB bound.
string entity_intake_request_id = 6;
EntityCharacterCreateOutcome outcome = 7;
string character_id = 8;
string terminal_id = 9;
int64 terminal_fence = 10;
string completed_at = 11;
string abort_request_id = 12;
string entity_source_receipt_digest = 13;
}
Loading
Loading