Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
50e5bae
Retain first-observation delay and bounded observer recovery evidence
benhook1013 Oct 29, 2026
26226b4
Carry current train repairs while preserving UUID receiving work
benhook1013 Oct 29, 2026
c9f8c08
docs: retain front observation and retarget recovery lessons
benhook1013 Oct 29, 2026
9bed9e4
Merge commit '778977929483cf7209c7957dbfc02a9b17be7d69' into codex/ga…
benhook1013 Oct 29, 2026
e1953c1
Prepare ordinary Account UUID receiving across existing consumers
benhook1013 Oct 29, 2026
9437008
Reconcile ordinary Account UUID sources and receiving proofs
benhook1013 Oct 30, 2026
75b8081
Merge commit '21f33d5ba7784ace2741da426a4973e52a9c0505' into codex/ga…
benhook1013 Oct 30, 2026
6b6a97f
Merge commit 'c7c8d6048ba2e0366b780005873192b468eef97a' into codex/ga…
benhook1013 Oct 30, 2026
df3ab6e
Merge commit '2e3adbf9e6fe05c7e489626a7f93cf92c8b593d9' into codex/ga…
benhook1013 Oct 30, 2026
08c4dd6
Receive qualified Account response UUID source into ordinary receivin…
benhook1013 Oct 30, 2026
effade5
Qualify received UUID JOIN responses with future caller identity
benhook1013 Oct 30, 2026
9f8ce1b
Receive coherent REST UUID profile source into ordinary UUID preparation
benhook1013 Oct 30, 2026
aed9764
Record qualified ordinary UUID profile receiving proof
benhook1013 Oct 30, 2026
ef40475
Receive final REST identity group and align ordinary UUID consumer fi…
benhook1013 Oct 30, 2026
5c5efdb
Align ordinary UUID consumer authentication fixtures
benhook1013 Oct 30, 2026
16dfb23
Receive final Account selector fixes into ordinary UUID preparation
benhook1013 Oct 30, 2026
344eb4f
Record qualified Account UUID receiving proof
benhook1013 Oct 30, 2026
ad9f7bf
Receive qualified presence privacy into preserved ordinary UUID source
benhook1013 Oct 30, 2026
8a8b747
Compose final UUID cutover while restoring every prepared caller
benhook1013 Oct 30, 2026
6675f36
Place moderation UUID migration after shared saga frontier
benhook1013 Oct 30, 2026
610e249
Receive published UUID consumer preparation into final cutover
benhook1013 Oct 30, 2026
2418bf4
Receive current presence review documentation fixes
benhook1013 Oct 30, 2026
9ed0888
Describe current UUID cutover capability and proof limits
benhook1013 Oct 30, 2026
6e8b972
Receive reviewed presence visibility alias correction
benhook1013 Oct 30, 2026
cfaf49f
Retain alias regression with final UUID caller fixture
benhook1013 Oct 30, 2026
0e2f012
Receive expanded UUID preparation and durable failure output correction
benhook1013 Oct 30, 2026
7df3268
Retain the real Social sender-handoff qualification limit
benhook1013 Oct 30, 2026
671b828
Receive current Social parser and authorization documentation fixes
benhook1013 Oct 30, 2026
714730d
Retain qualified formatting and correct tracker Markdown
benhook1013 Oct 30, 2026
8419fcf
Receive published consumer proof and canonical Entity caller fixture
benhook1013 Oct 30, 2026
45e1929
Receive canonical parser cause preservation and Social proof ownership
benhook1013 Oct 30, 2026
a74fdbf
Align smoke Account workload identity and clear image-only build inputs
benhook1013 Oct 30, 2026
242786c
Complete ordinary Entity Account UUID receiving and authenticated dem…
benhook1013 Oct 30, 2026
53db7f8
Receive qualified native fixture repairs and retain final UUID transp…
benhook1013 Oct 30, 2026
be9c4ab
Permit ordinary UUID owners without promoting canonical actor provenance
benhook1013 Oct 30, 2026
ca57901
Receive typed inventory and presence review fixes without losing fina…
benhook1013 Oct 30, 2026
671a9e3
Receive qualified control-plane diagnostics and retain final UUID bou…
benhook1013 Oct 30, 2026
08ba3f2
Receive qualified preparation parent and retain positive final whispe…
benhook1013 Oct 30, 2026
81fcde7
Prove real mTLS Entity UUID owner and tenant isolation
benhook1013 Oct 30, 2026
026c549
Base final UUID activation on complete owner preparation without chan…
benhook1013 Oct 30, 2026
c53106c
docs: align final UUID receiving contracts and proof status
benhook1013 Oct 30, 2026
caab89b
merge: receive qualified owner preparation without changing final UUI…
benhook1013 Oct 30, 2026
67adbe8
merge: preserve final UUID positive reconnect proof while receiving p…
benhook1013 Oct 30, 2026
8dd4b11
merge: prepare final UUID receiving with reconciled parent diagnostics
benhook1013 Oct 30, 2026
6759604
merge: retain complete activation source after signed-claim preparati…
benhook1013 Oct 30, 2026
f6e6f28
merge: preserve final activation on qualified 45-file preparation
benhook1013 Oct 30, 2026
0ad5016
fix: complete UUID discovery, policy batches and attestation issuance
benhook1013 Oct 30, 2026
715fd14
merge: receive parent lint repair without changing UUID fixes
benhook1013 Oct 30, 2026
ee5f532
Clarify UUID retention and log preserved connect context
benhook1013 Oct 30, 2026
70a24e0
Receive qualified Account guard and parent CI repairs
benhook1013 Oct 30, 2026
d0710c4
Receive current develop backup verifier maintenance
benhook1013 Oct 30, 2026
84bf961
Sanitize UUID owner readback failures and prove HTTP rejection
benhook1013 Oct 30, 2026
400df84
Wire batched UUID ownership into presence auth fixture
benhook1013 Oct 31, 2026
91b5aa8
Receive qualified demo-client and UUID copy-owner repairs
benhook1013 Oct 31, 2026
5b7d8b9
Prove retained owner refusal and remove obsolete seeder dependency
benhook1013 Oct 31, 2026
e68309b
Receive preserved Entity UUID owner updates into final cutover
benhook1013 Oct 31, 2026
a692d13
Use explicit Account UUID lookup throughout final Entity callers
benhook1013 Oct 31, 2026
b6fea69
Preserve safe Account outage handling and qualify UUID correlation gu…
benhook1013 Oct 31, 2026
2f0a3f0
Receive ordinary local mTLS startup preparation into final UUID recei…
benhook1013 Oct 31, 2026
ee67bb8
Receive local startup health while preserving traffic admission hold
benhook1013 Oct 31, 2026
eff5e10
Merge branch 'codex/gameplay-account-entity-owner-preparation-2026103…
benhook1013 Oct 31, 2026
7986998
Merge branch 'codex/gameplay-account-entity-owner-preparation-2026103…
benhook1013 Oct 31, 2026
befc201
Preserve fixture identity and rebuild unreadable derived character gr…
benhook1013 Oct 31, 2026
e38f048
Finish UUID receiving profile-policy reconciliation proof
benhook1013 Oct 31, 2026
f4602df
Merge branch 'codex/gameplay-account-entity-owner-preparation-2026103…
benhook1013 Oct 31, 2026
82db56d
Prove bootstrap HTTP UUID forwarding through real Entity mTLS storage
benhook1013 Oct 31, 2026
654144e
Merge branch 'codex/gameplay-account-entity-owner-preparation-2026103…
benhook1013 Oct 31, 2026
42b4937
Merge branch 'codex/gameplay-account-entity-owner-preparation-2026103…
benhook1013 Oct 31, 2026
ac27750
Merge qualified preparation and retain UUID-positive receiving proof
benhook1013 Oct 31, 2026
a42651b
Receive repaired aggregate provenance into UUID receiving
benhook1013 Oct 31, 2026
b4a9315
docs: align account identity status with UUID receiving
benhook1013 Oct 31, 2026
6e92f59
Merge commit '7ec6a5ae4ef3cd857a8305565c384dac311bed75' into codex/ga…
benhook1013 Oct 31, 2026
9b7d093
Merge commit '6d3ac2f898' into codex/gameplay-account-uuid-receiving-…
benhook1013 Oct 31, 2026
fd83b9e
Merge commit '380a2c0f79f531dbee471e4c1554a772c693dd5c' into codex/ga…
benhook1013 Oct 31, 2026
411aef5
Check the fresh room inventory reply after dropping an item
benhook1013 Oct 31, 2026
99d16bc
Merge commit 'b7565b352dfe4d847c780a2752e5d5321b91655f' into codex/ga…
benhook1013 Oct 31, 2026
aafd628
Merge commit '967deeadc2fd9e74a6f0062f2af8d42333b4bc12' into codex/ga…
benhook1013 Oct 31, 2026
f6fa35a
Merge commit '5eb78e05859f548ff79f9f77c7de7e8b565ef283' into codex/ga…
benhook1013 Oct 31, 2026
c7acb66
Distinguish unresolved stored owners and clarify UUID review proof
benhook1013 Oct 31, 2026
7bb05ef
Merge commit 'adb748668cc7a67947e1bc1f620ff669b6da1e77' into codex/ga…
benhook1013 Oct 31, 2026
e0fd8ed
Merge commit 'd7f6159b6f46ae355561c50edcfc83d3290970fd' into codex/ga…
benhook1013 Oct 31, 2026
66adeee
Tighten UUID receiving proof setup and retained-context documentation
benhook1013 Oct 31, 2026
b0d2bb3
Apply the same bounded timestamp guard to membership and realm grants
benhook1013 Oct 31, 2026
95dfe33
test(game-session): keep authority fixtures within freshness bounds
benhook1013 Oct 31, 2026
7ecfe3f
Merge commit '3eeac1d66678d5683a95e7d89f52b200f61aa6d4' into codex/ga…
benhook1013 Oct 31, 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
26 changes: 17 additions & 9 deletions design/architecture/microservices/account-service/api-contracts.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ This document defines Entity Management’s runtime model, persistence ownership

## Implementation Status

Ordinary Account UUID storage and nested-character copy carriers are prepared separately from wire activation. V1024 permits UUID-owned ordinary rows without fabricated numeric evidence while preserving retained rows and canonical created-actor/provenance guards. Existing numeric ordinary services and demo seeding remain unchanged until final receiving activation; the prepared mTLS authentication client is not yet invoked by that seeder. Representation belongs to [API Contracts](./api-contracts.md#ordinary-account-ownership); detailed capability and proof status belong to the [Entity tracker](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#ordinary-account-uuid-ownership).
- Ordinary Account ownership uses the existing `characters.account_uuid` carrier; V1024 permits fresh ordinary rows without fabricated numeric source evidence and adds an ordinary UUID roster index. It leaves retained numeric/unresolved rows unchanged and does not promote canonical actor provenance. Representation and admission consequences belong to [API Contracts](./api-contracts.md#ordinary-account-ownership); implementation/proof status belongs to the [Entity tracker](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#ordinary-account-uuid-ownership).
- Explicit local demo seeding authenticates the actual demo credentials through the normal Account mTLS `Authenticate` API and takes its canonical UUID response. It fails on unavailable identity or a retained demo character with missing/different UUID ownership, without repairing ownership by name or numeric row. The mTLS Compose profile starts Entity after Account health. This fixture operation grants no production registration, creation or admission authority.

- The current crafting REST adapter is runtime-reachable legacy implementation drift, not a supported or advertised boundary: the crafting paths and schemas are omitted from the ping-only authoritative OpenAPI, whose root `security: []` applies only to the health contract, so the adapter remains unsupported/nonconformant. The deployed interceptor requires any `AUTHENTICATED` bearer because this non-public path is not in the public-route list, but neither layer provides tenant binding; there is no controller `SessionContext` tenant guard. `CraftingServiceImpl` trusts the DTO's `tenantId`, `resultItemId`, and ingredient item IDs; `CraftingRecipeRepository.findWithIngredientsById` and the update branch use recipe ID alone, while ingredient loading also uses recipe ID alone. The tenant-qualified list methods first select IDs but then re-enter that unqualified lookup, so they are not evidence of an end-to-end tenant predicate. Existing crafting tests do not establish caller-tenant authorization, cross-tenant recipe isolation, or same-tenant result/ingredient ownership.
- World owns guarded, manually composed initial `character_location` storage and its unregistered placement/read boundary. General movement, occupancy and NPC location remain unqualified; `room_instance` is topology, and a Game Session room binding is not World location authority. Entity Management must not add competing location persistence or treat a cache/projection as authoritative.
Expand All @@ -23,7 +24,7 @@ Ordinary Account UUID storage and nested-character copy carriers are prepared se
- The current `characterGraph` helper caches `getWithInventory(characterId)` by character ID alone with a TTL and performs no namespace or authoritative version validation. It is not the target namespace-qualified Class A `character-cache:*` contract; until that contract is implemented and proved, this cache is not correctness authority.
- `EntityDraftDesignDigestServiceImpl` currently emits `digestSchemaVersion=1` without hashing item `equipmentSlotGroupKey`, while `EquipmentServiceImpl` uses that field for slot compatibility admission. The digest is therefore incomplete for equipment semantics: different slot-group constraints may attest the same content digest. Target convergence adds the normalized field, bumps the schema version, and proves cross-version digest isolation plus publish-gate rejection of a changed constraint.

- Entity V1003–V1005 adds independent opaque actor UUIDs, quarantine metadata, exact namespace/scope constraints, and canonical lookup indexes without inferring Account or tenant UUID provenance. Legacy values are retained. The exact canonical repository reader excludes quarantined rows. Existing legacy consumers retain develop behavior for legacy rows, while numeric character, inventory, equipment, friend, resource and condition predicates exclude actors carrying canonical `tenant_uuid` provenance even when their status becomes `QUARANTINED`, including updates and condition expiry. Legitimate legacy/quarantined rows with null canonical tenant provenance retain legacy behavior. Entity's private tenant-row association is not a platform numeric tenant identity; equal numeric values do not authorize legacy access to a canonical actor. Canonical UUID assignment, receipt and roster predicates remain separate. This narrow storage bridge boundary does not activate runtime quarantine enforcement or canonical player admission.
- Entity V1003–V1005 adds independent opaque actor UUIDs, quarantine metadata, exact namespace/scope constraints, and canonical lookup indexes without inferring Account or tenant UUID provenance. Legacy values are retained. The exact canonical repository reader excludes quarantined rows. Ordinary character projections follow the [Account UUID ownership contract](./api-contracts.md#ordinary-account-ownership) and refuse retained rows without UUID ownership. Separately, numeric character, inventory, equipment, friend, resource and condition predicates exclude actors carrying canonical `tenant_uuid` provenance even when their status becomes `QUARANTINED`, including updates and condition expiry. Legitimate legacy/quarantined rows with null canonical tenant provenance retain their existing storage predicates; this does not supply missing Account UUID ownership or authorize a public character projection. Entity's private tenant-row association is not a platform numeric tenant identity; equal numeric values do not authorize legacy access to a canonical actor. Canonical UUID assignment, receipt and roster predicates remain separate. This narrow storage bridge boundary does not activate runtime quarantine enforcement or canonical player admission.
- Entity V1006–V1010 adds committed assignment/receipt and sealed roster-snapshot storage with canonical publication identity and exact owner counters. The services and certificate-guarded client/read-adapter source definitions are manually composed and unregistered; neither default scanning nor an optional flag registers them. No authenticated production transport, actor promotion of retained legacy rows, or runtime admission is activated. The detailed assignment/roster contract remains in [Entity API Contracts](./api-contracts.md#implementation-status).
- Forward V1016 adds the immutable `PLAYER_CREATED` source identity and created-receipt branch while preserving the `PRESEEDED_ONLY` guards and budgets. The [owning tracker](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#player-created-owner-and-roster-preparation) records qualified controlled initial storage/transport composition and separate retention components. Full guarded post-issuance supersession through retirement remains unrun; the path stays unregistered, with production custody, Account settlement, admission and activation unproved.
- Sealed canonical roster snapshots and their actor references are immutable Entity-owned records: append a new snapshot/reference set when the canonical target or roster changes, preserving the existing deletion guards. The [family retention declaration](#sealed-canonical-roster-retention) defines its ADR 0163 obligations. Before any handler, service, or alternative snapshot writer is registered, owner-local disposal must be proved with authoritative terminal/reference/hold carriers and compatible configured horizons. Local carrier and disposal source is prepared with focused qualification; genuine producer composition and registration remain unavailable. See the [implementation tracker](../../../project-management/implementation-tracking/gameplay-rules-entities-and-effects.md#canonical-sealed-roster-retention-prerequisite). This does not set a numeric horizon, authorize deletion, or establish indefinite retention. The current passive writer has no registered production call chain; its pending implementation obligation is tracked under #2967 and is not completion or merge proof.
Expand Down
8 changes: 4 additions & 4 deletions design/grpc-docs/grpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7660,7 +7660,7 @@ Immutable identity and content digest of one exact roster snapshot.
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | |
| tenant_id | [string](#string) | | |
| account_id | [string](#string) | | |
| account_id | [string](#string) | | Canonical lowercase non-nil Account UUID ownership. |
| name | [string](#string) | | |
| level | [int32](#int32) | | |
| experience | [int32](#int32) | | |
Expand Down Expand Up @@ -7745,7 +7745,7 @@ Immutable identity and content digest of one exact roster snapshot.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| tenant_id | [string](#string) | | |
| account_id | [string](#string) | | |
| account_id | [string](#string) | | Canonical lowercase non-nil Account UUID; never an Account private row key. |
| name | [string](#string) | | |
| game_instance_id | [string](#string) | | |
| playable_state_scope | [PlayableStateScope](#entity_management-v1-PlayableStateScope) | | |
Expand Down Expand Up @@ -7945,7 +7945,7 @@ Immutable identity and content digest of one exact roster snapshot.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| tenant_id | [string](#string) | | |
| account_id | [string](#string) | | |
| account_id | [string](#string) | | Canonical lowercase non-nil Account UUID; never an Account private row key. |
| game_instance_id | [string](#string) | | |
| playable_state_scope | [PlayableStateScope](#entity_management-v1-PlayableStateScope) | | |

Expand Down Expand Up @@ -8675,7 +8675,7 @@ Canonical gameplay roster discovery is a pre-admission, non-admitting boundary.
preseeded methods below remain restricted to PRESEEDED_ONLY; other policy values are
non-authorizing and fail with FAILED_PRECONDITION. The PLAYER_CREATED methods are a separate
source-bound read contract and do not authenticate their unsigned context or authorize the
legacy numeric ListCharactersByAccount RPC for canonical gameplay. A valid ListPreseededRoster
ordinary UUID-valued ListCharactersByAccount RPC for canonical gameplay. A valid ListPreseededRoster
response may contain zero actors; that is a successful lookup. These RPCs use canonical non-OK gRPC statuses
rather than in-response errors: malformed requests are INVALID_ARGUMENT, stale snapshots or
selections not present in the bound snapshot are FAILED_PRECONDITION, unauthorized callers are
Expand Down

Large diffs are not rendered by default.

Loading
Loading