Repository navigation
Prove canonical LOGIN, JOIN, PLAY and LOOK over Telnet and WebSocket - #3481
benhook1013 wants to merge 37 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Smoke Summary✅ Full-stack smoke completed with Smoke Gate: success
|
Handover 5: start of the JOIN/PLAY follow-upBranch State of #3474 (77 files): Live Compose (c2a/c2b) proved enrollment, the first Why JOIN fails live:
Done here: World now serves the fixture lifecycle. Next (planned design):
Gotchas:
|
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Validation Summary✅ All validation checks passed
Coverage reports and failure logs are available in the workflow artifacts. |
… chain The run-owned fixture is canonical-only, so the retired numeric WebSocket PLAY answers ENTITLEMENT_UNAVAILABLE after a successful LOGIN. The baseline smoke now asserts that fail-closed answer (WORLDS, LOGIN, PLAY) like Telnet; #3481 restores PLAY and LOOK. Local fresh-bootstrap smoke with CI defaults passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8000219 to
c94b1e3
Compare
…ifecycle read The fixture has no Human launch binding: World answers its exact request (fixture descriptor digests plus the fixture provenance digest in the release-attestation slot) with the closed WorldRunOwnedFixtureLifecycleEvidence, and the Human read treats a fixture association as an ordinary miss. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37be1a9 to
44675c5
Compare
The fixture has no Game Design Human publication, so the published realm owner read gains a closed run-owned fixture variant: Game Session reads the retained catalog fixture policy and seal instead of a Game Design policy set, verifies it against the launch association's fixture provenance, reads World's fixture lifecycle, and answers with run_owned_fixture_source (field 5) and fixture lifecycle bytes. The shared codec validates the variant; Account JOIN accepts it, while PLAY entitlement and bootstrap characters fail closed until PLAY moves onto the chain. A player's first JOIN now enrolls the never-joined membership authority scope if absent, which the first-JOIN authority event reads; only creators had it. Live Compose: LOGIN, WORLDS, REALMS and JOIN succeed; full smoke passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Handover 6: JOIN live; PLAY next (in this PR)Stack state: #3461 (103a72d) and #3474 (8ba1590) both have verified green CI. They're marked ready for review and are on the FireController queue. This PR is rebased onto #3474; head f1515f2, 20 files. CI on f1515f2 was running at handover. FC job: Proved live (fresh Compose, CI defaults): Telnet LOGIN, WORLDS, REALMS demo and JOIN demo all return OK. PLAY returns In this PR so far:
Next, PLAY (keep it in this PR, up to ~80 files). Map from handover 4/5:
Rules learned the hard way:
Compose gotchas:
|
PLAY plan for this PR (about 58 more files)All stand-ins share one gate:
Risks:
Open decisions (Ben):
|
…neration owner The fixture policy and its isRunOwnedFixture helper are read-side only: they are excluded from the persisted launch-preparation catalog JSON and from catalog equality, so stored launch and pointer snapshots keep matching the live row. The membership repository takes its authority-generation owner by constructor, so the first-JOIN scope enrolment is unit-testable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anonical-fixture-join-play
|
Review scope changed. The protected World, Entity and Game Logic lookup prerequisites moved to #3474. This PR keeps the admitted Game Session command and Telnet proof. Earlier review counts apply to their original comparisons. |
|
Review scope changed. #3481 now exercises the same canonical player command plan over the protected WebSocket and Telnet, with independent fresh fixture state for each. Previous Telnet-only review evidence covers the prior scope. The unlabeled candidate is The native WebSocket returned OK for LOGIN, REALMS, JOIN, PLAY, and LOOK and read Candle-lit Antechamber ( |
|
GitHub's ordinary full-stack smoke passed on merge GitHub's tested merge tree |
|
The previous Validation run found the exact LOOK policy test expectations, Game Session analyzer reports, and historical/current region fixture failures. The parent Validation run found the same LOOK policy cases. The current stack addresses them in #3461, #3474, and #3481. Local proof on the repaired source passed 17 LOOK authorization tests, 13 Game Session region cases, the issuer migration case on both schema frontiers, the previously failing World cross-service admission case on its isolated rerun, and enabled Game Session SpotBugs. The combined World run first stopped in Account signer fixture setup. The isolated run passed with the same Account source. The published comparison is |
|
The fresh source-built smoke passed on PostgreSQL readback recorded one The normal hosted runtime passed on the same comparison. GitHub checked out merge All five gates passed on this exact comparison. Validation attempt 2 passed both rerun shards, coverage aggregation, and the Validation Gate. The fresh fixture smoke covers initial admission over Telnet and the dedicated mTLS WebSocket. Production fixture replacements and scheduled session renewal through credential expiry are tracked as follow-ups. Validation attempt 2 · Fixture waiver tracker · Session rotation contract |
Requested by Ben · project thread
Canonical player admission over Telnet and WebSocket
Stacked on #3474. Both transports complete LOGIN, authenticated WORLDS, REALMS, JOIN, PLAY and LOOK on one connection through the same Account and Game Session owners. The smoke waits for the fixture's first discoverable world, then refreshes the world menu under the LOGIN custody. The independently fresh WebSocket and Telnet legs use the run-owned demo instance.
canonical-play-transitionlabel is unset. This comparison uses the normal Smoke Gate.Evidence
b98f1aa913over86dfa80870. The hosted checkout matched the published pair and head tree. Each freshly seeded leg returnedOK LOGIN,OK WORLDS,OK REALMS,OK JOIN,OK PLAYandOK LOOK, withCandle-lit Antechamber(R-1). The original capability authenticated the state reset and final cleanup. Smoke and cleanup exited zero, and independent Docker project inspection found no surviving containers, networks or volumes. The recorded receipt includes the separate evidence runner exit and independent verification.COMMITTED / READBACK_CONFIRMEDbinding, all three acknowledgements, committed issuer capacity and binding mutations and one reserved Account capacity unit.Follow-ups
Production qualification requires the deployed replacements for the run-owned fixture stand-ins. The demo proof covers fresh claimed fixtures and the dedicated mTLS WebSocket. Pre-v1 waiver tracker
The fresh flow ends before private gameplay delegation expiry. Scheduled session renewal and same-session proof across expiry remain separate work under the authority- and lineage-bound rotation contract. Session rotation contract
FireMUD LOC impact
Compared
86dfa8087019→b98f1aa91348(PR merge-base → head).PR scope: 100 changed files · 6,446 added textual lines / 291 deleted textual lines.
Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.