Skip to content

Canonical PLAY on UUIDs with pre-v1 gate waivers and LOGIN stand-ins - #3461

Open
benhook1013 wants to merge 59 commits into
codex/gameplay-admitted-logout-foundation-20261113from
claude/canonical-play-uuid-admission
Open

benhook1013 wants to merge 59 commits into
codex/gameplay-admitted-logout-foundation-20261113from
claude/canonical-play-uuid-admission

Conversation

@benhook1013

@benhook1013 benhook1013 commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Requested by Ben · project thread

Canonical gameplay admission prerequisites

This PR is based on the admitted-logout foundation. It owns the canonical UUID and scoped pre-v1 LOGIN foundations for #3474 and #3481.

  • Preserves the pre-v1 signer lifecycle, run-owned coordination stand-ins and authenticated Game Session/Gateway transport boundaries.
  • Authenticates the protected fixture WebSocket on Game Session's existing mTLS connector with the dedicated run-owned client certificate. The ingress emits a typed fixture transport to Account and uses the shared canonical playable target projection. Prove canonical LOGIN, JOIN, PLAY and LOOK over Telnet and WebSocket #3481 enables and exercises it.
  • Carries the shared run-owned World lifecycle evidence and response codec before its Canonical admission chain for Telnet PLAY and LOOK (stacked on #3461) #3474 Game Logic and World callers. The exact shared compilation and formatting checks passed.
  • Shares certificate-only authorization for fixture reads and preserves the exact legacy issuer projection across the default source discriminator. The focused historical issuer test passed.
  • Prepares the smoke reset that verifies ownership of the exact Compose project, disposes its first transport's state and recreates the fixture for the second transport. Canonical admission chain for Telnet PLAY and LOOK (stacked on #3461) #3474 checks the rendered Compose mounts and workload leaves needed for the current proof.
  • Keeps the canonical-play-transition label unset. Normal Smoke Gate qualification applies.

Validation

  • Focused authenticated-ingress, Account receiver, ordinary session and login owner tests passed. The shared typed target tests and the scope/ownership transport contract passed, including refusal of a different Compose project.
  • The local required-gate contract passed. All five hosted gates passed on 7ba4810c05 over 777d2dd5a5. The substantive Validation run recorded 49 successful jobs. Validation · Smoke Gate
  • The active fixture and positive player proof are recorded by Prove canonical LOGIN, JOIN, PLAY and LOOK over Telnet and WebSocket #3481. The player access tracker owns pre-v1 and production qualification status.

FireMUD LOC impact

Compared 777d2dd5a5ab → 7ba4810c05b8 (PR merge-base → head).
PR scope: 90 changed files · 3,246 added textual lines / 220 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 1,734,582 1,737,158 +2,576 +0.1%
 Source 1,634,365 1,636,739 +2,374 +0.1%
  ↳ Code 713,336 715,244 +1,908 +0.3%
  ↳ Tests 921,029 921,495 +466 +0.1%
 Markdown 65,344 65,371 +27 +<0.1%
 Design 68,435 68,460 +25 +<0.1%
  ↳ Architecture 46,670 46,670 0 0.0%
  ↳ Project management 6,168 6,179 +11 +0.2%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 11,391 11,405 +14 +0.1%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 475 475 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.

benhook1013 and others added 2 commits November 18, 2026 20:11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add PreV1GateWaivers (refuses the prod profile), waive Gateway gameplay
readiness behind it, give the Compose Gateway its own SPIFFE leaf, enable
the Game Session authenticated gameplay listener and Gateway bridge TLS,
record the waiver in the player access tracker, and add a CI guard that
fails if production configuration sets the switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 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

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

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Summary

✅ Full-stack smoke completed with Smoke Gate: success

  • ✅ Changes detection: success
  • ✅ Smoke Gate: success
  • ✅ PR Full-Stack Smoke: success

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

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

CodeQL breakdown

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

@github-actions

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Validation Summary

✅ All validation checks passed

  • ✅ Validation gate: success
  • ✅ 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
  • ✅ Dev tool validation contracts: success
  • ✅ Service build/test matrix: success
  • ✅ Account coverage aggregation: success
  • ✅ Game Session coverage aggregation: success
  • ✅ World coverage aggregation: success

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

benhook1013 and others added 2 commits November 19, 2026 00:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game Session PLAY resolves the canonical tenant UUID from Game Design (new
ResolveCanonicalTenant read, same-namespace Game Session only) and asks
Account for entitlement by that UUID, with no numeric fallback. Account
reads the tenant's current demo source; script-seeded preview tenants with
no Account source are entitled only under the pre-v1 gate waiver, listed
in the player access tracker. Paid hosting stays unavailable here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benhook1013 and others added 9 commits November 19, 2026 01:36
Under the pre-v1 gate waiver, accept plaintext Coordination Redis and
supply a process-local qualification lease so Compose can run the
authenticated LOGIN. Both are owed before v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benhook1013 benhook1013 changed the title Add pre-v1 gate waiver switch and open the Compose gameplay route Canonical PLAY on UUIDs with pre-v1 gate waivers and LOGIN stand-ins Nov 19, 2026
benhook1013 and others added 5 commits November 19, 2026 17:35
Add the protected validator inventory binding to the signer fixtures (digest
checked against Account's own code) and serve the matching Game Session
Deployment, ReplicaSet and Pods from the stand-in API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wire the bootstrap coordinator, prepublication, validator inventory and
readiness probe service, which nothing composed before, and run a
self-attested readiness driver so the materializer stand-in can promote a
signer in Compose. Listed in the tracker as owed before v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add docker-compose.pre-v1-login.override.yml (stand-in Kubernetes API and
materializer containers, Account protected bindings installed root-owned by
a pre-v1 entrypoint, LOGIN keyrings, Coordination ACL users, Game Session
authenticated gameplay flags and a fixed IP) and generate its fixtures in
both smoke entrypoints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benhook1013
benhook1013 changed the base branch from codex/gameplay-capacity-evaluation-history-20261113 to codex/gameplay-admitted-logout-foundation-20261113 November 19, 2026 18:15
benhook1013 and others added 2 commits November 20, 2026 09:28
PLAY now resolves the canonical tenant UUID through Game Design and
requires Account entitlement for that UUID, so the test stubs the Game
Design resolution and returns the entitlement for the canonical tenant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ens admission

Held-admission qualification failed because the pre-v1 Gateway readiness
waiver opens Gateway by design. Runtime CI now proves public LOGIN in the
default baseline mode; held mode stays available for held stacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benhook1013
benhook1013 marked this pull request as ready for review November 19, 2026 23:34
@benhook1013

Copy link
Copy Markdown
Owner Author

Handover (Claude, 20 Nov)

PR is ready for review at head f180236bbd, on the FireController queue, canonical-play-transition label removed. Review rounds are Dot's from here.

  • Fixed in this round: the only CI failure this PR caused was PR Full-Stack Smoke (held-admission qualification: "gateway unexpectedly reported healthy", since the pre-v1 waiver opens Gateway by design). Runtime-image CI smoke now runs baseline; contract, testing doc, docker README and the runtime workflow fingerprint in smoke.yml updated. The four affected contracts pass locally.
  • Inherited, not fixed here: Account forward-migration test (1046.9.1 numeric cast), Account spotbugsIntegrationTest, Account SelectedOwnerIntake REVOKED case (same on Qualify original NEW custody, historical settlement and region handoff #3428/Qualify exact Account capacity-evaluation retention references #3435); dependency-resolution flakes on account-service /4, common-test-support, spring-cloud-gateway (rerun should clear them).
  • Watch on the new CI run: PR Full-Stack Smoke in baseline mode has not run in CI yet (it passed locally). If it fails, check the Telnet step first. The SpotBugs report was not read; confirm it has no findings in PreV1SelfAttestedReadinessDriver or PreV1JwtSignerLifecycleConfiguration.
  • Open for Ben: prod application-prod.yml keeps the materializer bearer gap (see the security note in the description).
  • Follow-up (separate PR): the canonical-play-transition exception machinery in smoke.yml / runtime-images.yml is now unused and could be removed; the canonical admission chain + Telnet PLAY/LOOK is the next work.

benhook1013 and others added 3 commits November 21, 2026 12:19
… gate

Game Session starts only after Account publishes its first JWT signer, and
signer readiness waits out the 300 s maximum validator JWKS cache age before
promotion, so the 240 s default health wait expired before Game Session could
start in CI. Also align the smoke-transport contract with the baseline
runtime-image smoke mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runtime-image and full smoke stop steps named only the base and image
overrides, so the pre-v1 signer and gRPC mTLS services survived and the guarded
teardown refused to release the run-owned project. Name both overrides with
config-only placeholders for their bind sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Count only plain numeric Flyway versions in the Account migration proof,
expect the permanent recovery denial for an expired REVOKED issuer, clear the
SpotBugs findings in the Account credential-abuse and control-UI proofs, and
give the gateway checkout login test the native socket peer direct login now
requires. Each fix was reproduced and passes locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benhook1013
benhook1013 marked this pull request as draft November 21, 2026 00:33
benhook1013 and others added 6 commits November 21, 2026 13:35
…deadline

Game Session's public JWKS read built a fresh mTLS channel and gave the whole
call a 3 s deadline, so a cold Game Session on a slow runner spent the deadline
on connection setup and every post-promotion read timed out. Connection setup
now has its own 15 s bound; a transient connection failure still reaches the
RPC so TLS failures keep their invalid classification. The failing status code
is logged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the JWKS read fixed, Game Session became ready before Account promoted its
first signer, so the Telnet smoke's authenticated LOGIN met an UNAVAILABLE
signer until promotion (signer readiness waits out the 300 s validator cache
age). The materializer stand-in now marks promotion, its healthcheck reports it,
and Game Session depends on that health. The stand-in bounds each Account call
at 30 s, and Account gets 1 GiB: a CI run lost it without an error on its first
post-promotion LOGIN under the 512m default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game Session now starts last, after signer promotion, so another container could
already hold its fixed 172.30.0.20 and Docker refused to start it. Dynamic
addresses now come only from 172.30.0.128/25. Local fresh-bootstrap smoke with CI
defaults passes (WebSocket LOGIN/PLAY/LOOK, Telnet LOGIN and fail-closed PLAY).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… lease

The region-transfer custody proof minted its controlled account lease (capped
at 15 s by the product) and then spent about 5 s locally, three times that on a
loaded CI runner, generating the controlled sources' loopback PKI, so Redis TIME
passed the lease expiry before finalize and the owner reported an unavailable
readback. The PKI is now prepared and cached before the lease is minted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nside the Redis fence

The 65-item cohort fences each 32-item page within one 5 s advance budget. When
that budget ends inside the Redis fence the owner reports an untyped unavailable
readback instead of BudgetUnavailable; FENCE is idempotent, so the bounded retry
loop now resumes the same transfer for that message too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benhook1013

Copy link
Copy Markdown
Owner Author

Review scope changed. #3461 now carries the shared, certificate-authenticated fixture WebSocket ingress and the guarded reset between the two fixture probes. #3474 owns the Compose workload certificate checks. #3481 enables and exercises the shared admission path. Earlier review counts cover the previous scope.

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