Skip to content

Game Session: fresh STARTING launch association and protected owner read - #3041

Draft
benhook1013 wants to merge 4 commits into
codex/unit1b-canonical-world-lifecyclefrom
codex/gameplay-canonical-launch-owner-read
Draft

benhook1013 wants to merge 4 commits into
codex/unit1b-canonical-world-lifecyclefrom
codex/gameplay-canonical-launch-owner-read

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Purpose

Provide Game Session's owner-qualified fresh STARTING instance and immutable launch association, stacked on #3035. This is a non-activating prerequisite for the genuine World prepare/readback and gameplay intake path, not a substitute for World lifecycle authority.

Boundary

  • Resolve canonical tenant identity from the authenticated Game Design source and persist its Game Session-local association without numeric identity inference.
  • Allocate or exactly retry a real STARTING instance, capturing the complete v2 launch descriptor and separate release attestation in the same owner transaction; independently read back the committed row and association.
  • Expose an opt-in, same-namespace World-workload-only GetCanonicalGameInstanceLaunchAssociation RPC with exact selector echoes and fail-closed authorization.
  • Preserve existing preparation, publication and runtime guards. No World ACTIVE transition, player admission, controller activation or implicit configuration enablement is introduced.

Validation

Published head: 514b91070cbda27bea85c77adb7815dfafc77e18, reconciled normally onto #3035 db3d9487e555f94ae1124bdd1a095e098034f3a2. The 33-path unique boundary is preserved. The final consolidated local gate passed jOOQ generation, main/unit/integration-source compilation, boot JAR, formatting with fullCheck, and documentation links/lint. All 36 focused Game Session cases and five shared realm-policy cases pass without failures or skips. The final corrections make nullable PostgreSQL fixture readbacks explicit and remove obsolete constructor warning suppressions from already-final non-bean owners; runtime guards remain unchanged. The PostgreSQL definitions cover atomic producer creation, exact retry, changed descriptor/attestation rollback, migration guards and immutable association readback; they compile but were not executed because local Docker remains disabled.

Required exact-head CI, physical PostgreSQL execution, deployed mTLS handshake, coordinator wiring, authenticated World preparation/through-commit/lifecycle readback and fresh-image playable smoke remain outstanding. The explicit owner is unregistered; existing guarded runtime entry remains fail-closed.

Stack and coordination

Base: #3035. Unique boundary: 33 paths. Document owns the canonical World preparation and terminal lifecycle producer; Gameplay owns this Game Session receiving/STARTING association and later receiving orchestration. Public gameplay readiness is not claimed.

FireMUD LOC impact

Compared db3d9487e555 → 514b91070cbd (PR merge-base → head).
PR scope: 33 changed files · 6,497 added textual lines / 2 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 1,006,606 1,012,584 +5,978 +0.6%
 Source 913,896 919,868 +5,972 +0.7%
  ↳ Code 380,782 383,946 +3,164 +0.8%
  ↳ Tests 533,114 535,922 +2,808 +0.5%
 Markdown 60,161 60,167 +6 +<0.1%
 Design 62,849 62,855 +6 +<0.1%
  ↳ Architecture 45,538 45,543 +5 +<0.1%
  ↳ Project management 6,034 6,035 +1 +<0.1%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 7,086 7,086 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 460 460 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Oct 6, 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: 7fc8d6f0-3cd2-4a49-a3aa-531e0c7ac748

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.

@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 6, 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: success
  • ✅ Dev tool contract checks: success
  • ⏭️ 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.

This branch has not been deployed

No deployments
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