PR #2848 review history
Unit 1A · identity, Account and public JOIN
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- ADR 0025 implementation status falsely said no JOIN reconciler existedMinor
The child added a bounded JOIN readback worker but retained a no-reconciler implementation-status statement.
- Accepted The preserved ledger records a local correction to implementation status while retaining PostgreSQL and end-to-end proof gaps.
- Local Compose plaintext gRPC overrides bypass exact workload peer-identity guardsMajor
The unique Account, Game Session, Social Groups, and Logging peer guards could be defeated by local Compose plaintext overrides.
- Accepted The preserved ledger records per-workload local leaves, certificate projections, fail-closed validation and negative contract proof in f8d45fddfb11f13307064f6a20336a96567e753a; no live Docker render was claimed.
- Expired pending JOIN canonical wording conflicted with readback-only recoveryMinor
Authentication text made expired PENDING JOIN terminal while the child retained PENDING for exact positive unknown-commit readback.
- Accepted Overseer selected the readback-only retryable AUTH_UNAVAILABLE rule; the child corrected canonical Authentication and Account runtime status, with focused retry/reconciliation proof recorded in the ledger.
- Subagent Review 2 CompletedModel not recordedFound: 3 Accepted: 1 Routed: 0
- Expired direct-text JOIN scope cannot be reused through Game SessionMajor
An expired retained scope is rejected by Game Session; a fresh REALMS flow starts a new logical attempt and the uncertain Account operation remains pending.
- Rejected The reviewer withdrew the candidate after tracing the canonical new-attempt flow; no separate unsafe mutation or false success was shown.
- Logging V2 migration body is rewritten after introduction in the parentMajor
The child changes V2__account_audit_receipts.sql already present in its exact parent; a database that applied parent V2 would fail Flyway checksum validation. Preserve V2 and add forward V3 with retained-row treatment.
- Accepted Verified V2 exists in exact parent and the child modifies it; canonical database-migration policy requires a forward migration when retained Flyway state is uncertain. A V3 correction and proof are being prepared.
- Runtime membership and entitlement RPCs deny even Game SessionMajor
The fail-closed handlers make current text PLAY unavailable while typed player and target binding is incomplete.
- Rejected This is explicitly documented current containment and an open Unit 1B activation gate in the Account API contract and player-access tracker, not a new #2848 defect or completed capability claim.
- Subagent Review 3 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Check Account audit RPC compatibility with Logging authentication interceptorMinor
Reviewer investigated whether generic authentication enforcement prevents Account from calling the two mTLS-guarded audit RPCs.
- Rejected The exact audit methods are exempted by AccountAuditGrpcAuthConfiguration and unit proof confirms the exemption while QueryLogs remains protected; the service still checks the exact Account mTLS peer. Reviewer withdrew the candidate.
- Subagent Review 4 CompletedModel not recordedFound: 3 Accepted: 2 Routed: 1
- Hosted Social Groups leaf cannot satisfy Account exact peer guardMajor
Account profile and presence guards require exact Social Groups SPIFFE peer; hosted Helm and Kustomize still mount shared gRPC leaf and hosted cert issuance omits this workload.
Route · PR #2848 → PR #2846 Accepted/FixedAccepted deployment defect; #2846 is the distinct workload-certificate owner, and its correction must propagate into #2848 before completion. View routed finding - VerifyEmail gRPC mutates despite Account fail-closed claimMajor
Non-public gRPC handler still consumes verification token without an exact method-specific peer authorization; canonical REST POST remains the intended route.
- Accepted Deny the gRPC method before the Account service call and prove no token consumption; preserve REST behavior.
- Local certificate helper follows preexisting source and output symlinksMajor
Caller-selected local certificate directory permits symlink targets to receive chmod or OpenSSL output writes.
- Accepted Bounded local data-loss risk; reject symlink paths before chmod, generation or copy and prove the target remains unchanged.
- Subagent Review 5 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Social Groups deployment cannot satisfy Account peer guardMajor
Hosted Helm and Kustomize use shared leaf; hosted issuance omits Social Groups. Reviewer also proposed setting workload namespace on Social Groups local Compose container.
- Rejected Hosted portion duplicates the semantic review's accepted route to #2846. Local Compose subclaim is incorrect: AccountGrpcService reads receiver Account namespace, and both Account Compose blocks already set it; the caller does not need that property for this guard.
- Subagent Review 6 CompletedModel not recordedFound: 2 Accepted: 0 Routed: 1
- ALREADY_ACTIVE JOIN might remain pending after lost acknowledgementMajor
The reconciler proves only EXPLICIT_JOIN membership plus a request-scoped transition audit and does not infer ALREADY_ACTIVE from a membership row alone.
- Rejected ALREADY_ACTIVE finishes COMMITTED in the same transaction as its result; uncertain acknowledgement reads it and exact retry replays it. PENDING plus pre-existing membership is not proof this request committed, so the readback-only reconciler must not synthesize success.
- Hosted Social Groups Account calls need their distinct projected peer identityMajor
The #2848 tree still carries the old shared-certificate call site, which the exact Account peer guard denies.
Route · PR #2848 → PR #2846 Accepted/FixedDuplicate of the previously routed #2846 identity fix, published there before this review. #2848's moving #2847 base has not incorporated it; #2847 has a dependency comment. No separate #2848 fix. View routed finding
- Subagent Review 7 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 8 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- P2 exact terminal JOIN retry rejected after retained scope expiryMajor
- Accepted Owner contract allows exact stored terminal replay after current policy/binding checks; remove only replay expiry guard, preserve NEW/PENDING expiry denial. Test/proof correction is local in progress.
- P3 current PLAY status contradicts contained Account runtime readsMinor
- Accepted Account handlers fail FAILED_PRECONDITION before reads, PLAY maps denial; qualify current status as conditional unit dispatch, not successful composed admission. Scoped documentation correction in progress.
- Subagent Review 9 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Duplicate workload namespace env entries hidden by render contractMinor
- Accepted Real base/Helm duplicates confirmed. Accept manifest correctness/upgrade risk (root P2); claimed universal deployment rejection/P1 not proven. Preserve one exact downward-API entry and add list-level positive/negative render proof.
- Remaining transport/player current PLAY proof claims contradict runtime containmentMinor
- Accepted Three further secondary docs claim live JOIN_REQUIRED/usable PLAY despite intentional Account denial. Root P3 documentation-only correction prepared at ebf8; no reader loosening. Target inventory/reconnect rules preserved, docs checks pass.
- Subagent Review 10 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- P2: continue exact JOIN readback after diagnostic thresholdMajor
- Accepted Hardcap strands expired uncertain PENDING forever; scheduled worker has no alternate reader. Keep bounded/backed-off serialized evidence-only recovery, never reissue JOIN or infer terminal status.
- P3: distinguish local PLAY classification from live compositionMinor
- Accepted Remaining status YAML/prose claims live JOIN_REQUIRED or no lifecycle checks despite pre-read Account denial and local validation. Correct grouped status only, preserve target contracts.
- Subagent Review 11 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- Restrict workload chmod to managed leavesMinor
- Accepted P3 preservation: broad certificate/key globs change unmanaged source-file modes; retain their content and permissions.
- Validate existing generic local TLS bundle fail-closedMajor
- Accepted P3 reliability: file presence does not prove healthy TLS; reject malformed/mismatched/expired material with deliberate-reissue guidance, never silently rotate CA.
- Align remaining reconnect/PLAY current-status paragraphsMinor
- Accepted P3 clarity: separate live Account-reader containment and locally supplied-authority JOIN_REQUIRED classification across five occurrences.
- Subagent Review 12 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- P3 Remaining current PLAY summaries contradict live Account containmentMinor
- Accepted Bridge/reconnect/operator summaries imply live membership/grant admission despite closed Account readers. Align concise owner-linked status and distinguish supplied-authority local branches from live proof.
- P2 JOIN initial reconciliation default is database-timezone dependentMinor
- Accepted V28 timestamp default uses session timezone; insertIntent omits it while due query and decoding use UTC. Use explicit UTC default and non-UTC-session PostgreSQL regression; keep PENDING recovery unchanged.
- P3 Local workload validator accepts ambiguous URI SAN identityMajor
- Accepted Substring SAN check accepts multiple URI identities rejected by runtime exact-one parser. Require exact single URI and negative fixture; preserve local-only projection, permissions and fail-closed boundaries.
- Subagent Review 13 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Preserve hard-linked files in Compose runtime projectionMinor
- Accepted Allowlisted regular files can alias unrelated files; projection cp/chmod overwrites their shared inode. Add all-profile projection preflight and bounded preservation proof; no whole-script safety claim.
- Subagent Review 14 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- P3 four Account JOIN reconciliation settings lack configuration documentationMinor
- Accepted Both profiles expose four supported controls missing from the service reference and central catalog. Document actual defaults/bounds and diagnostic-only attempt threshold; unknown PENDING must never terminalize.
- P2 canonical Compose mTLS profile breaks Account peer admissionMajor
- Accepted Account expects inherited local namespace while smoke leaves use dev; Social Groups receives a shared leaf without its required URI. Align the existing overlay/issuer and add exact identity/merged-profile proof; do not weaken admission.
- Subagent Review 15 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- Compose workload certificate/key pairs are not matchedMajor
- Accepted Existing Compose fixtures validate chain and identity but not the mounted leaf/private-key pair; preserve fail-closed readiness with negative proof.
- Source certificate generation permits hard-linked output mutationMajor
- Accepted Managed source preflight must reject multiply-linked material before generation or chmod, as existing runtime projection preflight already does.
- Certificate cleanup follows symlinked ancestorsMinor
- Accepted Final-component refusal misses ancestor aliases; apply existing component-by-component refusal before any deletion.
- Subagent Review 16 CompletedModel not recordedFound: 6 Accepted: 5 Routed: 0
- Duplicate Account Flyway V28 blocks migration resolutionMajor
- Accepted New JOIN reconciliation migration conflicts with inherited audit backoff V28. Preserve inherited bytes; reserve unique version after Document through V36 and current V37, add non-Docker resolver proof.
- Mandatory audit projection response version has no owning API definitionMajor
- Accepted Define field12/version1 exact attestation semantics and unsupported/missing evidence fail-closed at Logging API/proto; preserve old wire numbers and unknown history.
- Account front status overclaims separate receiver/readback implementationMajor
- Accepted Front producer validates receipt responses but Logging receiver is unavailable until child #2940; correct owner-linked implementation status and tracker without deleting target contract.
- Shared Compose leaf can project protected workload identityMajor
- Accepted CA-valid misplaced Game Session leaf copied to generic callers satisfies exact Account peer guard. Reject URI SANs on generic source and existing projections, with source-preservation refusal fixtures; local misprojection not malicious CA threat.
- Disabled DELETE lifecycle response should use 501 or 503 instead of 409Minor
- Rejected Existing typed lifecycle exception/advice intentionally returns409 before mutation, with specific unavailable code and explicit disabled contract. No canonical HTTP requirement or demonstrated incorrect retry/mutation; avoid arbitrary public status change in retained lifecycle containment.
- First-call certificate authority mode masked by idempotent rerunMinor
- Accepted Generator changes authority0700 to0755; restore/check after generation and assert first-call postcondition before repeat. ca.key0600 and parent0700 contain exposure.
- Subagent Review 17 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Certificate README incorrectly describes default Compose mTLS as plaintextTrivial
- Accepted Align changed certificate setup instructions with existing default local mTLS configuration and distinguish the separate run-owned smoke overlay.
- Local Compose runtime projections expose workload keys to other traversing host accountsMinor
- Accepted Protect the outer runtime projection root with owner-only mode while retaining directly mounted container-readable profiles; actual Docker proof remains unavailable.
- Subagent Review 18 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- JOIN protocol row claims unsupported tenant/world selectorMinor
- Accepted Current stored selector lookup accepts an exact WORLDS index or unique bare world slug, not tenantSlug/worldSlug; the implemented JOIN row contradicts its target-only caveat. Clarify current syntax without adding target selector support.
- Subagent Review 19 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Recheck JOIN scope expiry at the membership commit gateMajor
- Accepted Two remote authority evaluations can outlive the entry expiry check and reach membership mutation. Recheck before the final mutation; retain PENDING with retryable AUTH_UNAVAILABLE and no membership/outbox/terminal write.
- Subagent Review 20 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 21 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Align Account runtime API status with exact-workload fail-closed handlersMinor
- Accepted API status still claims removed public-method bypass and absent workload guards; correct local status while retaining typed-context and positive authority proof gaps.
- Distinguish synthetic JOIN evidence readback from natural atomic lost-ack recoveryMinor
- Accepted Current atomic transaction cannot leave membership/outbox committed and operation PENDING; preserve safety and disclose synthetic branch proof rather than claim reachable unknown-commit recovery.
- Subagent Review 22 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- Synthetic PENDING JOIN recovery branch is not naturally reachable under atomic writerMinor
- Rejected Duplicate of scan11 finding1 fixed in5422: runtime distinguishes synthetic positive fixture from natural terminal readback. Existing test covers abandoned PENDING. Removing exact-evidence recovery contradicts accepted contract; no new defect substantiated.
- Subagent Review 23 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- CLI Review 1 CompletedRuntime 3m 45sFound: 6 Accepted: 2/2/2 Routed: 0
- Trivial
Keep the tenant-tag contract in the target-state architecture text, but remove its enumerated focused-proof cases and refer readers to the existing focused-proof checklist and shared validation workflow instead.
- Accepted Accept cheap canonical-doc convergence: remove the duplicate enumerated tenant-tag focused-proof list from the identity paragraph, retain the tenant-tag contract and link to the existing owning proof checklist/workflow.
- Major
Replace the non-UUID value of NAMESPACE_ID in AccountJoinReconciliationPostgresIntegrationTest with a canonical UUID so fixture setup passes requireCanonicalPlayableStateNamespaceId when calling issueDirectTextConnectScope.
- Accepted Accept current-PR PostgreSQL fixture defect: join-reconciliation-namespace cannot satisfy Account's canonical UUID validator, so its new reconciliation proof fails before reaching the tested behavior. Use one stable canonical fixture UUID; do not relax production validation.
- Minor
Reconcile the current JOIN_REQUIRED guidance across the protocol-bridging and frontend architecture docs: describe the existing predicate using membershipExists and gameplayAdmissionAllowed, and keep the JOIN recovery instruction consistent for non-admitting memberships. State that membershipLifecycleState is not currently enforced; do not describe active-but-non-admitting memberships as denied under a predicate the current consumers do not implement.
- Accepted Partial acceptance: correct stale protocol boolean-only wording to actual Game Session lifecycle/generation/version/freshness checks. Reject claiming lifecycle is unenforced or weakening code/accurate frontend status. Account runtime reads remain closed.
- Trivial
Replace the brittle “rows 260-261” reference in the GetTenantMembershipForRuntime and GetTenantEntitlementsForRuntime description with a stable link to those route names or their entries in the machine-readable route matrix; update the other affected row references identified by the review to use stable links as well.
- Accepted Accept stable named route references: replace brittle rows 260-261 with the existing named routes and canonical YAML owner link; no route-policy change.
- Major
Replace the non-UUID NAMESPACE_ID fixture value in AccountJoinPostgresIntegrationTest with a canonical UUID so fixture setup passes requireCanonicalPlayableStateNamespaceId and the tests reach the code under test.
- Accepted Accept current-PR PostgreSQL fixture defect: join-proof-namespace cannot satisfy Account's canonical UUID validator. Correct this new fixture to a stable canonical UUID without weakening target binding or assertions.
- Minor
Reconcile the current retained-context behavior described in the reconnect section with the claim at line 280. Check the canonical current-state evidence and update both passages to describe the same runtime behavior, while keeping that behavior distinct from the target
resumeContextGenerationand durable-LOGOUTrequirements.- Accepted Accept current-state drift: early reconnect text permits private-context restoration after LOGOUT; later text and current parent suppress it and return LOGOUT_UNAVAILABLE. Align status, preserving ADR0133/0134 target requirements.
- Hosted Review 1 CompletedRuntime 9m 47sFound: 13 Accepted: 2/9/1 Routed: 0
- Align the
PLAYstatus with the Authentication contract.MinorLine 45 and Line 47 say Game Session does not enforce membership lifecycle or authority generation. Line 45 and Line 70 also allow
JOIN_REQUIREDwhengameplayAdmissionAllowedalone is false. The current-status text indesign/architecture/system-architecture-authentication.md(Line 33) anddesign/architecture/microservices/account-service/runtime-and-data.md(Line 29) says supplied-authorityPLAYvalidates lifecycle and generation, and only eligible missing orINACTIVEmembership producesJOIN_REQUIRED. Active-but-non-admitting membership receives no JOIN advice.Separate the supplied-authority
PLAYclassification from the live Account RPC failure. Describe connect-token issuance as its separate Account-owned surface.As per path instructions, “
design/**/*.md: Review docs for canonical-current-state consistency.”Also applies to: 47-47, 70-70
- Accepted Align supplied-authority lifecycle/generation checks and missing/INACTIVE JOIN advice; keep live Account reader containment and issuance gaps distinct. Overlaps accepted CLI finding 6.
- Use backoff that grows with each attempt, or stop rescheduling rows that readback can never prove.Major
nextAttemptAtalways adds the samebackoffMillis(default 30 s).recordReconciliationAttemptalways reschedules the row. Nothing ever takes a row out of the due set, and the attempt counter only stops growing atmaxAttempts.Consider a PENDING row with
requestDigest == null.bindPolicyEvidenceand the membership/audit commit run in oneexecutePendingJoinAttempttransaction. A null digest therefore means that commit never happened.validateOperationAndPolicyreturnsJOIN_OPERATION_POLICY_UNPROVENfor this row on every pass. Rows like this come from ordinary paths, for example a first attempt that ends withADMISSION_POINTER_UNAVAILABLEwhere the client never retries. The integration testnaturallyAbandonedPendingIntentRemainsDueAfterConfiguredDiagnosticThresholdconfirms the row stays due forever.The reconciler handles at most
batchSize(50) rows perinterval-ms(30 s). Each row costs two locking transactions. As abandoned intents accumulate, they occupy the whole page. Rows that readback can actually recover then wait longer and longer. Retained connect scopes are also never cleaned up, becausedeleteExpiredUnreferencedkeeps any scope that a JOIN operation references.Apply capped exponential backoff, as
AccountAuditOutboxRepository.recordAttemptalready does. Alternatively, scheduleJOIN_OPERATION_POLICY_UNPROVENrows on a much longer cadence, because no readback can terminalize them.♻️ Sketch: capped exponential backoff
- private Instant nextAttemptAt(Instant attemptedAt) { + private Instant nextAttemptAt(Instant attemptedAt, int priorAttempts) { try { - return attemptedAt.plusMillis(backoffMillis); + int exponent = Math.min(Math.max(priorAttempts, 0), 10); + long delay = Math.min(backoffMillis << exponent, MAX_BACKOFF_MILLIS); + return attemptedAt.plusMillis(delay); } catch (DateTimeException | ArithmeticException ex) {- Accepted Add capped exponential readback backoff to reduce repeated abandoned-intent load; retain PENDING rows, caller retries and positive-proof-only terminalization.
- Reconcile the first-party replay status across both trackers.Minor
This line says private replay is suppressed fail-closed.
design/project-management/implementation-tracking/player-experience-commands-and-communication.mdLine 64 says the connect-context path may replay retained transcript after deliberate logout. These entries give conflicting current-state descriptions. Check the implementation and align both entries with its behavior and proof status.As per path instructions,
design/**/*.mdmust preserve canonical-current-state consistency.- Accepted Correct player-experience tracker replay status to actual private-context suppression and unimplemented durable logout; preserve remaining proof gaps.
- Clarify the JOIN implementation milestone.Minor
Lines 9 and 27 say the local
JoinPublicProductionMembershipoperation is implemented. Line 91 still says generated references must be regenerated “when explicitJOINis implemented.” State whether Line 91 refers to the local operation or the unavailable public flow, and update the obligation accordingly. As written, the ADR gives conflicting current-state guidance.As per path instructions, “Review docs for canonical-current-state consistency. Flag obsolete transitional guidance, conflicts between architecture docs, broken repo links, or instructions that contradict AGENTS.md.”
Also applies to: 27-27
- Accepted Clarify local JOIN operation vs unavailable public delivery and regenerate references at the actual public-flow milestone; preserve accepted ADR metadata.
- State the commit-time target-validity gap.Minor
Line 228 says that revalidation does not prove the target remains valid through Account commit. Add the same caveat here so readers do not interpret the pre-commit checks as satisfying the strict ADR 0025 commit gate.
Suggested wording
- Account revalidates `connectScopeId`, `catalogRevision`, `pointerVersion`, and the resolved target before commit, without silent retargeting. + Account revalidates `connectScopeId`, `catalogRevision`, `pointerVersion`, and the resolved target before commit, without silent retargeting; this does not prove that the target remains valid through commit, so the strict ADR 0025 commit gate remains incomplete.As per path instructions, “Review docs for canonical-current-state consistency.” The PR objective also identifies this commit-time gate as incomplete.
- Accepted Add owning strict commit-time target-validity limitation; pre-commit reread is not continuous validity through Account commit.
- Reconcile the post-
LOGOUTrestoration status.MinorLine 148 says retained context may currently be presented after deliberate
LOGOUTbecause suppression is unimplemented. Line 280 of this file and Line 227 ofdesign/architecture/system-architecture-reconnection.mdsay retained-context reads are suppressed after attemptedLOGOUT. Align these statements so the documents describe one current behavior.As per path instructions, “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Align current fail-closed LOGOUT/private context suppression while retaining incomplete generation-fence proof. Overlaps accepted CLI finding 5.
- Write fixture timestamps in UTC, not in the session time zone.Minor
makeOperationPendingWithRetainedEvidenceandsetReconciliationAttemptsassignCURRENT_TIMESTAMP - INTERVAL ...toTIMESTAMPcolumns. PostgreSQL converts that value to the session time zone. pgjdbc sets the sessionTimeZonefrom the JVM default zone. The production code stores and compares UTCLocalDateTimevalues:toLocalDateTime(now), and V38 defaults topg_catalog.timezone('UTC', CURRENT_TIMESTAMP). Consider a JVM east of UTC, such as Pacific/Auckland, which this repository uses. There,next_reconciliation_attempt_atlands hours in the future.findDuePendingReconciliation(Instant.now()...)then skips the row, and the recovery tests fail. The test at Lines 101-139 already guards against this exact case for the default.🐛 Proposed fix
-... last_reconciliation_attempt_at = CASE WHEN ? = 0 THEN NULL ELSE CURRENT_TIMESTAMP - INTERVAL '2 seconds' END, ... next_reconciliation_attempt_at = CURRENT_TIMESTAMP - INTERVAL '1 second', ... +... last_reconciliation_attempt_at = CASE WHEN ? = 0 THEN NULL ELSE pg_catalog.timezone('UTC', CURRENT_TIMESTAMP) - INTERVAL '2 seconds' END, ... next_reconciliation_attempt_at = pg_catalog.timezone('UTC', CURRENT_TIMESTAMP) - INTERVAL '1 second', ...Apply the same replacement in
setReconciliationAttempts(Line 441).Also applies to: 441-441
- Accepted Use UTC expressions for reconciliation fixture TIMESTAMP writes, matching production UTC due-time comparisons; preserve migration bytes.
- Fail closed or authorize the password-reset RPCs by caller identity.Minor
AuthTokenInterceptorvalidates a [redacted credential] but does not restrict the calling service. These handlers have no peer or subject check and pass caller-supplied values directly toAccountService. A caller with a valid JWT can therefore trigger reset-email attempts for matching accounts, and can complete a reset when it has the reset token. If no supported internal caller exists, returnFAILED_PRECONDITIONfrom both RPCs, asverifyEmaildoes.- Accepted Unsupported reset RPCs lack workload/subject authorization. Deny before Account calls until supported internal caller exists; retain public REST recovery and atomic token consumption.
- Return
CONNECT_SCOPE_INVALIDwhen the connect scope has expired.MinorWhen Account detects an expired scope, it returns
AUTH_UNAVAILABLE. Game Session maps that code to “Retry JOIN shortly.” The next attempt then detects the expired scope locally and returnsCONNECT_SCOPE_INVALID, so this is not an endless retry. However, the first response does not tell the player to runREALMSagain.Keep the operation PENDING, but return
CONNECT_SCOPE_INVALIDfrom both expiry branches. Continue recordingAUTH_UNAVAILABLEas the durable attempt diagnostic.if (isConnectScopeExpired(scope)) { accountJoinOperationRepository.recordAttemptFailure( requestId, "NOT_EVALUATED", "AUTH_UNAVAILABLE"); - return pendingJoinFailure(scope, "AUTH_UNAVAILABLE"); + return pendingJoinFailure(scope, "CONNECT_SCOPE_INVALID"); }Apply the same change to the second expiry branch.
- Rejected Expired retained PENDING may have an uncertain prior commit: ADR0025 requires same-ID reconciliation, not fresh-scope advice that conflicts with its binding. Keep AUTH_UNAVAILABLE/readback-only behavior; terminal scope-invalid paths stay distinct.
- Describe the membership fields as a response shape, not a live response.Minor
Line 29 says the live response carries these fields. Line 195 and Line 289 say the handler rejects before reading and returns no response. Change Line 29 to describe the proto or response-model fields, then state that the live handler does not return a snapshot.
As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Describe proto/producer membership response shape, not a working live snapshot; retain deny-before-read status and missing typed caller binding.
- Keep canonical JOIN contracts in their owning documents.Trivial
Both implementation trackers repeat technical acceptance rules. Keep each tracker focused on local implementation status, proof, and gaps, and link to the canonical contracts.
design/project-management/implementation-tracking/realm-routing-and-playable-state.md#L58-L62: Replace the detailed membership,PLAY, connect-token, and direct-textJOINrules with a concise status summary and links to the owning contracts.design/project-management/implementation-tracking/shared-runtime-contracts-and-persistence.md#L122-L122: Summarize the current recovery gate and retained-row status; link to the owning Account and Logging contracts for exact receipt/projection requirements.
As per coding guidelines, technical contracts belong in canonical architecture documents. Based on learnings, implementation trackers should not duplicate canonical technical contracts and should track implementation-specific status, decisions, or links to canonical definitions.
📍 Affects 2 files
design/project-management/implementation-tracking/realm-routing-and-playable-state.md#L58-L62(this comment)design/project-management/implementation-tracking/shared-runtime-contracts-and-persistence.md#L122-L122
- Accepted Consolidate duplicated tracker acceptance rules into canonical owner links with concise local implementation, retained-row and proof gaps.
- Set the workload namespace in the Account Helm chart.Major
The Game Session service is the only production caller of these credential RPCs in the repository. However, the standalone Account Helm chart leaves
FIREMUD_GRPC_WORKLOAD_NAMESPACEunset. The new guard then rejects even Game Session calls withPERMISSION_DENIED.- name: account-service image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + env: + - name: FIREMUD_GRPC_WORKLOAD_NAMESPACE + value: "{{ .Release.Namespace }}" + {{- range $key, $value := .Values.extraEnv }} + - name: {{ $key }} + value: "{{ $value }}" + {{- end }} ports: - containerPort: 8080 - env: - {{- range $key, $value := .Values.extraEnv }} - - name: {{ $key }} - value: "{{ $value }}" - {{- end }}- Accepted Bind standalone Account chart workload namespace to actual pod/release namespace and prove rendering; preserve exact Game Session peer guard.
- Clarify which side handles the Logging receipt.Minor
“Logging receipt handling” can imply that the Logging receiver persists and projects receipts. The supplied PR objective leaves that work to
#2940. Only Account’s producer-side receipt validation and verified-projection marker handling are local.Proposed wording
- Account's transactional audit outbox and Logging receipt handling are also implemented locally. + Account's transactional audit outbox, producer-side Logging receipt validation, and verified-projection marker handling are implemented locally; Logging receiver persistence/readback remains outside this change.This wording should preserve canonical-current-state status in
design/**/*.md, as required by the path instructions.- Accepted Name Account producer-side receipt validation and projection-marker handling; Logging receiver persistence/readback remains #2940-owned.
- CLI Review 2 CompletedRuntime 4m 16sFound: 7 Accepted: 0/0/6 Routed: 0
- Trivial
Update the protocol-bridging sections covering LOGIN/PLAY, JOIN_REQUIRED, and recovery to retain protocol order and error rules while removing repeated handler, JOIN, and recovery implementation-status or proof details; link to the Player Access and Session tracker for current status instead.
- Accepted Accepted: protocol sections repeat handler/status/proof detail; retain normative carrier/admission/recovery rules and link current owner status; local documentation fix pending.
- Major
Update both isConnectScopeExpired checks in the join flow to record and return CONNECT_SCOPE_INVALID instead of AUTH_UNAVAILABLE, keeping the existing pending-operation behavior through recordAttemptFailure and pendingJoinFailure.
- Rejected Rejected: repeated expired-PENDING suggestion conflicts with immutable unknown-outcome recovery. Both checks retain AUTH_UNAVAILABLE/readback-only; CONNECT_SCOPE_INVALID would misleadingly advise fresh scope. Terminal invalid-scope paths remain separate.
- Trivial
Update the Telnet and WebSocket parity paragraph and the other identified status-heavy paragraphs to keep the target reconnect sequence while replacing repeated handler, admission, and proof details with links to the canonical Player Access, Session, and Account status pages. Keep implementation-status details in those trackers rather than duplicating a validation ledger in the normative architecture text.
- Accepted Accepted: reconnect status repetition obscures canonical sequence; consolidate to owner-status links without removing normative order/error rules; local documentation fix pending.
- Trivial
Remove the statement that no end-to-end proof exists from the target-state contract, while retaining the focused proof requirements under “Data Separation per Service.” Track current proof status in the implementation tracker rather than duplicating validation status in the architecture document.
- Accepted Accepted: remove proof-status sentence from normative tenancy/key contract; keep focused proof requirements and dedicated tracker links; local documentation fix pending.
- Trivial
Extend the rejectedPeers list in credentialMethodsRejectAbsentAndWrongGameSessionPeersBeforeServiceCall with a game-session-service identity from a different namespace. Keep the existing null and same-namespace world-management-service cases so the credential-method tests verify rejection of cross-namespace peers.
- Accepted Accepted: credential RPC negative loop lacks exact wrong-namespace Game Session case; add it with existing no-interaction assertions; local proof fix pending.
- Trivial
Update assertNoRouteWithPathAndMethod and assertNoConfiguredPath in GatewayRouteTestSupport to match each configured Path predicate pattern against the concrete probe path using Spring’s PathPatternParser, rather than exact string equality. Preserve the existing route and method checks.
- Accepted Accepted: exact-string negative route helpers can miss wildcard/variable exposure; strengthen PathPattern matching and regressions without changing production routes; local proof fix pending.
- Trivial
Update the paragraph containing the transport authentication and
PLAYflow to keep its normative behavior, but remove the implementation-status inventory covering handler failures,WORLD_ACCESS_DENIED, JOIN, PostgreSQL, and recovery proof. Replace that inventory with concise links to the owner status pages, preserving the surrounding normative architecture guidance.- Accepted Accepted: retain normative transport/PLAY ordering while replacing duplicated live-status/proof inventory with canonical owner-status links; local documentation fix pending.
- Hosted Review 2 CompletedRuntime 10m 56sFound: 8 Accepted: 7 Routed: 1
- State the full positive-verification predicate in both descriptions.Major
The descriptions say that version 1 attests to a receipt/projection link, but they omit the conditions for positive delivery evidence. A consumer could accept a version-1 response without requiring a
COMMITTEDreceipt and matching receiver identities for the exact scoped outbox row. That could let JOIN reconciliation accept unverified audit evidence.State these required conditions in both descriptions.
Suggested wording
- Version 1 attests an exact receipt linked atomically to a distinct audit log projection. Zero or unsupported versions cannot verify delivery or historical producer provenance. + Version 1 attests the receipt-to-projection link. Positive delivery evidence also requires a COMMITTED receipt and matching receiver identities for the exact scoped outbox row. Zero or unsupported versions cannot verify delivery or historical producer provenance.Apply the same positive-evidence criteria to
ReadLogEventReceiptResponse, while retaining its payload-replay limitation.The PR objective requires a version-1
COMMITTEDresult with receiver identities on the exact scoped outbox row. As per path instructions, “Review docs for canonical-current-state consistency.”Also applies to: 9981-9981
- Accepted Implement at proto owner and regenerate reference: positive audit evidence requires version 1, COMMITTED receipt and matching receiver identities for the exact scoped outbox row; payload replay remains unproved.
- The full-ancestor symlink refusal breaks the default certificate directory when the checkout path contains a symlink.Major
Each script derives its default
CERT_DIRfrom the logicalSCRIPT_DIR, which comes fromcd ... && pwd. Each script then callsrefuse_symlink_path, and that function exits 1 on any symlinked ancestor up to/. A checkout below a symlinked ancestor fails. A shell that entered the repository through a symlink also fails.generateDevCertsnow callsensure-dev-certs.sh, so./gradlew devUpfails before it creates certificates.Explicit targets can keep the strict ancestor check that
dev-tools/tests/local-compose-workload-identity-contract.shtests.dev-tools/certs/ensure-dev-certs.sh#L11-L27: computeSCRIPT_DIRwithcd -P ... && pwd -Pso the defaultCERT_DIRis a physical path beforepreflight_managed_directory.dev-tools/certs/generate-dev-certs.sh#L6-L22: computeSCRIPT_DIRwithcd -P ... && pwd -Pbefore the defaultCERT_DIRpreflight.dev-tools/certs/clean-dev-certs.sh#L15-L33: computeSCRIPT_DIRwithcd -P ... && pwd -Pbeforerefuse_symlink_path "$CERT_DIR".
Proposed fix (apply in each script)
-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +SCRIPT_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"📍 Affects 3 files
dev-tools/certs/ensure-dev-certs.sh#L11-L27(this comment)dev-tools/certs/generate-dev-certs.sh#L6-L22dev-tools/certs/clean-dev-certs.sh#L15-L33
- Accepted Fix physical SCRIPT_DIR defaults in all three certificate helpers; add isolated symlinked-checkout regression while preserving strict explicit-target ancestor refusal.
- Correct the stale
PLAYimplementation note.MinorWhen membership is missing or
gameplayAdmissionAllowed=false,PlayCommandHandlerreturnsJOIN_REQUIREDonly for a public-production realm with missing orINACTIVEmembership and an entitlement that allows public joining. An existingACTIVEmembership withgameplayAdmissionAllowed=falsefalls through toWORLD_ACCESS_DENIED. Line 403 matches the handler; correct the current-implementation note indesign/architecture/microservices/game-session-service/api-contracts.md.Suggested documentation correction
-**Target state:** Gameplay admission uses `JOIN_REQUIRED` only as a next-step response when fresh authority confirms that the selected target is publicly visible and public-production joining is allowed, while the caller's membership is absent or `INACTIVE` under [Account's explicit membership lifecycle](../../decisions/adr-0025-explicit-open-enrollment-membership.md#decision). A public-production policy denial remains `PUBLIC_PRODUCTION_ADMISSION_DENIED`; unavailable, stale, malformed, or ambiguous authority uses the applicable unavailable or invalid-authority outcome instead. Private/playtest admission always requires an existing caller-bound membership, the current membership authority generation, and the applicable Account-owned realm grant; a grant never replaces membership. **Current implementation:** text `PLAY` also returns `JOIN_REQUIRED` when a membership exists but `gameplayAdmissionAllowed=false`. It enforces the current non-public realm grant, while current connect-token issuance does not validate that grant; target connect-token issuance adds the same fresh grant gate. +**Target state:** Gameplay admission uses `JOIN_REQUIRED` only as a next-step response when fresh authority confirms that the selected target is publicly visible and public-production joining is allowed, while the caller's membership is absent or `INACTIVE` under [Account's explicit membership lifecycle](../../decisions/adr-0025-explicit-open-enrollment-membership.md#decision). A public-production policy denial remains `PUBLIC_PRODUCTION_ADMISSION_DENIED`; unavailable, stale, malformed, or ambiguous authority uses the applicable unavailable or invalid-authority outcome instead. Private/playtest admission always requires an existing caller-bound membership, the current membership authority generation, and the applicable Account-owned realm grant; a grant never replaces membership. **Current implementation:** when membership is missing or `gameplayAdmissionAllowed=false`, text `PLAY` returns `JOIN_REQUIRED` only for a public-production realm with missing or `INACTIVE` membership and fresh entitlement that allows public joining. An existing `ACTIVE` membership with `gameplayAdmissionAllowed=false` returns `WORLD_ACCESS_DENIED`. It enforces the current non-public realm grant, while current connect-token issuance does not validate that grant; target connect-token issuance adds the same fresh grant gate.- Accepted Correct Game Session API status to reflect supplied-authority PLAY: eligible missing/INACTIVE public membership gets JOIN_REQUIRED; ACTIVE non-admitting membership is denied. No runtime authorization change.
- Remove the completed observation.Minor
The entry says setup now restores owner-only permissions and the focused contract proves both first-call state and repeated-call preservation. It records no remaining blocker or deliberate postponement.
As per path instructions, “Retain it only when a genuine blocker or deliberate postponement remains, recording the reason and reconsideration trigger.”
Proposed removal
-- `2026-10-03`: Assert fresh initialization before testing idempotence - - Context: The Compose mTLS certificate contract checked private authority-directory permissions only after running setup twice. - - Observation: The second call repaired the first call's incorrect permissions, so the passing contract masked a broken fresh-initialization postcondition. - - Expected pattern: Assert the first-call postconditions before any verification or idempotence rerun, then separately prove the rerun preserves the valid fixture. - - Outcome: Setup now restores owner-only authority permissions after generation, and the focused contract independently proves the first-call boundary and repeated-call preservation.Route · PR #2848 → Unassigned target OpenRoute to Overseer observations stewardship: completed entry cleanup is outside ordinary worker append-only authority. No source fix or taper obligation; receiving owner decides whether to remove it. View routed finding - Clarify which side implements Logging receipts.Minor
Line 33 says Account implements producer-side receipt validation while the Logging & Admin receiver/readback remains unavailable. Line 291 says “Logging receipt behavior is locally implemented,” which can read as a claim that the receiver is implemented. The PR objective assigns that receiver/projection work to
#2940. Name the Account producer-side behavior here.Proposed wording
-Logging receipt behavior is locally implemented +Account-side receipt validation is locally implementedAs per path instructions, “Review docs for canonical-current-state consistency.” The PR objective assigns receiver/projection work to
#2940.- Accepted Clarify Account producer-side receipt validation versus the unavailable Logging receiver/readback owned by #2940. Documentation only.
- Plan for the growth of permanently unresolvable
PENDINGintents.🚀 Performance & Scalability | 🔵 Trivial
Any JOIN attempt that stops before the policy is bound leaves a
PENDINGrow. AnADMISSION_POINTER_UNAVAILABLEfailure is one example. The reconciler never finishes such a row: it recordsJOIN_OPERATION_POLICY_UNPROVENand reschedules it indefinitely. The retry delay is capped near 300 s. Each attempt takes the account row lock (lockAccount).Throughput is fixed. The defaults are a batch size of 50 and an interval of 30 s, which gives about 100 rows per minute. At that rate, a backlog of more than about 500 abandoned rows means real ambiguous commits wait behind abandoned rows that can never resolve.
Consider these measures:
- A metric and an alert for the due-but-unprocessed backlog.
- A separate retry schedule or a separate reason class for intents that have no bound policy.
- An operator-visible quarantine for those intents.
None of these measures needs to terminalize an intent automatically.
- Accepted Accept bounded backlog observability and operator warning/alert guidance. Preserve nonterminal readback, fair ordering and backoff; no automatic quarantine, terminalization or new retry schedule.
- Separate payload minimization from retention cleanup.Minor
Line 59 says Account clears the producer payload after a matching minimized receipt. Line 295 groups JOIN receipt “cleanup/minimization” with work that remains unimplemented. Specify that bounded retention cleanup and deletion reconciliation remain open, so this does not appear to retract the payload-clearing behavior described in Line 59.
Proposed wording
-Bounded JOIN receipt cleanup/minimization and deletion reconciliation remain unimplemented retention follow-through. +Bounded JOIN receipt retention cleanup and deletion reconciliation remain unimplemented.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Distinguish already-implemented producer payload minimization from still-open bounded receipt retention cleanup and deletion reconciliation.
- Qualify exact-retry replay with the current-policy check.Minor
Line 34 says an exact
(requestId, digest)retry replays the stored outcome without a condition. This line blocks replay when current policy is unavailable or unsafe. State that replay requires the current-policy check to pass, or otherwise define which rule takes precedence. Without that clarification, callers cannot determine whether an exact retry returns the stored terminal result or fails closed.As per path instructions, “Review docs for canonical-current-state consistency. Flag obsolete transitional guidance, conflicts between architecture docs, broken repo links, or instructions that contradict AGENTS.md.”
- Accepted Qualify ADR0042 exact-retry replay with its existing current-policy gate; unavailable/unsafe policy fails closed without overwriting or re-executing stored results.
- CLI Review 3 CompletedRuntime 4m 22sFound: 3 Accepted: 0/1/1 Routed: 0
- Major
In both expired-scope branches, update the client-facing result from AUTH_UNAVAILABLE to CONNECT_SCOPE_INVALID so clients rerun discovery instead of retrying the same request. Update the outcome passed to recordAttemptFailure and the code passed to pendingJoinFailure; preserve the durable join-operation row’s existing pending state.
- Rejected Authentication's direct-text JOIN contract explicitly requires AUTH_UNAVAILABLE for an expired retained PENDING intent. CONNECT_SCOPE_INVALID applies to new scope admission; changing pending retry semantics contradicts the owner and existing regression.
- Minor
Replace the current implementation, test-coverage, and proof-status details in the normative contract paragraph with a brief link to the owner tracker, keeping the target outcome definitions and contract content intact. Use the existing Authentication implementation-status and Player Access and Session tracker references rather than maintaining a parallel status record in this document.
- Accepted Remove duplicated implementation/proof status from the normative protocol paragraph, link to the Authentication owner and player-access tracker, and preserve normative PLAY outcomes and precedence.
- Trivial
In the integration test’s update assertion, verify the failure identifies the immutability trigger or constraint defined in V37__verified_audit_projection_evidence.sql, rather than accepting any DataAccessException. After the failed update, query receiver_audit_projection_version for committedEventId and assert it remains 1.
- Accepted Strengthen the V37 negative integration assertion to identify account_audit_outbox_projection_version_check and prove the retained committed projection version stays 1 after rollback.
- CLI Review 4 CompletedRuntime 5m 25sFound: 7 Accepted: 0/0/4 Routed: 2
- Major
Update the expired-scope branch in the join operation flow to finalize the operation with CONNECT_SCOPE_INVALID via failedJoin, rather than recording AUTH_UNAVAILABLE and returning a pending retry failure. Leave the membership-transition fence behavior unchanged.
- Rejected Repeated expired-PENDING terminalization conflicts with Authentication's explicit readback-only recovery and AUTH_UNAVAILABLE retry contract; expiration cannot prove an unknown prior commit rolled back.
- Trivial
Update the game-session-service JOIN row to reflect that a bounded readback reconciler exists, rather than describing recovery as target-only; retain the statement that PostgreSQL runtime and direct-text end-to-end proof are unavailable, consistent with the JoinPublicProductionMembership row.
- Accepted Correct JOIN route status: bounded Account readback reconciler is implemented, but PostgreSQL/runtime and direct text-to-Logging proof remain unavailable.
- Trivial
Trim the Packet 2 note so it contains only the review-disposition mapping and links to the relevant architecture and implementation-tracking documents. Remove the runtime status details and proof-gap summaries, including the
FAILED_PRECONDITIONandWORLD_ACCESS_DENIEDbehavior; keep the checklist mapping intact.- Accepted Trim Packet2 note to review-disposition mapping and canonical architecture/tracker links; preserve all checked human outcomes and checklist keys.
- Trivial
Update the observation around the “Expected pattern” in the append-only inbox: keep the reusable merge-preview lesson, but replace the ordinary conflict-resolution Outcome with a proposed repository rule or guard that validates
git merge-tree --write-treeusing its exit status. Retain the entry’s historical context without treating the specific conflicts as an ongoing inbox item.Route · PR #2848 → Unassigned target OpenObservation rewriting belongs to Overseer observations stewardship; ordinary Gameplay authority is append-only. Route the proposed merge-preview guard refinement without editing historical entries. View routed finding - Trivial
Restructure the CONNECT_SCOPE_MISMATCH guidance into separate current-state and target-behavior parts, following the two-part structure used by JOIN_REQUIRED. Keep the current limitation about withholding an actionable repair until issuance reread and runtime/deployment proof distinct from the target flow for completing Join & Play, discovery or creation, fresh-token issuance, and socket retry.
- Accepted Split frontend CONNECT_SCOPE_MISMATCH guidance into current unavailable repair and target fresh-discovery/Join-and-Play behavior, preserving all deny/retry boundaries.
- Trivial
Update the 2026-10-03 entry in the append-only inbox to make its reusable fresh-initialization rule explicit and add a reconsideration trigger or proposed guard location so a later health check can decide whether to remove it; retain the entry only for that reusable guidance, not as a record of the completed fix.
Route · PR #2848 → Unassigned target OpenRoute fresh-initialization observation refinement to Overseer stewardship. Gameplay is append-only outside assigned health checks; retain the existing reusable rule and historical context. View routed finding - Trivial
Split the Game Session bootstrap/reconnect paragraph into distinct Current and Target sentence blocks: keep the existing
sessionctx:*keys and uniqueness under Current, and place thesession:game:{tenantGameplayTag}:...mapping, allocation, and uniqueness rules under Target. Keep the tracker links with the relevant block and remove the trailing blank line.- Accepted Separate current sessionctx implementation from canonical target namespace/tag allocation rules and owner tracker links without changing identity semantics.
- Hosted Review 3 CompletedRuntime 12m 10sFound: 2 Accepted: 0/1/1 Routed: 0
- Remove the unsupported current-flow claim.Minor
Line 106 states that the live Account membership handler fails before data access and Game Session maps the result to
WORLD_ACCESS_DENIED. This blocks the composedLOGIN -> PLAY -> LOOKpath for existing members, too. Replace the claim that existing members may use the current path with target-only or local-branch wording until live admission is established.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Remove unsupported current playable Telnet claim; retain TLS modes, local JOIN seams and canonical target sequence while stating live authority prevents composed PLAY.
- Report a diagnostic when the shared client certificate does not verify.Trivial
Line 196 runs
openssl verifywithout a check.set -eexits on failure, but the user sees only raw OpenSSL output. The sibling checks print a "Compose mTLS ..." diagnostic. Wrap this call in the same pattern. This change does not alter behavior.Proposed fix
- openssl verify -CAfile "$authority_dir/ca.crt" "$authority_dir/client.crt" >/dev/null + if ! openssl verify -CAfile "$authority_dir/ca.crt" "$authority_dir/client.crt" >/dev/null; then + echo "Compose mTLS shared client certificate does not verify under the authority CA." >&2 + return 1 + fi- Accepted Wrap shared-client openssl verification with bounded Compose mTLS stderr diagnostic and nonzero return, preserving fail-closed behavior; validate existing certificate contract.
- CLI Review 5 CompletedRuntime 4m 20sFound: 7 Accepted: 0/2/4 Routed: 0
- Minor
Update the /auth/connect-token issuance description to limit pointer, visibility, and membership revalidation to fresh issuance or cache misses, and explicitly state that a cached-success replay can return without those fresh reads.
- Accepted Scope issuance-time pointer/visibility/membership revalidation to fresh issuance or cache miss; cached-success replay can return before those fresh reads.
- Minor
Update the “Runtime authority checks” statement in the architecture document to present PLAY membership and entitlement evaluation as target or attempted behavior, not as a successfully established live check; make its status consistent with the documented live Account reader limitation.
- Accepted Clarify attempted/target PLAY membership and entitlement evaluation versus the live Account fail-closed reader boundary; no authority behavior changes.
- Major
Update both expired-scope checks in the JOIN flow to report CONNECT_SCOPE_INVALID instead of retryable AUTH_UNAVAILABLE; ensure the caller receives that outcome and the operation row is either recorded with that diagnostic while remaining PENDING or transitioned through failedJoin to a terminal state.
- Rejected Repeated unsafe expiry proposal. Authentication's current JOIN recovery contract keeps expired uncertain PENDING intents retryable AUTH_UNAVAILABLE and readback-only. Only exact positive prior-commit evidence may terminalize; expiry cannot invent a definitive outcome or fresh-scope retry.
- Trivial
Revise the admission summary around PlayCommandHandler to report implementation status and proof only: retain the focused unit-test boundary and that live Account readers reject before data access, and link to the canonical admission contract for eligibility, JOIN_REQUIRED, selection, and error rules. Remove the duplicated behavioral details without changing the separate status and proof gaps.
- Accepted Keep the implementation tracker focused on capability status and focused proof, linking canonical Authentication/ADR 0025 instead of duplicating admission rules.
- Trivial
Update the collecting observer’s onError method in VirtualCurrencyGrpcServiceTest to throw an AssertionError when called, matching the approach in PaymentGrpcServiceTest so transport errors fail the test directly.
- Accepted The collecting observer must fail on unexpected transport onError; align with the sibling Payment test rather than silently ignoring it.
- Trivial
Update AccountMigrationVersionTest to locate the db/migration directory through the classpath rather than a working-directory-relative path, then convert the resource URL to a Path before listing its files.
- Accepted The migration-version fixture belongs to this PR's V37/V38 proof and should locate packaged migrations through the classpath, independent of working directory.
- Trivial
Update
assertNoConfiguredPathto call the existingpathPatternMatcheshelper instead of parsing and matching each configured path inline; preserve the current assertion behavior.- Accepted Cheap in-PR test-helper consolidation: reuse pathPatternMatches without changing concrete/pattern negative-route assertions.
- Hosted Review 4 CompletedRuntime 10m 33sFound: 4 Accepted: 0/3/0 Routed: 1
- Clarify the receipt condition before payload cleanup.Minor
“Terminal minimized receipt” does not show how terminal status relates to minimized evidence. State both properties explicitly.
Proposed wording
-After a matching terminal minimized receipt, +After a matching receipt provides terminal status and minimized evidence,- Accepted Accept Minor wording correction: require both matching terminal status and minimized evidence before producer-payload cleanup. Pending bounded documentation fix.
- Use the caller-stable retry identity terminology.Minor
“Caller retry identity” is ambiguous. The target contract uses a caller-stable
requestId.Proposed wording
-because the current proto lacks the caller retry identity, +because the current proto lacks a caller-stable `requestId`,- Accepted Accept Minor caller-stable requestId terminology correction in CreateSubscription status. Pending bounded documentation fix.
- Name the reconnect and cutover flows directly.Minor
The slash in “reconnect/cutover consumption” leaves the scope unclear. State which flows do not yet consume admission-pointer truth.
Proposed wording
-Broader reconnect/cutover consumption of admission-pointer truth and operator pointer tooling are incomplete. +Reconnect and cutover flows do not yet consume admission-pointer truth broadly, and operator pointer tooling remains incomplete.- Accepted Accept Minor status clarification naming reconnect and cutover separately; preserve both incomplete and operator-tooling gap. Pending bounded documentation fix.
- Align tenant-scoped profile access across Social Groups and Account.Minor
When a caller with account subject
Ahas tenant access and requests a presence policy for accountB, Social Groups allows the request, but Account rejects theGetProfilecall becauseAdoes not matchB. The update path also fails on its preliminary profile read, so Social Groups can report the read or update as unavailable. Restrict these handlers to the caller’s account, or add an explicit scoped Account authorization path if tenant-level access is intended. Friend-roster reads useListPresenceVisibilityPoliciesand are not affected.Route · PR #2848 → PR #2975 OpenRoute Social Groups presence-policy caller/tenant authorization mismatch to #2853 for independent adjudication. Account caller-only profile guard must remain unchanged. View routed finding
- CLI Review 6 CompletedRuntime 5m 02sFound: 5 Accepted: 0/2/1 Routed: 0
- Minor
Remove implementation status, route availability, and proof-gap details from the
AUTH-02current-choice cell; retain only the accepted target authentication flow and decisions. Move those status details to the owning implementation tracker, and apply the same cleanup to the corresponding row at line 101.- Accepted Accept Minor authority separation: AUTH-02 decision inventory retains accepted target sequence; move current implementation/proof status to owning tracker. Pending doc fix.
- Major
Update both connect-scope expiry checks in the JOIN flow to terminally fail the operation with CONNECT_SCOPE_INVALID via failedJoin, rather than recording AUTH_UNAVAILABLE and returning a pending failure. Locate the checks in the flow around validateRetainedScope and apply the same behavior at both expiry branches.
- Rejected Reject repeat: expired uncertain PENDING JOIN must remain AUTH_UNAVAILABLE/readback-only; absence or scope expiry cannot prove failure or authorize a terminal mutation.
- Minor
Revise the current-state claim around
CHARSandPLAYto state that production roster discovery and access are unavailable untilListCharactersByAccountandCharactersupportplayableStateNamespaceId; distinguish any working first-party bootstrap character path explicitly rather than implying all paths use the selected realm’s scope.- Accepted Accept Minor tracker clarification: local/bootstrap proof does not establish live selected-realm PLAY until Entity roster request/response carries stable namespace. Pending doc fix.
- Trivial
Update recordUnresolvedAttempt and the reconciliation monitoring flow so rows with persistently non-resolvable reasons do not remain due indefinitely: define a bounded-age retention or operator-resolution path, and alert when maxAttemptsReached rises or the due.backlog gauge grows. Preserve retry behavior for rows that may still resolve.
- Rejected Already implemented observability: due backlog/excess/unknown gauges, first max-attempt threshold counter and WARN, excess-backlog WARN and deterministic tests. Aging out uncertain intents or inventing operator terminalization conflicts with positive-proof-only recovery; no unsafe retention change.
- Trivial
Add a separate test alongside deleteAccountFailsClosedBeforeServiceMutation that sets no session and asserts the expected result when neither a role nor the delete workflow is available, making the authorization-versus-workflow check order explicit. Keep the existing platform-admin test unchanged.
- Accepted Accept Trivial missing no-session DeleteAccount denial proof. Keep admin workflow-unavailable/player authorization cases; add unauthenticated precedence and zero service interaction.
Routed Findings
Route 1 · PR #2847 → PR #2848 Accepted/FixedMajorPublic Account runtime gRPC reads lack exact caller binding
Outcome: Published0b2b4ee71002bbc339638573234578184b7ee0bf: AccountGrpcService and application.yml deny before data access; AccountGrpcServiceTest missing/wrong/exact/cross-target negatives executed in composed localcheck. Live typed authority stays gated; source counts unchanged.
Earlier routing and proof
- Target history: PR #2848: Current #2848 8f7243577 removes public bypass and denies runtime reads before data access pending typed authority. Proof/owner note: https://github.com/benhook1013/FireMUD/pull/2848#issuecomment-5893038820. #2840 does not claim this descendant fix.
Earlier decisions
- Accepted Published0b2 retains exact Game Session peer guard and unconditional typed-context FAILED_PRECONDITION before runtime reads; public bypass removed. Correctly contained, not enabled Unit1B authority.
Route 2 · PR #2847 → PR #2848 RejectedMajorUpdate LoggingAdminClient.logPayment to append the payment audit event through AccountAuditOutboxRepository, reusing the outbox path used for registration and JOIN events instead o
Update LoggingAdminClient.logPayment to append the payment audit event through AccountAuditOutboxRepository, reusing the outbox path used for registration and JOIN events instead of calling deliver.
Outcome: At5422b63: logPayment has only unsupported PurchaseWorkflow caller, itself without production calls. PaymentGrpc denies generic commerce. Stripe V1/Implementation Status defers it (ADR0143/0179). Static proof only; negative tests not rerun.
Earlier routing and proof
Earlier decisions
- Rejected Reject current-PR expansion: only unsupported PurchaseWorkflow calls logPayment; it has no production caller. PaymentGrpc denies generic commerce before dispatch. Stripe owner V1 scope/ADR0143/0179 defer this path; registration/JOIN outbox remains required. No source-count change.
Route 3 · PR #2848 → PR #2846 Accepted/FixedMajorHosted Social Groups leaf cannot satisfy Account exact peer guard
Account profile and presence guards require exact Social Groups SPIFFE peer; hosted Helm and Kustomize still mount shared gRPC leaf and hosted cert issuance omits this workload.
Outcome: Published a181ff392adc9706cf7313ea05fe562222efa311: k8s/base/social-groups-service.yaml and hosted-identity-controller-manifest-contract.sh prove distinct leaf/issuance/common trust. Manifest contracts and 425 controller tests pass. Descendant inheritance/live serving remain separate.
Earlier routing and proof
Earlier decisions
- Accepted Verified already fixed in published a181ff392adc9706cf7313ea05fe562222efa311: hosted issuance and Helm/Kustomize bind a distinct Social Groups leaf; served probe and common trust are included. No new source finding or source-count change.
- Routed Accepted deployment defect; #2846 is the distinct workload-certificate owner, and its correction must propagate into #2848 before completion.
Route 4 · PR #2848 → PR #2975 OpenMinorAlign tenant-scoped profile access across Social Groups and Account.
When a caller with account subject
Ahas tenant access and requests a presence policy for accountB, Social Groups allows the request, but Account rejects theGetProfilecall becauseAdoes not matchB. The update path also fails on its preliminary profile read, so Social Groups can report the read or update as unavailable. Restrict these handlers to the caller’s account, or add an explicit scoped Account authorization path if tenant-level access is intended. Friend-roster reads useListPresenceVisibilityPoliciesand are not affected.Outcome: Route Social Groups presence-policy caller/tenant authorization mismatch to #2853 for independent adjudication. Account caller-only profile guard must remain unchanged.
Earlier routing and proof
- Target history: PR #2975: Verified at 4d50b2e545: Social policy handlers retain tenant/global-role cross-subject admission, while Account profile contract requires exact self subject. Social receiver owner is #2975, not #2853; fix awaits canonical Friends codec.
Route 5 · PR #2848 → Unassigned target OpenTrivialUpdate the 2026-10-03 entry in the append-only inbox to make its reusable fresh-initialization rule explicit and add a reconsideration trigger or proposed guard location so a later
Update the 2026-10-03 entry in the append-only inbox to make its reusable fresh-initialization rule explicit and add a reconsideration trigger or proposed guard location so a later health check can decide whether to remove it; retain the entry only for that reusable guidance, not as a record of the completed fix.
Outcome: Route fresh-initialization observation refinement to Overseer stewardship. Gameplay is append-only outside assigned health checks; retain the existing reusable rule and historical context.
Route 6 · PR #2848 → Unassigned target OpenMinorRemove the completed observation.
The entry says setup now restores owner-only permissions and the focused contract proves both first-call state and repeated-call preservation. It records no remaining blocker or deliberate postponement.
As per path instructions, “Retain it only when a genuine blocker or deliberate postponement remains, recording the reason and reconsideration trigger.”
Proposed removal
-- `2026-10-03`: Assert fresh initialization before testing idempotence - - Context: The Compose mTLS certificate contract checked private authority-directory permissions only after running setup twice. - - Observation: The second call repaired the first call's incorrect permissions, so the passing contract masked a broken fresh-initialization postcondition. - - Expected pattern: Assert the first-call postconditions before any verification or idempotence rerun, then separately prove the rerun preserves the valid fixture. - - Outcome: Setup now restores owner-only authority permissions after generation, and the focused contract independently proves the first-call boundary and repeated-call preservation.Outcome: Route to Overseer observations stewardship: completed entry cleanup is outside ordinary worker append-only authority. No source fix or taper obligation; receiving owner decides whether to remove it.
Route 7 · PR #2848 → PR #2846 Accepted/FixedMajorHosted Social Groups Account calls need their distinct projected peer identity
The #2848 tree still carries the old shared-certificate call site, which the exact Account peer guard denies.
Outcome: Published a181ff392adc9706cf7313ea05fe562222efa311: k8s/base/social-groups-service.yaml and hosted-identity-controller-manifest-contract.sh prove distinct leaf/issuance/common trust. Manifest contracts and 425 controller tests pass. Descendant inheritance/live serving remain separate.
Earlier routing and proof
Earlier decisions
- Accepted Verified already fixed in published a181ff392adc9706cf7313ea05fe562222efa311: hosted issuance and Helm/Kustomize bind a distinct Social Groups leaf; served probe and common trust are included. No new source finding or source-count change.
- Routed Duplicate of the previously routed #2846 identity fix, published there before this review. #2848's moving #2847 base has not incorporated it; #2847 has a dependency comment. No separate #2848 fix.
Route 8 · PR #2848 → Unassigned target OpenTrivialUpdate the observation around the “Expected pattern” in the append-only inbox: keep the reusable merge-preview lesson, but replace the ordinary conflict-resolution Outcome with a p
Update the observation around the “Expected pattern” in the append-only inbox: keep the reusable merge-preview lesson, but replace the ordinary conflict-resolution Outcome with a proposed repository rule or guard that validates
git merge-tree --write-treeusing its exit status. Retain the entry’s historical context without treating the specific conflicts as an ongoing inbox item.Outcome: Observation rewriting belongs to Overseer observations stewardship; ordinary Gameplay authority is append-only. Route the proposed merge-preview guard refinement without editing historical entries.
Route 9 · PR #2898 → PR #2848 Accepted/FixedMajorRemove the public gRPC bypass for the runtime reads.
Both Account profiles bypass
AuthTokenInterceptorfor these methods. The handlers pass caller-supplied identifiers directly to service methods that query byaccountIdandtenantId, or bytenantIdalone. Enforce the exact workload identity and typed tenant-bound context required by the route matrix, then add missing-token, wrong-workload, and cross-tenant denial tests.Outcome: Published15f3482b4fc0ca7d115e9c5b5e0bb7779e9192aa: AccountGrpcService and both profiles close the old bypass. Fresh63 AccountGrpc/interceptor cases passed, including missing/wrong peer and cross-target denial before AccountService interaction. Typed positive authority remains unavailable.
Earlier routing and proof
- Target history: PR #2848: Exact public runtime-read bypass is already contained in the Account-owned #2848 patch; typed authorized reads remain separate target-only authority work.
Earlier decisions
- Accepted Accept containment already implemented: both methods removed from public profiles, exact Game Session peer enforced, then bare unbound requests fail before Account reads. No working typed authority is claimed.
Unlinked items
no items unlinked