Skip to content

feat(game-design): immutable asset publication and dedicated ability proofs - #2983

Closed
benhook1013 wants to merge 7 commits into
codex/unit1b-account-connect-authorityfrom
codex/unit1b-version-scoped-asset-publication
Closed

benhook1013 wants to merge 7 commits into
codex/unit1b-account-connect-authorityfrom
codex/unit1b-version-scoped-asset-publication

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Scope and stack

Unit 1B prerequisite: immutable Game Design asset publication and dedicated Game Logic ability-proof carriers/consumers, not complete launch or admission. Current checkpoint: 1189b3b5631200735078b80de6dd42f72c58ca91, 91 unique files on unchanged #2966 91a83b7614494df8047046836eee2bf28ab9b471. History is preserved through normal merges; no Account/Game Session/World unique runtime source is added here. The two-file production insert-readback correction remains with its focused regression; the next substantial complete launch-binding work is separate rather than growing this stage further.

Capability advanced

  • V37 freezes owner-qualified Draft asset mappings and actual bytes into immutable Version snapshots, including proved empty selection; V38 freezes the complete ordered manifest/artifact/object candidate before any external store write.
  • The production exporter conditionally writes content-addressed objects and verifies exact bytes, type and length after acknowledgement loss or conflict. Uncertain outcomes remain PENDING; no prefix cleanup, shared-byte deletion or private-endpoint fallback is authorized.
  • Artifact epoch CAS and owner-qualified readback distinguish an initial STAGED intent from an exact persisted candidate. Immutable release evidence retains actual canonical tenant/Version identity, manifest/artifact digests and complete participant JSON.
  • Dedicated optional GAME_LOGIC.abilitySchemaDigest now survives the owner DTO/proto/client, immutable release and V40 publish-attempt storage. It is not contentDigest. Full-version gates and Game Design/Automation plugin consumers reject missing, wrong-owner, conflicting, unsupported or mismatched evidence; unavailable script compatibility remains empty. Genuine design validation mismatch preserves VALIDATION_FAILED_DESIGN, not a new lifecycle.
  • V39 losslessly widens generated release/descriptor revision and terminal diagnostics to TEXT; exact failed retries preserve the original failure and outcome without another export. No old migration bytes or retained identities are rewritten.
  • PublishAttempt inserts explicitly return the complete persisted row and reject absent readback rather than returning null or synthesizing a result. The focused H2 case compares original request, generated-ID save result and independent readback, including absent fields and long diagnostics.
  • Strict creation/source report checks run before later selectors overwrite their XML. Named transaction, retained-storage and dedicated-carrier cases are required in full CI. The trusted source-built MinIO workflow now requires a separate PostgreSQL-to-real-store composition test, alongside its existing provider test.

Confirmed proof and remaining execution

The final composed five-service checks and five boot JARs passed in 3m15s, 335 tasks: 58 executed / 277 up-to-date. Game Design 475 and Automation 1193 unit cases executed cleanly. Reused results are separate: Game Logic 91 unit + 5 integration, Game Session 2377 unit + 18 integration + 26 cross-service, World 194 unit. Local skips: Game Design 93 integration + 1 MinIO unit, Automation 88 integration, Game Session 17 unit / 198 integration / 56 cross-service, World 33 integration. No failing/error XML remains locally. Docker is unavailable, so the new PostgreSQL storage/carrier/composition methods compiled but did not execute.

Formatting, Checkstyle, SpotBugs and JaCoCo are included. Final tracker documentation checks passed separately (8s; 2 executed/1 reused). Architecture contracts 230 passed, Flyway sanity 12 sets / 178 files, existing workflow/MinIO contracts, Actionlint, ShellCheck and diff hygiene passed. Configuration-cache serialization warnings remain; they did not fail this local gate and are not claimed repaired.

The prior exact-head Validation run 37233813567, at 9789b12fc892d7187dc9268312d4a96010924345, completed with aggregate failure but actually executed 7 snapshot + 6 candidate + 2 artifact + 5 release-identity PostgreSQL cases, all clean with zero skips. Account authentication 14 plus application 3, current-authority snapshot 17, membership projection 7, fresh-UUID snapshot 15, and JOIN suite 40 also executed cleanly. The minimized retained-JOIN method is inferred from that complete suite/source, not a separately preserved method XML.

That historical run's two publication transaction failures exposed a confirmed >512-character diagnostic overflow; generated revision >128 overflow was a separate static finding because the original exception was masked. Both V39 corrections now have actual execution evidence in the current run described below. Historical Game Session 86 cross-service cases / 35 failures and TCP cross-service/cache-serialization failures remain explicit prior limits, not current green proof. Python B023 and missing websocket failures have existing #2853 routes; they are not dismissed as flaky or duplicated here.

Current exact eebc3c542 source-built MinIO run 37238068054 completed SUCCESS. Independently parsed raw XML proves both the existing production SDK/store case and the new PostgreSQL-to-real-MinIO composition case executed: 2 passed, zero skips/errors/failures. The composition persists/readbacks the snapshot and candidate before writes, preserves uncertainty after lost acknowledgement, and recovers the exact candidate/bytes without deleting conflicting content. This is database/store component proof, not fresh application images, approved public origin or live delivery.

Prior exact eebc3c542 Validation run 37238129505 completed FAILURE. It proved 20 asset/release PostgreSQL, 8 descriptor PostgreSQL (including V39 full retained-row equality and long diagnostic storage), and 13 descriptor physical-mTLS cases clean with zero skips. Four of five publication transaction cases passed, including both formerly failing long revision/failure-retry cases; those storage findings are resolved on actual execution. The new ability-carrier transaction failed because the existing dynamic-table PublishAttempt insert returned null after persistence. The scoped repository return-field/fail-closed repair and independent H2 request/saved/readback regression are now published in 1189b3b5631200735078b80de6dd42f72c58ca91; corrected PostgreSQL execution remains required. Its exact final local Game Design check/boot JAR passed in 44s (222 tasks;22 executed/200 reused), with 476 unit cases executed cleanly,93 PostgreSQL nodes and one MinIO unit skipped locally without Docker.

That run's Account component job was SUCCESS:34 focused logged suite reports total328 clean executions and222 distinct required-case executions, zero skips/errors/failures; this is not every Account unit case. Game Session was CANCELLED after15 clean focused suite reports/117 executions and109 passing required-case records;20 communication cross-service failures were logged before cancellation, with no final total or uploaded suite artifact. Python B023 and missing-websocket failures match existing #2853 routes. TCP cross-service ran17 cases/13 failures; its raw HTML is retained, no XML was uploaded. Initial log-only diagnosis could not establish a cause or justify inherited/flaky dismissal. No aggregate green claim is made.

The new exact 1189b3b56 Validation run 37240401842 completed FAILURE. Independently parsed raw XML proves all five publication transaction PostgreSQL cases passed, including dedicated ability persistence/readback, with zero skips/errors/failures (XML SHA-256 ffd5a2a16b23cff5bb5ad3349e81afd1e575285e3e11a0242d44b78b5f5c7881). The run also emitted clean descriptor 8, asset/release 20 and physical descriptor-mTLS 13 cases. Account's component job succeeded. Game Session's first seven focused proof steps succeeded, with actual clean XML for retained association 17, authored-source 10, issuer projection 8 and Account issuer/membership socket/composition 49; its later broad check was CANCELLED, so these are partial proof, not full-service counts. Earlier execution remains attributed to its actual head; component success is not aggregate or live-runtime proof.

The exact run's Python validation failed B023 at the hosted-WebSocket test's closure over socket_attempts; Dev Tool Contract Checks ran 193 tests with 10 errors, all missing the websocket import. Both match existing #2853 routes. TCP cross-service ran 17 cases with 13 failures; raw HTML shows OK LOGIN followed by PLAY_IDENTITY_UNAVAILABLE. Gameplay explicitly owns that existing #2898 bootstrap/PLAY prerequisite and fixture disposition; no Document fixture edit or guard weakening is authorized. Secondary disconnect/DNS logs are not promoted to the PLAY root cause. Validation Gate reflects these failures rather than another independent defect. The sole observer returned; no further polling or replacement run is active.

At that same exact published head, source-built MinIO run 37240405194 completed SUCCESS. Both production provider and PostgreSQL-to-real-MinIO composition cases passed with zero skips/errors/failures. Root independently parsed their XML and hashes. This is component database/store proof, not fresh application images, public origin or live delivery.

Preservation and open obligations

The corrected parent and all previous child commits remain ancestors. The old child patch was byte-identical when the parent was propagated; this checkpoint deliberately adds the documented carrier/storage/proof corrections rather than claiming that new delta is unchanged. Published migrations through V38 are preserved; new forward V39/V40 are the only additional migration files. Retained absent ability evidence remains NULL, never an inferred aggregate.

Still required: the normal Game Logic rule/ability source producer and synchronized Draft apply, complete derived-artifact production, authenticated complete descriptor/release pairing and source-qualified World lifecycle verification, Version/global reachability and purge fences, deployed migrations/images, approved public origin and live delivery. Automation's existing tenant-scoped owner request is not independent proof of a canonical UUID association to its returned release; that owner/consumer binding remains open.

This checkpoint is not merge readiness or Unit 1B completion. Runtime RPC/credential/catalog activation and the Account ring mount remain denied. No CodeRabbit, Hosted or CLI review is requested.

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 0a2dfc4f-9395-45c3-aa6b-538581f18cf0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@benhook1013 benhook1013 changed the title feat(game-design): durable version-scoped asset publication and byte proofs feat(game-design): immutable asset publication and dedicated ability proofs Oct 4, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Validation Summary

❌ One or more validation checks failed

  • ❌ Validation gate: failure
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ❌ Python script validation: failure
  • ❌ Dev tool contract checks: failure
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ❌ Service build/test matrix: failure

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013
benhook1013 marked this pull request as draft October 28, 2026 12:41
@benhook1013
benhook1013 deleted the codex/unit1b-version-scoped-asset-publication branch November 28, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant