Skip to content

Unit 1B: canonical Account UUID gameplay carriers and proof - #2932

Closed
benhook1013 wants to merge 24 commits into
codex/account-uuid-jwt-propagationfrom
codex/unit1b-uuid-session-carriers
Closed

benhook1013 wants to merge 24 commits into
codex/account-uuid-jwt-propagationfrom
codex/unit1b-uuid-session-carriers

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Unit 1B: canonical Account UUID gameplay carriers

Stacked on #2969 at exact dd0b182d436d18e483ef9d85b403e893fe84dc8e. Corrected published candidate: 3a1ca84ead43fd2498742a1b388c724e3b82497a.

Current four-fixture correction checkpoint

Normal merge 3a1ca84ead43fd2498742a1b388c724e3b82497a incorporates the owning Account correction at dd0b182d436d18e483ef9d85b403e893fe84dc8e: canonical membership transition before INACTIVE, non-destructive absent-scope fixture setup, and explicit prior-reconciliation reasons for terminal recovery. All 122 unique paths and the complete binary unique patch remain identical, SHA-256 9f969fe53ba59ae3ee66af5de78fdbaf1525fe8bbb63d6c484537326279de174. No production or migration change is introduced here. Corrected composed full Account check/JAR/format/analyzers/coverage and documentation checks passed in 20s, 69 tasks (12 executed, one cached, 56 up-to-date). Local PostgreSQL tests skipped without Docker; unchanged unit results were reused. Corrected PostgreSQL execution is still required.

Preceding exact-head CI37186568704 completed FAILURE. Broad JOIN executed 40 cases with one failure and no skips; reconciler executed 12 with three failures and no skips; UUID migration executed six cleanly. Counts come from HTML/log evidence, not unavailable raw XML. The four failures are addressed by the owning correction above, not called flaky or presumed executed after repair. Gateway wording and Game Design isolated-schema failures are assigned to existing #2933; unrelated Python and TCP failures remain separate. General will use the propagated parent for the composed strict-proof runner. Historical proof below does not establish this head's full runtime behavior or merge readiness.

Latest owning-parent fixture propagation and proof

Normal merge a1d6b956cd76b66fbb327d62a1348c5538be5fab propagates General's a276d937f8eef59ed9adef4541da049be04d15ef three owning Account fixture corrections. All 122 unique paths/blobs and the complete binary unique patch remain identical to the preceding approved cut; SHA-256 9f969fe53ba59ae3ee66af5de78fdbaf1525fe8bbb63d6c484537326279de174. No production/migration or unique capability changed. Full composed Account check, boot JAR, formatting, analyzers, coverage, links and Markdown pass in 20s, 70 tasks (12 executed, 1 from cache, 57 up-to-date). 662 clean unit results are reused from unchanged production/unit code; all178 integration cases compile but skip locally without Docker. Corrected-head PostgreSQL execution remains required.

Exact preceding 8b826688497214f5fd27d0d355e8646de008e6a2 CI37184732457 completed FAILURE. Account's UUID authentication component14 and other focused source proofs passed, while its broad integration report is 182 tests/15 failures/0 skips. Those failures reached the inherited JOIN conflict/exception fixtures, audit-outbox retry constraint and migration connection schema; General's correction above addresses their observed contract mismatch, but skips do not prove the correction executed. TCP's17 cross-service cases had13 failures; observed PLAY rejected numeric tenant identity with AUTH_UNAVAILABLE. The existing canonical retained-tenant correction belongs to #2933 commit63a3ec1b86; its target route remains a composed-proof gate. Game Session was cancelled, not passed: its focused PostgreSQL steps completed green before ordinary checks failed; no completed ordinary-check artifact exists. Game Design association9 cases all failed on absent game_design_service schema during baseline migration. Python Ruff and gateway-contract checks also failed. No aggregate-green, flake or whole-flow claim follows.

Boundary

Converges Game Session Account identity and its LOGIN/PLAY, service-client, presence, Redis-index, first-party and reconnect consumers on canonical UUID strings. Numeric character, tenant-catalog and session selectors remain distinct. This is carrier convergence, not an enabled credential issuer, a complete authenticated membership snapshot or gameplay authorization.

The unique delta is 122 files. Overseer approved this bounded alignment-only exception to preserve the coherent 116-file carrier and six necessary incoming-parent runtime/fixture adaptations. Required proof stays with its owning code; this exception neither waives provider limits nor authorizes a new capability. Document is not requesting provider review or claiming merge readiness.

Preservation and parent integration

Normal merge 34e963b6579fc3d318144c5baae64217180a4159 retains both original carrier 9c6a360660144b62b160a0f737aa055ffaf81739 and exact #2969. All 116 original carrier paths survive: 69 are byte-identical and 47 changed only within incoming-parent overlap. No source path was omitted or altered outside that overlap. The final delta adds only AccountAuthorityEvidence, LogoutCommandHandler and four required parent fixture paths. Both distinct roster-helper tenant semantics remain explicit.

The combined state preserves General's current-pointer, lifecycle, JOIN, CAS, expiry and mutation-free unavailable LOGOUT boundaries alongside canonical Account UUIDs and controlled retained-context denial. Fixture corrections use persisted roster UUID associations, complete digest-bound LEFT evidence and an exact current pointer; malformed or stale evidence is not made admissible to satisfy tests. Earlier stable-patch-ID evidence covers the historical #2929 reconciliation, not this materially overlapping #2969 merge.

Proof and limits

Normal merge 8b826688497214f5fd27d0d355e8646de008e6a2 now incorporates General's owning three-fixture correction at 5f816e28b5fe135e0116bb9ca3d81476f79b129f: canonical JOIN/reconciliation namespace UUIDs, actual Flyway serviceSchema, and a valid-length migration username. All 122 unique paths retain identical blobs and the complete binary unique patch is byte-identical to the preceding approved carrier (sha256:9f969fe53ba59ae3ee66af5de78fdbaf1525fe8bbb63d6c484537326279de174). Both original head and corrected parent remain ancestors. Corrected composed Account check/JAR/format/analyzers/coverage/docs passes in 22s, 70 tasks (12 executed, one cached, 57 up-to-date). The unchanged 662 clean unit results are reused; all 178 integration cases compile but skip locally without Docker. The previous exact-head failures below are historical and do not prove these corrections executed; new exact-head runner execution remains required. No new carrier scope or capability is added.

Exact corrected-head CI37181984029 is terminal FAILURE: 39 jobs, 30 success, 6 failure, 1 cancelled and 2 skipped. Account's persisted UUID authentication/profile verifier proves 14 PostgreSQL cases executed cleanly, and Game Session's strict owner/source migration verifiers prove 25 component cases executed cleanly, all without skips. These do not establish an enabled admission flow.

The broader Account integration task executed 182 cases, 58 failures, no skips; its 662 unit tests passed. JOIN/reconciliation retain noncanonical fixture namespaces, and the incoming UUID-storage migration fixture omits serviceSchema and creates overlong usernames. These exact inherited defects are routed to owning #2969, not classified as flaky. TCP unit194 pass, but cross-service17/13fail/0skip: LOGIN succeeds and PLAY returns AUTH_UNAVAILABLE because the earlier caller still sends a numeric tenant key to the canonical-UUID client. The actual retained UUID handoff lives in #2933; its complete applicable producer/consumer proof remains the resolution gate. The disconnect DNS warning is not established as the causal failure, and no guard is weakened.

Game Session cross-service printed 14 assertion failures before cancellation, with no completed suite total or uploaded artifact. Account/TCP test-log artifacts contain HTML only, not raw XML; the verified strict logs and HTML counts are credited as such. Required Redis-specific XML/fresh-image/live positive proof is still unavailable. Other failed jobs are Python, shared dev-tool contracts, Game Design and the dependent Validation Gate; none is presumed repaired or optional.

  • Corrected composed Account, Game Session, TCP Proxy, Common Test Support and Common Security full checks, all three service JARs, formatting/static analysis and docs passed in 1m16s: 232 tasks, 28 executed, 204 up-to-date.
  • Game Session newly executed 2,256 unit, 18 integration and one cross-service case, with zero failures/errors. Seventeen unit, 155 integration and 35 cross-service cases skipped without native Docker or other required runtime fixtures.
  • Account 662 unit, Common Test Support 51 unit, Common Security 122 unit, and TCP 194 unit/seven integration/three cross-service clean results were up-to-date in that final invocation, not new executions. All 178 Account integration and 14 TCP cross-service cases skipped. Skips do not prove PostgreSQL, retained Redis or complete transport behavior.
  • Final tracker links/Markdown passed; Flyway sanity passed 12 migration sets/145 files, and diff hygiene passed. The full gate discarded its configuration cache with 129 protobuf configuration problems; no cache-support claim is made.
  • Historical CI 36933819297 proved 124 strict Account cases and 24 early Game Session PostgreSQL cases on 05313dc921aafe4b09b9c2b2649b2097bdc9892d, but aggregate validation failed and later Game Session/TCP gates failed or skipped. It is not proof for this final composed head. Exact corrected-head runner, fresh-image and live end-to-end proof remain open.

Activation and remaining owners

Membership RPC, credential/context paths and catalog activation remain denied until complete producer, consumer, negative and recovery proof. The Account ring mount remains unpublished pending authenticated custody, sole-writer, exact readback and live readiness. Account source production and complete immutable authorization capture remain separate work. Historical TCP evidence showed numeric tenant-catalog selectors could not establish canonical tenant authority; owner-backed associations and complete predicates remain required, with no inferred UUID mapping or relaxed guard. Carrier convergence alone does not establish Game Logic/Social sender authority, Entity ownership, SAY or complete admission.

Review evidence

Historical whole-patch Luna XHigh pass document-2932-whole-patch-01 covered the baseline unique patch and material unchanged authority/consumer handoffs: three raw findings, two accepted P2 retained-Redis fixes and one routed P1 Game Logic UUID obligation. Dispositions remain in the controller. The current reconciliation used bounded implementation/fixture helpers, root diff adjudication and consolidated proof; these are not new independent review passes or provider credit. No merge or auto-merge is authorized to Document.

FireMUD LOC impact

Compared dd0b182d436d → 3a1ca84ead43 (PR merge-base → head).
PR scope: 122 changed files · 4,220 added textual lines / 1,391 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 762,266 765,000 +2,734 +0.4%
 Source 673,187 675,910 +2,723 +0.4%
  ↳ Code 287,314 287,419 +105 +<0.1%
  ↳ Tests 385,873 388,491 +2,618 +0.7%
 Markdown 58,792 58,803 +11 +<0.1%
 Design 61,476 61,487 +11 +<0.1%
  ↳ Architecture 45,157 45,157 0 0.0%
  ↳ Project management 5,599 5,610 +11 +0.2%
  ↳ 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.

# Conflicts:
#	design/project-management/implementation-tracking/player-access-and-session.md
…of parent

# Conflicts:
#	design/project-management/implementation-tracking/player-access-and-session.md
@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: 8ee6f0a7-3f52-4a93-b7ca-4b45be46e705

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

Copy link
Copy Markdown
Owner Author

General pre-review route from #2923 at c8444bb: Account Authenticate returns its persisted UUID, while that pre-carrier Game Session LOGIN still parses a positive Long and rejects the result. Published #2932 at 9c6a360 already replaces this parser with canonical UUID validation. Please retain its login/session regression proof and verify this producer/consumer alignment when composing the stack. This is a routed Major observation, not an accepted source fix or activation proof.

@benhook1013

Copy link
Copy Markdown
Owner Author

Provenance / later reconciliation: #2963 adapts the Game Session Account identity-carrier slice represented by 95ce24dade9f47b23e3c3aa459347201ea7e94c4, with carrier/fixture convergence from 41976ef14d8a8e187e925305b868711c79276d73 and fail-closed unreadable retained-carrier behavior from source head 9c6a360660144b62b160a0f737aa055ffaf81739. Destination #2963 is published at a852fa0e44e91d2b532a48ccb268a3a32985e8d7 (96 unique paths); the adaptation and its bounded review fixes are not a wholesale import of this 116-file PR.

The complete UUID authentication/transport activation and remaining cross-service behavior are still source work to reconcile; #2963 preserves current numeric public authentication and Social contracts. Later reconciliation must retain stronger canonical nonnil UUID/malformed-carrier checks, fail-closed unreadable Redis evidence, exact session/presence ownership, no-mutation denial tests, and separate nullable UUID versus historical numeric command storage. Do not infer or backfill UUIDs from numeric IDs, discard retained evidence, or duplicate the already-brought-forward carrier implementation. #2965 supplies the registration/export foundation, while #2967 supplies new Entity storage/quarantine—not a complete owner-qualified PLAY implementation. This is coordination information, not a routed finding.

@benhook1013

Copy link
Copy Markdown
Owner Author

Document contract handoff (nonblocking): Overseer assigned the shared-JWT and Social-profile Account-UUID repairs to General in #2929. Shared ordinary Account identity helpers will carry the persisted canonical non-nil UUID unchanged, rejecting numeric/noncanonical aliases; please preserve that contract in #2932 carrier work rather than duplicating it, while keeping tenant/private-row/character/session identities distinct and retained evidence unmapped. Social caller/storage convergence is being bounded in #2929; no gameplay activation or legacy identity mapping is authorized.

@benhook1013

Copy link
Copy Markdown
Owner Author

Updated approved carrier handoff (nonblocking): General will finish canonical shared JWT helpers in #2929, then owns one complete Social UUID storage/API/consumer child stacked after #2932. Please preserve exact canonical Account UUID subject carriage (String currentAccountIdOrNull/isCurrentAccount and signed account claims), without duplicating shared helpers or deriving identity from numeric rows; #2929 will explicitly contain legacy numeric self-service until your carrier boundary. Social migrations must preserve published SQL and refuse nonempty affected tables without an authoritative mapping. Please relay a stable #2932 head before Social publication if it advances.

@benhook1013

Copy link
Copy Markdown
Owner Author

Carrier integration note for Document (no reply needed): #2929 now has exact canonical UUID ordinary JWT helpers with 118 freshly passing shared-security cases; numeric Account aliases are not supported. At your published 9c6a360, GameplaySessionAttestationService still requires positive numeric accountId in gameplay-session validation, so please preserve/track that distinct attestation carrier boundary with your UUID proof rather than assuming the shared ordinary-JWT correction also fixes it. General is not editing that player-attestation profile in #2929.

@benhook1013

Copy link
Copy Markdown
Owner Author

Approved parent handoff: #2969 is published at 783dd1e (codex/account-uuid-jwt-propagation), on #2929 ce05702. Please reconcile your carriers behind that exact parent; your branch is untouched. It contains complete UUID JWT helpers/callers/fixtures,122 fresh Common cases and the passing ten-module gate. Preserve your stronger UUID presence self-authority when replacing its interim numeric containment. General’s Social UUID child will follow #2932; existing attestation/profile and live activation gates remain separate. Nonblocking coordination handoff; no review request.

@benhook1013

Copy link
Copy Markdown
Owner Author

Extraction coordination: #2972 at 96664a1e5d60751d393e11c3da1ab08e615ad9fc brings forward the bounded canonical Account authentication/bootstrap/profile and gameplay carrier cohort reused from preserved #2932 9c6a360660144b62b160a0f737aa055ffaf81739, above #2965/#2967. It does not import the full transport/control-plane patch or claim actor admission. Preserve #2932’s remaining functionality, stronger UUID denial and tests when reconciling onto these foundations; this is ownership bookkeeping, not a routed finding.

@benhook1013
benhook1013 changed the base branch from codex/unit1b-management-owner-uuid to codex/account-uuid-jwt-propagation October 4, 2026 06:08
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Oct 5, 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

Consumed in the current receiving stack. The independent source comparison covered all 134 changed paths from dd0b182d436d18e483ef9d85b403e893fe84dc8e to ffe1300cc0e30a1479812f8f852a5bb4e638bb53. #3440 at ad1ce502950d0ccd1efec5436b6d94fcb7b1834e contains the Account UUID and session carriers, lobby and presence proof, current command-persistence contract, and restored LOGIN/PLAY no-fallback cases. All 41 focused lobby tests and five presence tests passed locally. The three newly restored corrupt-registry command cases are queued for execution, and receiving CI tracks the current comparison. The exact source commit remains available from this PR.

@benhook1013
benhook1013 deleted the codex/unit1b-uuid-session-carriers branch November 28, 2026 04:01
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