PR #2857 review history
Section exits and Unit 1B · admission and email links
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Account-switch LOGIN can leave prior gameplay presenceMajor
The parent covers same-tenant different-account cleanup, but a verified connect switching to a different tenant also needed old presence cleanup before saving the new account/tenant context.
- Accepted The preserved ledger records the stronger same-tenant parent fix and a #2857 different-tenant correction with focused negative proof; no parent branch was edited.
- Case-insensitive realm-slug collisions could select an arbitrary targetMajor
Browse or admission could resolve a colliding slug ambiguously.
- Accepted The preserved ledger records a #2857 fix excluding colliding realms from browse/admission and rejecting ambiguous target selection, with pointer-backed, supplied-catalog, and explicit-selector tests.
- Subagent Review 2 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Check retained gameplay presence role classification after JWT removalMinor
Reviewer investigated whether removing the raw delegation JWT from Redis projection causes retained-session WHO classification to fall back to PLAYER.
- Rejected The current Game Session runtime/data status expressly records this fail-closed PLAYER fallback and its Account grant-evidence successor; it does not claim restored elevated roles. Reviewer found no unsafe elevation, current mutation, or false completion claim and returned no actionable finding.
- Subagent Review 3 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Same-tenant case-confusable world slugs merge into one selectorMajor
Distinct raw world slugs can normalize to one selector while carrying different realm slugs; current accumulator mixes their metadata and realms.
- Accepted World slug is one tenant-scoped selector; fail closed on ambiguous normalized world identity and prove no mixed discovery/admission.
- Current PLAY status still claims membership admission despite denied Account readsMinor
The same tracker and ADR 0021 describe current membership/entitlement evaluation or JOIN_REQUIRED while later corrected status and PlayCommandHandler return AUTH_UNAVAILABLE before those reads.
- Accepted Clarify target versus current status at local owning tracker and ADR implementation-status locations without changing the target contract.
- Subagent Review 4 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Denied PLAY can clear an existing binding from another tenantMajor
Resume-denied cleanup compares world/realm slugs but not tenant or canonical runtime identity; denied same-slug selection in B can clear live binding in A.
- Accepted Compare tenant and canonical runtime target before cleanup; preserve unrelated binding and selectors with negative proof.
- Visible private realm blocks advertised public default on bare PLAYMinor
Public discovery shows only one public-production realm, but explicit-selection check counts the private realm and denies bare PLAY.
- Accepted Align bare public PLAY default selection with eligible public discovery without admitting a private realm.
- Subagent Review 5 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- P2 direct-text REALMS scope issuer omits current entitlement evaluationMajor
Game Session returns public realm after Account scope issuance, but Account issuer checks authentication and selected pointer, not fresh entitlement. Authentication requires current entitlement evaluation before REALMS discovery; JOIN's later check prevents membership bypass but does not correct the discovery evidence.
- Accepted Authentication REALMS contract explicitly requires current entitlement authority at discovery. Account scope issuer is the owner-local gate and currently lacks this check; JOIN revalidation does not substitute.
- P2 tenant-wide public-production realm uniqueness is not enforcedMajor
Game Session browse and scope issuance admit a public realm in each world, while cached JOIN checks only the selected world. Account scope/JOIN rereads the selected pointer but not tenant-wide cardinality; adding another public realm leaves an old scope valid. Multi-Tenancy requires exactly one visible public-production realm per tenant for discovery, JOIN, issuance and PLAY.
- Accepted Verified canonical per-tenant invariant and selected-world/per-pointer implementation limits. #2857 owns Account and Game Session admission work; correction requires tenant-wide authority and negative commit proof.
- Subagent Review 6 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- P2 Automation tracker falsely lists CHARS as live onCommand producerMinor
Current CHARS always returns CHARACTER_LIST_UNAVAILABLE and dispatcher publishes only accepted commands; the changed #2857 negative test confirms no script event for denied CHARS.
- Accepted The Automation tracker is already within the #2857 unique patch. Remove its false current producer claim and record target-only consequence without changing normative Automation authority.
- P2 Player Experience tracker overstates live PLAY JOIN_REQUIRED proofMinor
The tracker says current PLAY reaches JOIN_REQUIRED from fresh Account membership and calls it implemented/proven, but current Account runtime reads deny before data access and PLAY returns authority unavailable. The conditional mocked unit branch is not live admission proof.
- Accepted The tracker is already touched by the #2857 admission boundary. Correct status locally while preserving canonical target behavior at its architecture owner.
- P2 pointer-bootstrap fallback still assigns sandbox to demo tenantMajor
The Game Session pointer-bootstrap fallback defaults demo and sandbox visible public realms to tenant 1 if the application pointer override is omitted. Corrected catalog/application defaults use sandbox tenant 2; V7's unique index could reject startup seeding.
- Accepted Verified fallback source and corrected V7/application/common defaults. Align fallback and add no-override test in #2857 before publication.
- Subagent Review 7 CompletedModel not recordedFound: 3 Accepted: 2 Routed: 0
- Historical decision inventories contain stale current-state wordingMinor
Non-normative historical inventories still describe old PLAY/JOIN and authority evidence behavior; these files are not in the #2857 unique patch.
- Rejected Not a safe #2857-unique correction: these human-reviewed decision inventories record historical deliberation, while current architecture and trackers own live status. The possible maintenance issue has no credible open PR target and is reported to Overseer rather than silently rewritten.
- Realm tracker describes an obsolete global slug indexMinor
The current tracker still said world/realm slug uniqueness was global despite V2 tenant-qualified and V7 visible-public tenant indexes.
- Accepted Corrected in the #2857-owned tracker in published 92b00fb9b; links, Markdown and architecture document contracts pass.
- Admission trackers call the current runtime slice documentation-onlyMinor
Realm routing and player access tracker status denied current runtime/proof changes while still clearly needing Account enablement and live proof.
- Accepted Corrected the two PR-owned tracker status claims in published 92b00fb9b, retaining explicit denied-RPC and proof limits.
- Subagent Review 8 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 9 CompletedModel not recordedFound: 2 Accepted: 1 Routed: 0
- P2 stale-room fresh entry lacks reconnect redraw signalMinor
Reviewer proposed setting the reconnect redraw signal when an old room is missing, because generic transports do not emit the reconnect LOOK in that case.
- Rejected The canonical example permits LOOK or prompt. PLAY uses WHEN_GAMEPLAY and Session dispatch reloads the new gameplay context before prompt application, so fresh fallback gets a prompt. The reconnect flag controls retained-buffer replay; setting it for fresh entry would replay old transcript.
- P2 Redis sanitization loses tenant-scoped presence roleMajor
SessionContext is saved without its JWT; subsequent PLAY reloads sanitized context, so presence registration receives no scoped claims and the WHO classifier falls back to PLAYER even for tenant staff. The Account runtime admission RPC still denies before reads.
- Accepted LOGIN-to-Redis-to-PLAY lacks a trusted bounded role projection or fresh authority lookup. This is #2857 activation/proof work, not permission to retain raw JWTs or enable denied Account RPCs. Preserve as an open design/proof obligation for Overseer at the requested pause.
- Subagent Review 10 CompletedModel not recordedFound: 2 Accepted: 1 Routed: 0
- Cross-tenant denied PLAY may clear old bindingMajor
- Rejected Provisional candidate withdrawn: the sole caller forwards selectedRealm tenant tag through all denial helpers; guard rejects selected23/context22. Current regression executed green.
- P3 stale-context PLAY drops generic fresh LOOK signalMinor
- Accepted Owner normative reconstruction sequence requires fresh LOOK. Restore authorized fresh-entry fallback redraw signal; private replay and live Account activation remain closed. Conditional P3, not a demonstrated production symptom.
- Subagent Review 11 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- P1 fresh-store startup rejects shipped private sandbox seedMajor
- Accepted Bound YAML gives private tenant2 zero public seeds; empty-store initializer throws before preserving CLOSED. Correct config without making sandbox public; add real application.yml binding proof.
- P3 ADR0021 current PLAY failure status mismatchMinor
- Accepted Account FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED, not AUTH_UNAVAILABLE; correct two current-status paragraphs, preserve target outage semantics.
- Subagent Review 12 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P2 conditional private routing read accepts invalid tenant catalogMajor
- Accepted A valid prior list cannot fence public hide/remove between snapshots: private revision is per-row. Validate selected-tenant public count in final snapshot. No live token/PLAY bypass; pointer mutation and Account admission remain gated.
- Subagent Review 13 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 14 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- JOIN and PLAY guidance recommends unavailable CHARSMinor
- Accepted P3 clarity correction: align localized/fallback success and character-selection copy with existing known-selector PLAY while retaining fail-closed browsing.
- Constant role classifier retains dead JWT/logger inputsMinor
- Accepted P3 simplification: remove unused classifier parameters and presence-service JWT dependency; preserve unconditional PLAYER and shared constructor call sites/tests.
- Subagent Review 15 CompletedModel not recordedFound: 4 Accepted: 4 Routed: 0
- Hidden private realm changes invalidate caller-visible REALMS selectorsMajor
- Accepted P2: full-catalog fingerprint leaks hidden changes through mismatch; bind and revalidate caller-visible projection without weakening selected-target or fresh authorization fences.
- Realm tracker top summary contradicts implemented duplicate-world suppressionMinor
- Accepted P3: reconcile status with suppression and actual row-locked pointer behavior, preserving tenant-qualified selector and live-proof gaps.
- HELP WHO advertises unavailable Gods classificationMinor
- Accepted P3: current classifier safely returns PLAYER; qualify current help and retain target-role authority gap.
- Cross-service admission fixture lacks fresh lifecycle authority and expects JOIN for active denialMinor
- Accepted P2 proof defect: inherited shared stub omits lifecycle/generation and has fixed stale time; update fixture and assert active denial vs eligible missing membership separately; no live proof claim.
- Subagent Review 16 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- P3 Remove unused Entity dependency from WorldsCommandHandlerTrivial
- Accepted CHARS is closed and this field has no reads; remove stale constructor/service coupling and adapt callers while retaining no-Entity-query and admission proof.
- Subagent Review 17 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Narrow entitlement-read outage classificationMinor
- Accepted Unique broad RuntimeException catch maps unexpected programming defects to retryable entitlement outage; catch recognized Spring and jOOQ data-access families and prove unexpected failure propagates before scope write.
- Subagent Review 18 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Preserve binding on entitlement contract-precondition failureMinor
- Accepted Unique entitlement FAILED_PRECONDITION branch/test misclassifies inability to bind authority as policy denial and clears retained state. Map to ENTITLEMENT_UNAVAILABLE without mutation. Latent supplied-authority seam: current live membership endpoint denies earlier; no live ejection claim.
- Subagent Review 19 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- WebSocket PLAY success fixtures contain stale incomplete authorityMinor
GameSessionWebSocketHandlerIntegrationTest272/286. Docker-gated positive integration cases may remain unexecuted locally; disclose that gap, do not claim a proved production admission path.
- Accepted Success stubs use fixed March evaluatedAt despite system-clock 15-second freshness and omit ACTIVE/positive generation. Produce fresh complete membership/entitlement per call without bypassing production validation; compile/run existing focused proof where available.
- Live producer inventory claims effects from denied LOGOUTMinor
automation-and-scheduler-runtime.md114 contradicts LogoutCommandHandler45-53 and interpreter rejection handling. Documentation accuracy only; keep actual logout fail-closed.
- Accepted Current authenticated LOGOUT returns LOGOUT_UNAVAILABLE before effects; update child-owned producer status so logout onCommand/onLeaveRegion remain unavailable/target-only. Preserve transport-loss and ordinary live producers.
- Subagent Review 20 CompletedModel not recordedFound: 3 Accepted: 2 Routed: 0
- Secondary PLAY status confuses in-band precondition denial with transport outageMinor
- Accepted Live Account returns an in-band FAILED_PRECONDITION and PLAY maps it to WORLD_ACCESS_DENIED. AccountClient transport exception normalization is different; secondary statements introduced during reconciliation must reflect the actual application-error path.
- Single-snapshot gRPC pointer reads misclassify database outagesMinor
- Accepted New direct listPointers calls bypass catalog DataAccessException translation and hit generic INTERNAL; all three discovery/read handlers must retain retryable AUTH_UNAVAILABLE with one read.
- PLAY must stay closed without namespace-qualified actor rosterMajor
- Rejected The actual EntityManagementClient.listCharactersByAccount already returns CHARACTER_LIST_UNAVAILABLE before stub/RPC access; replacement/runtime-fence negative tests preserve that containment. Mock-supplied handler success is not a live unqualified roster.
- Subagent Review 21 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Realm-routing tracker incorrectly claims disconnect mutates runtimeMinor
Same complete77-path coverage and clean pin; no tests or runtime proof.
- Accepted Current TCP disconnect is advisory metrics and read-only ownership validation, not runtime suspension/session cleanup. Update stale tracker consequence to implemented behavior.
- Denied cross-tenant PLAY clears existing binding when runtime IDs collideMinor
Whole77 unique paths/hunks plus unchanged owner/caller context; static review validation NONE; pin0ee48 parent874f clean. Existing added test expects no clear/save.
- Accepted requestedTenantId is positive but not matched to context tenant. Require same tenant before cleanup; preserve cross-tenant negative fixture and same-tenant cleanup.
- CLI Review 1 CompletedRuntime 4m 15sFound: 6 Accepted: 0/2/4 Routed: 0
- Trivial
Update tenantForGameInstance so game instances 2 and 41 resolve to tenant "22", matching their fixture realms; preserve the existing fallback mapping for other IDs unless fixture requirements establish otherwise.
- Accepted Accepted fixture defect: realms for instances2/41 use tenant22 but resolver returns23, masking intended guards. Correct mapping, preserve fallback. Pending focused proof.
- Trivial
Update the lateDuplicate fixture in this test to use the selected public realm slug and a canonical UUID for playableStateNamespaceId, so it reaches validatePublicRealmCardinality. Remove the getAdmissionPointer exception stub or assert that the cardinality guard rejects before getAdmissionPointer is called.
- Accepted Accepted test defect: lateDuplicate has malformed namespace and filtered-out slug, so fails before intended cardinality guard. Use canonical namespace and selected slug, assert pointer never queried. Pending proof.
- Trivial
Update the tracker entry containing the non-public discovery and PLAY rule to link to its owning architecture contract instead of restating the canonical rule; retain the existing fail-closed behavior and proof status.
- Accepted Accepted tracker authority alignment: link non-public discovery/PLAY rule to owning Authentication contract while retaining local fail-closed/proof status. Pending fix.
- Minor
Add a comma after “assignments” in the retained-history sentence on both copies so “stays activation-blocked” is separated from the parenthetical clarification.
- Accepted Accepted low-risk grammar correction in owning realm-routing tracker; add comma after assignments to separate parenthetical from predicate. Pending fix.
- Minor
Move the complete dated observation beginning “2026-09-25” to the end of the existing observations in the file, preserving its text and all prior entries unchanged.
- Accepted Accepted append-only observation placement correction; move only the PR-added dated entry to end, preserving text and prior entries. Pending fix.
- Trivial
Update the tests around FakeGameplayPresenceService so they do not claim to verify that JWT claims or account responses cannot elevate presence when the fake always assigns GameplayPresenceRoleClassifier.classifyRole(). Test that invariant through RedisGameplayPresenceServiceTest or GameplayPresenceRoleClassifierTest with elevated JWT claims, or rename the three fake-based tests to describe only the behavior they actually exercise.
- Accepted Accepted proof naming correction: fake always assigns PLAYER; rename three fake-based tests to actual presentation/reconnect behavior. Production Redis elevated-claim test already exists. Pending fix.
- CLI Review 2 CompletedRuntime 4m 21sFound: 6 Accepted: 0/2/4 Routed: 0
- Trivial
Update the guard using sameGameplayIdentity and sameVisibleRealm to depend only on sameRuntimeTarget, since those identity checks already imply a runtime match. Remove the redundant hasMatchingTenantId check where the callers pass the selected realm’s tenant ID and its string form.
- Accepted Accepted: simplify redundant denial condition to sameRuntimeTarget and remove duplicate tenant-string comparison after verifying callers construct it from selectedRealm.tenantId.
- Trivial
Update setUp in GameSessionWebSocketHandlerIntegrationTest to delete any existing sessions for tenant 22 with session IDs 43 and 44, so the private-only sandbox test starts with clean session state.
- Accepted Accepted: clear tenant22 session43/44 in integration setup to prevent private-only sandbox fixture contamination; pending focused fix.
- Trivial
Before applying the unique index on gameplay_admission_pointer, run a pre-deploy check that groups visible public production rows by tenant_id and reports tenants with more than one row; keep the index’s fail-fast behavior for duplicates.
- Accepted Accepted: document read-only visible public duplicate preflight at the runtime/data owner, retaining V12 fail-fast index and immutable migration.
- Minor
Align the current-state statements in this ADR: update the classifier descriptions around
platformAdminto make clear that its elevation was past behavior and that the current Game Session presence classifier ignores global roles. Keep the separate caveat that Account-backed gameplay admission is incomplete and fail-closed.- Accepted Accepted: distinguish historical platformAdmin elevation from current roles-ignoring classifier; retain incomplete fail-closed Account admission.
- Trivial
Rename joinPublicProductionRejectsLateAmbiguousPublicRealmBeforeMembershipCommit to describe rejection when the public realm is already ambiguous before JOIN begins, or change the test setup so the duplicate appears only on the second listGameplayRealms("demo") call and the commit-gate evaluateJoin(scope, true) detects it.
- Accepted Accepted: rename existing-before-JOIN ambiguity test truthfully; preserve its no-membership-commit and pointer guards.
- Minor
Update the Unit 1B review cadence in the section describing serial whole-unit reviews to match the paired parallel review required by the shared plan; if Unit 1B must remain serial, document that exception in the plan and align the wording here with it.
- Accepted Accepted: record completed serial passes as historical evidence and align future cadence with canonical paired parallel plan.
- CLI Review 3 CompletedRuntime 6m 03sFound: 1 Accepted: 0/0/1 Routed: 0
- Trivial
Update browseCharactersFailsClosedForValidSelectorBeforeEntityRosterRead to use authenticatedHandler with a local accountClient mock instead of the class-level handler, then verify that the mock has no interactions after the unavailable result is returned.
- Accepted Accepted trivial proof strengthening: retain a local Account mock in the valid-selector denial test and assert no dispatch before authority availability; production denial unchanged.
- CLI Review 4 CompletedRuntime 4m 37sFound: 5 Accepted: 0/0/3 Routed: 0
- Trivial
Update the GetAdmissionPointer flow in GameSessionGrpcService to use one listPointersByTenant(tenantId) snapshot for the tenant health check, filtering, and uniqueness checks when a global snapshot is not needed for cross-tenant collision detection; avoid loading and filtering all tenants’ pointers for this lookup.
- Accepted Accepted: GetAdmissionPointer is explicitly tenant-selected and catalog validation filters to that tenant. Use one listPointersByTenant snapshot with scope validation and existing availability/error semantics; retain global listing only for global discovery.
- Trivial
Update the V12 migration’s uq_gameplay_admission_pointer_visible_public_tenant index build to run concurrently, and configure that Flyway migration as non-transactional. Apply the same change to the V13 index on gameplay_admission_pointer_event so index creation does not block production writes.
- Rejected Rejected: rewriting transactional Flyway migrations for concurrent nontransactional index builds adds partial-index retry and checksum hazards without evidenced live-lock need or recovery proof. Retain atomic fail-closed uniqueness.
- Trivial
Replace the verifyNoInteractions(accountClient) assertions in the loop tests with explicit never verifications for getTenantEntitlementsForRuntime and getTenantMembershipForRuntime, respectively, using the relevant test arguments to verify that the handler does not dispatch either method.
- Rejected Rejected: verifyNoInteractions is intentional stronger proof that malformed/stale selectors dispatch no Account call. Specific never checks would weaken it and add no missing assertion.
- Trivial
Remove the duplicate realmsFailClosedWhenAccountScopeIssuerIsUnavailable test because realmsBrowseFailsClosedWhenScopeAuthorityIsUnavailable already covers the unavailable-authority case and verifies that “Live Realm” is absent from the output. Preserve the existing test unchanged unless there is a genuinely new assertion to merge into it.
- Accepted Accepted: duplicate REALMS authority-unavailable test has identical setup and weaker assertions than existing realmsBrowseFailsClosedWhenScopeAuthorityIsUnavailable; retain the stronger no-Live-Realm proof.
- Trivial
Update tenantForGameInstance so it no longer accepts an unused gameInstanceId; inline the fixed tenant value at its call sites, or derive and pass the tenant through stubOwnedRoster so tenant-specific runtimes match their stubs.
- Accepted Accepted: tenantForGameInstance ignores its parameter and always returns22; inline the explicit fixed tenant in this fixture without changing production or multi-tenant proof.
- CLI Review 5 CompletedRuntime 4m 18sFound: 6 Accepted: 0/4/2 Routed: 0
- Trivial
Remove the duplicate
unavailableCharsDoesNotReadRosterOrPublishGameplayEventtest;closesPublicCharsBrowseBeforeAuthorityOrRosterReadsalready covers the unavailableCHARS demobehavior and additionally verifies thataccountClientis not called. Do not retain theentityManagementClientinteraction check, since that client is no longer used byWorldsCommandHandler.- Accepted Accept: remove weaker duplicate CHARS denial test; retain stronger existing authority/roster no-interaction proof.
- Minor
Update the connect-token issuance description to distinguish local checks of supplied evidence from live behavior: the live Account membership reader rejects requests before data access and does not provide a membership snapshot. Keep the surrounding lifecycle and authority-generation limitations accurate and consistent with the other current-state descriptions.
- Accepted Accept partially: distinguish supplied/local connect evidence from fail-closed live gRPC reads; preserve actual HTTP repository-reader behavior.
- Minor
Update the “Durable logout/reconnect and controller authority” row to say fresh first-party PLAY no longer replays after an attempted LOGOUT, not after logout, since LOGOUT returns LOGOUT_UNAVAILABLE without completing a lifecycle transition. Keep this wording consistent with the documented logout state.
- Accepted Accept: durable continuity row must say attempted LOGOUT; no successful lifecycle transition is implemented.
- Minor
Update the replay-suppression wording in the reconnect status sentence to say it occurs after an attempted LOGOUT, not after a completed logout; keep the existing test coverage description otherwise unchanged.
- Accepted Accept: replay suppression follows attempted LOGOUT, not completed lifecycle transition.
- Minor
Update the recorded
PLAYerror mapping so an in-band AccountFAILED_PRECONDITIONmaps toWORLD_ACCESS_DENIED; reserve retryableAUTH_UNAVAILABLEfor a transport-levelStatusRuntimeException, consistent with the live text path.- Accepted Accept: in-band membership FAILED_PRECONDITION yields WORLD_ACCESS_DENIED; transport uncertainty remains AUTH_UNAVAILABLE.
- Trivial
Update the test around WorldsCommandHandler.browseCharacters to keep the realm private by removing the later setPublicProductionRealm(true) toggle. Remove the unused stubPublicConnectScope setup so the test consistently verifies that browsing a private isolated realm returns unavailable without interacting with accountClient.
- Accepted Accept: keep private-realm fixture private and remove unused scope stub; no runtime semantic change.
- Hosted Review 1 CompletedRuntime 8m 17sFound: 5 Accepted: 0/2/2 Routed: 0
- Assert on the persisted state, not on the immutable input record.Trivial
Lines 4364-4374 assert fields of
context.contextis the stub input, andSessionContextis a value record. A handler cannot change these fields, so the assertions always pass. They do not prove that the binding was preserved. Thenever().save(...)andnever().clearGameplayBinding(...)verifications already prove preservation. Remove the redundant field assertions so the test does not overstate its coverage.- Accepted Accept removing assertions on immutable input context; retain no-save, no-clear and no-side-effect checks as actual preservation proof.
- Remove the duplicate realm-pointer read before the unconditional
Unavailable.TrivialAfter this change,
browseCharactersalways returnsCharacterBrowseResult.unavailable()for an accepted public realm. It still callsmatchesCurrentAdmissionPointerfirst, which reads the authority store for the tenant. The response for a valid selection does not depend on that read, except when the read fails or the pointer has drifted. This keeps the error codes distinct. Keep the read only if those distinct error codes are required. Otherwise, document that the read exists only to classify errors.- Accepted Accept explaining the retained pointer read as distinct AUTH_UNAVAILABLE versus ADMISSION_POINTER_UNAVAILABLE error classification; do not remove it.
- Clarify the receipt status and evidence.Minor
The phrase “terminal minimized receipt” is ambiguous. Use “terminal-status receipt with minimized evidence” to distinguish the receipt’s terminal status from evidence minimization.
Suggested wording
- After a matching terminal minimized receipt in the exercised path, Account clears only its producer payload and retains compact event, digest, and receiver identity evidence. + After the exercised path receives a matching terminal-status receipt with minimized evidence, Account clears only its producer payload and retains compact event, digest, and receiver identity evidence.- Accepted Accept precise terminal-status receipt with minimized evidence wording; no contract change.
- The non-concurrent unique index blocks writes during the build.Trivial
CREATE UNIQUE INDEXwithoutCONCURRENTLYtakes a lock that blocks writes togameplay_admission_pointeruntil the build finishes. This table is a small catalog, so the lock is likely short. If a deployment has a large table or live pointer writers, useCREATE UNIQUE INDEX CONCURRENTLYin a non-transactional Flyway migration. A concurrent build that fails leaves an invalid index. The current integration test expects no leftover index.- Rejected Reject unconditional CONCURRENTLY: V12 intentionally fails atomically on duplicate retained rows with no invalid leftover index. Activation already requires retained-data/history disposition; CLI companion adds explicit lock/quiescence evidence prerequisite.
- Name both connect-token authority fields.Minor
Line 21 uses
membership-authority-generation/version reread, which does not clearly distinguish the two fields. Replace it with “reread ofmembershipAuthorityGenerationandmembershipVersion.”- Accepted Accept explicitly naming membershipAuthorityGeneration and membershipVersion reread.
- CLI Review 6 CompletedRuntime 4m 02sFound: 11 Accepted: 0/1/9 Routed: 0
- Trivial
In publicBrowseDoesNotExposePrivateWorldOrRealmMetadata, charsPrivateOnlyWorldFailsBeforeEntityRead, and charsDoesNotDistinguishPrivateRealmFromAnInvalidRealm, assign each AccountClient mock to a local variable and verifyNoInteractions on it; move these test methods before the static world() helper alongside the other tests.
- Accepted Accept explicit no Account interactions and grouping privacy tests with other tests before helpers.
- Trivial
Remove the current implementation status, failure mappings, and proof-gap details from the normative delivery rule in the “No implicit replay on reconnect” section. Keep only the target-state reconnect and delivery behavior there; leave current proof results to the owner status documents and PR/CI evidence.
- Accepted Accept removing detailed current status/proof gaps from normative protocol paragraph; preserve linked owner trackers and target reconnect contract.
- Trivial
Move catalogPolicyRevisionAdvancesIndependentlyFromPointerVersion from GameSessionGrpcServiceTest to the test class for DatabaseGameplayAdmissionPointerAuthorityService, preserving its assertions and setup.
- Accepted Accept relocating owner-local pointer revision/CAS proof to DatabaseGameplayAdmissionPointerAuthorityServiceTest without weakening assertions.
- Trivial
In SessionResumptionFlowTest, update the CHARS assertion for charsAfterCutover to verify the specific CHARACTER_LIST_UNAVAILABLE error code in addition to confirming the command was rejected; retain the existing verification that no character-list request was made.
- Accepted Accept explicit CHARACTER_LIST_UNAVAILABLE assertion after cutover while retaining the no-roster-read proof.
- Trivial
Merge charsAreNotDisclosedWithoutTypedEntityRosterProof and charsAreUnavailableUntilTypedEntityRosterProofExists into one test, keeping the assertions for the error code, absence of “Live Realm,” and that the roster is never called; remove the duplicate flow and assertions.
- Accepted Accept merging duplicate CHARS flows, preserving error code, no metadata disclosure and no Entity roster call.
- Trivial
Update
reconnectPlayEmitsPromptOnlyWhenBothPromptSettingsAreEnabledto remove thescreenBufferService.getstub and verify thatscreenBufferServicehas no interactions, ensuring the test fails if reconnect reads the retained buffer.- Accepted Accept removing retained-buffer stub and asserting no buffer interactions on reconnect prompt cases.
- Trivial
The migration creates uq_gameplay_admission_pointer_visible_public_tenant with a blocking index build; verify that gameplay_admission_pointer is small enough for the deployment write lock to be acceptable. If it is not, use a deployment-compatible concurrent index build while preserving the uniqueness predicate.
- Accepted Accept deployment-proof clarification: retain atomic transactional V12; explicitly require retained row-count/history and acceptable write-lock/quiescence evidence before activation, not an assumed small-table bound.
- Trivial
Update the setUp cleanup in GameSessionWebSocketHandlerIntegrationTest to delete session contexts 43 and 44 for tenant 23, matching the existing tenant-22 cleanup and keeping tenant-23 cleanup symmetric.
- Accepted Accept symmetric tenant-23 session-context cleanup for 43 and 44 to prevent integration fixture leakage.
- Minor
Update validateMembershipResponse so membership FAILED_PRECONDITION errors follow the authorityUnavailableFailure path instead of worldAccessDeniedFailure, avoiding denial cleanup for unproven caller/target binding.
- Rejected Reject: canonical Account AUTH_UNAVAILABLE is for unreachable/timeout authority; reachable FAILED_PRECONDITION is a caller/target denial, not retryable availability. Existing contract and tests intentionally preserve that classification.
- Trivial
Update loadShippedConfiguration to handle the full result of each YamlPropertySourceLoader.load call instead of indexing only the first document; add every loaded property source to the environment, or explicitly validate that each file contains exactly one document before adding it.
- Accepted Accept loading every YAML property source rather than silently ignoring later documents.
- Minor
In readCatalogState, normalize a null result from worldSupplier.get() to an empty list before passing it to normalizeWorlds and the ambiguity helpers. Preserve the existing catalog behavior for non-null lists.
- Accepted Accept normalizing null worldSupplier result once before all catalog helpers, with no-throw empty catalog regression.
- CLI Review 7 CompletedRuntime 7m 51sFound: 5 Accepted: 0/0/4 Routed: 0
- Trivial
Remove the unused entityManagementClient field from WorldsTextCommandDispatchHandlerTest and drop it from every Mockito.verifyNoInteractions call; keep the remaining interaction assertions unchanged.
- Accepted Trivial: remove the never-injected Entity mock and its vacuous no-interaction assertions; retain real Account/store/publisher assertions.
- Trivial
Remove the uninjected sessionStateService and gameplayPresenceLifecycleService mocks and their verifyNoInteractions calls from TcpProxyServiceImplTest. Retain the entity.getStatus() and repository interaction assertions, including in notifyDisconnectWithUnprovedBindingLeavesLifecycleStateUnchanged, so the tests rely only on evidence from dependencies actually used by TcpProxyServiceImpl.
- Accepted Trivial: remove never-injected session/presence mocks; retain actual entity lifecycle state and repository effects in all disconnect cases.
- Trivial
Update privateAdmissionDoesNotUsePublicRealmFromAnotherTenantToSatisfyCardinality to include a visible public realm for tenant 8 in the listPointers() stub, alongside the existing tenant 7 fixture. Keep the admission-failure assertions and verify listPointers() is never called, so the test detects cross-tenant cardinality lookup.
- Accepted Trivial focused proof: stub a visible public pointer for another tenant on global listPointers and verify it is never consulted for selected-tenant admission.
- Trivial
Check the expected size of gameplay_admission_pointer and the migration’s locking requirements before changing the index creation. Keep the plain CREATE UNIQUE INDEX if the table is small; if it can be large, use concurrent index creation and configure this Flyway migration to run outside a transaction.
- Rejected Already bounded: V12 stays transactional; retained cardinality/history and measured locking or quiescence are activation prerequisites. Concurrent creation would weaken atomic failure; no unproved small-table or live-write claim.
- Trivial
Update the listPointers() stub used by listGameplayRealms to return only the hidden-public snapshot, removing the unused publicRealm value so the test exercises the hidden-public case it claims to cover.
- Accepted Trivial fixture correction: catalog must see only the hidden-public snapshot, rather than the unused sequential visible snapshot. Preserve denial, redaction and owner interaction assertions.
- CLI Review 8 CompletedRuntime 3m 22sFound: 1 Accepted: 0/0/0 Routed: 0
- Trivial
For the unique index on gameplay_admission_pointer, keep the standard index build if the table is expected to remain small; if it can grow large, use a concurrent build and configure this Flyway migration to run outside a transaction.
- Rejected Repeated V12 suggestion: keep atomic transactional duplicate failure. Tracker already requires actual retained cardinality/history and measured acceptable locking or quiescence before activation; no speculative concurrent-index conversion or small-table assumption.
- Hosted Review 2 CompletedRuntime 13m 40sFound: 3 Accepted: 0/1/2 Routed: 0
- Remove the unused
pointerMutationhelper.TrivialPMD reports that
pointerMutation(long, boolean, Long, Long)is unused. No test in this file calls it. TheGameplayAdmissionPointerMutationimport at Line 30 exists only for this helper. Remove both items.- Accepted Remove unused pointerMutation helper/import; no fixture or assertion loss.
- Check the write-lock window before activation.Trivial
CREATE INDEXblocks writes togameplay_admission_pointer_eventwhile PostgreSQL builds the index. Compare the expected build time and write activity with the deployment budget. If the lock window exceeds that budget, use a non-transactionalCREATE INDEX CONCURRENTLYmigration and define cleanup for an invalid index after failure.- Accepted Explicitly include V13 event-index write-lock/build measurement in activation preflight. No unmeasured online-availability or size claim; retain transactional SQL until actual budget evidence supports a different migration.
- Catch Spring’s translated database exceptions.Minor
When Spring Boot’s jOOQ
ExceptionTranslatorExecuteListenertranslates a SQL failure toorg.springframework.dao.DataAccessException, these readers do not catch it. The gRPC handlers then returnINTERNALinstead ofAUTH_UNAVAILABLE. Catch both exception types in both readers.- } catch (DataAccessException ex) { + } catch (DataAccessException | org.springframework.dao.DataAccessException ex) { throw new GameplayWorldCatalog.AuthorityPointerReadUnavailableException( "Authoritative gameplay pointer list is unavailable", ex); } ... - } catch (DataAccessException ex) { + } catch (DataAccessException | org.springframework.dao.DataAccessException ex) { throw new GameplayWorldCatalog.AuthorityPointerReadUnavailableException( "Authoritative tenant gameplay pointer list is unavailable", ex); }- Accepted Catch Spring translated data-access failures in both pointer readers and retain typed AUTH_UNAVAILABLE responses; add both-overload regressions.
- CLI Review 9 CompletedRuntime 4m 31sFound: 5 Accepted: 0/1/2 Routed: 0
- Trivial
Rename
joinPublicProductionRejectsPreexistingAmbiguousPublicRealmBeforeMembershipCommitto describe the late duplicate making the public realm ambiguous and the join remaining pending; keep the test setup and assertions unchanged.- Accepted Rename fixture to describe late duplicate public realm and pending JOIN. Preserve all setup and assertions.
- Trivial
Unify entitlement reads so the JOIN path receives the same failure classification and null-row validation as the other reader. Add a shared helper that selects the locked or unlocked repository read based on a lock flag, preserves the existing MappingException and ConfigurationException passthrough before mapping data-access failures to ENTITLEMENT_UNAVAILABLE, and validates the returned rows. Update both joinEntitlement and the other entitlement reader to use it.
- Accepted Share locked/unlocked entitlement read classification and validate null/list/null-row/version cases. Preserve MappingException/ConfigurationException passthrough; map database unavailability consistently, with focused regressions.
- Major
Update validateMembershipResponse to classify membership errors with code FAILED_PRECONDITION as authorityUnavailableFailure, matching the entitlement-read behavior. Ensure this path does not call worldAccessDeniedFailure or recordResumeDeniedIfApplicable, preserving gameplay bindings; retain cleanup for definitive policy denials.
- Rejected Reachable Account FAILED_PRECONDITION means caller/target authority cannot be established, not transient AUTH_UNAVAILABLE. Preserving an existing binding would contradict the denial contract; duplicate previously rejected.
- Trivial
Keep the plain CREATE UNIQUE INDEX for uq_gameplay_admission_pointer_visible_public_tenant; the table is small, so do not add CONCURRENTLY.
- Rejected Already uses plain CREATE UNIQUE INDEX. No correction needed; unsupported small-table assumption is not accepted. Actual retained-history/locking preflight remains required.
- Minor
Update the live onCommand producer inventory to remove Automation handoff and remote target-side gameplay execution, or mark them unavailable unless their receiver paths have a live producer; keep the status consistent with the documented fail-closed or disabled receiver behavior.
- Accepted Correct PR-owned producer inventory: Automation handoff receiver is fail-closed and remote helper admission does not prove live onCommand production. Mark these unavailable rather than claiming live parity.
- CLI Review 10 CompletedRuntime 4m 22sFound: 2 Accepted: 0/0/2 Routed: 0
- Trivial
Remove the unused
getTenantMembershipForRuntimeandgetTenantEntitlementsForRuntimestubs from the fail-closed tests, includingbrowseCharactersDoesNotDispatchForInactivePublicMembershipandbrowseCharactersDoesNotDispatchForUnavailableEntitlement. Keep the assertions that browsing returns unavailable and makes no account calls; apply the same cleanup to the other tests identified in the review.- Accepted Fail-closed CHARS tests never reach Account; their entitlement/membership stubs are dead setup. Remove only unused stubs, preserving unavailable/no-interaction assertions and rename misleading variants if necessary.
- Trivial
Before deploying the migration that creates uq_gameplay_admission_pointer_visible_public_tenant, check production data for duplicate rows matching visible AND public_production_realm grouped by tenant_id, and resolve any duplicates so the unique index can be created successfully.
- Accepted Add an explicit read-only duplicate inventory and owner-disposition activation gate for V12; migration already fails on duplicates, but pre-deployment inventory is not recorded. No row cleanup or SQL-byte change.
- CLI Review 11 CompletedRuntime 3m 47sFound: 2 Accepted: 0/0/2 Routed: 0
- Trivial
Add GameplayAdmissionPointerCardinalityIntegrationTest and V12__enforce_tenant_public_realm_cardinalityTest to the proof-anchor cell for AA-3.3, alongside its existing test anchors. Preserve the note that PostgreSQL concurrency proof is not claimed when Docker-gated runs skip.
- Accepted AA-3.3 proof cell omits present owning cardinality integration and V12 unit tests. Add links, retaining unrun Docker-gated PostgreSQL/concurrency limitation.
- Trivial
Combine browseCharactersIgnoresIncompleteOrStaleEntitlementBeforeRosterReads and browseCharactersIgnoresInvalidPublicMembershipBeforeRosterReads into one test that verifies fail-closed CHARS behavior with no account calls; remove the ineffective invalid-evidence loops and their stubs.
- Accepted Two further CHARS invalid-evidence loops never reach Account and imply proof they lack. Consolidate with existing explicit-realm unavailable/no-interaction regression; preserve any genuinely distinct selector branches.
- Hosted Review 3 CompletedRuntime 13m 06sFound: 4 Accepted: 0/2/2 Routed: 0
- Reject ordinal selectors before reading the catalog.Trivial
resolvePublicWorldcallspublicVisibleWorlds()before it checksisOrdinalSelector. A numeric selector always returnsOptional.empty(), so the read is unnecessary. When the catalog is authority-backed, this read can also throwAuthorityPointerReadUnavailableException. In that casebrowseRealms("1")throws instead of returning empty.♻️ Proposed reorder
if (selector == null || selector.isBlank()) { return Optional.empty(); } - List<WorldView> worlds = publicVisibleWorlds(); if (isOrdinalSelector(selector)) { return Optional.empty(); } + List<WorldView> worlds = publicVisibleWorlds(); String normalized = selector.trim().toLowerCase(Locale.ROOT);- Accepted Accepted ordinal rejection before authority catalog read, with no-read regression under unavailable authority. Numeric selectors cannot require owner data access.
- Assert that the saved context drops old-tenant credentials.Trivial
The prior context contains
old-jwtandold@example.com. This test checks the new tenant and account, but it would still pass if the saved context retained those credential fields. Assert the expectedjwt()andloginName()values for the verified first-party login. Based on learnings, identity-sensitive tests should assert the fields that determine the authorization outcome, not only adjacent metadata.- Accepted Accepted explicit saved-context jwt null and loginName first-party:77 assertions in cross-tenant verified connect test; production persistSessionContext supplies those exact values.
- Fix the future-dated observation entry.Minor
The entry date
2026-10-05is later than the current date in Pacific/Auckland. The PR also records this work during the 2026-10-04 review cycle. The guideline requires Pacific/Auckland entry dates. Correct the date to the actual observation date.The entry also uses a different field set. It omits
Observation:, while the neighboring entries include that field. Add a shortObservation:line so the entry matches the established format.As per coding guidelines: "Entry dates use Pacific/Auckland unless stated otherwise."
- Accepted Partial acceptance: add missing Observation field. Reject date change: Oct4 16:34 UTC is Oct5 Pacific/Auckland, so existing Oct5 date is correct; retain context/outcome.
- Mark direct
PLAYas conditional, not live.MinorThe direct text route reaches
PlayCommandHandler, but its Account membership read fails before the publication branch. Game Session maps that response toWORLD_ACCESS_DENIED, so the current live route cannot publishonCommandforPLAY.Suggested tracker update
-The live built-in producer surface is broad and explicit. `onCommand` is published for session-enqueued durable commands, durable `SAY`/`WHISPER`/`TELL`/`AFK`, successful direct `INVENTORY`/`EQUIPMENT`/`CONTAINER`, `WHO`, `FRIENDS`, gameplay-scoped `HELP`, gameplay-scoped `WORLDS`/`REALMS`, gameplay-scoped authored actions, and direct `PLAY`. Automation's `EnqueueAutomationCommandIfAbsent` and `ScheduleRemoteFollowup` receiver RPCs fail closed before live mutation because the admission-epoch receiver fence is absent; lower-level helper proof does not establish a live `onCommand` producer for Automation handoff or remote target-side gameplay execution. Direct `LOGOUT` currently returns `LOGOUT_UNAVAILABLE` before command enqueue or logout lifecycle side effects, so it is not a live `onCommand` producer; successful deliberate logout remains unavailable pending its owner lifecycle implementation. Gameplay-scoped `CHARS` remains target-only until character admission and producer proof are live: current `CHARS` always returns `CHARACTER_LIST_UNAVAILABLE` before Entity access, and dispatch publishes only accepted commands. `onSpawn` is emitted for fresh `PLAY`; `onEnterRegion` and `onLeaveRegion` are emitted for movement and transport loss, but a controller takeover no longer emits the false `onLeaveRegion` event because the character remains in its region; successful deliberate logout and its `onLeaveRegion` producer remain unavailable pending the owner lifecycle implementation. Scheduler-owned `onInterval` and wall-clock `onTimerExpire` are live; tenant-readiness `onLoad` is materialized from `NotifyScriptVersionUpdate`. Disconnect lifecycle ids use deterministic `disconnect:<reason>:<sessionId>:<gameInstanceId>:<characterId>` ids for forced exits that actually leave a region, with producer-owned `exitReason` metadata. The `logout:<sessionId>:<gameInstanceId>:<characterId>` id remains the intended identity for a future successful deliberate logout, but is not currently emitted. +The live built-in producer surface is broad and explicit. `onCommand` is published for session-enqueued durable commands, durable `SAY`/`WHISPER`/`TELL`/`AFK`, successful direct `INVENTORY`/`EQUIPMENT`/`CONTAINER`, `WHO`, `FRIENDS`, gameplay-scoped `HELP`, gameplay-scoped `WORLDS`/`REALMS`, and gameplay-scoped authored actions. Direct `PLAY` is a conditional producer: its handler publishes `onCommand` only after admission succeeds, but the current Account runtime membership RPC returns `FAILED_PRECONDITION` before data access and Game Session maps that response to `WORLD_ACCESS_DENIED`. Automation's `EnqueueAutomationCommandIfAbsent` and `ScheduleRemoteFollowup` receiver RPCs fail closed before live mutation because the admission-epoch receiver fence is absent; lower-level helper proof does not establish a live `onCommand` producer for Automation handoff or remote target-side gameplay execution. Direct `LOGOUT` currently returns `LOGOUT_UNAVAILABLE` before command enqueue or logout lifecycle side effects, so it is not a live `onCommand` producer; successful deliberate logout remains unavailable pending its owner lifecycle implementation. Gameplay-scoped `CHARS` remains target-only until character admission and producer proof are live: current `CHARS` always returns `CHARACTER_LIST_UNAVAILABLE` before Entity access, and dispatch publishes only accepted commands. `onSpawn` is emitted for fresh `PLAY`; `onEnterRegion` and `onLeaveRegion` are emitted for movement and transport loss, but a controller takeover no longer emits the false `onLeaveRegion` event because the character remains in its region; successful deliberate logout and its `onLeaveRegion` producer remain unavailable pending the owner lifecycle implementation. Scheduler-owned `onInterval` and wall-clock `onTimerExpire` are live; tenant-readiness `onLoad` is materialized from `NotifyScriptVersionUpdate`. Disconnect lifecycle ids use deterministic `disconnect:<reason>:<sessionId>:<gameInstanceId>:<characterId>` ids for forced exits that actually leave a region, with producer-owned `exitReason` metadata. The `logout:<sessionId>:<gameInstanceId>:<characterId>` id remains the intended identity for a future successful deliberate logout, but is not currently emitted.- Accepted Accepted conditional direct PLAY producer documentation. Current membership FAILED_PRECONDITION blocks publication; integrated CLI correction returns AUTH_UNAVAILABLE, not suggested WORLD_ACCESS_DENIED.
- CLI Review 12 CompletedRuntime 4m 18sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Update validateMembershipResponse to classify FAILED_PRECONDITION as unavailable authority and route it through authorityUnavailableFailure rather than worldAccessDeniedFailure, preserving the gameplay binding. Update the tracker sentence documenting the WORLD_ACCESS_DENIED mapping to match.
- Accepted Minor: Account membership FAILED_PRECONDITION means its disabled method cannot establish authorized caller/target evidence, not a definitive denial. Map to retryable AUTH_UNAVAILABLE and retain gameplay binding; keep NOT_FOUND/PERMISSION_DENIED distinct.
- CLI Review 13 CompletedRuntime 6m 30sFound: 3 Accepted: 0/2/1 Routed: 0
- Minor
Update the live valid-route text PLAY description to state that PlayCommandHandler.validateMembershipResponse classifies the Account membership FAILED_PRECONDITION as retryable AUTH_UNAVAILABLE before conditional membership or grant classification and Entity-roster evaluation.
- Accepted Accepted: stale valid-route PLAY tracker says WORLD_ACCESS_DENIED; fa8c membership FAILED_PRECONDITION now preserves binding and returns retryable AUTH_UNAVAILABLE.
- Minor
Update both text
PLAYdescriptions to classify the in-band membershipFAILED_PRECONDITIONresponse as retryableAUTH_UNAVAILABLE, notWORLD_ACCESS_DENIED. Preserve the separate statement aboutAccountClientnormalizing transport-levelStatusRuntimeException.- Accepted Accepted: both realm tracker PLAY descriptions stale; align membership in-band classification to retryable AUTH_UNAVAILABLE and keep distinct transport-level exception mapping.
- Trivial
Update the AA-3.3 row and active-gap bullet to remove the duplicated V7–V13 migration-order and Flyway activation rules. Keep only the implementation-specific activation status and link to the canonical Game Session runtime/data document, which should retain the full rule set.
- Accepted Accepted: remove duplicate migration/Flyway policy from AA-3.3 and active gap; preserve exact activation/proof state and canonical Game Session runtime/data link, consolidating owner detail only if needed.
- CLI Review 14 CompletedRuntime 4m 41sFound: 6 Accepted: 0/2/3 Routed: 0
- Trivial
Rename freshBoundSnapshotKeepsPrivateSelectionRetryableWithoutLegacyAuthority to describe the asserted fail-closed behavior, and remove the unused getRealmAccessGrantForRuntime stub from that test. Keep the AUTH_UNAVAILABLE assertion and verifyNoInteractions(accountClient) unchanged.
- Accepted Trivial: stale test name implies retryability although AUTH_UNAVAILABLE and verifyNoInteractions prove denied private browsing; rename and remove unused grant stub, preserve all assertions.
- Trivial
Extract the duplicated serialize helper from RedisMovementEffectIdempotencyServiceTest and RedisSessionContextServiceTest into a shared test-support class, then update both tests to use that shared helper.
- Accepted Trivial: identical Java serialization helper exists in both Redis tests; consolidate same-package test-only support without changing assertions or production serialization.
- Trivial
Consolidate the repeated audit-delivery status in this document into one paragraph covering CreateLogEvent availability, pending rows, proof limits, and historical provenance; remove the duplicate status paragraphs and keep the #2848/#2940 ownership reference only once.
- Accepted Trivial: three implementation-status paragraphs duplicate audit delivery and provenance; consolidate once preserving UNAVAILABLE Create, unscheduled pending delivery, offline proof limits and both owners.
- Minor
Update the
AA-2.1row and the matching statement at line 117 to consistently document that AccountFAILED_PRECONDITIONmaps to retryableAUTH_UNAVAILABLEin live textPLAY, matchingPlayCommandHandler.validateMembershipResponse. Distinguish this from transport-level failures only where needed to preserve the documented behavior.- Accepted Minor: AA-2.1 table and line117 still describe membership FAILED_PRECONDITION as WORLD_ACCESS_DENIED; actual corrected PlayCommandHandler returns retryable AUTH_UNAVAILABLE, preserving binding.
- Minor
Update the ADR 0025 summary to distinguish in-band membership failures from transport failures: state that an in-band FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED, while a transport-level StatusRuntimeException maps to retryable AUTH_UNAVAILABLE. Keep the account-service and game-session protocol documentation consistent with this canonical current-state distinction.
- Rejected Incorrect repeat: verified current PlayCommandHandler and published fa8c membership-failure regression map in-band FAILED_PRECONDITION to AUTH_UNAVAILABLE. Reverting ADR summary to WORLD_ACCESS_DENIED would recreate drift; transport normalization remains separate.
- Minor
Update the LOGOUT state description to specify that logout is rejected before side effects only when durable termination evidence is unavailable, and distinguish that rejection from suppressing private transcript replay after logout. Keep the canonical current-state wording consistent with the command table.
- Accepted Minor: distinguish current missing durable termination evidence rejection from private replay suppression. Clarify current LOGOUT cannot succeed; no runtime logout, replay or termination gate change.
- CLI Review 15 CompletedRuntime 4m 08sFound: 1 Accepted: 0/0/0 Routed: 0
- Minor
Update the Game Session membership-failure mapping described in this ADR: in-band FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED, while only transport-level StatusRuntimeException maps to retryable AUTH_UNAVAILABLE. Keep the documented conditional classification and Entity-read behavior consistent with this distinction.
- Rejected Invalid repeat: PlayCommandHandler:900-903 explicitly maps in-band membership FAILED_PRECONDITION to AUTH_UNAVAILABLE before Entity reads, preserving binding; regression PlayCommandHandlerTest:2945-2978. ADR status matches code. Transport-only claim would restore wrong documentation.
- Hosted Review 4 CompletedRuntime 11m 28sFound: 7 Accepted: 0/5/1 Routed: 0
- Use the current retryable outcome for the in-band membership failure.Minor
Both protocol documents say Account
FAILED_PRECONDITIONmaps toWORLD_ACCESS_DENIED. The currentPlayCommandHandlermaps this authority failure to retryableAUTH_UNAVAILABLEbefore admission classification. KeepWORLD_ACCESS_DENIEDfor definitive denials.design/architecture/microservices/game-session-service/protocols.md#L23-L23: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/game-session-service/protocols.md#L54-L54: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/game-session-service/protocols.md#L81-L81: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/game-session-service/protocols.md#L179-L179: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L9-L9: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L15-L15: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L21-L21: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L27-L27: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L100-L100: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L104-L104: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.design/architecture/microservices/tcp-proxy-service/protocols.md#L107-L107: Change the in-band membership-failure mapping toAUTH_UNAVAILABLE.
Based on learnings, an in-band Account membership
FAILED_PRECONDITIONrepresents unavailable authority and maps to retryableAUTH_UNAVAILABLE. As per path instructions,design/**/*.mdmust be checked for canonical-current-state consistency.design/architecture/system-architecture-authentication.md, Line 33, already records the current mapping.📍 Affects 2 files
design/architecture/microservices/game-session-service/protocols.md#L23-L23(this comment)design/architecture/microservices/game-session-service/protocols.md#L54-L54design/architecture/microservices/game-session-service/protocols.md#L81-L81design/architecture/microservices/game-session-service/protocols.md#L179-L179design/architecture/microservices/tcp-proxy-service/protocols.md#L9-L9design/architecture/microservices/tcp-proxy-service/protocols.md#L15-L15design/architecture/microservices/tcp-proxy-service/protocols.md#L21-L21design/architecture/microservices/tcp-proxy-service/protocols.md#L27-L27design/architecture/microservices/tcp-proxy-service/protocols.md#L100-L100design/architecture/microservices/tcp-proxy-service/protocols.md#L104-L104design/architecture/microservices/tcp-proxy-service/protocols.md#L107-L107
- Accepted Correct current in-band membership mapping in GS/TCP protocols; preserve definitive denials and separate transport semantics.
- Report membership
FAILED_PRECONDITIONasAUTH_UNAVAILABLE.MinorvalidateMembershipResponsemaps an in-band Account membershipFAILED_PRECONDITIONtoAUTH_UNAVAILABLE, notWORLD_ACCESS_DENIED. Update the current-outcome statements atsystem-architecture-protocol-bridging.md#L45,#L59,#L70, and#L85, andsystem-architecture-reconnection.md#L13-L14and#L214. Keep the separate transport-exception statement distinct.Suggested wording
- Current text `PLAY` maps the live Account membership `FAILED_PRECONDITION` to `WORLD_ACCESS_DENIED` + Current text `PLAY` maps the live Account membership `FAILED_PRECONDITION` to `AUTH_UNAVAILABLE`📍 Affects 2 files
design/architecture/system-architecture-protocol-bridging.md#L45-L45(this comment)design/architecture/system-architecture-protocol-bridging.md#L59-L59design/architecture/system-architecture-protocol-bridging.md#L70-L70design/architecture/system-architecture-protocol-bridging.md#L85-L85design/architecture/system-architecture-reconnection.md#L13-L14design/architecture/system-architecture-reconnection.md#L214-L214
- Accepted Correct current in-band membership mapping in bridging/reconnection docs; preserve target-state and transport distinctions.
- CodeRabbit summary-only outside-diff finding 1 of 1 (aggregate; no individual detail)
summary-only aggregate; provider supplied no individual detail
- Rejected Already implemented on exact a533: billing-denial fixture returns List.of(active), then List.of(canceled), not mixed rows. Separate mixed-subscription test proves ENTITLEMENT_UNAVAILABLE. No change obligation.
- Describe the current roster path as unavailable.Minor
The current
PLAYpath does not select a persisted roster row.EntityManagementClient.listCharactersByAccountreturnsCHARACTER_LIST_UNAVAILABLEwithout calling Entity Management, andPlayCommandHandler.resolveCharacterstops on that error. Describe the selection logic as local code, not completed runtime behavior.As per path instructions, “Review docs for canonical-current-state consistency.” The supplied
services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/client/EntityManagementClient.java(Line 133 through Line 147) andservices/game-session-service/src/main/java/net/firedevops/firemud/gamesession/command/text/PlayCommandHandler.java(Line 662 through Line 718) establish this behavior.- Accepted The client returns CHARACTER_LIST_UNAVAILABLE without Entity RPC; clarify local selection code versus current unavailable runtime.
- Correct the documented membership-error mapping.Minor
Line 295 says text
PLAYmaps the in-band membershipFAILED_PRECONDITIONtoWORLD_ACCESS_DENIED. The currentPlayCommandHandlermaps this unavailable-authority response to retryableAUTH_UNAVAILABLE. This statement also conflicts with this file’s Line 193 and ADR 0025 Line 9. Update the documented result.Based on learnings,
PlayCommandHandlermaps the in-band membership failure to retryableAUTH_UNAVAILABLE, notWORLD_ACCESS_DENIED. As per path instructions, “Review docs for canonical-current-state consistency.”- Accepted PlayCommandHandler validates in-band membership FAILED_PRECONDITION as retryable AUTH_UNAVAILABLE; correct stale Account current-state wording.
- Keep the target
JOIN_REQUIREDpredicate in Authentication.TrivialLine 60 repeats target admission rules that the canonical Authentication contract already defines. Keep the local implementation status here and link to Authentication for the target predicate.
-Account-to-tenant membership is an explicit runtime substrate rather than an `accounts.tenant_id` shortcut, and the public default production realm is the only v1 open-enrollment path. The obsolete implicit writer is removed; Account's `JoinPublicProductionMembership` writer and Game Session direct-text JOIN invocation are implemented locally with lifecycle-aware fields, policy-bound idempotency, and the membership/audit outbox transaction. First-party browser JOIN remains blocked at Gateway. Current Account membership responses and text-client `PLAY` carry `membershipExists`, `membershipLifecycleState`, `gameplayAdmissionAllowed`, `membershipVersion`, `membershipAuthorityGeneration`, and `evaluatedAt`. On supplied-authority branches, `PLAY` validates exact caller/target identity and freshness; it admits only an exact safe `ACTIVE` snapshot, and actionable public `JOIN_REQUIRED` requires either exact missing (`MISSING`) or existing `INACTIVE` membership plus fresh entitlement confirming gameplay availability and `allowPublicJoin`. Other non-admitting states, including `ACTIVE` but non-admitting membership, are denied. The current proto represents `membershipAuthorityGeneration` as `uint64` and `PLAY` requires positivity; this is implementation drift from the target opaque, exact-equality-only generation semantics. Live Account membership, entitlement, and grant handlers return in-band `FAILED_PRECONDITION` before reads because the current requests do not prove typed caller/target binding. Thus local classifications do not establish composed public `PLAY` or live `JOIN_REQUIRED`: text `PLAY` maps the membership response to retryable `AUTH_UNAVAILABLE` before conditional classification or Entity access, while AccountClient separately normalizes transport-level `StatusRuntimeException` to retryable `AUTH_UNAVAILABLE`. Canonical non-public membership and realm-grant rules and outcome mappings belong to [Authentication](../../architecture/system-architecture-authentication.md#playtest-grant-admission-consequence). Current Account readers fail closed before data access, so local supplied-authority `PLAY` grant classification does not establish composed admission; the target membership-authority-generation reread and applicable realm-grant validation at connect-token issuance remain gaps. Game Session's direct-text `JOIN` retrieves retained REALMS scope/request state and invokes the Account writer locally; this does not establish complete direct-text/Telnet or first-party `Join & Play` proof. Public-production classification remains explicit pointer/catalog metadata, not `realmSlug == "production"`; Account/Game Session implementation and proof gaps are tracked in [Account Runtime and Data](../../architecture/microservices/account-service/runtime-and-data.md#runtime-implementation-status-and-drift) and [Game Session protocols](../../architecture/microservices/game-session-service/protocols.md#implementation-status). +Account-to-tenant membership is an explicit runtime substrate rather than an `accounts.tenant_id` shortcut, and the public default production realm is the only v1 open-enrollment path. The obsolete implicit writer is removed; Account's `JoinPublicProductionMembership` writer and Game Session direct-text JOIN invocation are implemented locally with lifecycle-aware fields, policy-bound idempotency, and the membership/audit outbox transaction. First-party browser JOIN remains blocked at Gateway. Current Account membership responses and text-client `PLAY` carry `membershipExists`, `membershipLifecycleState`, `gameplayAdmissionAllowed`, `membershipVersion`, `membershipAuthorityGeneration`, and `evaluatedAt`. On supplied-authority branches, `PLAY` validates exact caller/target identity and freshness and admits only an exact safe `ACTIVE` snapshot. The target public `JOIN_REQUIRED` predicate is defined in [Authentication](../../architecture/system-architecture-authentication.md#playtest-grant-admission-consequence). Other non-admitting states, including `ACTIVE` but non-admitting membership, are denied. The current proto represents `membershipAuthorityGeneration` as `uint64` and `PLAY` requires positivity; this is implementation drift from the target opaque, exact-equality-only generation semantics. Live Account membership, entitlement, and grant handlers return in-band `FAILED_PRECONDITION` before reads because the current requests do not prove typed caller/target binding. Thus local classifications do not establish composed public `PLAY` or live `JOIN_REQUIRED`: text `PLAY` maps the membership response to retryable `AUTH_UNAVAILABLE` before conditional classification or Entity access, while AccountClient separately normalizes transport-level `StatusRuntimeException` to retryable `AUTH_UNAVAILABLE`. Canonical non-public membership and realm-grant rules and outcome mappings belong to [Authentication](../../architecture/system-architecture-authentication.md#playtest-grant-admission-consequence). Current Account readers fail closed before data access, so local supplied-authority `PLAY` grant classification does not establish composed admission; the target membership-authority-generation reread and applicable realm-grant validation at connect-token issuance remain gaps. Game Session's direct-text `JOIN` retrieves retained REALMS scope/request state and invokes the Account writer locally; this does not establish complete direct-text/Telnet or first-party `Join & Play` proof. Public-production classification remains explicit pointer/catalog metadata, not `realmSlug == "production"`; Account/Game Session implementation and proof gaps are tracked in [Account Runtime and Data](../../architecture/microservices/account-service/runtime-and-data.md#runtime-implementation-status-and-drift) and [Game Session protocols](../../architecture/microservices/game-session-service/protocols.md#implementation-status).- Accepted Remove secondary target predicate duplication; retain local implementation status and link Authentication owner.
- Mark both hosted suites as pending for the current head.Minor
The recorded passing run is for an earlier commit, not the reviewed head. The tracker should not present it as proof for the current changes.
Suggested update
- An earlier documentation-only checkpoint passed `./gradlew linkCheck lintMarkdown`. The current admission-pointer and JOIN work changes runtime code, schema, fixtures, and tests; focused local checks and the hosted PostgreSQL pointer-cardinality/WebSocket results are recorded with #2857, while retained-data deployment readback, live admission/reconnect, and aggregate CI remain open. Validation and runtime-proof selection follows the [validation and runtime-proof workflow](../../developer-workflows/validation-and-runtime-proof.md). + An earlier documentation-only checkpoint passed `./gradlew linkCheck lintMarkdown`. The current admission-pointer and JOIN work changes runtime code, schema, fixtures, and tests; focused local checks are recorded with #2857. The hosted PostgreSQL pointer-cardinality and WebSocket results are for an earlier head and do not establish current-head proof; current-head results for both suites remain pending. Retained-data deployment readback, live admission/reconnect, and aggregate CI remain open. Validation and runtime-proof selection follows the [validation and runtime-proof workflow](../../developer-workflows/validation-and-runtime-proof.md).- Accepted Earlier-head PostgreSQL/WebSocket evidence is not exact-head proof; explicitly preserve current-head pending status.
- CLI Review 16 CompletedRuntime 4m 21sFound: 4 Accepted: 0/1/1 Routed: 0
- Trivial
Update the AA-2.2 status text to remove the duplicated fresh-edge input-replay, fresh LOOK, and reconnect-prompt requirements; retain implementation status and proof gaps, linking to the Reconnection document as the canonical source.
- Accepted Keep AA2.2 local implementation and proof gaps; replace repeated reconnect/input replay target detail with canonical Reconnection link.
- Minor
Update the current-state
PLAYerror mapping descriptions so in-band membershipFAILED_PRECONDITIONis consistently classified as retryableAUTH_UNAVAILABLE, notWORLD_ACCESS_DENIED. Align the repeatedWORLD_ACCESS_DENIEDdescriptions in the protocol and related architecture documentation with Authentication’s mapping.- Accepted Valid stale TCP mapping also accepted in Hosted 5407387653 comment4178662434; implement once in shared doc batch, retain current CLI count.
- Minor
Update the paragraph containing the Game Session in-band membership failure mapping: state that Account’s in-band FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED, while only a transport StatusRuntimeException maps to retryable AUTH_UNAVAILABLE. Preserve the surrounding qualification that this occurs before conditional classification or Entity reads and retains the prior gameplay binding.
- Rejected Invalid reverse mapping: actual PlayCommandHandler lines 900-903 returns AUTH_UNAVAILABLE for in-band FAILED_PRECONDITION; focused test preserves binding. ADR0025 is correct.
- Trivial
Make the duplicate-row precondition for uq_gameplay_admission_pointer_visible_public_tenant explicit in the migration’s deployment guidance, so operators know duplicate visible public-realm pointers per tenant must be resolved before applying the migration.
- Rejected Already implemented: GS Runtime & Data lines 36-53 has exact duplicate-visible-public SQL preflight, blocks activation until owner disposition, no automatic repair, and explicitly says V12 fails duplicates.
- CLI Review 17 CompletedRuntime 5m 01sFound: 2 Accepted: 0/2/0 Routed: 0
- Minor
Update the implementation-status text near
PlayCommandHandler.validateEntitlementsResponseto state that in-band entitlementFAILED_PRECONDITIONmaps to retryableENTITLEMENT_UNAVAILABLEand does not clear the gameplay binding as a billing denial; remove the claim that entitlement error mapping is unchanged.- Accepted Tracker says entitlement mapping unchanged, but actual handler1053-1088 treats in-band FAILED_PRECONDITION as ENTITLEMENT_UNAVAILABLE before billing denial; test4353 proves prior binding preserved. Correct local status.
- Minor
Clarify the text PLAY sequence in the authentication architecture document: private/playtest grant checks occur only after membership succeeds, consistent with the current-status description and reconnection architecture. Update the sentence around “text PLAY” to preserve its statement that PLAY does not use the connect-token replay cache.
- Accepted Actual private grant RPC is reached only after safe admitting membership at handler970+, not after failed membership. Clarify conditional ordering in Authentication while retaining no replay-cache access.
- CLI Review 18 CompletedRuntime 2m 33sFound: 4 Accepted: 0/2/1 Routed: 0
- Minor
Update the connect-token issuance status in the ADR so it no longer claims an
INACTIVEmembership branch; align the description with Account runtime and data, where only missing membership may produceJOIN_REQUIRED. Keep the other issuance gates and limitations unchanged.- Rejected Actual issueConnectTokenFresh1157-1173 explicitly handles existing INACTIVE public membership and JOIN_REQUIRED after policy gates; ADR accurately reports local branch. Live reads remain denied/unproved. Do not delete implemented behavior to match incomplete prose.
- Minor
Reconcile the tracking entries for CI run 36006632988 so they consistently identify whether its WebSocket and Game Session results are current-head proof; use one authoritative head reference and align the other entry’s status with it.
- Accepted Tracker68 labels old run36006632988 exact code-head; live run metadata proves head28028878d52df0dfce367bce1677a985b162115f. Mark historical and link one owning proof entry; do not imply current-head execution.
- Trivial
Trim the normative error-inventory preface to retain only the current transport consequence; remove the repeated Account and Game Session implementation and proof details. Link readers to the owning status record for those details, preserving the existing Authentication and Player Access and Session tracker references.
- Accepted Protocol59 duplicates implementation/proof detail in normative preface. Keep only current transport/error consequence and link Authentication owner and Player Access status, preserving precedence and Account-vs-text outcomes.
- Minor
Update the Unit 1B #2857 row in the implementation tracker to describe the corrected Game Session behaviors as current implementation outcomes, replacing PR-draft wording such as “This draft removes” and the merge-readiness status. Keep the behavior details, and leave readiness statements in the PR description.
- Accepted Tracker62 should state current contained Game Session behavior, not 'This draft removes' or merge readiness. Preserve every behavior and proof limit; readiness belongs in PR body.
- CLI Review 19 CompletedRuntime 2m 10sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- Hosted Review 5 CompletedRuntime 10m 06sFound: 1 Accepted: 0/0/1 Routed: 0
- Move the repeated REALMS snapshot recheck into one helper.Trivial
Three methods repeat the same steps:
resolveOmittedLobbyRealmisBoundToCurrentRealmSnapshotjoinPublicProductionMembership
Each one calls
revalidateRealmDiscoverySnapshot(world, snapshot.ordinalTargets()), catchesAuthorityPointerReadUnavailableException, and then compares fingerprints. If one copy changes and the others do not, the stale-snapshot checks can drift apart. One private helper that returns a result type would keep the three call sites the same.♻️ Sketch
private sealed interface RealmSnapshotRevalidation { record Current(GameplayWorldCatalog.RealmDiscoverySnapshot catalog) implements RealmSnapshotRevalidation {} record Stale() implements RealmSnapshotRevalidation {} record Unavailable() implements RealmSnapshotRevalidation {} } private RealmSnapshotRevalidation revalidate( GameplayWorldCatalog.WorldView world, DirectTextConnectScopeSessionStore.RealmsSnapshot snapshot) { try { return worldCatalog .revalidateRealmDiscoverySnapshot(world, snapshot.ordinalTargets()) .filter(current -> snapshot.catalogFingerprint().equals(current.catalogFingerprint())) .<RealmSnapshotRevalidation>map(RealmSnapshotRevalidation.Current::new) .orElseGet(RealmSnapshotRevalidation.Stale::new); } catch (GameplayWorldCatalog.AuthorityPointerReadUnavailableException ex) { return new RealmSnapshotRevalidation.Unavailable(); } }Also applies to: 409-422, 541-555
- Accepted Accept trivial in-scope REALMS revalidation consolidation: one private current/stale/unavailable helper preserves three callers distinct outcomes and guards; add focused branch proof.
- CLI Review 20 CompletedRuntime 3m 07sFound: 6 Accepted: 0/1/4 Routed: 0
- Trivial
Keep only one test covering the explicit public-production realm fail-closed behavior; remove the duplicate tests among browseCharactersFailsClosedForValidSelectorBeforeEntityRosterRead, browseCharactersFailsClosedForExplicitPublicRealmBeforeAnyAccountCall, and browseCharactersWithExplicitPublicRealmFailsClosedBeforeAuthorityOrRosterReads.
- Accepted The three explicit public-selector tests repeat the same fail-closed path with equivalent account authority. Retain the strongest named test and no-interaction assertion; remove only the redundant two.
- Trivial
Update the “Telnet and WebSocket parity” and “Runtime authority checks” sections to describe the reconnect target behavior without repeating mutable implementation or proof details. Replace those status claims with links to the owning Authentication status documents and trackers, preserving the target-state contract.
- Accepted Replace duplicated mutable parity/runtime status prose with target-state reconnect behavior and links to the owning authentication/service/tracker status. Preserve normative authority and no live-proof claim.
- Trivial
Build uq_gameplay_admission_pointer_visible_public_tenant concurrently to avoid blocking writes, and configure this Flyway migration to run outside a transaction as required for concurrent index creation. Preserve the existing uniqueness condition and predicate.
- Rejected Optional online-index optimization, not an observed defect. Transactional V12 atomically rejects duplicates without leaving an invalid index; the retained-duplicate PG fixture requires that rollback. No demonstrated live-write migration requirement supports nontransactional conversion.
- Minor
Update the reclassification condition in the numbered status step to include sections whose convincing whole-section review is still missing. Preserve the existing implementation and essential-proof criteria and the step’s historical-review requirements.
- Accepted The non-normative current-work sequence omits whole-section review from provisional reclassification. Add it alongside existing implementation and essential-proof criteria.
- Trivial
Update the WorldsCommandHandler construction in TextCommandInterpreterTest to reuse the existing connectScopeSessionStore instance also used by PlayCommandHandler, instead of creating a separate in-memory store.
- Accepted Use the existing connectScopeSessionStore for both PLAY and WORLDS in the composed interpreter fixture, preserving actual shared transport scope.
- Trivial
Update browseRealmsAndCharactersRejectInvalidPrivateMembership to describe that it verifies private-only world redaction before account reads, and remove the unused AUTH_UNAVAILABLE membership stub; keep the assertions verifying invalid selectors and no AccountClient interactions.
- Accepted Rename the private-only redaction test to its exercised behavior and remove the unused membership response stub; retain denial and zero Account calls.
- Hosted Review 6 CompletedRuntime 12m 42sFound: 4 Accepted: 0/2/2 Routed: 0
- Revalidate authorities before returning a cached connect token.Minor
AccountServiceImpl.issueConnectTokenreturns a cached successful result before fresh entitlement, membership, or target checks. Gateway validates the token and its one-use JTI, but does not recheck those authorities.PLAYperforms later membership and entitlement checks, but this does not prevent stale token issuance or first-use WebSocket admission. Revalidate current authority, or an equivalent revocation/version fence, on cached success. Add a regression for authority revocation before first use.- Accepted Cached successful connect-token replay currently bypasses current target, entitlement and membership checks. Share the existing fresh authorization path before replay, without reminting token, extending expiry or mutating replay evidence; regress revocation and unavailable authority.
- Share one scope store between
WorldsCommandHandlerandPlayCommandHandler.TrivialIn production, a single
DirectTextConnectScopeSessionStorebean holds the REALMS snapshots that PLAY uses to resolve numeric selectors. This fixture givesWorldsCommandHandlerits own new in-memory store. As a result, a REALMS-then-PLAY <world> <n>interpreter test can never see the retained snapshot. Such a test would fail withSELECTION_STALEinstead of exercising the real flow. Reuse the localconnectScopeSessionStorethat is already passed toPlayCommandHandler.♻️ Proposed fix
WorldsCommandHandler worldsHandler = - new WorldsCommandHandler( - worldCatalog, accountClient, DirectTextConnectScopeSessionStore.inMemoryForTest()); + new WorldsCommandHandler(worldCatalog, accountClient, connectScopeSessionStore);- Accepted Already implemented in validated local cf1a64 from CLI finding3: both handlers share connectScopeSessionStore;114 focused tests pass. Publish with this Hosted batch; no duplicate edit.
- Describe
onSpawnas handler behavior, not a live producer.MinorThe text dispatcher is the only production route to
PlayCommandHandler. Account’sGetTenantMembershipForRuntimereturnsFAILED_PRECONDITION, which the handler converts to an authority-unavailable failure before fresh-entry publication. The handler contains theonSpawnpublication, but no current production path reaches it.🛠 Suggested wording
-`onSpawn` is emitted for fresh `PLAY`; +`PlayCommandHandler` contains a conditional `onSpawn` publication for fresh `PLAY`, but no current production route reaches it;- Accepted The tracker contradicts its own fail-closed Account membership status by calling onSpawn live. Correct the single producer-status claim to conditional handler behavior with no reachable current production route.
- Remove the discoverability checks that this early return makes unreachable.Trivial
After Line 756 returns
invalidWorld()for non-discoverable worlds,isPubliclyDiscoverable(catalogSnapshot, world)is alwaystruefor the rest ofbrowseCharacters. Three later branches therefore have fixed outcomes:- Line 780: the
UNBOUND_SELECTOR→invalidWorld()branch can never run. - Line 790: the ternary always returns
invalidRealm(world.slug()). - Line 800: the ternary always returns
invalidRealm(world.slug()).
These dead branches suggest a redaction path that no longer exists. A later edit could rely on them by mistake. Simplify the three branches to their reachable results.
♻️ Proposed simplification
if (realmSelection instanceof RealmSelectorResolution.Stale stale) { - if (stale.reason() == RealmSelectorStaleReason.UNBOUND_SELECTOR - && !worldCatalog.isPubliclyDiscoverable(catalogSnapshot, world)) { - return CharacterBrowseResult.invalidWorld(); - } return CharacterBrowseResult.failure("CONNECT_SCOPE_MISMATCH"); } @@ if (realmSelection instanceof RealmSelectorResolution.Invalid) { - return StringUtils.hasText(realmSelector) - && worldCatalog.isPubliclyDiscoverable(catalogSnapshot, world) + return StringUtils.hasText(realmSelector) ? CharacterBrowseResult.invalidRealm(world.slug()) : CharacterBrowseResult.invalidWorld(); } @@ - return worldCatalog.isPubliclyDiscoverable(catalogSnapshot, world) - ? CharacterBrowseResult.invalidRealm(world.slug()) - : CharacterBrowseResult.invalidWorld(); + return CharacterBrowseResult.invalidRealm(world.slug());- Accepted The same immutable catalog snapshot already passed public discoverability. Remove only redundant unreachable stale-selector/discoverability branches, preserving all reachable denial outcomes.
- Line 780: the
- CLI Review 21 CompletedRuntime 5m 20sFound: 3 Accepted: 0/2/1 Routed: 0
- Trivial
Consolidate the duplicate helpers in GameplayWorldCatalog: reuse resolveWorldBySlug from resolveStableWorld, and keep only one implementation of the identical public-visible-realm filtering. For the four ambiguousWorldSelectors variants, build the selector-to-tenant map once per input type and share the collision-selection logic, applying the unhealthy-tenant predicate only when required.
- Accepted Verified equivalent slug resolution and public realm filters plus duplicate selector-to-tenant collision maps. Consolidate helpers preserving normalization, ambiguity denial and unhealthy-tenant predicates.
- Minor
Update the terminal replay conditions in the Account runtime-and-data description: require an exact intent-digest match for every replay, and require a retained policy-digest match only when Account bound a policy digest. Keep the current authenticated caller and exact target and intent requirements.
- Accepted Intent digest is mandatory on all terminal JOIN replay; retained policy digest is checked only when bound during evaluation. Correct Account runtime wording without weakening replay checks.
- Minor
Update the LOGOUT entry in the command table to match the current behavior described in the protocol: it returns LOGOUT_UNAVAILABLE before side effects. Mark the session-ending and transport-closing behavior as target-only if it describes the intended future behavior.
- Accepted Current LOGOUT aliases return LOGOUT_UNAVAILABLE before mutation. Command table incorrectly describes completed termination; align current fail-closed behavior and label termination as target-state.
- CLI Review 22 CompletedRuntime 3m 29sFound: 2 Accepted: 0/1/0 Routed: 0
- Trivial
Update the migration that creates uq_gameplay_admission_pointer_visible_public_tenant to use a concurrent index build, and configure it as a non-transactional Flyway migration. Add a duplicate pre-check to the deploy runbook so existing duplicates are detected before the index build.
- Rejected Repeated optional concurrent-index request. V12 transactional creation fails atomically on duplicates without an INVALID index or row rewrite; duplicate preflight exists. No online-write activation requirement proved; nontransactional conversion weakens atomic failure. Prior disposition retained.
- Minor
Update the public-production membership outcome in the account-first bootstrap description: allow
JOIN_REQUIREDfor missing orINACTIVEmembership, and limit denial toACTIVEmembership that is non-admitting. Keep the existing target and lifecycle checks unchanged.- Accepted Owned documentation mismatch: current issuance helper returns JOIN_REQUIRED for eligible public-target MISSING or INACTIVE membership; ACTIVE nonadmitting is denied. Correct only outcome wording, no runtime behavior change.
- CLI Review 23 CompletedRuntime 3m 02sFound: 2 Accepted: 0/1/0 Routed: 0
- Minor
Update the cached-success replay statement in the bootstrap discovery paragraph to say that replay verifies the stored result binding and rereads current pointer/target, entitlement, and membership, but does not validate the applicable grant or membership-version/authority-generation baseline. Keep the other issuance gaps unchanged.
- Accepted Owned tracker still says cached-success bypasses fresh reads. Align with published storedbinding and shared pointer/target/entitlement/membership checks; retain grant/generation and commit-proof gaps.
- Trivial
Confirm that the write lock from the non-concurrent index build in this migration is acceptable during deployment; keep the existing CREATE UNIQUE INDEX unchanged if the brief lock is acceptable.
- Rejected No correction requested. Keep transactional migration and atomic duplicate failure. No online-write availability promise established for this failclosed activation; neither concurrent semantics nor a claim of brief locking is justified. Prior index disposition retained.
- CLI Review 24 CompletedRuntime 2m 41sFound: 3 Accepted: 0/1/2 Routed: 0
- Minor
Update the open-proof statement in the Telnet reconnection description to replace “Direct text-to-Logging” with the specific end-to-end flow name; name the flow being proved rather than the Logging service.
- Accepted Minor: name the unproved authenticated Telnet REALMS/JOIN/PLAY end-to-end flow rather than naming Logging as the flow; no proof upgrade.
- Trivial
Replace the repeated PLAY outcome mapping in this status statement with a link to the single implementation-status statement under AA-2.1, leaving the canonical mapping in the Authentication and authorization document. Keep the surrounding status details about gameplay binding and other admission behavior unchanged.
- Accepted Trivial: consolidate repeated PLAY membership outcome mapping at AA-2.1; secondary paragraph links there while keeping local bootstrap/entitlement consequences.
- Trivial
Remove the unused membership and grant stubs from publicRealmSelectionsIgnorePointerChangesToDeniedPrivateRealms and joinKeepsTheRetainedPublicScopeWhenDeniedPrivatePointerChanges, keeping the scope-issuer setup and never-call verifications intact.
- Accepted Trivial: remove membership/grant stubs contradicted by never-call assertions in two public-only tests; retain scope/JOIN setups and assertions.
- Hosted Review 7 CompletedRuntime 12m 49sFound: 2 Accepted: 0/2/0 Routed: 0
- Classify jOOQ membership-read failures as
AUTH_UNAVAILABLE.MinorauthorizeConnectTokenIssuancecatches onlyorg.springframework.dao.DataAccessExceptionaround the membership read. The reader in this file shows that jOOQ errors can arrive untranslated.readTenantEntitlementsat Lines 1409-1416 catches both the jOOQ and the SpringDataAccessExceptionfor this reason.If
accountTenantMembershipRepositoryraises an untranslatedorg.jooq.exception.DataAccessException, two things happen:- On a fresh issuance, the exception escapes
issueConnectTokenas an untyped error, not as retryableAUTH_UNAVAILABLE. - On a cached-success replay, the same untyped failure occurs.
The PR objectives say that membership outages are typed
AUTH_UNAVAILABLE. That contract then holds only when Spring translation is configured.Use the same classification as the entitlement reader. Mapping and configuration defects must still propagate unchanged.
🐛 Proposed fix
} catch (org.springframework.dao.DataAccessException ex) { + } catch (MappingException | ConfigurationException ex) { + throw ex; + } catch (DataAccessException | org.springframework.dao.DataAccessException ex) { throw new AuthenticationException( "AUTH_UNAVAILABLE", "Membership authority is unavailable; retry later", ex); }(Replace the existing single
catchline with the twocatchclauses shown.)Add a test variant to
issueConnectTokenReturnsAuthUnavailableWhenMembershipRepositoryIsUnavailablethat throwsorg.jooq.exception.DataAccessException.- Accepted Minor: untranslated jOOQ membership outage escapes AUTH_UNAVAILABLE on fresh and cached paths. Catch backend outages but retain Mapping/Configuration defects; regress both paths.
- On a fresh issuance, the exception escapes
- Correct the cached-replay status.Minor
This line says cached-success replay may skip fresh entitlement, membership, or pointer reads. The PR objective says replay now rechecks the current target, entitlement, and membership/lifecycle. Update this status and keep the unproved generation fence and private/playtest grant validation as separate gaps.
As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Minor: Authentication owner still says cached replay skips fresh reads; align actual rechecks while preserving private-grant and generation-fence gaps.
Routed Findings
Route 1 · PR #2897 → PR #2857 Accepted/FixedMinorScoped admission-event reads lack matching tenant/target/latest-id index
Outcome: Published f6ee5924c78a8b5ffb0fce3f38b051014f61be8a adds forward V9 matching tenant/world/realm/id DESC; existing migration test proves exact SQL/version/order and preservation. Full GS/Account/Logging/TCP checks/docs pass; no query-plan or PostgreSQL activation proof.
Earlier routing and proof
Earlier decisions
- Accepted Append matching tenant/target/latest-id index after existing V8 as V9; do not rewrite V7/V8 or use out-of-order/checksum repair. P3 bounded lookup efficiency, unmeasured production impact.
Unlinked items
no items unlinked