FireMUD Delivery Status

PR data refreshed

PR #2857 review history

Unit 1B: contain admission, continuity, and session authority drift

Section exits and Unit 1B · admission and email links

Review rounds

Three-number pills mean: found (raw) / accepted here (useful) / routed

Hosted CodeRabbit7 completed
Progress: Waiting turnRule: Min 2 remaining · Max 3 remaining
4/4/07/6/01/1/04/4/02/2/0
CLI CodeRabbit24 completed
Progress: Waiting turnRule: Min 3 remaining · Max 6 remaining
6/5/03/3/02/1/02/1/03/3/0
Subagent Review21 completed
1/1/01/1/02/2/03/2/02/2/0

Recorded review history

Reviews and findings

  1. Subagent Review 1 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  2. Subagent Review 2 CompletedModel not recorded
    Found: 1 Accepted: 0 Routed: 0
    1. 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.
  3. Subagent Review 3 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  4. Subagent Review 4 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  5. Subagent Review 5 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  6. Subagent Review 6 CompletedModel not recorded
    Found: 3 Accepted: 3 Routed: 0
    1. 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.
    2. 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.
    3. 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.
  7. Subagent Review 7 CompletedModel not recorded
    Found: 3 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
    3. 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.
  8. Subagent Review 8 CompletedModel not recorded
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  9. Subagent Review 9 CompletedModel not recorded
    Found: 2 Accepted: 1 Routed: 0
    1. 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.
    2. 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.
  10. Subagent Review 10 CompletedModel not recorded
    Found: 2 Accepted: 1 Routed: 0
    1. 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.
    2. 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.
  11. Subagent Review 11 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  12. Subagent Review 12 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. 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.
  13. Subagent Review 13 CompletedModel not recorded
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  14. Subagent Review 14 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  15. Subagent Review 15 CompletedModel not recorded
    Found: 4 Accepted: 4 Routed: 0
    1. 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.
    2. 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.
    3. HELP WHO advertises unavailable Gods classificationMinor
      • Accepted P3: current classifier safely returns PLAYER; qualify current help and retain target-role authority gap.
    4. 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.
  16. Subagent Review 16 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. 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.
  17. Subagent Review 17 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. 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.
  18. Subagent Review 18 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. 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.
  19. Subagent Review 19 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  20. Subagent Review 20 CompletedModel not recorded
    Found: 3 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
    3. 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.
  21. Subagent Review 21 CompletedModel not recorded
    Found: 2 Accepted: 2 Routed: 0
    1. 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.
    2. 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.
  22. CLI Review 1 CompletedRuntime 4m 15s
    Found: 6 Accepted: 0/2/4 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
  23. CLI Review 2 CompletedRuntime 4m 21s
    Found: 6 Accepted: 0/2/4 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. Minor

      Align the current-state statements in this ADR: update the classifier descriptions around platformAdmin to 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.
    5. 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.
    6. 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.
  24. CLI Review 3 CompletedRuntime 6m 03s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. 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.
  25. CLI Review 4 CompletedRuntime 4m 37s
    Found: 5 Accepted: 0/0/3 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
  26. CLI Review 5 CompletedRuntime 4m 18s
    Found: 6 Accepted: 0/4/2 Routed: 0
    1. Trivial

      Remove the duplicate unavailableCharsDoesNotReadRosterOrPublishGameplayEvent test; closesPublicCharsBrowseBeforeAuthorityOrRosterReads already covers the unavailable CHARS demo behavior and additionally verifies that accountClient is not called. Do not retain the entityManagementClient interaction check, since that client is no longer used by WorldsCommandHandler.

      • Accepted Accept: remove weaker duplicate CHARS denial test; retain stronger existing authority/roster no-interaction proof.
    2. 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.
    3. 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.
    4. 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.
    5. Minor

      Update the recorded PLAY error mapping so an in-band Account FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED; reserve retryable AUTH_UNAVAILABLE for a transport-level StatusRuntimeException, consistent with the live text path.

      • Accepted Accept: in-band membership FAILED_PRECONDITION yields WORLD_ACCESS_DENIED; transport uncertainty remains AUTH_UNAVAILABLE.
    6. 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.
  27. Hosted Review 1 CompletedRuntime 8m 17s
    Found: 5 Accepted: 0/2/2 Routed: 0
    1. Assert on the persisted state, not on the immutable input record.Trivial

      Lines 4364-4374 assert fields of context. context is the stub input, and SessionContext is a value record. A handler cannot change these fields, so the assertions always pass. They do not prove that the binding was preserved. The never().save(...) and never().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.
    2. Remove the duplicate realm-pointer read before the unconditional Unavailable.Trivial

      After this change, browseCharacters always returns CharacterBrowseResult.unavailable() for an accepted public realm. It still calls matchesCurrentAdmissionPointer first, 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.
    3. 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.
    4. The non-concurrent unique index blocks writes during the build.Trivial

      CREATE UNIQUE INDEX without CONCURRENTLY takes a lock that blocks writes to gameplay_admission_pointer until 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, use CREATE UNIQUE INDEX CONCURRENTLY in 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.
    5. 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 of membershipAuthorityGeneration and membershipVersion.”

      • Accepted Accept explicitly naming membershipAuthorityGeneration and membershipVersion reread.
  28. CLI Review 6 CompletedRuntime 4m 02s
    Found: 11 Accepted: 0/1/9 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. Trivial

      Update reconnectPlayEmitsPromptOnlyWhenBothPromptSettingsAreEnabled to remove the screenBufferService.get stub and verify that screenBufferService has 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
  29. CLI Review 7 CompletedRuntime 7m 51s
    Found: 5 Accepted: 0/0/4 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
  30. CLI Review 8 CompletedRuntime 3m 22s
    Found: 1 Accepted: 0/0/0 Routed: 0
    1. 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.
  31. Hosted Review 2 CompletedRuntime 13m 40s
    Found: 3 Accepted: 0/1/2 Routed: 0
    1. Remove the unused pointerMutation helper.Trivial

      PMD reports that pointerMutation(long, boolean, Long, Long) is unused. No test in this file calls it. The GameplayAdmissionPointerMutation import at Line 30 exists only for this helper. Remove both items.

      • Accepted Remove unused pointerMutation helper/import; no fixture or assertion loss.
    2. Check the write-lock window before activation.Trivial

      CREATE INDEX blocks writes to gameplay_admission_pointer_event while 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-transactional CREATE INDEX CONCURRENTLY migration 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.
    3. Catch Spring’s translated database exceptions.Minor

      When Spring Boot’s jOOQ ExceptionTranslatorExecuteListener translates a SQL failure to org.springframework.dao.DataAccessException, these readers do not catch it. The gRPC handlers then return INTERNAL instead of AUTH_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.
  32. CLI Review 9 CompletedRuntime 4m 31s
    Found: 5 Accepted: 0/1/2 Routed: 0
    1. Trivial

      Rename joinPublicProductionRejectsPreexistingAmbiguousPublicRealmBeforeMembershipCommit to 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
  33. CLI Review 10 CompletedRuntime 4m 22s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. Trivial

      Remove the unused getTenantMembershipForRuntime and getTenantEntitlementsForRuntime stubs from the fail-closed tests, including browseCharactersDoesNotDispatchForInactivePublicMembership and browseCharactersDoesNotDispatchForUnavailableEntitlement. 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.
    2. 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.
  34. CLI Review 11 CompletedRuntime 3m 47s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. 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.
    2. 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.
  35. Hosted Review 3 CompletedRuntime 13m 06s
    Found: 4 Accepted: 0/2/2 Routed: 0
    1. Reject ordinal selectors before reading the catalog.Trivial

      resolvePublicWorld calls publicVisibleWorlds() before it checks isOrdinalSelector. A numeric selector always returns Optional.empty(), so the read is unnecessary. When the catalog is authority-backed, this read can also throw AuthorityPointerReadUnavailableException. In that case browseRealms("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.
    2. Assert that the saved context drops old-tenant credentials.Trivial

      The prior context contains old-jwt and old@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 expected jwt() and loginName() 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.
    3. Fix the future-dated observation entry.Minor

      The entry date 2026-10-05 is 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 short Observation: 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.
    4. Mark direct PLAY as conditional, not live.Minor

      The direct text route reaches PlayCommandHandler, but its Account membership read fails before the publication branch. Game Session maps that response to WORLD_ACCESS_DENIED, so the current live route cannot publish onCommand for PLAY.

      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:&lt;reason&gt;:&lt;sessionId&gt;:&lt;gameInstanceId&gt;:&lt;characterId&gt;` ids for forced exits that actually leave a region, with producer-owned `exitReason` metadata. The `logout:&lt;sessionId&gt;:&lt;gameInstanceId&gt;:&lt;characterId&gt;` 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:&lt;reason&gt;:&lt;sessionId&gt;:&lt;gameInstanceId&gt;:&lt;characterId&gt;` ids for forced exits that actually leave a region, with producer-owned `exitReason` metadata. The `logout:&lt;sessionId&gt;:&lt;gameInstanceId&gt;:&lt;characterId&gt;` 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.
  36. CLI Review 12 CompletedRuntime 4m 18s
    Found: 1 Accepted: 0/1/0 Routed: 0
    1. 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.
  37. CLI Review 13 CompletedRuntime 6m 30s
    Found: 3 Accepted: 0/2/1 Routed: 0
    1. 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.
    2. Minor

      Update both text PLAY descriptions to classify the in-band membership FAILED_PRECONDITION response as retryable AUTH_UNAVAILABLE, not WORLD_ACCESS_DENIED. Preserve the separate statement about AccountClient normalizing transport-level StatusRuntimeException.

      • Accepted Accepted: both realm tracker PLAY descriptions stale; align membership in-band classification to retryable AUTH_UNAVAILABLE and keep distinct transport-level exception mapping.
    3. 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.
  38. CLI Review 14 CompletedRuntime 4m 41s
    Found: 6 Accepted: 0/2/3 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. Minor

      Update the AA-2.1 row and the matching statement at line 117 to consistently document that Account FAILED_PRECONDITION maps to retryable AUTH_UNAVAILABLE in live text PLAY, matching PlayCommandHandler.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.
    5. 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.
    6. 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.
  39. CLI Review 15 CompletedRuntime 4m 08s
    Found: 1 Accepted: 0/0/0 Routed: 0
    1. 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.
  40. Hosted Review 4 CompletedRuntime 11m 28s
    Found: 7 Accepted: 0/5/1 Routed: 0
    1. Use the current retryable outcome for the in-band membership failure.Minor

      Both protocol documents say Account FAILED_PRECONDITION maps to WORLD_ACCESS_DENIED. The current PlayCommandHandler maps this authority failure to retryable AUTH_UNAVAILABLE before admission classification. Keep WORLD_ACCESS_DENIED for definitive denials.

      • design/architecture/microservices/game-session-service/protocols.md#L23-L23: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/game-session-service/protocols.md#L54-L54: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/game-session-service/protocols.md#L81-L81: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/game-session-service/protocols.md#L179-L179: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L9-L9: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L15-L15: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L21-L21: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L27-L27: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L100-L100: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L104-L104: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L107-L107: Change the in-band membership-failure mapping to AUTH_UNAVAILABLE.

      Based on learnings, an in-band Account membership FAILED_PRECONDITION represents unavailable authority and maps to retryable AUTH_UNAVAILABLE. As per path instructions, design/**/*.md must 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-L54
      • design/architecture/microservices/game-session-service/protocols.md#L81-L81
      • design/architecture/microservices/game-session-service/protocols.md#L179-L179
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L9-L9
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L15-L15
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L21-L21
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L27-L27
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L100-L100
      • design/architecture/microservices/tcp-proxy-service/protocols.md#L104-L104
      • design/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.
    2. Report membership FAILED_PRECONDITION as AUTH_UNAVAILABLE.Minor

      validateMembershipResponse maps an in-band Account membership FAILED_PRECONDITION to AUTH_UNAVAILABLE, not WORLD_ACCESS_DENIED. Update the current-outcome statements at system-architecture-protocol-bridging.md#L45, #L59, #L70, and #L85, and system-architecture-reconnection.md#L13-L14 and #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-L59
      • design/architecture/system-architecture-protocol-bridging.md#L70-L70
      • design/architecture/system-architecture-protocol-bridging.md#L85-L85
      • design/architecture/system-architecture-reconnection.md#L13-L14
      • design/architecture/system-architecture-reconnection.md#L214-L214
      • Accepted Correct current in-band membership mapping in bridging/reconnection docs; preserve target-state and transport distinctions.
    3. 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.
    4. Describe the current roster path as unavailable.Minor

      The current PLAY path does not select a persisted roster row. EntityManagementClient.listCharactersByAccount returns CHARACTER_LIST_UNAVAILABLE without calling Entity Management, and PlayCommandHandler.resolveCharacter stops 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) and services/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.
    5. Correct the documented membership-error mapping.Minor

      Line 295 says text PLAY maps the in-band membership FAILED_PRECONDITION to WORLD_ACCESS_DENIED. The current PlayCommandHandler maps this unavailable-authority response to retryable AUTH_UNAVAILABLE. This statement also conflicts with this file’s Line 193 and ADR 0025 Line 9. Update the documented result.

      Based on learnings, PlayCommandHandler maps the in-band membership failure to retryable AUTH_UNAVAILABLE, not WORLD_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.
    6. Keep the target JOIN_REQUIRED predicate in Authentication.Trivial

      Line 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.
    7. 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.
  41. CLI Review 16 CompletedRuntime 4m 21s
    Found: 4 Accepted: 0/1/1 Routed: 0
    1. 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.
    2. Minor

      Update the current-state PLAY error mapping descriptions so in-band membership FAILED_PRECONDITION is consistently classified as retryable AUTH_UNAVAILABLE, not WORLD_ACCESS_DENIED. Align the repeated WORLD_ACCESS_DENIED descriptions 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.
    3. 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.
    4. 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.
  42. CLI Review 17 CompletedRuntime 5m 01s
    Found: 2 Accepted: 0/2/0 Routed: 0
    1. Minor

      Update the implementation-status text near PlayCommandHandler.validateEntitlementsResponse to state that in-band entitlement FAILED_PRECONDITION maps to retryable ENTITLEMENT_UNAVAILABLE and 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.
    2. 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.
  43. CLI Review 18 CompletedRuntime 2m 33s
    Found: 4 Accepted: 0/2/1 Routed: 0
    1. Minor

      Update the connect-token issuance status in the ADR so it no longer claims an INACTIVE membership branch; align the description with Account runtime and data, where only missing membership may produce JOIN_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.
    2. 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.
    3. 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.
    4. 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.
  44. CLI Review 19 CompletedRuntime 2m 10s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  45. Hosted Review 5 CompletedRuntime 10m 06s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. Move the repeated REALMS snapshot recheck into one helper.Trivial

      Three methods repeat the same steps:

      • resolveOmittedLobbyRealm
      • isBoundToCurrentRealmSnapshot
      • joinPublicProductionMembership

      Each one calls revalidateRealmDiscoverySnapshot(world, snapshot.ordinalTargets()), catches AuthorityPointerReadUnavailableException, 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.
  46. CLI Review 20 CompletedRuntime 3m 07s
    Found: 6 Accepted: 0/1/4 Routed: 0
    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
  47. Hosted Review 6 CompletedRuntime 12m 42s
    Found: 4 Accepted: 0/2/2 Routed: 0
    1. Revalidate authorities before returning a cached connect token.Minor

      AccountServiceImpl.issueConnectToken returns 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. PLAY performs 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.

      View in Security blast radius

      • 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.
    2. Share one scope store between WorldsCommandHandler and PlayCommandHandler.Trivial

      In production, a single DirectTextConnectScopeSessionStore bean holds the REALMS snapshots that PLAY uses to resolve numeric selectors. This fixture gives WorldsCommandHandler its 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 with SELECTION_STALE instead of exercising the real flow. Reuse the local connectScopeSessionStore that is already passed to PlayCommandHandler.

      ♻️ 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.
    3. Describe onSpawn as handler behavior, not a live producer.Minor

      The text dispatcher is the only production route to PlayCommandHandler. Account’s GetTenantMembershipForRuntime returns FAILED_PRECONDITION, which the handler converts to an authority-unavailable failure before fresh-entry publication. The handler contains the onSpawn publication, 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.
    4. Remove the discoverability checks that this early return makes unreachable.Trivial

      After Line 756 returns invalidWorld() for non-discoverable worlds, isPubliclyDiscoverable(catalogSnapshot, world) is always true for the rest of browseCharacters. 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.
  48. CLI Review 21 CompletedRuntime 5m 20s
    Found: 3 Accepted: 0/2/1 Routed: 0
    1. 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.
    2. 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.
    3. 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.
  49. CLI Review 22 CompletedRuntime 3m 29s
    Found: 2 Accepted: 0/1/0 Routed: 0
    1. 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.
    2. Minor

      Update the public-production membership outcome in the account-first bootstrap description: allow JOIN_REQUIRED for missing or INACTIVE membership, and limit denial to ACTIVE membership 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.
  50. CLI Review 23 CompletedRuntime 3m 02s
    Found: 2 Accepted: 0/1/0 Routed: 0
    1. 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.
    2. 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.
  51. CLI Review 24 CompletedRuntime 2m 41s
    Found: 3 Accepted: 0/1/2 Routed: 0
    1. 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.
    2. 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.
    3. 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.
  52. Hosted Review 7 CompletedRuntime 12m 49s
    Found: 2 Accepted: 0/2/0 Routed: 0
    1. Classify jOOQ membership-read failures as AUTH_UNAVAILABLE.Minor

      authorizeConnectTokenIssuance catches only org.springframework.dao.DataAccessException around the membership read. The reader in this file shows that jOOQ errors can arrive untranslated. readTenantEntitlements at Lines 1409-1416 catches both the jOOQ and the Spring DataAccessException for this reason.

      If accountTenantMembershipRepository raises an untranslated org.jooq.exception.DataAccessException, two things happen:

      • On a fresh issuance, the exception escapes issueConnectToken as an untyped error, not as retryable AUTH_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 catch line with the two catch clauses shown.)

      Add a test variant to issueConnectTokenReturnsAuthUnavailableWhenMembershipRepositoryIsUnavailable that throws org.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.
    2. 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

0 Open1 Accepted/Fixed0 Rejected
  1. 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