Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
ff05b26
Probe Game Logic dependency readiness without player authority
benhook1013 Oct 14, 2026
f9e62a9
Merge commit '80a8622dff' into codex/gameplay-dependency-readiness-st…
benhook1013 Oct 14, 2026
7ab19d0
Merge commit 'bfece7a30d' into codex/gameplay-dependency-readiness-st…
benhook1013 Oct 14, 2026
5fee9d8
Bind nested Game Logic readiness to its actual HTTP port
benhook1013 Oct 14, 2026
41ff708
Merge commit '493990e46f6f98785ed9f834633d97ca68c56022' into codex/ga…
benhook1013 Oct 14, 2026
a9e5f7a
Preserve fixture readiness across restart and align proof status
benhook1013 Oct 14, 2026
ce0ab3f
Merge commit '8822bdff57' into codex/gameplay-dependency-readiness-st…
benhook1013 Oct 14, 2026
754e4f2
Merge commit '7bf0e6a0fad825b79c37d3704c4debb1adcae704' into codex/ga…
benhook1013 Oct 14, 2026
eb59196
Merge commit '683f5079de05cb9a46d06afaef9d480280d637a3' into codex/ga…
benhook1013 Oct 14, 2026
076e1ee
Merge commit '750e5cbf09e34966211fcd0a4ad78c9696824207' into codex/ga…
benhook1013 Oct 14, 2026
c666c15
Merge commit '7381ba8a0a5e70e8581206828338d9c28fded7bb' into codex/ga…
benhook1013 Oct 14, 2026
adddc9f
Merge commit '3443ec222976fae5d1270f7997ebf2d10388883e' into codex/ga…
benhook1013 Oct 14, 2026
f100c74
Merge commit 'df96e1fb386ce02b71f468cbd5aab14b7bc753e3' into codex/ga…
benhook1013 Oct 14, 2026
737c4fe
Merge commit 'be4c244e77fa0731aef41505226f689dfbc78983' into codex/ga…
benhook1013 Oct 14, 2026
7780f4b
Merge commit 'c58677def55a1728c03a61d81e2ae3bdad9c9cd3' into codex/ga…
benhook1013 Oct 14, 2026
b334bf4
Merge commit '98a8418d0c6f0435bd1885c2560544a1b14766f7' into codex/ga…
benhook1013 Oct 14, 2026
206fe5c
Merge commit '5561f6b729fde481224dfd0a1bba5464fa48f7fb' into codex/ga…
benhook1013 Oct 14, 2026
d30a6ea
Merge commit '234b776e2d1cadbb9caaac036f447ab7115a72e3' into codex/ga…
benhook1013 Oct 14, 2026
e4b74f3
Merge commit '13d91a685c1f0355d33824eb749d13a2119e1884' into codex/ga…
benhook1013 Oct 14, 2026
c3c70c4
Merge commit '4896eaa8939cd4783106c9dbe0ef8e88515dd6ed' into codex/ga…
benhook1013 Oct 14, 2026
5409d1f
Merge remote-tracking branch 'origin/codex/document-fixture-policy-ca…
benhook1013 Oct 14, 2026
b9b0778
Merge remote-tracking branch 'origin/codex/document-fixture-policy-ca…
benhook1013 Oct 14, 2026
7fcb9f3
Carry current develop maintenance through readiness stage
benhook1013 Oct 15, 2026
06f5871
Classify Source and Version owner transaction failures consistently
benhook1013 Oct 15, 2026
d5f1b12
Receive shared local Gradle heap correction
benhook1013 Oct 15, 2026
e1c6af0
Receive Trivy origin priority through readiness stage
benhook1013 Oct 15, 2026
96ca0b8
Merge commit 'f98e2e6309a2d771286ba7743a1bbb73c10c4c24' into codex/ga…
benhook1013 Oct 15, 2026
ea1258e
Record readiness receiving and rebuilt restart proof
benhook1013 Oct 15, 2026
5091af3
Merge commit 'ba24cde401464373f0b1cecf074367d167f85dc3' into codex/ga…
benhook1013 Oct 15, 2026
46074cf
feat: isolate run-owned fixture policy and source read component
benhook1013 Oct 15, 2026
6c4e4f2
Merge commit '9751159e084cd74f8ae433e2daff445fd514aa5e' into codex/ga…
benhook1013 Oct 15, 2026
9984e41
Merge commit '71cc6417b42edbc271a75fa634520bae0ed31fa3' into codex/ga…
benhook1013 Oct 15, 2026
beded3b
Merge commit 'e5ef94600f04195a7792e3d4fcbb4481b8aa21df' into codex/ga…
benhook1013 Oct 15, 2026
edfdd1f
Merge commit 'ec242ff7b6091cac855e582de1ce4308ca5e8671' into codex/ga…
benhook1013 Oct 15, 2026
f31cb46
Clarify fixture Version failures and record bounded owner-read proof
benhook1013 Oct 15, 2026
665ed14
Merge remote-tracking branch 'origin/develop' into codex/gameplay-dep…
benhook1013 Oct 15, 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 @@ -210,6 +210,8 @@ FIREMUD_SERVICES_GAME_LOGIC_SERVICE=game-logic-service:6565
FIREMUD_SERVICES_LOGGING_ADMIN_SERVICE=logging-admin-service:6565
```

Game Session separately consumes the non-secret `GAME_LOGIC_READINESS_URL` as `game.logic.readiness-url`. Its local default is `http://game-logic-service:8080/actuator/health/readiness`; the production profile requires an explicit binding and remains unready when absent. Kustomize supplies it through `firemud-config` in `k8s/base/firemud-db-env.yaml`; hosted Helm supplies it through `previewStack.sharedConfig` in `k8s/helm/firemud/values-hosted-shared.example.yaml`. It is an HTTP URL, not a `ServiceEndpointsProperties` gRPC override. URL constraints and readiness behavior are owned by [Game Session Operations](../microservices/game-session-service/operations.md#readiness-and-liveness), with local binding details in [Game Session Configuration](../microservices/game-session-service/configuration.md).

Player-facing environments (`hobby-self-hosted`, staging, production) must treat these overrides as exceptional. The compliant default is to leave them unset and use in-environment Kubernetes DNS/service discovery. If any `FIREMUD_SERVICES_*` override is required in a player-facing environment, deployment preflight must validate it against `design/operations/environments/<environment>/expected-bindings.yaml`; undeclared overrides or values that resolve into another environment boundary must fail deployment.

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ For a `SaveRevision` request carrying `worldDesignMutation`, the same authorizat

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 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. Both adapters return retryable `UNAVAILABLE` for connection acquisition and transaction timeouts, and `INTERNAL` for permanent propagation, rollback, nested-transaction and isolation failures, with bounded descriptions that do not expose underlying storage errors. They do not replace or alter the registered `TenantIdentityService.ResolveFreshTenantCreation` contract above, and introduce no generic 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 existing default-off run-owned fixture configuration registers operation-scoped wrappers for those same two RPCs. Before decoding selectors, each wrapper rejects caller context and requires the fixed `dev` World workload URI, its exact mounted leaf, and immutable run/project/capability/receipt/CA configuration. Exact selectors must match the retained closed fixture source and Version. Successful reads independently qualify actual committed creation, source, Version, bundle and descriptor owners plus the already sealed policy header; they never resolve a descriptor, seal a policy, allocate state or repair missing owners. The two exact RPC names bypass bearer validation in both profiles; the generic kernels retain their independent peer checks and remain unregistered. This fixture variant grants no Human source application, activation or admission authority. Its focused proof and runtime limits belong to the [implementation tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#fixed-fixture-source-and-version-reads).
Comment thread
benhook1013 marked this conversation as resolved.
Resolved

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
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ TLS certificates are supplied via [`FIREMUD_GRPC_CERT_CHAIN_PATH`, `FIREMUD_GRPC
| `GAME_SOLO_TICK_BUDGET_MS` | Execution budget for isolated solo ticks | `500` |
| `GAME_TICK_MAX_COMMANDS` | Max commands staged from the queue each tick | `50` |
| `FIREMUD_SERVICES_GAME_LOGIC_SERVICE` | gRPC endpoint (`host:port`) for Game Logic Service | *(none)* |
| `GAME_LOGIC_READINESS_URL` | Internal Game Logic actuator readiness URL bound to `game.logic.readiness-url`; required explicitly in `prod` | Local: `http://game-logic-service:8080/actuator/health/readiness`; `prod`: empty, unready |
| `FIREMUD_SERVICES_WORLD_MANAGEMENT_SERVICE` | gRPC endpoint (`host:port`) for World Management Service | `world-management-service:6565` |
| `FIREMUD_SERVICES_ENTITY_MANAGEMENT_SERVICE` | gRPC endpoint (`host:port`) for Entity Management Service | `entity-management-service:6565` |
| `FIREMUD_CONFLICT_TTL_SECONDS` | TTL for conflict hotspot tracking in Redis | `300` |
Expand All @@ -45,6 +46,8 @@ The generated reference carries the current defaults, descriptions, valid values

## Configuration Notes

`GAME_LOGIC_READINESS_URL` is non-secret deployment configuration, separate from the gRPC `host:port`. Kustomize's `firemud-config` and hosted Helm's shared configuration provide the internal URL. An absent production binding leaves readiness false. Accepted URL shape and the required Ping/HTTP conjunction remain owned by [Operations: Readiness and Liveness](./operations.md#readiness-and-liveness).

- Settings distribution follows [ADR 0113](../../decisions/adr-0113-bounded-pull-settings-distribution-with-freshness-classes.md): Game Session consumes revisioned snapshots through a bounded local cache and must retain revision, age, provenance, and degraded/expired state in its effective-settings diagnostics. The current short TTL plus explicit refresh/evict behavior is a local implementation seam; class-specific freshness outcomes and an authoritative fence for restrictive settings remain gaps. No generalized push channel or concrete TTL is implied.
- Environment variables configure PostgreSQL and Redis connections via `DatabaseAutoConfiguration` and `RedisProperties`.
- `.env.sample` contains example values for local development.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ Before deploying the new Game Session admission validation, Automation must alre
- required Redis-backed session and tick infrastructure is usable;
- the readiness-only local round-trip canaries for session-context storage and command-queue storage both succeed;
- Account Service authentication is reachable through a bounded readiness-only authentication probe; and
- Game Logic is reachable for the first gameplay command path through a bounded readiness-only `ResolveLook` probe, with Game Logic in turn proving readiness for the downstream services needed to satisfy the first `LOOK`.
- Game Logic answers its existing authenticated gRPC `Ping` with `pong`, without an application error, within a two-second readiness deadline, and its configured internal `/actuator/health/readiness` endpoint returns a successful HTTP status through the shared bounded HTTP checker. Both checks are required; Game Logic retains ownership of its private World Management and Entity Management dependency probes.
- A successful `LOGIN` without a safe first `LOOK` is not sufficient readiness for new player traffic.
- Synthetic identifiers used by these canaries are explicitly reserved for readiness-only traffic so they cannot collide with real gameplay state.
- Local store and Account canaries use reserved readiness-only identifiers. The Game Logic checks carry no player execution context, synthetic player identity, or admitted routing bundle. They do not invoke player `ResolveLook` or bypass its admission guards.
- The HTTP destination must use HTTP or HTTPS, contain a host and exactly `/actuator/health/readiness`, and contain no user information, query, or fragment. Missing, malformed, unavailable, or unsuccessful readiness responses fail closed. The shared checker bounds connection establishment to one second and the request to two seconds; Ping uses the existing authenticated gRPC client configuration.
- These checks establish dependency readiness for the exposed service boundary. Successful player admission, executable `LOOK`, and genuine owner handoffs require their separate runtime proof; Ping and dependency readiness cannot supply player authority. Current implementation, focused proof, and remaining runtime gaps are recorded under [PO-4.2](../../../project-management/implementation-tracking/platform-operations-and-delivery.md).
- Readiness transition observability uses the shared contract from [Deployment Environments](../../infrastructure/deployment-environments.md): `firemud.readiness.current`, `firemud.readiness.transitions`, and structured logs keyed by the curated dependency names `accountService`, `sessionContextStore`, `commandQueueStore`, and `gameLogicService`.

## Operational Notes
Expand Down
Loading
Loading