Skip to content

Prepare StartSession authorization and durable pre-authorization reservation - #3128

Closed
benhook1013 wants to merge 4 commits into
codex/gameplay-game-design-publication-storage-foundation-20261009from
codex/gameplay-start-session-authorization-prerequisite-20261009
Closed

benhook1013 wants to merge 4 commits into
codex/gameplay-game-design-publication-storage-foundation-20261009from
codex/gameplay-start-session-authorization-prerequisite-20261009

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Scope and implementation status

This is the approved StartSession authorization prerequisite stacked on #3122. It preserves the shared typed action/digest contract, Account's protected signer/JWKS and committed control-ui actor read boundary, and Logging/Admin's durable pre-authorization reservation. The unique patch is 60 files at 6d125b3fecd8cb3be65286f762f9b28c1ad31f80.

This is a development checkpoint, not an executable privileged operator route or merge-ready launch path. Account authorization-reference issuance/recovery/redemption, Logging's post-authorization handoff, the canonical Game Session consumer, and genuine owner-produced launch registration remain unfinished. No credentials, CA installation, controller activation, numeric launch fallback, or runtime authorization bypass is introduced.

Implemented boundary

  • Canonical typed StartSession action and cross-language mutation-digest vectors; the digest is not authority.
  • Account's current tenant-scoped control-ui actor verification against signed claims, exact COMMITTED issuance, Coordination evidence, protected signer/JWKS receipts, current owner identity and membership sources. Global-role claims remain denied.
  • One shared exact pre-authorization tuple, with caller identity derived from authenticated context rather than a request assertion.
  • Logging/Admin PostgreSQL reservation and bounded claim fencing. Authorization-pending is durable before future Account dispatch; duplicates cannot redispatch, and expired claims grant recovery lookup only, not issuance or owner execution.
  • PostgreSQL regression source for immutable Account issuance/envelope evidence and committed-read versus revocation locking. Opaque storage fixtures do not prove issuance, encryption, or activation.

Preserved sources and dependencies

The Account protected signer/JWKS foundation is adapted from preserved #3038 sources 1ff24260 and 97d21d3e. Committed-issuance/current-actor evidence comes from Document's #3105 source ed928219, with current source 5bd869a20 retained as provenance. The unused creator-only signing helper is not presented as implemented authorization; its source remains preserved downstream. Document's release/registration-to-Game Session handoff remains a separate open dependency.

#3122 remains fail closed until the complete source-bound positive launch closure is composed and proved. This checkpoint does not resolve #3122's SESSION_NOT_FOUND Smoke failure or establish #2967/#2898 playable readiness.

Validation

Before parent reconciliation, Account's 678 unit cases passed with three existing skips; Logging/Admin's 204 and common-security's 143 unit cases passed. Focused Account verification/transport tests passed, Account and Logging integration sources compiled, both main SpotBugs checks passed, and link/Markdown checks passed. The new Account PostgreSQL regression compiles but has not executed locally because database/runtime provisioning is unavailable and prohibited for this assignment.

After reconciliation onto #3122's 08dec16fa7b45bf440a4d57375b09ed0cc908c3b, the consolidated Account/Logging unit tests, integration compilation, Checkstyle, SpotBugs, enabled Java formatting checks, shared StartSession/security tests, link checks and Markdown lint passed in 2m 44s on exact head 6d125b3fecd8cb3be65286f762f9b28c1ad31f80. Required exact-head CI is pending. No new CodeRabbit result is claimed for this incomplete development checkpoint. Fresh provider review is required after the real unblock work and exact-head required CI are complete.

FireMUD LOC impact

Compared 08dec16fa7b4 → 6d125b3fecd8 (PR merge-base → head).
PR scope: 60 changed files · 32,650 added textual lines / 0 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 776,219 806,221 +30,002 +3.9%
 Source 688,327 718,290 +29,963 +4.4%
  ↳ Code 310,202 334,294 +24,092 +7.8%
  ↳ Tests 378,125 383,996 +5,871 +1.6%
 Markdown 58,387 58,426 +39 +0.1%
 Design 61,063 61,102 +39 +0.1%
  ↳ Architecture 45,041 45,079 +38 +0.1%
  ↳ Project management 5,287 5,288 +1 +<0.1%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,527 6,527 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 477 477 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 9, 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: 652639d2-aa40-46bf-a97c-7eddf24fc614

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
  • Autofix · 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.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Security Summary

✅ Security checks passed or were intentionally skipped

  • ✅ Security gate: success
  • ✅ Trivy filesystem scan: success
  • ✅ Secret compliance validation: success

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

  • ✅ CodeQL gate: success
  • ✅ License gate: success

CodeQL breakdown

  • ✅ CodeQL analysis (java): success
  • ⏭️ CodeQL analysis (javascript-typescript): skipped

@codecov

codecov Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.79913% with 60 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...vops/firemud/common/operator/MutationDigestV1.java 77.30% 21 Missing and 16 partials ⚠️
...ud/common/operator/StartSessionOperatorAction.java 65.15% 12 Missing and 11 partials ⚠️

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Oct 9, 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: 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

Copy link
Copy Markdown
Owner Author

Superseded after a complete comparison of the published changes and unpublished correction 592412fd26 against the newer stack. Production contracts and migration guards are preserved in #3155 and its ancestors; the missing nine-case validator inventory matrix is restored in #3150 at 22a6c39. Original branch, unpublished correction and controller review history are retained. This disposition establishes preservation, not runtime activation or merge readiness of the receiving PRs.

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