Skip to content

Unit 1B: Account source authority, authenticated readback and retained tenant UUID handoff - #2933

Closed
benhook1013 wants to merge 27 commits into
codex/logging-account-uuid-receiverfrom
codex/unit1b-scoped-source-events
Closed

benhook1013 wants to merge 27 commits into
codex/logging-account-uuid-receiverfrom
codex/unit1b-scoped-source-events

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Boundary and parent

This existing Unit 1B stage is normally reconciled behind #2976, preserving #2932 and the General Social/Logging children. No rebase or preserved-history rewrite. Published checkpoint 85e1b104c3087b72f73e5bd8018a5ddf79e7fbbb: 90 unique files against exact #2976 a975fb45c1aedfe62a3806274912e7f58333b3b6. The 90-file warning is recorded with Overseer; no file-ceiling exception is inferred for further growth.

Retained behavior: Account password-reset atomic generation/fence/event/checkpoint and immutable receipt; closed reset and issuer codecs; exact current/historical issuer readback; unwired exact-peer Account/Game Session source boundary; immutable retained catalog-key→tenant-UUID handoff; canonical Account UUID through transport/Game Logic seams. Scope-wide issuer evidence never fabricates a recipient Account tuple or issuance fence. Redis foundation/derived issuer projection remains owned by #2938, not re-imported into this delta.

Reconciliation and repairs

  • Normal merges retain old Unit 1B: Account source authority, authenticated readback and retained tenant UUID handoff #2933 f9f51475c49acf0d4cb4b09443c729c7558bdab6 and exact General Unit 1B: canonical Account UUID moderation/report receivers and guarded Logging cutover #2976 a975fb45c1aedfe62a3806274912e7f58333b3b6, including both complete strict PostgreSQL proof families.
  • Game Design's restricted V30 Version-lock function uses its actual configured serviceSchema, retaining SECURITY DEFINER, fixed search_path and public revocation. The isolated-schema test checks real function lookup and wrong/absent scope. Missing/blank configuration throws before SQL; it is not reported as an absent row.
  • Existing Game Design tenant identity migration follows preserved V30 as V30.1. Account password-reset SQL moves mechanically from conflicting V41 to V41.1; contents are byte-identical (SHA-256 79f1f790e5c2fb20be0dc72e4cf5aa83085e773ea3a4cb6144c14291ad01f729). V41→V41.1→V42 ordering is tested. These are source-tree collision repairs, not deployed Flyway-history proof or permission to repair/out-of-order a live database.
  • Gateway replay release preserves complete tagged Redis state, deny/readiness/fence, old-writer quiescence and cross-version safeguards.
  • The inherited Game Design duplicate-tenant fixture is isolated: the retry case uses unused 9302 while the draft case retains 9301. Assertions and production constraints are unchanged.
  • Complete ACTIVE/non-admitting membership is valid authority evidence and reaches WORLD_ACCESS_DENIED without binding. INACTIVE/admitting, malformed, stale or inconsistent event/checkpoint evidence remains denied. Grant and fixed-clock fixtures use complete canonical evidence.
  • REALMS/JOIN consumer work separates the private catalog tenant key from the canonical tenant UUID, carries the UUID unchanged to Account, and rechecks the exact namespace-qualified association before JOIN. Missing/nil/changed association evidence denies. Stored local catalog metadata is not transmitted as Account identity or inferred from a UUID.

Preservation judgment

All 51 non-overlapping source paths were preserved before accepted corrections. Overlapping transport/Account tests retain current UUID, complete source/tuple, current pointer, roster and no-mutation guards. Two omitted obligations were restored: cached legacy connect success must remain denied, and valid ACTIVE-but-nonadmitting membership must not suggest JOIN. Obsolete positive logout/replayed private-context expectations are not retained as proof: current logout denies until durable termination-fence support exists, and retained Account identity is not erased merely because a replacement token has a different subject. Owning tracker obligations remain open.

Validation and evidence

Latest publication 85e1b104c3087b72f73e5bd8018a5ddf79e7fbbb corrects the Game Design required-proof selection, with no runtime changes or weakened gates. The four required owner suites are now selected by their declared class names; all existing strict executed-case checks remain. Local targeted compilation/discovery and docs passed in15s/55tasks (7executed/48up-to-date): all four suites were discovered,37 cases skipped without Docker, zero failures/errors. This is selection/compilation proof, not PostgreSQL execution. Actionlint,23 CI-scope contracts and diff hygiene passed.

Exact current head 85e1b104c3087b72f73e5bd8018a5ddf79e7fbbb CI37202688779 completed aggregate FAILURE, but raw XML now proves all four required Game Design PostgreSQL suites actually executed cleanly: association10, EntityDigest baseline9, fresh tenant creation8 and authored-world source10 (37 total; zero skips/failures/errors). Root independently parsed all methods and rehashed the four files. GS retained association17 and Account authority15/mTLS3+6 also executed cleanly; Account JOIN/reconciliation/storage, Social and Logging strict gates passed. Game Session's later broader Gradle job was canceled, so it remains incomplete. The known Ruff B023, ten missing-websocket-dependency errors and TCP13/17 denied-PLAY failures still fail the aggregate gate; the Python routes below remain open. This closes the required GD execution gap only, not full runtime, deployment, membership/JOIN or activation proof.

Exact preceding fixture head e10741ce7629d6c0117b2724d21feb6d456a6d56 CI37199764787 completed aggregate FAILURE:

  • Raw XML proves GD association10 and GS retained association17 executed with zero skips/failures/errors. Both corrected fixtures and configured isolated owner-schema proof passed.
  • Four GS retained snapshot cases passed strict job-log verification, without retained raw XML; the later broad GS check was cancelled and is not credited.
  • Account JOIN40/reconciliation12/UUIDstorage6, Socialmigration8 and Loggingmigration5 passed strict job-log verification without matching raw XML.
  • GD Entity-baseline used a wrong FQCN and the targeted invocation omitted fresh-tenant/authored-world suites. These did not execute. Their corrected exact-head execution is now proved by the 85e1b10 run above; no execution is retroactively credited to this preceding head.
  • Python Ruff B023 loop capture and ten missing-websocket-dependency test errors are routed to owning Gate 2 playable proof, TLS rotation, and gameplay presence/privacy #2853 (controller routes 3d00f0302d5d9d9a0edec508271544aac424f1a2e4f82f7a727f6bf87fa08914, e3161b61c2627176a0cc3853b804740d63706049860d5db8362857711624e3e9; target notice).
  • TCP13/17 expected-PLAY assertions failed with PLAY_IDENTITY_UNAVAILABLE. No sole-DNS, enabled-admission or aggregate-green claim follows.

Prior fixture-local GD/GS full checks, two JARs/analyzers/coverage/docs passed1m11s/273tasks30executed243up-to-date. Those units were reused, GD52 skipped and GS18executed163skipped. Earlier executed component results remain bound to their own heads, not proof of a complete current producer, live deployment or activation. Bounded Luna diagnostics/implementation helpers confer no independent review or taper credit.

Open producer and activation gates

Account's direct-text scope/JOIN producer still requires canonical caller/tenant resolution and exact catalog authority; Game Session's mocked component tests are not an enabled end-to-end JOIN. Complete authenticated registry/bundle authorization, recipient tuple/fence/currentness, delivered revocation, protected ring custody/materialization/readback, fresh-image/live proof and positive admission/recovery remain open.

Membership RPC, credential/context/catalog/admission activation remains denied; Account ring mount remains unpublished. Unit 1B is provisional, not merge-ready. No provider review/taper, merge or auto-merge credit is claimed. Current findings, routes and handoff evidence are maintained in FireController current-document and owning PRs, not parallel private ledgers.

General CI-only closeout

Current CI-only restoration: 7d01b8b4e47b9de1f3cb60f86571223677abc438, one three-path commit on published 1e0a304077c7b8eec5836e995dabd3fbe974a9f1. It carries only the reviewed #2853 callback binding, hash-locked smoke dependency install, and focused workflow contracts. Owner-specific CI test selectors/captures and runtime source are unchanged; no parent merge or ancestry rewrite was performed.

Local proof: Actionlint, pinned Ruff lint/format, workflow-version authority positives/negatives, diff hygiene, and all 193 dev-tool unit cases pass in a fresh hash-locked CI+smoke environment. Local Python is 3.10, not the CI-pinned 3.14; this does not establish full required CI success.

The earlier Game Design owner PostgreSQL proof has four raw XML suites, 37 tests, and zero failures/errors/skips, including the configured owner-schema, baseline exact-retry, and migration-role cases. Artifact 11326487247 was inspected. It binds base a975fb45c1aedfe62a3806274912e7f58333b3b6, child 1e0a304077c7b8eec5836e995dabd3fbe974a9f1, and tested merge 8a9ae3d620c21d6ec9d4f111830108e1b58fcac8; it is not current-parent whole-stack readiness.

Remaining owner gates: reconcile against published #2976 ae884d79133cfc614e18e5fa8ad92686a2b76bc8 and recount the unique boundary before provider admission. The GitHub diff is currently 103 files due to the stale merge base; no file-cap waiver or duplicate extraction is inferred. The earlier TCP Proxy cross-service job failed 13 of 17 tests, mainly in admission setup. There are no unique TCP Proxy edits in this PR's patch; the deeper runtime cause is not established and has been handed to the owner/Overseer for attribution after alignment. Full current-tuple CI and runtime proof remain incomplete.

FireMUD LOC impact

Compared a975fb45c1ae → 7d01b8b4e47b (PR merge-base → head).
PR scope: 103 changed files · 13,256 added textual lines / 488 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 766,640 777,679 +11,039 +1.4%
 Source 677,515 687,984 +10,469 +1.5%
  ↳ Code 287,646 291,075 +3,429 +1.2%
  ↳ Tests 389,869 396,909 +7,040 +1.8%
 Markdown 58,809 59,201 +392 +0.7%
 Design 61,493 61,881 +388 +0.6%
  ↳ Architecture 45,161 45,191 +30 +0.1%
  ↳ Project management 5,612 5,650 +38 +0.7%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,529 6,849 +320 +4.9%
  ↳ 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.

…it1b-scoped-source-events

# 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: 610fe302-493a-4a83-ac10-2b36ac810335

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 Implement Account password-reset authority source and exact retry receipts Unit 1B: Account reset authority and retained tenant UUID handoff Oct 2, 2026
@benhook1013
benhook1013 had a problem deploying to trusted-hosted-cluster October 2, 2026 00:54 — with GitHub Actions Failure
@benhook1013 benhook1013 changed the title Unit 1B: Account reset authority and retained tenant UUID handoff Unit 1B: Account source authority and retained tenant UUID handoff Oct 2, 2026
@benhook1013 benhook1013 changed the title Unit 1B: Account source authority and retained tenant UUID handoff Unit 1B: Account source authority, authenticated readback and retained tenant UUID handoff Oct 2, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Source: #2932 exact 5aca20ad5e8ae5809f8c23c44d8cf6e6da49c8de, CI37181984029 TCP job. Its cross-service task executes 17 tests, with 13 failures and no skips: LOGIN succeeds but PLAY returns AUTH_UNAVAILABLE.

At that earlier boundary, PlayCommandHandler.membershipPlayerContext sends the numeric tenant key while AccountClient requires a canonical non-nil tenant UUID before RPC dispatch. The disconnect DNS warning is not proved causal. This existing #2933 owner slice contains 63a3ec1b8, the provenance-backed retained tenant resolver and canonical membership-request handoff; that is relevant implementation, not evidence that the earlier #2932 flow passes or that runtime membership may activate.

Keep the complete canonical tenant association, fail-closed unmapped/contradictory behavior, unchanged PLAY guard, and real producer/consumer proof as the resolution boundary. A fake UUID substitution or weakening the client cannot close it. The earlier carrier cannot currently supply positive full-flow proof in isolation; track the actual dependency/composed proof rather than discarding this observation as already tracked. No source PR was changed by this routing note.

@benhook1013
benhook1013 changed the base branch from codex/unit1b-uuid-session-carriers to codex/logging-account-uuid-receiver October 4, 2026 09:47
@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: success
  • ✅ Dev tool contract checks: success
  • ⏭️ 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

Retiring this donor into the consolidation stack. Its whole original scope (7d01b8b4e47b9de1f3cb60f86571223677abc438 over a975fb45c1aedfe62a3806274912e7f58333b3b6, 103 paths) is accounted for in develop and the published receivers, top #3442 0d60acbf3621bf41d85a1fccc8df46d55dd3a105.

Component here Receiving successor Disposition
Password-reset atomic operation and receipt (V41.1) V77 with the same repository and producer test, in develop Carried
Closed reset and issuer v1 codecs Reset codec in develop; AccountIssuerSourceSnapshotGrpcCodec in #3438 Carried
Issuer event producer and readback gRPC AccountIssuerAuthoritySourceGrpcService, AccountIssuerSourceSnapshotReadOwner (#3438, 37 tests), still unregistered as here Carried
Game Session issuer client and mTLS tests AccountIssuerAuthoritySourceClient and its mTLS test in common-platform-core (#3438) Superseded
Retained association key read GameSessionRetainedTenantAssociationReadRepository with Ed25519 and V25/V13 pointer checks (#3440 53f494d); its PostgreSQL suite passed on #3440 today Superseded (stricter)
Association register and readback service Retained rows are read-only V12/V13; fresh tenants go through Game Design Superseded
Default unsigned resolver bean and fail-closed PLAY Game Design canonical tenant resolution plus the explicitly composed signed reader; missing or nil refuses (#3440 43edfc1, 161 PlayCommandHandler tests) Superseded
REALMS/WORLDS and connect-scope UUID split Canonical UUID facades (Account api-contracts) Superseded
Gameplay attestation canonical account UUID JwtClaims.requireCanonicalAccountUuid in develop Carried
Game Design V30 lock schema Tenant-identity history per Game Design tracker Superseded
Fixtures, workflow contracts, docs Present in develop or rewritten canonically Carried / superseded

No review threads. The branch stays because #2938 is based on it.

@benhook1013
benhook1013 deleted the codex/unit1b-scoped-source-events 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