Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
71ab81b
Prepare exact original StartSession World execution and read-only rec…
benhook1013 Oct 14, 2026
f682404
Merge branch 'codex/document-original-order-caller-20261015' into cod…
benhook1013 Oct 14, 2026
2fc7438
Prepare complete World owner composition and materialization settleme…
benhook1013 Oct 14, 2026
a52736e
Merge commit '46ea3de623e1c5a76edb407fc636cbbb8bc37478' into codex/do…
benhook1013 Oct 14, 2026
05c6954
Complete preparation client lifecycle and isolated settlement proof f…
benhook1013 Oct 15, 2026
2c5f2e6
Merge commit 'aca7ba25366b25a10657e6c27844cf8ac687e9d7' into codex/do…
benhook1013 Oct 15, 2026
994c842
Qualify original World preparation and exact retained recovery
benhook1013 Oct 15, 2026
fdd45c2
Merge commit '0b60be8a7d6ca14ffc815ca82735adbdcfc04436' into codex/do…
benhook1013 Oct 15, 2026
cc7a041
Receive reconciled original-order parent without changing preparation…
benhook1013 Oct 15, 2026
5533cf3
Merge current original-order receiving parent and World review correc…
benhook1013 Oct 15, 2026
2eaeb3e
Carry verified World frontier into original-order stage
benhook1013 Oct 15, 2026
c522a6c
Merge current World evidence carry into 3231
benhook1013 Oct 15, 2026
376c187
Merge qualified World carry into Gameplay 3231
benhook1013 Oct 15, 2026
3c3d921
Merge qualified gameplay login fix into Gameplay 3231
benhook1013 Oct 15, 2026
6052681
Merge fixture rename and import order into Gameplay 3231
benhook1013 Oct 15, 2026
5f1f1ec
Merge qualified World receipt correction into receiving stage
benhook1013 Oct 15, 2026
baf485e
Merge published gameplay carry into receiving stage
benhook1013 Oct 15, 2026
920e142
Merge published authentication receiver correction
benhook1013 Oct 15, 2026
9f47fad
Merge qualified gameplay parent into #3231 receiving branch
benhook1013 Oct 15, 2026
c963d9a
Merge commit 'f6a210efd3098fd4ced13d50f8a897422374a2fb' into codex/ga…
benhook1013 Oct 15, 2026
a2f5ec2
Merge commit 'ea7f36f8949d602da18b41fc07db25290703329a' into codex/ga…
benhook1013 Oct 15, 2026
4f64839
Merge commit 'e38a9eec8bd9131c4aa36dab20a158554711e503' into codex/ga…
benhook1013 Oct 15, 2026
5a2e8ae
Merge commit 'f7f4a8f50a2dfa39dc06a87f25c6db887c96087a' into codex/ga…
benhook1013 Oct 15, 2026
9b5fdc6
Carry current authenticated receiving fixes into World preparation
benhook1013 Oct 16, 2026
cc21188
Carry the current original-order caller parent
benhook1013 Oct 16, 2026
9e89569
Merge qualified parent review corrections into World preparation
benhook1013 Oct 16, 2026
53d4213
Carry qualified World terminal Redis and parent proof correction
benhook1013 Oct 16, 2026
0cf5615
Carry bounded observation consolidation from qualified immediate parent
benhook1013 Oct 16, 2026
f74e030
Merge commit '41575f545ba5e9c99426eabcf9371110c99569cf' into codex/ga…
benhook1013 Oct 16, 2026
9963897
Merge commit 'eab675b15603f1b8a82451cbc4d31bfd66b334ec' into codex/ga…
benhook1013 Oct 16, 2026
f97be7b
Merge commit '9375ee16ceb3c8edcbb22b33b30b1fbfa391d54f' into codex/ga…
benhook1013 Oct 16, 2026
2ae3c71
Merge commit '99eb1fd4d910e499481966af9d0f4f5ae3ab7937' into codex/ga…
benhook1013 Oct 16, 2026
ffef212
Merge commit '2219bf43e47afd3c55889466927db5f29a94daab' into codex/ga…
benhook1013 Oct 16, 2026
c71d14f
Merge commit '00ec27d85beec701b43ac7a3f735f65bd49aa835' into codex/ga…
benhook1013 Oct 16, 2026
e3d0218
Merge commit '5f27336f3a924d6646618f16edf331a4adf529f0' into codex/ga…
benhook1013 Oct 16, 2026
022595d
Fix canonical World recovery and client lifecycle review findings
benhook1013 Oct 16, 2026
589faae
Retain authored source checks after receipt consolidation
benhook1013 Oct 16, 2026
5f77a53
Keep historical fixture reference expiry independent of migration run…
benhook1013 Oct 16, 2026
a7a8130
Merge commit '7560af733d46c4aa68ad7e8f6f3f2c78c9b4022e' into codex/ga…
benhook1013 Oct 16, 2026
99d6d82
fix(review): classify retained participation failures and strengthen …
benhook1013 Oct 16, 2026
6d004e8
test(world): observe original current-attempt refusal before sanitiza…
benhook1013 Oct 16, 2026
bb18961
style(world): format original-attempt status capture fixture
benhook1013 Oct 16, 2026
1e0f192
Correct original World owner error statuses and PostgreSQL fixture ti…
benhook1013 Oct 16, 2026
c931451
Apply canonical formatting and record partial selector coverage lesson
benhook1013 Oct 16, 2026
66e8aec
Prove original fresh-tenant association history stays non-authoritative
benhook1013 Oct 16, 2026
ad52d57
Prove original catalog history cannot gain missing publication authority
benhook1013 Oct 16, 2026
8538959
test: preserve original canonical launch history across forward guards
benhook1013 Oct 16, 2026
8469334
test: restore exact fresh tenant receipt client validation
benhook1013 Oct 16, 2026
a0da109
docs: record actual fresh tenant client receiving proof
benhook1013 Oct 16, 2026
bf09b5a
test(game-session): prove historical owner read transport denials
benhook1013 Oct 17, 2026
d63e7ad
docs(game-session): record historical transport receiving proof
benhook1013 Oct 17, 2026
d596c97
Merge commit '15b8d0bf98bf79f72fbe9cd0259945b029c39223' into codex/ga…
benhook1013 Oct 17, 2026
c8a2fdc
Merge commit 'b0d2c0dfb5f226619ff63473da055d86b924c290' into codex/ga…
benhook1013 Oct 17, 2026
3a8ca37
Classify original World storage refusals and share file-backed client…
benhook1013 Oct 17, 2026
1aec46e
Preserve retryable World recovery failures and retained scope
benhook1013 Oct 17, 2026
1feb1ef
Use supported cause identity assertions in lifecycle proof
benhook1013 Oct 17, 2026
4b4158b
Merge commit 'bd564303bef7e9bf17a9a2977c257d6382d07ec6' into codex/ga…
benhook1013 Oct 17, 2026
a95e75b
fix(world): classify deterministic failures and reject incomplete cal…
benhook1013 Oct 17, 2026
1400cfb
test(world): import execution identity in constructor regression proof
benhook1013 Oct 17, 2026
12f1db6
fix(gameplay): validate selectors before binding and preserve evidenc…
benhook1013 Oct 17, 2026
8a2c442
test(gameplay): declare checked fixture construction for selector limits
benhook1013 Oct 17, 2026
1df438f
Merge commit '61b4ad411f22d6040082e0fedf326e4406b55406' into codex/ga…
benhook1013 Oct 17, 2026
d293338
Fix World lifecycle transaction-start status and terminal client shut…
benhook1013 Oct 17, 2026
1c940e7
fix(world): preserve storage error boundaries and recovery attribution
benhook1013 Oct 17, 2026
6607c41
fix(world): share exact selector and scoped room readback
benhook1013 Oct 17, 2026
f3b9731
Scope lifecycle region reads and bound keytool diagnostics
benhook1013 Oct 17, 2026
2f42cb2
Bound client fixture keytool and classify lifecycle storage failures
benhook1013 Oct 17, 2026
f5ddd03
Return unavailable for World terminal transaction startup failures
benhook1013 Oct 17, 2026
7789691
Reconcile current develop readiness repair without changing World pre…
benhook1013 Oct 17, 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 @@ -205,6 +205,8 @@ For the redeemed StartSession projection, `ReadRedeemedOperationProjection` acce

The current Account source also prepares `AcquireStartSessionWorldParticipation` and `ReadHistoricalStartSessionWorldParticipation` as same-namespace World workload methods. Acquisition first reads the actual current Game Session attempt, then retains its exact response and unchanged lease expiry with the complete original tuple, owner attempt and fence, and World preparation identity while Account revalidates its current source and reference around the local transaction. The capture reference is retained independently of the issuance fence. The no-user-context historical read accepts the complete unchanged original post-authorization tuple and resolves the retained Account participation ID/fence plus immutable Game Session association, so World need not already know Account's random participation coordinates. It exact-matches the retained tuple and complete source-child vector, and remains an immutable read after lease expiry or terminal settlement; it does not recompute currentness, renew authorization, admit execution, settle participation, or mint World terminal state. Missing or changed tuple bytes and incomplete or changed source evidence fail closed. These methods are unregistered and default-inactive; they do not establish World execution admission, renew authorization, or replace World terminal authority. The related source boundary and its proof status are tracked in [Player Access and Session](../../../project-management/implementation-tracking/player-access-and-session.md#account-world-participation-source-preparation); the World receiving contract remains owned by [Game Session API Contracts](../game-session-service/api-contracts.md#restricted-original-claim-evidence-continuation) and [ADR 0047](../../decisions/adr-0047-logging-admin-as-external-operator-write-ingress.md).

The prepared `SettleOriginalStartSessionWorldParticipation` receiver accepts only the exact same-namespace World workload without end-user context and rejects ambient Account transactions. The request carries the retained participation ID/fence and a transport request identity; it cannot supply a terminal outcome. Account independently reads the exact World-owned terminal over mTLS, settles against its retained original tuple and preparation binding, and returns the echoed lookup identity, complete retained canonical terminal bytes and settlement time. Unknown, pending, absent, conflicting or unauthenticated World evidence cannot settle participation. Exact recovery preserves the original result and does not renew authority. This receiver is unregistered; its qualification belongs to [the Account World participation tracker](../../../project-management/implementation-tracking/player-access-and-session.md#account-world-participation-source-preparation).

## REST APIs

| Method | Path | Description |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ This narrowly bounded owner-internal read/pin continuation is separate from muta

The continuation may read and exactly replay the existing immutable association pin or, under that same exact association, create at most one immutable descriptor evidence pin. The latter is evidence preparation only; it cannot authorize a different association. It must not replay redemption, create or reselect an association, create a claim, attempt, fence, or authorization reference, renew or transfer ownership, mutate domain state, or admit a player. For descriptor evidence, Game Session locks and reads the exact original owner claim and association, performs the required remote Account and Game Design reads outside SQL, then locks and rechecks that same owner claim and association before inserting the pin. The pin/read statement enforces both original claim expiry and authorization-reference expiry using the database clock. Missing or unattached projections, absent or changed associations, changed tuples, expired claims or references, and ambiguous outcomes remain reconciliation-only and cannot be treated as authorization or admission.

The prepared Human original STARTING association read returns the complete immutable descriptor/release pair together with the actual retained realm UUID, positive catalog revision, current instance status and row version, and pending owner attempt/fence. The exact same-namespace World workload must independently compare that whole binding before preparation. Realm/catalog values come from the retained Game Session owner rows and are never inferred from a source tenant, a private numeric allocator, or fixture evidence. This unregistered read is a point-in-time observation; it grants no lease renewal, current Account authority, activation or admission. Component qualification belongs to [the Game Session implementation tracker](../../../project-management/implementation-tracking/game-session-runtime-and-tick-coordination.md#human-original-startsession-launch-association-read).

Historical original-operation reconciliation is separate from that live continuation. The local, unregistered historical read returns the exact retained StartSession tuple, actual original attempt/fence, attached Account projection, immutable first selection, and existing descriptor/release association after lease or reference expiry. Its producer accepts only exact same-namespace World or Account workload callers without end-user context. The read creates no claim, renewal, redemption, reselection, pointer/audit mutation, admission authority, current-hold proof, or terminal outcome; missing, conflicting, or malformed retained evidence fails closed. The separate current STARTING association read still requires an unexpired pending lease and is not an after-expiry endpoint. Cross-owner recovery composition and deployed recovery remain open.

The StartSession redemption client compares the complete independently returned Account tuple before attaching redemption evidence. The retained projection is that exact canonical tuple stored once within the existing 256 KiB bound; bundle, fingerprint, and issuance identity are read from it. Current attempt, continuation, association, and launch paths verify the retained owner tuple again. Historical readers preserve original scalar-v1 projection bytes without granting current continuation; a current-use read of those older projections fails closed. [ADR 0047](../../decisions/adr-0047-logging-admin-as-external-operator-write-ingress.md) owns the binding rule. This source correction does not register or enable the operator path.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Implementation Status

The original StartSession canonical preparation, exact execution recovery and lifecycle-read components are prepared as standalone, unregistered source. Their current qualification and producer dependencies belong to [the World implementation tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#original-startsession-world-preparation-and-recovery). Production Game Design complete-launch reads remain denied; these components do not enable deployment, activation, admission or Entity placement. The existing [World creation workflow](./world-creation-workflow.md) and [runtime storage contracts](./runtime-and-data.md) retain target-state authority.

The prepared, unregistered Draft terminal-read adapter accepts only the exact same-namespace Account workload and returns the original Account-bound committed graph application or definitive-abort owner evidence. It enforces the shared [Account terminal-read transport bounds](../account-service/api-contracts.md#account-owned-hosted-terms-and-creator-party); future server composition must admit the corresponding bounded request. It preserves the current graph and original inbound-source closure carriers and inherited SQL history. It supplies no graph mutation, source authorization, visibility change or activation; component proof and remaining limits are recorded in [the authoring tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#account-terminal-settlement-continuation).

The source-first stage retains the published World fixture verifier, demo seeder and predecessor lifecycle dispatch while canonical preparation remains an explicit source operation. `RunOwnedCanonicalWorldLaunchEvidenceProvider` authenticates the canonical Game Session allocation; the package-private canonical preparation owner composes source/Version intake and fixed-preset materialization. The registered generic prepare RPC retains its predecessor behavior. Before ordinary demo seeding reads or changes topology, the existing storage owner must establish or verify the immutable `LEGACY_NUMERIC` tenant claim under its allocation-coordinated transaction; unresolved, canonical, nil, or contradictory ownership refuses the seed. The claim is not inferred from numeric tenant/version values, fixture mode, or absence of a V25 row. Canonical Draft writers retain their separate V25 `OPEN` serialization and manifest guards. Canonical activation, first admission, Entity placement and operational-region authority remain unavailable. [The World tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#current-status) records current proof and staging limits; [Testing Strategy](../../system-architecture-testing.md#run-owned-v1-launch-read-evidence) owns the complete target ordering.
Expand Down
20 changes: 20 additions & 0 deletions design/project-management/ai-observations.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ Entry format:
- Expected pattern: preserve that proof limit separately from installed consumer code, and retain the required producer/activation and callback qualification in the [platform operations tracker](implementation-tracking/platform-operations-and-delivery.md).
- Reconsideration trigger: remove after producer activation and hosted webhook plus partial-rerun qualification establish the actual callback boundary.

- `2026-10-15`: Make failed SpotBugs tasks expose actionable diagnostics
- Context: the Document preparation gate returned exit code 1 without a finding or report; a temporary init script enabled XML output and exposed one unused fixture local.
- Observation: Gradle also applies initialization scripts to `buildSrc`, so an unscoped script can affect projects outside the intended service.
- Expected pattern: scope temporary report configuration through `findProject`, then use the ordinary corrected service gate; consider enabling useful reports in canonical task configuration when the opportunity is justified. No canonical build configuration changed in this lane.
- Reconsideration trigger: when canonical SpotBugs tasks expose actionable XML or HTML reports on failure, verify the original diagnostic gap is closed and revisit the temporary-report guidance.

- `2026-10-15`: Keep the shared local Gradle heap qualification explicit
- Context: repeated 1.4 GiB heap thrashing led to a shared 3 GiB local daemon setting for serialized work.
- Observation: a mostly up-to-date run passed, but cold-build speed and total memory use remain unmeasured; worker, test, and code-generation JVMs add separate memory, and the hosted runner remains explicitly configured at 2500m.
Expand Down Expand Up @@ -133,3 +139,17 @@ Entry format:
- Observation: `integration` came from the categorized source root, while the class declared `net...`; a categorized source root is not necessarily part of the Java package, and a zero-test discovery failure establishes no test proof.
- Expected pattern: read the source package and class declaration before constructing `--tests`, and verify fresh testcase counts before crediting proof. A categorized source root is not necessarily part of the Java package. Archive completed full-suite reports before a filtered rerun replaces the task output.
- Recovery: the declared-package selector then passed all sixteen owning native cases; the zero-test attempt retains no proof credit.
- Recurrence (`2026-10-17`, #3231): a mixed-selector review-fix gate requested two World classes, but one selector incorrectly included the categorized `unit` source-root segment in its Java package. The matching selector executed nine terminal-read cases, so the task succeeded while the launch-binding comparator class remained unrun. A successful task does not establish coverage of every supplied pattern. Verify every expected class in fresh XML, preserve completed reports before a corrected filtered run replaces task output, and credit the missed class only after its own execution.
- Reconsideration trigger: when the canonical Gradle selector tooling or CI guard can verify every explicitly requested test class rather than only aggregate task success, qualify that guard against a mixed valid/invalid selector and revisit this manual proof step.

- `2026-10-17`: Distinguish queued source CI from early metadata runs
- Context: Six newly published Gameplay heads initially had only early metadata jobs inspectable.
- Observation: The observer reported that the heads had no source validation. Their original source workflows later completed change detection and started the build/test matrices. No missing-source CI defect or cancellation was established; the premature report sent unnecessary investigation to Overseer.
- Expected pattern: Retain each original run and classify source selection as pending or unknown while discovery or queue admission is incomplete. A completed metadata gate establishes neither source success nor source absence. The report and observer guidance were corrected with the exact source run identities.
- Reconsideration trigger: when the observer or CI tooling distinguishes pending source selection from absent proof, qualify it against an early-metadata run with a queued original source workflow and revisit the manual attribution step.

- `2026-10-18`: Expose review-allocation decision provenance beside its remaining budget
- Context: #3233 had three lifetime Hosted results while the current native selector correctly showed a separate additional allowance with zero of two used. A retained handover incorrectly inferred exhaustion from the lifetime total.
- Observation: the current allocation status and review-record history exposed the budget, null checkpoint and taper explanation, but no allocation decision timestamp or original grant rationale. Verifying the controlling allowance required a complete queue readback; no head-change counter reset was established.
- Expected pattern: expose the controlling grant decision, timestamp, actor, original reason and baseline beside its additional-result count through an existing read-only controller command, so a worker can distinguish lifetime history from the current allowance without guessing. This is a tooling suggestion; existing counting and authorization rules stay unchanged.
- Reconsideration trigger: when an existing read-only controller command exposes the controlling grant decision, timestamp, rationale and baseline beside the remaining allowance, verify it against separate lifetime and current allowances and revisit the manual queue readback.
Loading
Loading