Skip to content

Unit 1B: lifecycle, tenant-source and canonical Account identity - #2923

Closed
benhook1013 wants to merge 28 commits into
codex/unit-1b-fresh-tenant-creationfrom
codex/unit1b-membership-authority-lifecycle
Closed

benhook1013 wants to merge 28 commits into
codex/unit-1b-fresh-tenant-creationfrom
codex/unit1b-membership-authority-lifecycle

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Current General pre-review closeout

Published candidate 699a25e022c9224d24b7a491ee4ab1d4a67f22f2, 94 unique paths, normally integrated onto exact own #2915 a14dd378ca08f16ddf84c27d0f9878b1c1030226. All original 92 paths survive as 88 unchanged locations plus four byte-identical child migration renames; the two additional paths provide inherited migration-version proof. This is the commissioned pre-review closeout, not CodeRabbit taper or merge-readiness evidence.

All five whole-boundary rounds are complete: 15 raw / 2 accepted Minor / 4 routed (3 Major, 1 Minor) / 9 rejected or duplicate. Both accepted source corrections are fixed and recorded/read back in the shared controller. The last two rounds add no new source-owned obligation; their outside-owner reports remain routed, not accepted source fixes. No additional discovery is assigned.

Reconciliation and preservation

  • Parent Account, Game Session and Game Design migrations are preserved byte-for-byte (44, 12 and 34 resources respectively). Account's child LEFT-receipt migration is now V42; Game Session's authored-world, retained-association and command UUID migrations are V7.1, V8.1 and V9.1. Their SQL contents are unchanged; Flyway numeric-order/uniqueness proof is updated. No repair, out-of-order bypass, identity cast or invented compatibility mapping is introduced.
  • Keep the stronger persisted Account UUID/provenance admission, exact immutable owner evidence, short owner transactions, retryable sanitized read failures and expired-scope readback-only recovery. Legacy grant writers remain unavailable before mutation.
  • Reconciled positive fixtures now supply the exact retained UUID evidence required by the parent; contradictory PLAY evidence asserts AUTH_UNAVAILABLE with no downstream or binding mutation. The outbox fixture supplies INSERT RETURNING/readback evidence. Invalid, expired, cross-account and unavailable-evidence negatives remain. The analyzer-detected unused numeric fixture helper is removed; production guards are not relaxed.
  • The parent's operation-specific database-identity guard, required per-mode Secrets, independently trusted live cluster-binding containment and all runtime/credential activation gates survive. These guards do not prove effective database grants or provision live credentials.

Executed proof and limits

The final canonical native gate passed 201 tasks (20 executed / 181 up-to-date): full Account, Game Design, Game Session and Common Security checks; enabled formatting, Checkstyle/SpotBugs; Account/Game Session jOOQ generation; all three boot JARs; links and Markdown. Current same-source XML reports contain 3,796 cases, 3,365 passing and 431 skipped, with zero failures/errors. Account units reran fresh; other passing checks reuse the preceding corrected-state run where unchanged. Skipped PostgreSQL/container cases are not execution proof. Links report zero errors and Markdown zero issues. The existing configuration-cache warnings discard that cache but do not fail the gate.

Also passed: all 12 Flyway sets (144 files), boot-JAR migration-byte readback against the exact parent, 74 offline response-envelope Python cases, 23 CI-scope Node cases, actionlint, the tenant-association Helm contract, ShellCheck and diff hygiene. No fresh-image, authenticated end-to-end, deployed migration-history/readback, effective database-role grants, trusted live cluster binding or live activation is claimed. Exact-head hosted CI remains a separate gate after publication; stacked branch-protection lookup is unavailable (HTTP 404), not evidence of green required checks.

Routed obligations

UUID LOGIN alignment remains on #2932. Profile output is corrected in #2929. Shared JWT identity helpers and Social numeric profile callers remain previously reported unassigned owner decisions in the controller, not fixes claimed here. Full Unit 1B activation and end-to-end convergence remain denied pending their owning proof.

Preserved earlier scope, proof and historical checkpoints (superseded)

Current General pre-review checkpoint

Published head aceddfff3a53bc7547fe5862c7a6b35ba2d202d5, 92 unique paths, on exact own #2915 350152c7352698a580d3a85a2def85a6545a3123. All92 paths and identical entire stable unique patch 8614dbaac3cad34db6ca8d50f39ef29d3abe466e survive the parent forward. Original V35/V37 and guarded four-table empty-only V39.1 transition/retained-data refusal are preserved. Incoming closed-tuple, decimal-string membership evidence and live-materializer containment remain parent-owned.

All five assigned fresh whole-boundary rounds are complete: 15 raw /2 accepted Minor /4 routed (3 Major,1 Minor) /9 rejected or duplicate. Each covers the entire unique patch, all changed tests/fixtures and necessary owner context. The last two rounds produce zero new source-owned obligations: round4 repeats the known LOGIN route; round5 repeats LOGIN and routes profile output to its existing correction in #2929. That target is verified/resolved at published070b286db3, not duplicated here. Both accepted local corrections are fixed and recorded/read back. The retained-association owner read distinguishes retryable connection/resource failures from permanent jOOQ errors; ten fresh RPC negatives pass with zero failures/errors/skips, including four sanitized no-partial-content cases. The alleged Java exception inheritance defect is disproved by unrelated imports. No more broad discovery is assigned.

The earlier authored-world intake correction verifies exact immutable owner evidence outside a transaction, rejects active caller transactions, and registers source/receipt in a short owner transaction with rollback proof. Seven focused units,27 Game Design configuration/admission units and full Game Session check/JAR remain preserved proof; five new PostgreSQL intake cases compile/discover but skip without Docker. Current parent-forward proof passes full Common Security checks, enabled Account/Game Session formatting,14 fresh Account source-verifier and100 fresh PLAY cases,74 offline response-envelope Python cases, links/Markdown and hygiene (131 tasks:18 executed/1 cache/112 up-to-date). The19 codec cases executed on the same candidate in the preceding run, whose Account filter used the wrong package; the corrected complete command passed. No skipped database case is credited. Later own-parent movement is an alignment gate, not additional discovery credit.

UUID LOGIN alignment is routed to #2932. Profile output is already corrected by #2929. Shared-authentication numeric UUID parsing and Social profile numeric selectors remain two unassigned routed obligations awaiting Overseer owner assignment; they are not accepted source fixes and end-to-end convergence is not claimed. The multi-catch allegation was rejected because imported JOOQ/Spring exceptions are distinct; the duplicate-runtime snapshot allegation was rejected against actual database uniqueness.

Legacy realm-grant POST/DELETE and direct-service writers remain fail closed before mutation. No partial grant lifecycle, numeric alias or retained-row reinterpretation is enabled. Unit1B runtime/credential/context activation, database/live proof and exact-head CI remain separately gated. No CodeRabbit or taper/merge-readiness credit.

Preserved earlier scope and proof

Prior exact-head checkpoint (superseded)

Published head c8444bb1af61ac1d3682b15af7573d7f15a453ff, 91 unique files, on unchanged #2915 5cf51fb3ad324b042289e11b03e3d6af1c82cdd1. Non-draft in the configured train; no auto-merge or CodeRabbit/Hosted/CLI request. The 90-file warning applies; no scope above100 is published.

The known legacy realm-grant POST/DELETE previously allowed privileged callers to increment four-field grant rows or hard-delete them without lifecycle identity, expiry, expected revision, immutable request result or tombstone. Both otherwise-valid HTTP operations now return existing AUTH_UNAVAILABLE before AccountService dispatch; direct service grant/revoke also deny before repository/account access. Authentication/global-role and malformed-input checks remain. Retained rows are unchanged. The unsupported writer is contained, not replaced by a partial grant lifecycle; full ADR0138 authorization, mutation/event and active-binding proof remains open.

Full local Account check, formatting/static analysis, service JAR, links and Markdown passed70tasks(23executed/47up-to-date), with511unit cases executed and zero skips/failures/errors. Strict case readback passed both new HTTP cases and both direct-service cases once, including platformAdmin/moderator, both verbs' missing/player authorization, repeated requests and changed payload under the same request ID, with no service/repository interactions. All159PostgreSQL cases skipped without Docker. Final proof wording passed links/Markdown3tasks(2executed/1up-to-date) and hygiene. This changed head has no new exact-head CI or fresh-image proof; historical runner results below retain their source attribution. #2929 is normally reconciled and published at 67dd8be6b3ef9d886e4b1dd26ec719cf9e29e4b3,51unique files, preserving its unique identity patch. The115-file gameplay child is normally propagated and clean locally at 05313dc921aafe4b09b9c2b2649b2097bdc9892d, with unchanged entire services/protos patch ID and passing218-task final composed gate; it remains unpublished pending explicit cap/review treatment. All runtime/credential/context/catalog and ring activation gates remain denied.

Prior availability and runner checkpoint

Published head b93efaedbaec8a36294a594a946a010641e345b4, 89 unique files, on unchanged #2915. Non-draft in the configured train, no auto-merge or Hosted/CLI request. Exact-head CI36900324924 completed aggregate FAILURE, with the full Account job SUCCESS. Strict UUID/OTP12, HTTP3 (including the corrected registration UUID/audit assertion), authority-generation3 and fresh UUID snapshot11 all executed with zero skips/failures/errors. Game Session's early authored-world5, retained-snapshot3, retained-association9 and command-storage/migration5 PostgreSQL gates also executed cleanly. Its wider check reached cross-service tests, reported19Communication WebSocket assertion failures and was cancelled; the later general strict verifier skipped. No per-case artifact proves the15availability unit rows independently, and no full Game Session, aggregate or end-to-end success is claimed. Common Test Support full check passed without an asserted case count. Python Ruff, the stale dev-demo summary validator, Automation, Game Design and TCP failures remain separate gates; source-component successes do not erase them.

The held-back membership producer now carries explicit authorityAvailability=AVAILABLE; the Game Session consumer requires it before admission, JOIN_REQUIRED or non-public outcomes, with15new missing/unknown/unavailable lifecycle-negative cases and no downstream mutation. The live RPC remains denied and unsupported advanced source history still fails closed. The HTTP registration audit fixture now asserts the persisted UUID response/payload instead of the obsolete private numeric key, without dropping tenantless/no-membership/profile proof; this case is mandatory in early strict CI. The local World stub free-port race is corrected using its existing port-zero/bound-port interface with unchanged assertions.

Corrected local Account/Game Session/Common Test Support full checks, both JARs, formatting/static analysis and docs passed166tasks(25executed/141up-to-date). Game Session executed1,764unit,18non-PostgreSQL integration and1cross-service cases without failures/errors;17unit/133integration/33cross-service skipped. Account508unit and Common Test Support43unit cases passed in the preceding same-code run and were up-to-date in the final gate. All159Account PostgreSQL cases compiled/discovered but skipped locally. Final status docs passed7tasks(2executed/5up-to-date); actionlint, CI-scope23 and hygiene passed. The first combined gate's exact bind failure and recovery are recorded in AI observations. No authenticated end-to-end, fresh-image, live handoff, activation or merge readiness is claimed.

The canonical profile and management-owner UUID correction is published separately in #2929 bfca5cebb6605025c09b724a6a5b85f9c57946d6,51unique files, non-draft and stacked on this exact head. Its final commit records proof/diagnostic limits only; code/test source remains96fb1b803. Initial source73 CI36909989685 exposed overlong fixture usernames and a String JDBC bind to the UUID column. Both causes were proved and corrected without relaxing assertions. Exact corrected-source CI36912843232 strictly passed V10 migration, changed-owner snapshot and both Account profile cases, each executed once without skips/failures/errors. Aggregate CI remains FAILURE: Game Session reached16behavioral assertions before cancellation, with no report artifact or observed responses proving their precise cause. Local full checks/JARs passed162tasks; final evidence docs3tasks. Local PostgreSQL tests remain skipped, and no runtime activation is authorized.

The preserved local Game Session UUID child normally incorporates published #2929 bfca5cebb6605025c09b724a6a5b85f9c57946d6 at clean 16bd1c14537b25558b4b98dffe7f5de2ab058657,115unique files, and remains unpublished pending explicit cap/review treatment. Normal ancestry retains both implementations and the required synthetic-authority fixture corrections. Composed shared-support/Game Session/TCP checks, both affected JARs and docs passed189tasks(64executed/125up-to-date); final documentation-parent composition passed186tasks(14executed/172up-to-date), with final tests up-to-date. Shared44unit and TCP194unit/7integration/3cross-service cases executed cleanly, as did Game Session18non-PostgreSQL integration/1cross-service; its1,773unit results were up-to-date from the preceding same-code executed gate. Game Session17/135/33skips and TCP14cross-service skips remain explicit. These fixture corrections do not prove the precise cause or repair of the16runner assertions, complete real owner handoffs or production Game Logic/Social/Entity consumer identity. Complete issuer/registry/bundle and authenticated positive runtime handoff remain open. Other historical results below retain their exact source-head attribution.

Prior public-registration checkpoint

Published head 91c062f6b43159ee57a3d53c82e940014728047f, 86 unique files, on unchanged #2915 5cf51fb3ad324b042289e11b03e3d6af1c82cdd1. Non-draft in the configured train, no auto-merge, no Hosted/CLI request. Earlier evidence below remains historical and does not prove this correction.

Exact current-head CI36894720732 is active under a fresh read-only sentinel. Preceding exact 1ac20b0e387ff085ff15dcf39dfea2fcc3607436 CI36891813297 completed aggregate FAILURE, but its full Account job succeeded: strict UUID/OTP/bootstrap12 plus HTTP2, authority-generation3 and Game Session command-storage/migration5 all executed with zero skips/failures/errors. The corrected OTP setup and exact composite lock-blocking method each passed once. Those results resolve their named source-head proof gaps, not the subsequently changed registration/audit assertion. Wider Game Session was cancelled; Python lint, the stale dev-demo summary contract, Automation formatting, Game Design's previously routed duplicate-key fixture and TCP's PLAY AUTH_UNAVAILABLE failures remain concrete wider gates. No aggregate, fresh-image, live handoff or end-to-end admission success is claimed.

The local Game Session successor has normally incorporated this exact parent at b26efb3fdcc6b4ed095353fb6eca189a0c9923a7, with every preceding Game Session service hunk unchanged; its tracker-only closeout is 0f7346f6cdb51b9f36997ed5397e105c93a1ff0f. It remains108unique files and unpublished pending cap treatment. Composed full Account/Game Session checks/JARs and docs passed154tasks(79executed/13from-cache/62up-to-date): Game Session executed1,752unit,18non-PostgreSQL integration and1cross-service cases without failures/errors;17unit,133integration and33cross-service skipped. Account508unit and159skipped PostgreSQL results were restored from cache, not newly executed. Final status docs passed3tasks(2executed/1up-to-date). Its Account UUID session/presence/client boundary does not fix the separate management/catalog ownerAccountId numeric carrier: dev-demo passes the bootstrap UUID, while the existing StartSession producer/request still parses/stores a positive Long. This is required Game Session-owned carrier convergence, not an external consumer of the newly corrected registration DTO.

Registration and local Account export now return the exact persisted canonical UUID in AccountDto.id; CreateAccount carries it unchanged and new registration audit payloads bind it under platform scope. Private numeric storage keys remain internal, the unused reverse mapper is removed, and retained audit history is unchanged. Export rejects contradictory/unmapped identity before profile reads. OpenAPI, proto comments, caller fixtures and source/audit assertions converge together. Full local Account check/JAR and docs passed70tasks(42executed/28up-to-date), with508unit cases executed without skips/failures/errors; all159PostgreSQL cases compiled/discovered but skipped without Docker. Final status docs passed3tasks(2executed/1up-to-date), and diff hygiene passed. The changed registration/audit readback requires exact-head runner proof; earlier source CI does not prove it. Other profile/tenant identifiers and the complete issuer/registry remain required work, not completed by this component.

This checkpoint fixes the exact runner's Mockito setup failure by configuring/verifying the ultimate spy target while leaving the tested Spring proxy and real transaction assertions intact. It adds mandatory Account-local PostgreSQL proof of issuer/tenant advancement blocked by the exact held composite-snapshot backend, independent tenant/membership scope sets, and missing-scope denial without enrollment. Complete immutable authority-bundle/registry and credential issuance remain unimplemented gates. The affected local full Account check/JAR and docs passed70tasks(14executed/56up-to-date), with506unchanged unit results up-to-date and all159PostgreSQL cases compiled/discovered but skipped without Docker. Final status docs passed7tasks(2executed/5up-to-date); actionlint, CI-scope23 and diff hygiene passed. Corrected-head CI36891813297 is pending under a fresh read-only sentinel.

Account now authenticates using the exact persisted canonical UUID in its result and signed subject/Account claim. Supported profile/self-service consumers authorize that exact subject before the Account-owned provenance-checked private-row lookup; no numeric identity alias is accepted. Disabled deletion, factor mutation and tenant export remain denied before mutation. Game Session V9 adds exact UUID command storage while preserving all existing numeric evidence and complete retained rows, with no guessed mapping or backfill. The Game Session UUID carrier consumer is an isolated unpublished successor candidate; current numeric LOGIN/catalog and other owner consumers are not claimed complete. Neither storage nor producer component proof enables admission.

Consolidated local Account/Game Session full checks and JARs passed: 156 tasks, 72 executed/84 up-to-date; formatting, Checkstyle, SpotBugs, JaCoCo and docs green. Account502 unit cases executed in the preceding same-code gate; final unit task was up-to-date. Game Session1,747 unit,18 non-PostgreSQL integration and1 cross-service case executed without failures/errors. Account149 PostgreSQL cases all skipped; Game Session17 unit/133 integration/33 cross-service skipped. These include the three new persisted-UUID/profile no-mutation cases and five command UUID storage/migration cases. A fixture missing-row analyzer defect was fixed with explicit required-row readback, not suppression. Final storage compile/analyzers/docs passed93tasks(17executed/76up-to-date), status docs7tasks(2executed/5up-to-date), Actionlint, CI-scope23, Flyway12sets/127files and diff hygiene passed. The final repository update proof changes attempt state while retaining the same UUID; no identity reassignment is claimed.

Pre-correction CI36869808167 completed FAILURE on exact 47153d26ca38af56033962d0fc962842ddf9b7f7. All three new Account PostgreSQL cases executed with zero skips: two passed and the immutable-UUID update assertion failed because Spring returned DataIntegrityViolationException rather than jOOQ's exception type. The database guard rejected the update; strict Account inspection did not run after the failed assertion. Game Session's strict verifier proved all five new command-storage/migration cases executed once with zero skips, failures or errors. The broader Game Session check was cancelled after 18 Communication WebSocket failures; Python/dev-tools, Automation, Game Design and TCP jobs also failed. This is component proof, not green aggregate CI or end-to-end admission.

The current checkpoint corrects that Account exception assertion without weakening its exact guard-message or unchanged-row readback. It also extracts the existing membership-client canonical UUID guard into AccountIds with unchanged behavior and two focused tests; public signatures and direct-text callers remain unchanged in this prerequisite. The affected local full Game Session check/JAR and Account integration compilation/analyzers passed136tasks(32executed/104up-to-date), including1,749unit,18non-PostgreSQL integration and1cross-service executions with zero failures/errors. Seventeen unit,133integration and33cross-service cases skipped without Docker; new PostgreSQL execution is not claimed by that local gate. Status links/Markdown passed3tasks(2executed/1up-to-date).

Historical exact-head acd7693e7 CI36875629815 completed FAILURE overall, but both mandatory UUID groups passed strict verification: Account authentication3/3 and command storage/migration5/5, with zero skips, failures or errors. The previously failed immutable-identity assertion passed. Its two broader Account HTTP failures are owned stale fixtures from UUID route convergence: one expected the old numeric validation message; another used a numeric path/subject while intending to test tenant zero. This checkpoint corrects both without weakening their status, error or tenant guard assertions. Python10, dev-demo summary validation, Automation formatting, TCP13/17 and Game Design EntityDigest also failed. The broader Game Session job was cancelled after its strict component proof, so no full-job success is claimed. Historical snapshot3/association9 execution below belongs to 2e37b38f5, not this candidate.

The preceding Account batch fixed the throw-after-counter-write rollback defect across four email-OTP authentication entrypoints with method-scoped noRollbackFor=AuthenticationException; non-authentication storage failure continues to roll back challenge consumption. Exact source 6e5fc2321 CI36882689311 completed FAILURE overall, but strict Account9+2 and Game Session command storage/migration5 all executed once with zero skips/failures/errors; the entire Account job succeeded. This resolves the owned OTP and two HTTP assertions. Wider GS was cancelled after18Communication WebSocket failures; TCP13/17, Automation8/69, Game Design duplicate-9301, shared summary validation and Ruff10 failures remain. Fresh develop's summary validator passes, establishing stale-ancestry reconciliation rather than a new shared repair.

This published batch carries the proved persisted Account UUID in the player-bootstrap result/JWT and client-readable connect-scope token. Exact canonical string shape, matching subject/Account claim and provenance-backed source readback are required before resolving private Account storage/session selectors; no numeric compatibility is accepted. Trusted direct-text scope creation and retained JOIN reconstruction use the same owner proof. All lifecycle, selected-target, membership and credential activation guards remain. Three additional PostgreSQL cases cover real bootstrap OTP UUID issuance/one-use consumption and unmapped bootstrap/scope rejection without mutation or remote dispatch. The required runner gate now names all12UUID/OTP/bootstrap cases plus2HTTP assertions. Full local Account check/JAR, Java formatting, Checkstyle, SpotBugs, JaCoCo and docs passed70tasks(18executed/52up-to-date):506unit executed with no skips/failures/errors;158PostgreSQL cases compiled/discovered but skipped without Docker. The obsolete numeric assertion helper was removed rather than suppressing SpotBugs. Workflow lint, CI-scope23 and final docs passed. Exact-head runner proof remains pending; executed 6e5fc2321 does not prove this changed bootstrap batch. Tenant/catalog, Entity discovery and complete token registry/source/consumer proof remain open. The membership RPC, first-party credentials/context, catalog and ring mount remain gated; Unit1B is provisional and this PR is not merge-ready.

Exact source 56a222bf289caa710285bf8655eee1d04161b22e CI36888416843 completed FAILURE. Account12+2=14 executed without skips:13passed and one OTP case failed during proxy spy setup. All three new bootstrap UUID methods passed. Game Session strict command-storage/migration5 all executed once with zero skips/failures/errors; its broader check was cancelled after fail-fast. Python lint, unsupported dev-demo summary, Automation formatting, TCP13/17 and Game Design duplicate-9301 also failed. This evidence proves neither the corrected spy setup nor the new composite authority case.

The separate local UUID carrier candidate passes its complete Game Session check/JAR:1,752unit,18non-PostgreSQL integration and1cross-service case executed with no failures/errors;17unit,133integration and33cross-service skipped. Its clean 41ba77742f52047609e1839d22257cc78f2863db normally incorporates this exact Account parent, with all previous Game Session service hunks unchanged. The composed full checks/JARs and docs passed154tasks(17executed/11from-cache/126up-to-date), not new test execution. It remains unpublished at108unique files including owner consequence/status documentation, pending an approved cap treatment; required fixtures have not been dropped. This local proof is not authenticated end-to-end login or catalog proof.

The Platform Operations tracker records the missing authenticated ring publication/readback service and a bounded dedicated environment-owned S3-compatible store proposal. Publisher identity/store provisioning, sole-writer enforcement, exact-generation readback and live readiness remain required; no mount or infrastructure activation was published.

Historical receiver checkpoint

Boundary

Published cumulative candidate 8ea72168dc572c67a68fc034dd7bc47aff1191e0, stacked on unchanged #2915 5cf51fb3ad324b042289e11b03e3d6af1c82cdd1. This is a tracker-only descendant of executed source checkpoint 2e37b38f5fc022844f97ce654e4678771c620376; deterministic comparison confirms no service, proto, or workflow changes between them. The CI below belongs to that exact source checkpoint, not a newly executed run on this documentation-only head. This Account/Game Session authority-consumer stage contains retained-membership LEFT, immutable retry/current-INACTIVE evidence, the unwired authored-world intake consumer, Game Design's audited retained Game Session tenant association producer/read, and the unwired Game Session fenced snapshot/local receiver. It is not an activated route or a completed Unit 1B. The parent has 90 files and this child has 55 files. Both remain non-draft in the configured train, with no auto-merge enabled. The preserved nine-file handoff gives the parent a real cap buffer; subsequent child changes strengthen audit proof and implement the distinct authenticated association prerequisite.

  • Game Session owns the transferred tenant-source client, intake digest/repository/owner transaction, V7 migration, unit tests, five PostgreSQL cases and early strict CI gate. Original Game Design creation/authored-source producer/proto and shared source vectors remain prerequisite Unit 1B: tenant UUID/source producer and recovery prerequisites #2915. All nine moved files were byte-identical at redistribution merge 07583ac37; this checkpoint deliberately extends the client and its tests for the distinct retained association. Automatic authorized catalog creation and admission remain open.

  • Game Design's association manifest binds explicit audited approval to the exact persisted canonical tenant source and captured Game Session evidence digest, never numeric/slug similarity or Account's migration manifest. Shared versioned UTF-8-framed codec/vectors, purpose-specific Ed25519 verifier, V34 immutable one-to-one owner store and exact same-namespace Game Session mTLS read are implemented prerequisites. The unwired consumer rejects changed scope, echo, digest, signature shape, missing/unknown fields and unavailable source. Default and production exact protected-read configuration is aligned. Protected approval import/custody, fresh-image/live authentication and catalog activation remain open.

  • Game Session's closed retained identity projection covers all six declared source families under one short writable READ COMMITTED transaction and fixed-order SHARE NOWAIT fence, including actual writes and phantom insertion. Game Design evidence is fetched before the local transaction, never while source locks are held. V8 atomically stores complete immutable approval/snapshot, namespace-qualified one-to-one claims, local operation and exact request/result digests. Changed or contradictory source denies first commit; lost-response recovery and exact retry return historical committed evidence without recapture or mutation. The receiver/service remains unregistered and unwired. Local PostgreSQL cases were skipped without Docker; exact published-head CI subsequently executed the required snapshot3 and association9 cases successfully. This does not activate the receiver or runtime path.

  • A private Account owner transaction requires complete current ACTIVE membership, approved canonical tenant/account identity, roles, existing pair authority and exact current event/receipt before committing LEFT. Numeric row selectors are not caller authorization; no public caller/route is wired.

  • Preserve the retained membership and roles, mark INACTIVE/non-admitting, advance membership version and the invalidating authority generation/issuance fence, and append/read back the closed canonical event, immutable LEFT receipt, audit and pair checkpoint atomically. V40 extends the existing receipt constraints without rewriting retained history; JOIN/reactivation vectors stay unchanged.

  • Exact request retries recover the original receipt/event/audit result without churn. A retry after later reactivation is historical readback, never current authority. JOIN/LEFT and cross-scope request-ID reuse fail without mutation; missing or contradictory proof denies before mutation. Audit failure rolls back the complete transaction.

  • The unwired current-INACTIVE reader requires the existing pair and latest positive LEFT event/receipt with matching current roles, generation and fence. It cannot enroll absence, emit sequence zero, infer retained mappings or authorize admission. The snapshot DTO and held-back encoder carry that state; the runtime RPC remains denied.

  • Game Session negative proof preserves the lifecycle guard, rejects malformed INACTIVE evidence, denies admission and proves cleanup of existing bindings as well as no mutation for unbound sessions. These are mocked consumer tests, not an authenticated live producer/consumer flow.

Validation and preservation

Current receiver checkpoint passed the local Game Session full check/JAR, Java formatting, Checkstyle, SpotBugs, JaCoCo and docs:123tasks,33executed/90up-to-date. It executed1,747unit,18non-PostgreSQL integration and1cross-service cases without failures/errors; all nine new unit cases ran. It skipped17unit,128integration and33cross-service cases, including all12new PostgreSQL cases (snapshot3/association9). Delegated import/jOOQ API errors and an unnecessary analyzer suppression were corrected without weakening guards/assertions. Final status links/Markdown passed7tasks(2executed/5up-to-date); Flyway12sets/126files, Actionlint, CI-scope23 and hygiene passed. The exact-head CI36858344954 completed FAILURE on the published 2e37b38f5fc022844f97ce654e4678771c620376. Strict runner JUnit output records Game Session authored-world intake5, retained snapshot3 and association9, all with zero skips, failures, or errors; all seven mandatory new snapshot/association methods executed once and passed. Game Design's association suite also passed9/9 strictly. Uploaded test-report artifacts are HTML and contain no raw JUnit XML; the strict runner's JUnit inspection output is the execution-count evidence. The broader Game Session job was canceled after these focused proofs, so it is not green. Other failed jobs were Python Script Validation (10 lint errors), Dev Tool Contract Checks (unsupported dev-demo recovery-warning summary syntax), Automation Scripting integrationTest (8/69 failures; the existing #2829 fixes are still absent from this merged head), Game Design integrationTest (the already-routed EntityDigest duplicate-key fixture, 1/48), and TCP Proxy crossServiceTest (13/17 assertion failures). The Game Design fixture remains routed to General #2872. These observed failures retain their concrete owners; no blanket inherited/flaky label is applied. A separate local Account authentication UUID producer is unpublished and therefore excluded from this exact-head CI. Its local fullCheck was 70 tasks (42 executed/28 up-to-date), with 481 unit executions and zero failures/skips; all146 PostgreSQL cases skipped. This is Account component proof, not consumer readiness. No runtime activation follows. The completed run below is historical source/read-head evidence only.

Current local source prerequisite passed the composed shared-core/Game Design/Game Session full check and both service JARs, Checkstyle, SpotBugs, JaCoCo, links/Markdown and Flyway12sets/125files:167tasks,21executed/146up-to-date. Preceding same-code runs executed shared-core127 and Game Design313 unit cases with no skips/failures/errors; Game Session executed1,738unit,18non-PostgreSQL integration and1cross-service without failures/errors. Final composed test tasks were up-to-date, not newly executed. Game Session skipped17unit/116integration/33cross-service; all48GameDesign PostgreSQL cases, including9new association cases, compiled/discovered but skipped locally without Docker. Actionlint, CI-scope23 and hygiene passed; final status wording received its own successful links/Markdown check. Initial fixture accessor/import and module-resource-selection errors were corrected before the successful gates, without relaxing assertions.

Exact-head CI36850617996 completed FAILURE on the published 2583d65671bb8f9256b1216e5cbee5fe50c3d9ff. Strict runner stdout verifies Game Design association9/9 (zero skips/failures/errors; all four mandatory methods once), Game Design creation8, authored-source10, Game Session intake5, and Account JOIN39, exchange9, issuance9, authority generation2, outbox4, committed source18, fresh association6, pair8 and fresh UUID snapshot11, all with zero skips/failures/errors. Uploaded artifacts are HTML only, not raw JUnit XML; strict runner stdout is the count source. Game Session was cancelled after intake, so no wider Script Pin or WebSocket proof is credited. Actual aggregate failures are the unsupported Game Design recovery step in the tooling contract, Ruff B023 at line237, Automation spotlessJavaCheck on NpcFormationGrpcServiceTest (no test artifact or new Automation PostgreSQL execution credit), the known Game Design EntityDigest duplicate-9301 fixture (1/48), TCP Proxy cross-service13/17 with PLAYAUTH_UNAVAILABLE, and ValidationGate. The duplicate fixture is already routed twice in General #2872; no duplicate route was posted. No CodeRabbit/Hosted review or auto-merge is in use.

Historical exact-head CI36844382190 on 32fe02cbb342365863b83252c91e26d39173abc3 completed FAILURE. At that head, strict runner verification passed Account JOIN/LEFT39/39 with zero skips/failures/errors, including all seven LEFT cases and stored-audit readback; exchange9, connect9, source/history18, fresh association6, pair8, fresh UUID snapshot11, Game Design creation8/authored-source10, and Game Session intake5 also passed strict. Historical aggregate failures were Ruff10; dev-demo summary-validator unsupported-step warning; Automation PostgreSQL8/69; Game Design EntityDigest fixture duplicate-key1/39; TCP Proxy cross-service13/17; and Game Session cancellation after17 CommunicationWebSocket failures. Subsequent ancestry tracing found the eight Automation PostgreSQL failures were inherited from missing #2829 changes: a18315a1e15c74775ffdec2e782563af668598bc supplies the null-safe base comparison and later #2829 commits repair/isolate the binding-compensation fixture. The exact 2583 run's Automation failure is instead formatting-only and provides no 69-case PostgreSQL execution credit. The 9301 fixture remains routed twice to General #2872. The dirty association manifest/store/read package was excluded from head32; the producer/read package is now included in published head2583 and has the strict proof recorded above, while separate local receiver/snapshot work remains unpublished. Historical component results do not establish green aggregate CI, live readiness, receiver proof, or activation. No Hosted/CLI review request.

Exact pre-redistribution child CI36839822525 on 610ea7b7b completed FAILURE: JOIN/LEFT HTML reports 38 cases, five failures, zero skips. The strict Account verifier skipped after its full-check failure, so that run supplied no strict LEFT pass. Five LEFT cases failed exact audit-envelope readback; append returned the in-memory timestamp rather than PostgreSQL-normalized stored evidence. The correction refreshes the stored record before returning it, propagates unavailable readback, and preserves exact LEFT equality and payload-digest guards. Exact corrected-head run 36844382190 now supplies the 39/39 strict result above. The historical run also passed strict intake5 and its mandatory methods, plus the source/history, fresh association, pair authority and fresh UUID snapshot component suites. Communication/TCP identity-carrier, retained-fixture and shared-tooling aggregate failures remain open.

The audit fix passed the full local Account check/JAR, affected Java formatting, Checkstyle, SpotBugs and JaCoCo: 65 tasks, 19 executed/46 up-to-date; 471 unit tests executed with zero failures/errors/skips. All 146 PostgreSQL cases compiled/discovered but skipped without Docker, including the expanded 39-case JOIN/LEFT suite and mandatory stored-envelope case. Links/Markdown passed (seven tasks, two executed/five up-to-date), Flyway passed (12 sets/124 files), and Actionlint, CI-scope23 and hygiene passed. The failed command-selection attempts are not credited as validation. PostgreSQL execution, fresh images and live activation remain unproved by this local gate.

Normal ancestry includes exact #2915 and all preserved source commits. A dirty-patch SHA and all four untracked-file hashes were identical before and after the parent fast-forward, before the intentional integration corrections. No rebase, force rewrite, runtime activation or source deletion.

The normal redistribution merge 07583ac37 preserves both former child 610ea7b7b and reduced parent 5cf51fb3a. A deterministic comparison proves its cumulative services, protos and .github content is identical to prior child 75ae1dd91; only three status/handoff documents differ at that merge. The nine files are removed from the parent tree but retained unchanged here and in normal history, not discarded. The focused intake CI step likewise moves with its proof owner. The subsequent audit fix is a bounded, additive descendant of this verified merge, not a packaging loss.

Reduced-parent Game Session full check/JAR, links/Markdown and Flyway12sets/122files passed (121tasks,31executed/90up-to-date):1,705unit,18non-PostgreSQL integration and1cross-service executed;17unit/111integration/33cross-service skipped. Corrected cumulative Account/Game Session full checks/JARs, docs and Flyway12sets/124files passed (151tasks,12executed/139up-to-date); unit/integration suites were up-to-date from the preceding same-code proof below, not freshly executed. Actionlint and hygiene passed. The redistribution is not new database execution or runtime activation.

Local consolidated Account/Game Session full checks, affected Java formatting, Checkstyle, SpotBugs, JaCoCo, both service JARs, links, Markdown and Flyway sanity passed: 153 tasks, 21 executed/132 up-to-date; Flyway 12 sets/124 files. Account469 and Game Session1,731 unit cases executed successfully in the preceding same-code gates; unit tasks were up-to-date in the final gate. Game Session18 non-PostgreSQL integration and one cross-service cases passed. Its 17 unit/116 integration/33 cross-service cases skipped. All145 Account PostgreSQL cases compiled/discovered but skipped without Docker; the expanded JOIN/LEFT suite contains38 cases, including seven new mandatory LEFT methods. The strict local verifier correctly rejects those skips. Actionlint, CI-scope23 and diff hygiene passed. Status-only documentation received a final link/Markdown pass.

The seven required new PostgreSQL cases cover atomic LEFT/current-INACTIVE readback, concurrent exact first writers and historical retry after reactivation, lost acknowledgement, JOIN/LEFT cross-scope request reuse, contradictory current event no-mutation, late audit rollback, and concurrent LEFT/reactivation. Exact-head CI now supplies strict Account JOIN/LEFT39/39 execution with zero skips/failures/errors, including all seven LEFT cases; the earlier local compile-and-skip record is not the current database status. Aggregate CI remains red, and this PR is not merge-ready.

The exact parent CI36835527324 passed strict Account component suites and all five Game Session authored-world intake PostgreSQL cases, but aggregate CI failed. It does not prove this new LEFT batch. Known Game Session CommunicationWebSocket failures are traced to unresolved canonical identity carriers; no weakening of UUID validation or conversion of positive communication assertions into denial proof is included.

Open work and activation limits

Public lifecycle caller authentication/route, fresh-UUID positive JOIN/lifecycle, complete advanced authority and event-delivery/projection convergence remain open. Account membership RPC, credential/context paths and runtime catalog activation remain denied; the response-ring mount stays unpublished pending protected custody, authenticated publication/readback and live readiness. Fresh images, live workload identity, runtime receiver wiring, and end-to-end admission/recovery remain proof gates. Game Design association, Account LEFT and Game Session intake/retained snapshot/association strict PostgreSQL component cases passed at their recorded historical exact heads. Account authentication3 and command UUID storage/migration5 passed strict execution on current acd7693e7. These results do not establish broad job success or activation; additional local OTP proof is excluded from this published head. Unit 1B remains provisional. Non-draft status is not CodeRabbit proof or merge readiness; no CodeRabbit/Hosted request or merge action is authorized.

FireMUD LOC impact

Compared a14dd378ca08 → 699a25e022c9 (PR merge-base → head).
PR scope: 94 changed files · 14,302 added textual lines / 460 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 747,761 760,466 +12,705 +1.7%
 Source 658,896 671,424 +12,528 +1.9%
  ↳ Code 282,757 287,071 +4,314 +1.5%
  ↳ Tests 376,139 384,353 +8,214 +2.2%
 Markdown 58,696 58,769 +73 +0.1%
 Design 61,380 61,453 +73 +0.1%
  ↳ Architecture 45,128 45,152 +24 +0.1%
  ↳ Project management 5,532 5,581 +49 +0.9%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,529 6,529 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 460 460 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c9ef3e08-c605-4158-9d19-a8765b386370

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@benhook1013 benhook1013 changed the title Unit 1B: Account LEFT lifecycle, exact retry and retained inactive evidence Unit 1B: Account lifecycle evidence and Game Session source intake Oct 1, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Review scope changed: this child now owns the unchanged nine-file Game Session tenant-source/authored-world intake consumer, V7 migration, and focused strict CI gate previously in #2915, alongside the Account lifecycle evidence slice. Published head 07583ac has 28 unique files against reduced parent 5cf51fb. All nine blobs and cumulative services/protos/workflow behavior are preserved. Earlier review/proof records remain historical evidence, not whole-new-scope review or activation proof.

@benhook1013
benhook1013 marked this pull request as ready for review October 1, 2026 09:44
@benhook1013 benhook1013 changed the title Unit 1B: Account lifecycle evidence and Game Session source intake Unit 1B: lifecycle evidence and authenticated tenant source handoff Oct 1, 2026
@benhook1013 benhook1013 changed the title Unit 1B: lifecycle evidence and authenticated tenant source handoff Unit 1B: lifecycle, tenant-source and canonical Account identity Oct 1, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Pre-review complete for aceddfff3a53bc7547fe5862c7a6b35ba2d202d5 against own #2915 350152c7352698a580d3a85a2def85a6545a3123: 92 unique paths, all preserved with identical entire stable patch after the parent forward.

All five assigned fresh independent whole-boundary Luna XHigh rounds cover every unique changed path/hunk, including changed tests/fixtures and necessary owner context. Totals: 15 raw /2 accepted Minor /4 routed (3 Major,1 Minor) /9 rejected or duplicate. The two accepted corrections are published/resolved: immutable owner-source verification outside the short intake transaction, and sanitized retryable/permanent retained-association read errors. Ten fresh RPC negatives, seven intake units,14 fresh Account verifier/100 PLAY cases,74 Python cases, enabled scoped formatting, full Common Security checks/JAR/docs and hygiene provide the recorded local proof. Parent-forward gate passed131 tasks(18 executed/1 cache/112 up-to-date). Five new intake PostgreSQL cases skipped; previous wrong-package filter failure is retained and superseded only by the corrected passing command.

Rounds4/5 yield zero new source-owned obligations. Repeated LOGIN/Social and the disproved exception-inheritance observation do not become new accepted fixes. LOGIN remains routed to #2932; the final profile-output route is already fixed and verified in #2929. Shared-authentication UUID parsing and Social numeric profile callers remain explicit routes without a credible assigned PR owner; Overseer owner assignment is still required, not an arbitrary target.

All pass/finding/disposition/source-fix and target-route evidence is recorded/read back in the controller. The five-round schedule is exhausted; recent rounds add no local obligation, so another broad local pass is not justified without new direction. Later own-parent alignment, corrected-head required CI, actual database readback, fresh-image/server-identity and credential/authority/runtime activation remain separate gates. This comment supplies no CodeRabbit taper or merge-readiness credit; no Hosted/CLI request, merge or auto-merge was performed.

@benhook1013

Copy link
Copy Markdown
Owner Author

Pre-review complete — exact head 699a25e022c9224d24b7a491ee4ab1d4a67f22f2, parent #2915 a14dd378ca08f16ddf84c27d0f9878b1c1030226, 94 unique paths.

All five commissioned independent whole-unique-patch/context passes are complete and recorded/read back: 15 raw / 2 accepted Minor / 4 routed (3 Major, 1 Minor) / 9 rejected or duplicate. Both accepted source corrections are fixed. The last two passes add no new source-owned obligation; known LOGIN/profile issues are routed rather than counted as fixes here. Coverage includes every changed path/hunk, focused tests, owner contracts and surrounding runtime/storage context. No further pass is assigned; this is not CodeRabbit taper or merge-readiness credit.

The final corrected-state commit preserves stronger parent UUID provenance/admission and fail-closed PLAY/outbox behavior. Original 92 paths survive (four SQL names move byte-identically); two inherited migration-proof paths account for the 94-path diff. Parent SQL and packaged-resource byte checks pass; no repair, out-of-order bypass or invented identity mapping.

Canonical full checks for Account, Game Design, Game Session and Common Security; generation, three boot JARs, enabled formatting/analyzers and docs pass (201 tasks:20 executed/181 up-to-date). Current same-source reports show 3,796 cases, 3,365 passing, 431 skipped, zero failures/errors; Account units reran, unchanged suites reuse their corrected-state preceding execution. Flyway144, Python74, CI-scope23, actionlint, tenant-association Helm, ShellCheck and hygiene also pass. Skipped database cases and reused task results are explicitly not fresh PostgreSQL/live proof.

Routed: LOGIN/#2932 remains open; profile/#2929 is fixed. Shared JWT identity helpers and Social numeric profile consumers remain two previously reported unassigned owner decisions, not accepted source work.

Exact-head CI, PostgreSQL retained-data/deployed Flyway-history readback, effective migration-role grants, independently trusted cluster binding, fresh images and live Unit1B activation remain separate gates. Branch-protection authority lookup is unavailable (404); no required-CI success claim. Delegation: retained Luna implementation/proof helpers supplied bounded fixture/native-gate work; General inspected/integrated their diffs, made authority decisions and ran the final consolidated gate. No new independent review, CodeRabbit request, queue mutation or merge.

@benhook1013

Copy link
Copy Markdown
Owner Author

Brought-forward owner assignment: Overseer now assigns both remaining Major Account-UUID consumer routes (shared JWT identity helpers and Social profile request/response/storage callers) to General in #2929. Both existing controller routes are retargeted and accepted there; implementation/proof pending. This changes neither #2923 historical found/accepted/routed counts nor its completed source fixes. #2932 retains the distinct gameplay carrier scope; contract handoff: #2932.

@benhook1013

Copy link
Copy Markdown
Owner Author

Brought-forward consumer disposition: shared Account-UUID JWT route 293f50146195d3bffe17e0d94097b847addffb16ef8b9e3928c1406b9340f537 is fixed in #2969 at 783dd1e (#2969), with122fresh Common Security cases and the passing ten-module gate; controller target/resolution/history are read back. #2929 profile/management-owner reconciliation is published ce05702,63files. Social route 4bb1cbdc170088d795dc6a5a38c8e9c269149fd2356271ebbbdc43eb925b2b06 remains accepted General work for a coherent child after #2932. This does not change #2923 historical counts or claim database/live activation proof.

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Validation Summary

❌ One or more validation checks failed

  • ❌ Validation gate: failure
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ❌ Python script validation: failure
  • ❌ Dev tool contract checks: failure
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ❌ Service build/test matrix: failure

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013

Copy link
Copy Markdown
Owner Author

Consolidated the exact #2923 comparison 8c45206955a218d41dc0aeb6f256ca24454e0f9b over a14dd378ca08f16ddf84c27d0f9878b1c1030226. Account #3438 is 13d4b6242d46366975e0089188b14a35d5b9cec7 over b98f1aa9134808b0fe6b936e5b3e1c164876c3a7. Player #3440 is 041070cab6dc3e91b154305d1051f3ba7c468411 over 8ff31873c4af9b35e0d4f4653046675c44f1c26e.

  • Account's canonical leave operation, membership event/fence, terminal replay, rollback and absent-member handling preserve the older LEFT owner intent under the current forward migrations. V33 owner identity import keeps Game Design row, tenant key, provenance and digest exact before authority initialization. Retryable owner failures stay bounded and leave Account state untouched. Legacy grants remain refused before owner lookup or mutation. Current typed receipt and source contracts supersede the dormant old scalar paths.
  • The Game Session command UUID path is additive V11 and keeps old numeric rows with no invented UUID. V12 and V22 preserve immutable retained association and authored-world owner evidence. The current source checks external scope before opening a write transaction and independently reads back the committed result.
  • Player 80d40744df carries two missing original proof cases. One varied four independently qualified mismatches and proved zero owner transaction/write. The other forced real PostgreSQL failure after source insertion, rolling both owner writes back. Both executed with zero skips/failures/errors, with integration Checkstyle, SpotBugs and formatting. The separate original committed-readback-loss case also passed physically.

The current authority and retained-ID behavior carries forward. Later UUID LOGIN, hosted custody, grant writer activation and admission remain separate work. Open #2929 still targets codex/unit1b-membership-authority-lifecycle, so the exact source branch remains available.

@benhook1013
benhook1013 deleted the codex/unit1b-membership-authority-lifecycle branch November 30, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant