PR #2961 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: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 2 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Hosted Review 1 CompletedRuntime 3m 56sFound: 1 Accepted: 0/1/0 Routed: 0
- Add the V29 Account identity anchors to the
AA-1.1capability row.MinorLine 9 says that Account now persists immutable UUID identity with provenance. The
AA-1.1"Account and profile identity" row (Line 34) is the capability that owns this storage. That row does not list any of the new production anchors:V29__account_identity_uuid_bridge.sqlAccountRepository.javaAccountIdentityProvenance.java
The row also does not list
AccountRepositoryIntegrationTest.javaas a proof anchor. The "Current Status" prose and the scan-first status surface now disagree.Keep the status values
partial/drift-found. Add the anchors. In the gap cell, record that the UUID is storage-only, that no carrier consumes it, and that the PostgreSQL cases were skipped.The Game Session
gameplay_command.account_uuidstorage is also unanchored. AddV11__gameplay_command_account_uuid.sqlandGameplayCommandRepository.javato theAA-2.1row, or record that storage as a secondary handoff.As per coding guidelines: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes" and "the capability rows are the complete scan-first status surface."
- Accepted Minor current-PR tracker alignment: add V29 identity and V11 command-storage implementation/proof anchors and storage-only carrier/PG limits; keep partial/drift-found. Implement in this batch.
- CLI Review 1 CompletedRuntime 1m 36sFound: 4 Accepted: 0/1/3 Routed: 0
- Trivial
Update the account-table bullet in the Data Model section to include the immutable UUID bridge and its provenance and unchanged numeric source-row identity, matching the V29 columns already listed in Implementation Status.
- Accepted Accept Data Model alignment: document UUID, provenance and unchanged source numeric row alongside Account storage, without claiming authentication carrier activation.
- Minor
Update the tracker sections alongside Current Status: add the V29 migration and AccountRepository.java as AA-1.1 implementation anchors, and AccountRepositoryIntegrationTest.java as its proof anchor. Link the V11 migration and GameplayCommandRepository.java from AA-2.1 or record them as a handoff, keeping statuses and implementation records consistent. Replace the documentation-only validation statement with the actual proof state: focused PostgreSQL cases are present but were skipped locally without Docker.
- Accepted Accept tracker alignment; same current-PR obligation as Hosted comment4172438080. Add identity/command-storage and focused PG anchors, preserving partial/drift-found and carrier limits.
- Trivial
Update the account_identity_source_row_on_insert trigger function to reject new rows whose account_uuid_provenance is ACCOUNT_V29_MIGRATION, raising a check-violation error before assigning account_uuid_source_numeric_id. Preserve the existing source-ID assignment and return behavior for other provenance values.
- Accepted Accept reserved-provenance guard: new rows must not claim retained V29 migration origin. Preserve exact row source assignment; add PG insert rejection proof.
- Trivial
In the update branch of GameplayCommandRepository.save, remove the ACCOUNT_UUID assignment so updates preserve the UUID established on insert. Add a repository case that saves a command with an account UUID, updates it with accountUuid null, and asserts the stored UUID remains unchanged.
- Accepted Accept command UUID evidence preservation: updates must not erase/reassign insert-bound UUID; add null-update and changed-value repository regression.
- Subagent Review 3 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
Routed Findings
No routes recorded
Unlinked items
no items unlinked