Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
4371105
Retain authenticated complete launch descriptor and release evidence
benhook1013 Oct 4, 2026
22b6a87
Merge commit 'a3396a0966afbca1516073b17290726a6bc175e8' into codex/un…
benhook1013 Oct 4, 2026
8e83c21
Verify current source-owned Version for retained World launch bindings
benhook1013 Oct 5, 2026
c214e6c
Bind source-qualified Version state to its persisted canonical UUID
benhook1013 Oct 5, 2026
2ceefac
Retain source-proved World version identity and composed readback proof
benhook1013 Oct 5, 2026
e20471d
Isolate World classes from Game Design test migrations
benhook1013 Oct 5, 2026
db03a6d
Persist exact fresh authored-source delivery and World acknowledgements
benhook1013 Oct 5, 2026
6deee1a
Deny unproved canonical World Draft mutation ingress
benhook1013 Oct 5, 2026
fc550d8
Deny legacy World generation writes and prove registered Draft ingres…
benhook1013 Oct 5, 2026
3d1ac2f
test: diagnose World HTTP denial without bypassing authentication
benhook1013 Oct 5, 2026
3e5087b
test: enable canonical World HTTP authentication in runtime proof
benhook1013 Oct 5, 2026
661c57e
Carry forward reviewed CI safety corrections
benhook1013 Oct 5, 2026
96cd5aa
Record executed World authenticated denial proof
benhook1013 Oct 5, 2026
0bb5da9
Merge commit '071b35375b7b4c174147ed201c10dc50658b19a4' into codex/un…
benhook1013 Oct 5, 2026
f968b46
fix(world): serialize expected Draft epoch advances with atomic predi…
benhook1013 Oct 5, 2026
e1a2fc4
docs(world): record executed epoch race and rollback proof
benhook1013 Oct 5, 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
164 changes: 164 additions & 0 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Accepted

## Implementation Status

The current implementation does not satisfy this decision. `SaveRevision` can call World Management before Game Design persists its local revision. World aggregate and scope epochs are read and then saved without the expected epoch in the database update predicate, and some mutation shapes can omit scope fencing. There is no Game Design-owned durable commit/proposal coordinator with exact base and digest binding, complete affected-scope capture, per-owner apply status, or a creator-visible synchronized read fence. Existing revision ledgers and publish digests are useful seams but do not prove this contract.
The current implementation does not fully satisfy this decision. The held-back World mutation algorithm now advances its declared aggregate and scope epochs with expected-epoch storage predicates, including conflict-safe first claims; execution and remaining limitations are recorded in the [World tracker](../../project-management/implementation-tracking/world-runtime-and-movement.md#current-status). Some mutation shapes can still omit required scope fencing. `SaveRevision` can call World Management before Game Design persists its local revision, and there is no Game Design-owned durable commit/proposal coordinator with exact base and digest binding, complete affected-scope capture, per-owner apply status, or a creator-visible synchronized read fence. The registered World write remains denied without Account commit authorization. Existing revision ledgers and publish digests do not prove the complete contract.

## Decision Record

Expand Down

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 @@ -30,7 +30,9 @@ Post-bundle publish failure is likewise unresolved: target reconciliation must r

Purge failure status is also not durable in the current implementation: `FinalizePurgeVersionAssets` saves `PURGE_FAILED`/failed-workflow markers and then rethrows from an `@Transactional` method, so rollback can discard those markers after object deletion. The resulting durable row may remain `PURGE_IN_PROGRESS` without resumable evidence. Target recovery requires an independent durable failure/reconciliation boundary (or equivalent non-rollback record) and focused deletion/post-delete-save failure proof.

Asset repair has a separate current ordering gap: `AssetExportServiceImpl` writes the version-prefix objects and manifest before `VersionAssetArtifactServiceImpl` compares the result with the release attestation, so a mismatch may mutate live prefix keys before failing. After process loss, `PUBLISHED`/`ACTIVE` repair fails closed when the process-local selection is unavailable, but a `RETIRED` Version can currently fall through to a fresh tenant-wide selection; that drift is not exact repair proof. Pre-write away-from-published verification and durable version-scoped selection remain target-only.
The asset candidate now uses durable version-scoped byte snapshots and a frozen pre-write export candidate, with conditional content-addressed writes and exact stored-evidence recovery instead of process-local or tenant-wide reselection. Actual PostgreSQL-to-object-store component proof is recorded in the [authoring tracker](../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#current-status); it is not live asset delivery or complete publication/activation proof. The remaining lifecycle, destructive-operation and shared-fence gaps remain owned by [Asset Storage](./microservices/game-design-service/asset-storage.md#implementation-status).

The complete launch-binding candidate exposes the unchanged source-bound descriptor plus a separately authenticated exact release attestation and adds immutable World retention against its committed source-intake association. Its component proof and remaining producer/consumer gaps are recorded in the [authoring tracker](../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#current-status) and [World tracker](../project-management/implementation-tracking/world-runtime-and-movement.md#current-status). It does not supply local World content, current commit authorization, `PREPARING`, or runtime activation; the [Game Design owner contract](./microservices/game-design-service/api-contracts.md#separate-complete-release-attestation-evidence) remains the sole owner of the separate attestation schema.

Capacity admission is also target-state only. Account's `CommitTenantCapacityAdmission` RPC and both caller integrations (Game Session and World Management) are unimplemented, as are the durable Account authority/usage ledger, the exact `capacityDelta` wire contract, the capacity-admission action-family schema and cross-language `mutationDigest/v1` golden vectors, and the reservation create/finalize/release/reconciliation lifecycle. The capacity-admission sections below are normative contracts and must not be read as evidence that these RPC, caller, ledger, schema/vector, or reservation components exist.

Expand Down
10 changes: 10 additions & 0 deletions design/project-management/ai-observations.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,13 @@ Entry format:
- Context: Game Design's integration analyzer exited with code 3 without a report; repeating the exact task with `--info` still showed only the invocation and missing annotation class, not the finding. A temporary Gradle init script enabling an XML report on that same task exposed a nullable PostgreSQL read in the new composition test.
- Outcome: the missing-row read now fails explicitly, and the canonical composed check passes without suppressions or reduced analyzer coverage. The report-only script was a temporary diagnostic input, not repository tooling or substitute validation.
- Expected pattern: if the detailed log remains inconclusive, enable the affected task's report without changing its analysis or failure policy; fix the reported issue and rerun the normal gate. A missing annotation warning alone does not explain an analyzer failure.

- `2026-10-05`: A successful diagnostic invocation may have skipped its analyzer
- Context: a focused Game Design SpotBugs diagnostic returned `BUILD SUCCESSFUL` without `-PfullCheck`; the task log showed `spotbugsMain SKIPPED`. Document briefly reported that as an isolated analyzer pass before checking the task state.
- Outcome: the skipped result was withdrawn, the exact task rerun with `-PfullCheck`, and its XML exposed the constructor finding behind the consolidated failure. No skipped diagnostic result was used as publication or completion proof.
- Expected pattern: preserve required check flags in diagnostic commands and inspect the actual task outcome, not just the process exit status, before attributing analyzer execution or calling a failure intermittent.

- `2026-10-05`: Cross-service test dependencies can leak another owner's Flyway migrations
- Context: the new Game Design-to-World composition fixture added a World service test dependency. Its service JAR also supplied `db/migration`, so existing Game Design classpath-based Flyway fixtures failed on duplicate V1 migrations in CI; Docker-free local checks had skipped that setup. All eight new database cases passed, but six other required cases did not execute.
- Outcome: selecting the World dependency's standard classes-only variant preserves its implementation and transitive dependencies without its migration resources. A resolved runtime-classpath diagnostic and full affected checks pass; exact corrected-state PostgreSQL execution is still required.
- Expected pattern: for cross-service test composition, inspect resolved runtime artifacts as well as compilation. Keep owner migrations explicitly isolated and verify existing owner suites still execute; do not modify migrations or weaken fixtures to accommodate resource leakage.
Loading
Loading