Repository navigation
Canonical admission chain for Telnet PLAY and LOOK (stacked on #3461) - #3474
benhook1013 wants to merge 28 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
|
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Handover (paused at Ben's request, 20 Nov 06:15 UTC)Head Done
Next, in order
Notes
|
Validation Summary✅ All validation checks passed
Coverage reports and failure logs are available in the workflow artifacts. |
… fixture launch association and first-OPEN coordinator Work in progress at a usage-limit handover. Does not compile yet: the coordinator calls Game Session fixture repository methods that are not written (reserveFixtureStarting/attachFixtureStarting/commitFixture and RunOwnedFixtureRuntimeCompletionRepository). World integration tests last ran mid-edit with 10 failures that still need triage. See the handover comment on #3474. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Handover 2 (stopped at a usage limit, 20 Nov)Head is Added since handover 1
Does not compile until these Game Session repository pieces exist (a delegated attempt hit the limit before writing anything):
Then
World test triage The last full World run was taken mid-edit and had 10 failures:
The last two groups probably pin function definitions that V1070 now rewrites (the hold guard and finalizer), so expect to update those pins. Rerun the World suite first. Later parts: Account REALMS/JOIN, PLAY with capacity, LOOK on a UUID context, WebSocket on the same chain, and the Telnet smoke. |
Handover 3: part 1 done (canonical fixture first OPEN works live)Head is Proved in Compose (run c1b,
Known regression (expected until part 2): WebSocket PLAY now returns Run notes
Next: part 2 (keep adding to this PR until ~60–80 files, then open the next one)
Cleanups still owed:
|
Handover 4: REALMS/JOIN wired; PLAY needs a full production compositionHead Done in this push (part 2, step 1)
Step 2 (Telnet PLAY with capacity) is a whole new production composition, not a receiver call. Map:
Suggested split: this branch is at ~50 files. Open a stacked draft PR for step 2 (Account receivers + GS PLAY composition), it will be well over 80 files on its own. |
Handover 4 addendum (usage limit, resets ~3:50am NZ)Direction changed: per Ben's size rule, PLAY wiring goes on this PR (47 files now) until ~80 files; only then open a stacked draft. Next concrete step: an Account config registering the three receivers on Account's Spring gRPC server (+ CI on b8147d8: License/Security green, Smoke still running at the wait timeout (expected red until WS PLAY moves onto the chain). |
|
CI on b8147d8 (run 44736619640): Validation red. The previous head's Validation was cancelled, so it's unknown which of these predate this push. Failures to triage first on resume:
|
Generic prepare/activate dispatch to the canonical fixture owner when the run-owned fixture is enabled. Activation moves the World row once from its original PREPARING epoch to ACTIVE, recorded by an immutable activation row that the V1070 storage guards require. Launch owners are frozen through the runtime installation registry, fed in Compose by a pre-v1 inventory-file source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
World holds accept the fixture association at its ACTIVE epoch and report a closed fixture lifecycle observation (WorldRunOwnedFixtureLifecycleEvidence) in the hold state instead of Human capture evidence. V1070 drops the V1040 fixture hold refusal. The hold RPC is registered for the run-owned fixture. Game Session's hold client and verifier read the variant-neutral lifecycle accessors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… fixture launch association and first-OPEN coordinator Work in progress at a usage-limit handover. Does not compile yet: the coordinator calls Game Session fixture repository methods that are not written (reserveFixtureStarting/attachFixtureStarting/commitFixture and RunOwnedFixtureRuntimeCompletionRepository). World integration tests last ran mid-edit with 10 failures that still need triage. See the handover comment on #3474. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game Session fixture variants of the initial-admission intent, attempt and STARTING-to-RUNNING completion (no Account protection; the fixture policy-seal digest takes the attestation's place), V1070 guard branches and catalog registration, the first-OPEN coordinator with a scheduled driver, and Compose wiring for the launch-association owner read. The numeric fixture bootstrap is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mpose installation inventory The hold service authenticates its exact Game Session mTLS peer itself and is registered only for the run-owned fixture. The pre-v1 fixtures script writes the World runtime installation inventory, mounted read-only into World. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Account registers the canonical public realm-scope owner and JOIN scope consumers behind firemud.account.canonical-realm-admission.enabled; paid hosting sources are composed only with checkout receiving, so paid tenants fail closed while demo tenants admit from their Account entitlement. Game Session registers the Account-only admission decision read with its route, published-realm, launch and World lifecycle sources, and World registers the canonical instance lifecycle read for the fixture. Account enrolls the run-owned fixture tenant from Game Design's authenticated readback and provisions its demo entitlement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin the decision-read public methods in the Game Session interceptor-chain tests; truncate the run-owned fixture completion table in the cross-service baseline; count only plain numeric Flyway versions in the Account migration proof; clear the SpotBugs findings in two Account integration tests; give the gateway checkout login test the native socket peer that direct login now requires; expect the permanent recovery denial for an expired REVOKED issuer; refresh the Smoke PLAY classifier fingerprint and the game-session tracker links for the first-OPEN coordinator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Account now serves the player entitlement read, the gameplay admission lease with original-new bound credentials, and tenant capacity (through the shared AccountService registration) to the exact Game Session workload, composed from the gameplay-login signer, registry, response cryptography and trusted JWKS. Paid hosting sources stay uncomposed, so paid tenants fail closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…acker Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…I reds Account discovery, entitlement and Game Session admission accept only PRESEEDED_ONLY realms, so Compose REALMS refused the ALLOW_NEW fixture. The fixture capability, Game Design policy-seal guards (V1035) and the Game Session catalog fixture provenance check (V1071, registered in the runtime family catalog) now carry PRESEEDED_ONLY. Pre-v1 fixture rows are throwaway. Also align the smoke-transport contract with the baseline runtime-image smoke mode and clear an Account test-fixture SpotBugs finding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… completion The command repository baseline truncates the run-owned fixture runtime completion table with its own TRUNCATE guard suspended, and the protected writer upgrade proofs compare Human attempt rows without the null V1070 fixture provenance column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 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
…bSocket plan Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Requested by Ben · project thread
Canonical fixture through REALMS
Stacked on #3461. The run-owned Compose fixture creates and activates its World instance, reaches Game Session first OPEN, and exposes WORLDS and authenticated REALMS. Account provides the entitlement, admission lease and capacity owners exercised by #3481.
Validation
86dfa80870over7ba4810c05. The exact Validation retry passed Logging Admin, Game Session shard 1, Account shard 4, and coverage aggregation. The normal hosted Smoke Gate passed. Validation attempt 2 · Smoke Gate · Runtime jobPlayer access and session tracker
FireMUD LOC impact
Compared
7ba4810c05b8→86dfa8087019(PR merge-base → head).PR scope: 100 changed files · 5,733 added textual lines / 2,054 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.