Skip to content

Unit 1B: Account sources, current recipient evidence and issuer projection - #2938

Closed
benhook1013 wants to merge 21 commits into
codex/unit1b-scoped-source-eventsfrom
codex/unit1b-account-logout-cutoff
Closed

benhook1013 wants to merge 21 commits into
codex/unit1b-scoped-source-eventsfrom
codex/unit1b-account-logout-cutoff

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Boundary

Published checkpoint d25fa3a661085e62a478bcbc1280f9e5e0fe9076, normally reconciled on exact #2933 85e1b104c3087b72f73e5bd8018a5ddf79e7fbbb. 90 unique files; source and old child history are retained without rebase. This coherent Account source/derived-projection stage remains unwired and not merge-ready.

Latest parent propagation retains the corrected four-suite Game Design proof selection and exact e107 source CI evidence. This normal merge changes only the workflow and tracker; final docs passed16s/7tasks2executed5up-to-date, actionlint/hygiene clean. Source e107 raw GD10/GS17 association cases passed; other required GD suites did not execute and remain pending corrected source CI37202688779. It does not prove this child’s full composed database/runtime boundary.

  • Closed logout-all and tenant-generation event codecs bind exhaustive canonical JSON/SHA256 preimages and fixed/large-counter vectors.
  • Account logout-all commits generation/version, actual issuance fence, immutable V42.1 request/token receipt, event and checkpoint together. Exact recovery returns the original result after later advances; mixed reset/logout history preserves original receipts.
  • Logout-all receipts persist the explicit closed token profile and canonical ACCOUNT_LOGOUT_ALL operation identity. ADR0035/0047 byte-framed requestDigest/v1 is recomputed before first mutation and during receipt/source readback; changed profile/digest/hash/version/request bindings cannot replay or alter the original result. This is source correlation, not caller authentication or registry authorization. V42.1 is a mechanical unapplied-candidate collision repair, not deployed-history proof or permission to rewrite applied versions.
  • Tenant source advances only an already-authoritatively-enrolled tenant, with immutable scoped operation/event/checkpoint and same-fence current/historical readback. Missing, contradictory or overflowing state denies without enrollment, Account-fence changes or billing authority.
  • Registered owner-local issuer projection/CAS store uses partial shared Redis descriptors, SHA-pinned Lua and an explicitly initialized Coordination connection. Atomic persistent projection/checkpoint maintenance and complete duplicate verification grant no admission or rebind authority.
  • Current recipient composition preserves historical membership tuple/fence/bytes/digest while assembling current issuer/Account/tenant/member checkpoints. Shared codec-driven content validation denies gaps, contradictions, regressed current evidence and unsupported grant/billing sources.
  • The new unregistered Account membership handler verifies the exact Game Session workload peer before owner access, reads/encodes in one ordinary Account transaction and emits only after commit. The explicitly initialized Game Session client pins the exact Account server peer and checks typed selectors, recipient/request echoes, freshness and closed content. PLAY reuses its proto adapter without weakening lifecycle or admission checks.
  • Eleven real socket/mTLS cases cover valid ACTIVE/nonadmitting MISSING, wrong-service/namespace callers and servers, missing client certificate, malformed context and cross-bound/malformed responses. These mock the producer/transaction manager.
  • Two real Account/PostgreSQL-through-mTLS tests cover JOIN and immutable membership readback after three source advances, durable sequence-zero absence, wrong-peer/unmapped no-mutation denials, retained INACTIVE LEFT evidence, reactivation and exact historical LEFT retry without changing current ACTIVE state. Strict CI requires both exact methods and uploads raw XML. Their approved association and independent UUID Game Instance context are synthetic test fixtures, not live migration/catalog authority.
  • Owner-local Account source reader returns current generation/local fence/latest checkpoint with an optional exact retained reset/logout event under one Account row/source lock. It validates immutable receipts without relaxing current password-reset retry postconditions, supports only proved1/1 source absence, and never authenticates a caller, initializes missing authority or produces a complete recipient bundle. Shared closed validators enforce the result constructors; no additional wire schema, endpoint or Spring registration.

Latest reconciliation and focused proof

Two normal merges preserve old child 4c61e8938c205e49885cc1f5bde1945e070aca2a, source a80cd56f4488f97d9e8b7f4c70f2814503d54edf and corrected source e10741ce7629d6c0117b2724d21feb6d456a6d56 as ancestors. Independent mechanical comparison identified 67 child-only paths: 66 old-child blobs remain identical, and the remaining logout SQL is a byte-identical V42 → V42.1 move (SHA-256 30c70bf4a38769edcd2733642011ff706f565da4ed99f41789a5f560dec0dad2). Incoming LEFT stays V42; V43–V55 remain unchanged. The ordering/uniqueness test covers the combined candidate. All 22 mixed paths were compared across both parents; actual runtime/doc conflicts were integrated by obligation, not whole-file replacement. Both corrected source fixture blobs are exact; workflow XML capture and source proof limits are retained.

Central current-recipient validation and canonical UUID caller/tenant handling coexist. Composed tests exposed a real denial interaction: another account's evidence could clear the caller's existing binding. The correction preserves WORLD_ACCESS_DENIED without that mutation; bound/unbound complete cross-account tests retain no-interaction assertions. Malformed carrier evidence remains AUTH_UNAVAILABLE. No lifecycle/admission or production storage guard was weakened.

The corrected Account/Game Session/Common Security/Core checks, jOOQ generation, two boot JARs, analyzers, formatting and documentation passed in 2m15s (291 tasks: 37 executed / 254 up-to-date). Game Session's unit task executed 2,357 cases cleanly with 17 skipped. After merging source fixture corrections, the expanded Game Design/Account/Game Session/library and three-JAR gate completed all affected checks but failed solely on one duplicated blank line; the corrected final gate passed in 12s (212 tasks: 12 executed / 200 up-to-date). Unchanged unit tasks were reused, not recredited as fresh execution. Account's 233 PostgreSQL cases remain locally skipped; Game Design's 52 integrations also skip. Game Session component integration/cross-service execution is not a full authenticated admission flow. Architecture contracts (230 tests), workflow lint and diff hygiene pass.

Source predecessor exact CI37197049562 proved the configured isolated Game Design owner-schema case, but failed on the now-corrected signature and public-pointer fixtures. Corrected exact source CI37199764787 is still pending; it proves only its source head, not this child. No exact child database/runtime CI is claimed.

The repository contains no proof of this environment's applied Flyway history or retained receipt disposition. Exact schema/history/checksum and retained-row readback remain a deployment gate; never use repair/out-of-order application or infer safety from Git ancestry. Runtime/credential/membership/catalog/admission activation and the Account ring mount remain denied. The 90-file scope warning is reported; no merge/provider-review credit or new file-cap exception is inferred.

The evidence below is historical where its head differs from the current checkpoint.

Preservation

Normal commits preserve both source heads and every transferred hunk. Pre-cut 78a703077588ca9185f90959ad0cee95491d427c and regrouped merge bb6009cf334d4d9aeb8fab5d089ec1d87358db40 had identical tree c92d1bed573888b620cb16644304ded4a125e395. Later additive implementation/proof commits intentionally change that tree; current equality is not claimed. No rewritten history or helper PR. Parent remains77 files; child89.

Proof

  • Current Account generation reprojection batch: Account alone derives the closed physical record from its fenced SQL reader, applies a registered byte CAS, and verifies exact Redis plus fresh SQL readback before reporting convergence. No TTL, synthetic enrollment, caller-supplied authority, recipient bundle or admission. Seven PostgreSQL/Redis cases cover pristine source, actual reset/logout history, unknown-source denial, internally valid ahead-cache poison, malformed/TTL refusal, races and direct EVAL denial; all compiled/skipped locally without Docker.
  • Both Account and issuer helpers use verified registered script bytes, checked SCRIPT LOAD identity and one EVALSHA, with no EVAL fallback or blind NOSCRIPT retry. Issuer schema/transition/CAS semantics are unchanged; its six previous cases plus new owner EVAL-denial case remain mandatory in CI. Local issuer unit proof verifies exact bytes/order and NOSCRIPT propagation.
  • Corrected composed Account/Game Session full checks, both boot JARs, common Redis checks and docs passed 2m 21s,166tasks(37executed/129up-to-date). Account602unit and GameSession1,874unit/18integration/18cross-service executed cleanly; GS17/150/37skips. All216Account PostgreSQL cases skipped locally, including seven new cases; all seven issuer Redis cases skipped. Unchanged common Redis20 was reused up-to-date, not newly executed. Final tracker-only docs18s/actionlint/diff hygiene passed; all14 exact strict selectors match compiled XML. Current exact-head runner execution is required before crediting new database/Redis proof.
  • Focused Account handler6/encoder62 and Game Session client8/adapter5/PLAY115: 196 executed, no skips/failures/errors.
  • Separate socket run: 11 executed, no skips/failures/errors. The final full Game Session gate also executed these11.
  • Account full check/JAR:1m4s,67tasks(17executed/50up-to-date), 568 clean unit cases; all203 PostgreSQL cases skipped locally without Docker.
  • Game Session full check/JAR:2m17s,131tasks(31executed/100up-to-date), 1,872 unit/18 integration/18 cross-service executed cleanly;17/149/36 skipped. The new database/socket case compiled but is one of those skips.
  • Java formatting, Checkstyle, SpotBugs and JaCoCo passed. Links/Markdown passed17s and final tracker-only gate7s; actionlint, exact workflow selector-to-XML matching and diff hygiene passed.
  • Prior exact b33c81b45a4a51c474063593f8cffb1a4e792b0f CI36982818253 passed Account/Game Session/TCP. Composition1, freshUUID11, logout8/Tenant12, issuer15 and reset6 executed cleanly. Root parsed ten component XMLs; freshUUID/WebSocket16/ScriptPin25 are strict-log evidence, not dedicated XML. This does not prove the new transport batch.
  • Exact preceding transport head 2c3cd707d62dad34e4009204b4a0ecf9f39dc672 CI36987190469 completed: Account/Game Session/TCP passed; eleven physical membership mTLS cases and the initial real PostgreSQL/socket case executed with zero skips/failures/errors. Root parsed and rehashed twelve component XMLs. Aggregate workflow failed on Python/dev-demo validation, a documentation-link504, Automation formatting and the already-routed Game Design duplicate fixture. Passing owned jobs are not aggregate-green or activation proof.
  • The retained-lifecycle case compiled but skipped locally: final focused two-case/format/Checkstyle/SpotBugs gate passed25s, two cases/two skips/zero failures/errors. Final docs passed8s; actionlint, selector-to-XML matching and diff hygiene passed. The preceding full GS gate2m29s preceded final assertion corrections. The subsequent902CI item below establishes its executed runner proof; this local gate alone did not.
  • Exact preceding head 902591a1e9201f19175bbe08efcf8020cdea28a6 CI36990966974 completed: Account/Game Session/TCP passed; both PostgreSQL/socket methods, physical membership mTLS11, current composition1, logout8 and Tenant12 executed with zero skips/failures/errors. Root parsed/rehashed all five scoped uploaded XMLs. Aggregate failed on the Game Design tenant9301 duplicate fixture, Automation formatting and shared Python/dev-demo validator failures; Validation Gate is a downstream consequence. Documentation passed. This establishes the second case's preceding-head execution, not the current digest correction's execution.
  • Corrected current digest/profile batch: focused four fixed-vector/negative tests passed. Consolidated Account/Game Session full checks, both boot JARs, links/Markdown and static gates passed54s/156tasks(18executed/138up-to-date). Account572unit cases executed cleanly; all203Account PostgreSQL cases skipped locally. GameSession same-code unit/integration/cross-service results were reused up-to-date in the final gate;37cross-service skips include both PostgreSQL/socket cases. Flyway passed12sets/130files and diff hygiene passed. The initial static expected-hex literal was corrected without changing production framing or either independently checked canonical digest. Exact current-head database execution remains required.

Remaining gates

Current projection exact-head CI37005842157 completed: Account, Game Session and TCP passed; both seven-case Account PostgreSQL/Redis and issuer Redis suites executed without skips, failures or errors. Root verified fourteen uploaded XML suites and their hashes, including source, transport and association proof; no earlier head or local skip receives this execution credit. Aggregate CI remains red on separate Ruff/shared dev-demo-validator, Automation protobuf/configuration-cache and Game Design duplicate-tenant-fixture failures. The latter is already routed to #2872; no unsupported flaky/inherited attribution. The sole sentinel has stopped. Source application/delivery, complete credential provenance and Account bundles, downstream cutoff bounds, deployed client/ACL cohort and fresh-image/live proof remain unfinished. Membership RPC, credentials, context/catalog activation and ring mount remain denied/unpublished. No provider review requested and no merge-readiness claim.

Current source-reader batch: corrected full Account check/JAR/docs passed56s/70tasks(22executed/48up-to-date),584unit executed cleanly, including reader8/readback7. All209PG compiled/skipped without Docker, including expanded logout/source suite12. Final tracker-only docs passed17s, actionlint/diff hygiene clean. Initial test call-arity and case-sensitive assertion errors were corrected by direct same-task helper continuations; no production guard was weakened. The four new mandatory database selectors cover pristine/unknown Accounts, mixed reset→logout→reset history and superseded retry denial, invalid/injected missing/foreign readback, and actual PostgreSQL blocking-PID proof against a source writer. Exact-head CI37000613624 completed: Account/Game Session/TCP passed, with all12 source-reader/logout,6outbox,1composition,2membership PostgreSQL/mTLS and11physical membership-mTLS cases executed cleanly. Root parsed/rehashed their raw XML and separate issuer6/3 XMLs. Its sentinel stopped. Aggregate failed on the dev-demo summary validator, Ruff, the Game Design duplicate fixture and Automation protobuf configuration-cache serialization; the last is a distinct signature from prior formatting failure. Passing component proof is not aggregate-green or fresh-image/live activation proof.

Exact canonical-digest/profile head 4a2dd38dc CI36994950206 completed: Account/Game Session/TCP passed, and strengthened logout8/current-recipient composition1/PostgreSQL-mTLS2/physical-mTLS11 all executed without skips/failures/errors. Root parsed and rehashed all four raw XMLs. Aggregate failures remain the Game Design tenant9301 duplicate fixture, Automation formatting and shared Ruff/dev-demo validation; no aggregate-green or activation claim. Its sentinel stopped.

The preceding six-file outbox follow-up changed no production code: two real PostgreSQL tests prove V33's rejected head deletion preserves complete event/checkpoint evidence and a missing exact stream does not synthesize authority or confuse another stream. An initial suspected orphan-history bug was rejected against the existing immediate FK and delete/immutability guards; the unnecessary repository/unit patch was removed. No guard is disabled or corrupt fixture fabricated. ADR0035/0036 status links converge on the tracker without changing accepted decisions. Exact6bb37c449 CI36997795142 completed: all6outbox,8logout,1composition,2PGmembership-mTLS,11physicalmembership-mTLS and6issuer-mTLS/3issuer-PG-mTLS cases executed cleanly. Root parsed/rehashed all seven raw XMLs; its sentinel stopped. Aggregate retained the separately identified shared tooling/Automation/Game Design failures. This is executed proof of that preceding batch, not the new source-reader suite or activation. The reusable lesson is recorded in the existing AI observations.

Complete grants/entitlements, committed credential-service integration, complete authenticated recipient authorization/delivery, deployed Redis catalog/client-cohort ACLs, active-binding revocation, fresh-image/live proof and positive end-to-end recovery remain open. The transport's UUID Game Instance selector does not activate the legacy numeric gameplay route. Source initialization is not an authenticated command or endpoint.

Membership RPC, credential/context/catalog activation remain denied; Account ring mount remains unpublished; Unit1B is provisional. No provider review, discovery cycle/taper credit, merge or auto-merge. Parent movement remains a separate reconciliation gate.

Private chronological proof, prior failures/corrections and hashes: FireMUD-project-direction/tmp/review-ledgers/pr-2938.md.

FireMUD LOC impact

Compared 85e1b104c308 → d25fa3a66108 (PR merge-base → head).
PR scope: 90 changed files · 21,330 added textual lines / 667 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 777,304 795,993 +18,689 +2.4%
 Source 687,656 706,095 +18,439 +2.7%
  ↳ Code 291,075 297,798 +6,723 +2.3%
  ↳ Tests 396,581 408,297 +11,716 +3.0%
 Markdown 59,201 59,275 +74 +0.1%
 Design 61,881 61,955 +74 +0.1%
  ↳ Architecture 45,191 45,213 +22 +<0.1%
  ↳ Project management 5,650 5,702 +52 +0.9%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,849 6,849 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 2, 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: 300d52b7-a548-491b-b741-b1fd48db5959

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 Account logout-all source receipts and mixed authority-event readback Unit 1B: Account cutoff sources and registered issuer projection Oct 2, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Published exact 1b681b6 (50 unique files) on normally incorporated #2933 f9f5147 (77). Complete pre-/post-regroup cumulative tree equality proves no-loss; only final tracker/proof wording differs. Corrected four-module full checks, both JARs and docs passed. Local Account PostgreSQL cases all skip without Docker; corrected logout-all 8 and new tenant-source 12 must execute. Exact cumulative CI: https://github.com/benhook1013/FireMUD/actions/runs/36974620808. One sentinel owns its wait. Runtime RPC/credential/context/catalog paths and ring mount remain denied; no merge-readiness or review/taper claim.

@benhook1013 benhook1013 changed the title Unit 1B: Account cutoff sources and registered issuer projection Unit 1B: Account sources, current recipient evidence and issuer projection Oct 2, 2026
@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
benhook1013 marked this pull request as draft October 28, 2026 12:41
@benhook1013

Copy link
Copy Markdown
Owner Author

Retiring this donor. Its original scope (6abc8b2740eaf325265c18827a9c51ae9fdd4b01 over 85e1b104c3087b72f73e5bd8018a5ddf79e7fbbb) is accounted for in develop and the receivers (top #3442 0d60acbf3621bf41d85a1fccc8df46d55dd3a105), except one item that is deliberately left as a tracked gap rather than ported.

Component here Receiving successor Disposition
Logout-all codec, producer, receipts (V42.1) Same classes in develop; V78 Carried
Logout/reset ordered-history PostgreSQL proof #3438 67c49e5dde Carried
Tenant-generation source and codec AccountTenantAuthorityEventRepository, common TenantAuthorityEventV1Codec Superseded
Source reader and readback Same classes in develop Carried
Account generation projection, Redis CAS, contract registry AccountGenerationProjection, RedisScriptCatalog (ADR 0176) Superseded
Game Session issuer projection Develop issuer binding; bootstrap and TTL proof in #3440 c1a97eae, 89b29f6e Carried
Current-recipient evidence validator Same class in develop Carried
Membership RPC with full evidence carrier, Game Session consumer, 13 mTLS/PostgreSQL cross-service cases Not ported. Develop's live response ends at field 9 and Account runtime-and-data records that roles, the complete authorityTuple and outboxCheckpoints remain absent; complete caller-target atomic authority stays open under AA-2.1 in the Player Access and Session tracker Tracked gap

No review threads. The branch has no remaining dependents.

@benhook1013
benhook1013 deleted the codex/unit1b-account-logout-cutoff 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