Skip to content

Unit 1B: authenticated World terminal delivery and exact Account settlement - #3035

Closed
benhook1013 wants to merge 17 commits into
codex/unit1b-world-selector-release-carrierfrom
codex/unit1b-canonical-world-lifecycle
Closed

benhook1013 wants to merge 17 commits into
codex/unit1b-world-selector-release-carrierfrom
codex/unit1b-canonical-world-lifecycle

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Exact published Account reconciliation PostgreSQL proof

Published 1b38b0d5c6c7aa5558ec985e50227bb4bf0b4258 CI 37575081426 proves 23 publication-participation PostgreSQL cases executed, zero failures/errors/skips, including the three new real service/SQL-store reconciliation cases: partial-owner lost-response recovery, wrong-operation World evidence denial with exact retry, and concurrent exact reconciliation retaining one immutable matching pair. Account job112642138046 and its strict execution/capture steps passed. Actual checkout 95d94586317e885fe48d576fc2fbc9d2b1ab7c69 has ordered exact #3029/source parents and a head-identical tree. Original remote Game Design/World responses remain explicit synthetic doubles; this is not live owner authorization or settlement.

The separately captured three AccountPublicationTerminalReconciliationServiceTest cases use mocked repository/clients and a synthetic transaction manager, and are not counted as database proof. Local23 skips are an environment limit, not the runner result. Aggregate CI remains red on TCP cross-service failures and Game Session’s 30-minute cancellation with socket failures; no enabled playable flow, runtime activation or merge readiness is claimed.

Current Account service/store composition checkpoint

Published 1b38b0d5c6c7aa5558ec985e50227bb4bf0b4258 retains the same 69-file scope and adds three focused real Account reconciliation-service/PostgreSQL-store definitions: partial-owner recovery across restart, wrong-operation World evidence denial followed by exact retry, and concurrent exact retries retaining one immutable owner-result pair. Game Design/World clients remain explicit synthetic upstream doubles, each asserting no active Account transaction or synchronization. This is component composition, not live authenticated owner settlement.

Focused schema/main/integration-source compilation, formatting, Checkstyle and SpotBugs pass. Raw selected-suite XML contains 23 tests, all 23 skipped without local Docker, zero failures/errors. The earlier a9 runner result proves the original 20 PostgreSQL methods only; it does not prove these three new methods. Exact-head runner execution is required. Runtime wiring and every activation gate remain unchanged and denied. The four Gameplay handoffs remain open.

Exact-source database and component capture proof

At published a9f32559fd6235a1a345048e75be207d4fc9759c, CI 37569958133 completed with Account, Game Design and World jobs successful. Downloaded raw JUnit XML proves 128 PostgreSQL cases and three non-database component cases executed, zero skips/failures/errors: Account Draft fence 19, canonical first JOIN 7, publication fence 20 and terminal reconciliation 3; Game Design publication operation 12 and Draft publish selection 9; World graph/application 34, canonical association 12, Draft abort 7 and publication fence 8. The three Account terminal-reconciliation cases use mocked repository/clients and a synthetic transaction manager; they are not PostgreSQL or authenticated two-owner settlement proof. The previously missing Account captures are present: the redundant filtered rerun no longer overwrites their XML. The corrected pre-CAS authority-loss rollback is a named executed World case.

Aggregate CI remains red: TCP cross-service tests report 13 failures among 17 cases, including PLAY_IDENTITY_UNAVAILABLE after LOGIN; Game Session was cancelled. Gameplay owns that receiving-path investigation. These component fixtures isolate upstream authority and do not establish a live cross-owner publication, activation or playable flow. This source run does not validate later V47/V48/V49 work in #3044. No activation, provider review or merge readiness is claimed.

Boundary and dependency

Published checkpoint 1b38b0d5c6c7aa5558ec985e50227bb4bf0b4258, stacked on #3029 2961b48875070d5d445384588a923ca2bb6cc99b: 69 unique files. Normal merges preserve all published ancestry. This World delivery and Account settlement draft remains outside the configured queue pending Gameplay coordination. Publication is not review admission or merge readiness; broader Unit 1B/control UI remains parked.

All four Gameplay handoffs remain OPEN: original Account-authorized World APPLIED; genuine immutable Game Design release; canonical World preparation/materialization → ACTIVE with authenticated Game Session association, actor placement and operational-region composition; exact two-owner Account settlement.

Implemented unique boundary

  • Game Design V51 retains complete immutable release content and the original publication epoch with its sealed terminal without rewriting V50 history or backfilling absent evidence. Its closed, unregistered workload-mTLS owner read recovers exact PUBLISHED/NO_PUBLICATION; absent or pending operations alone return UNKNOWN.
  • World V44 retains that definitive terminal with exact original freeze/source/Account/APPLIED/selector evidence and advances the owner phase atomically. Preparation requires retained PUBLISHED. Later launch resolution may have a newer epoch without rewriting the original terminal or substituting immutable release content.
  • Protected World completion authenticates the same-namespace Game Design workload before decoding, independently reads Game Design outside World locks and commits through the original owner transaction. Permanent peer/evidence failures deny; transient unavailability and UNKNOWN remain retryable.
  • The separate protected Account-to-World terminal read reconstructs retained evidence in a read-only REPEATABLE READ snapshot. UNKNOWN requires the exact original attempt and FROZEN owner in that same snapshot; absent association, contradictory phase and substituted bytes deny. Concrete clients verify workload identity and exact response echo.
  • Account V80 retains canonical full-operation-bound results from both owners. Its unregistered reconciler performs RPCs between short transactions, compares complete definitive outcomes, retains both and only then settles under source-before-operation lock ordering. RESERVED, timeout, absence, FAILED, Draft receipts and one-owner results cannot settle a fence.
  • World V43 retains activation identity, original preparation evidence and an atomic PREPARING → ACTIVE outcome/CAS. Through-commit owner joins, typed ROOM identity, lifecycle epoch and immutable retry remain distinct from current admission eligibility; production verifiers remain denied.

Latest source database proof and capture repair

Exact source e7feaf83ce9f1c6271c10c5fe9b95c58091fb961 CI 37565429271 produced raw PostgreSQL XML for Graph 34/34, canonical association 12/12, definitive Draft abort 7/7, and publication fence 8/8, all with zero skips. The corrected lostHeldAuthorityAfterOperationInsertRollsBackActivationAndLedger passed. These are actual named owner database fixtures, not genuine multi-owner/playable closure or later #3044 proof.

Aggregate CI was red: the redundant filtered Account integrationTest rerun replaced results before required Draft/JOIN raw captures. TCP cross-service tests ran 17 cases with 13 PLAY identity failures after successful LOGIN; Gameplay owns that open prerequisite surface. Game Session was cancelled. Publication fence 20 and reconciliation three cases passed but cannot substitute for missing Draft/JOIN captures.

Current checkpoint removes only the redundant Account rerun; the full Account check remains the producer for every strict capture/verifier. The existing Gradle proof contract now rejects a second Account integration run between full check and capture, including a negative mutation case. Contract, ShellCheck, diff hygiene, links and Markdown pass. Actual corrected CI must establish retained raw captures; no aggregate green or new runtime proof is claimed. Earlier source fixture proof remains applicable to unchanged runtime source, not a fresh executed result at this workflow-only checkpoint.

Earlier executed-CI defects and corrections

Exact prior head e7517a874d55242e373a3e2083d709ee4e0242e7 CI37542981672 used synthetic merge 30fdcc1331cc76b412935c5839d9fb1733a5c694, ordered #3029/e751 parents and the identical e751 source tree. Saved service evidence executed Account publication 20/20, terminal reconciliation 3/3 and canonical JOIN 11/11 cleanly. Game Design publication had 12 cases / one failure; World association 12 / eleven failures; World graph 33 / seven failures. The named database suites supply executed PostgreSQL evidence; the three terminal-reconciliation methods are non-database component tests, not database or live-owner proof, and it does not validate this corrected head or #3044. The aggregate was still queued at the bounded saved-evidence read; no aggregate-green claim is made.

The corrected checkpoint preserves V50's authentic zero-byte fourth frame; aligns World association participant/workflow/commit with the exact selector; and exercises historical V1 preparation through genuine V41/V42 owner SQL rather than an incompatible current V44 callback. It completes the exact PUBLISHED terminal before the late-fence case, uses genuine activation to obtain stale-precondition evidence and asserts the actual guard stage for raw forgery.

Two genuine runtime activation defects are corrected: V43 no longer equates separately captured original-intake and later published epochs, while retaining each epoch's own evidence joins; and its validated COMMITTED insert now creates a protected, transaction-local, single-use complete-row activation manifest. The reserved-tenant guard consumes only that exact CAS; the deferred guard also rejects an unconsumed manifest. Existing region/preparation paths and legacy numeric denial remain intact. Runtime direct manifest writes must not be granted. Definitions cover consumption, wrong transaction/instance/OLD/NEW snapshot/next counters, no-ledger/ABORTED denial and complete rollback after held-authority loss.

The activation retry proof now honestly covers ACTIVE and denial of legacy numeric termination. Canonical termination and retry after genuine later TERMINATED remain open World lifecycle capability/proof obligations. No fabricated lifecycle transition or relaxed check substitutes for them. CI's strict required-case name follows the actual test.

Required Account DraftAuthorizationFence/AccountJoin captures and the nine-case Game Design authored-selection capture were absent from saved prior-run evidence. Shared report ordering/selection ownership is being routed; missing captures are not successful or skipped execution. No report requirement is waived.

Validation and review limits

Corrected Common/Game Design/World formatting, check -PfullCheck, Checkstyle, SpotBugs, coverage, schema generation, packaged JARs and links/Markdown passed; the final consolidated gate completed in 41s, reusing unchanged outputs. Matching per-suite XML contains 1,307 clean unit executions and one unit skip: Common 339, Game Design 576 executed/one skipped, World 392. All 341 integration cases skipped without local Docker (Game Design 169; World 172, including 34 graph cases). These are compiled/discovered definitions, not PostgreSQL migration/constraint/race or authenticated-owner execution. Flyway sanity passes 12 sets/223 files; architecture contracts 230 tests pass. Corrected exact-head runner execution remains required.

Bounded Luna XHigh proof helpers, Sol Medium activation diagnosis/implementation and Luna High preservation/fixture investigations are recorded in FireController and inspected by the parent. They give no whole-corpus, Hosted or CLI taper credit. The parent caught and corrected the selector-null fixture branch error surfaced by static analysis; no analyzer suppression or runtime guard relaxation was used.

Earlier checkpoints preserved all twelve Game Design terminal PostgreSQL definitions, twenty Account publication definitions, physical mTLS/lost-response and V50→V51/V79→V80 history. Earlier owner-scoped terminal consistency and permanent/transient error findings remain corrected. Earlier source CI and the open Major Gameplay PLAY route 30b0152eaf1b237b9835add5aab196843b76b1eae8b9353a0b93bc7dc852ca67 remain historical evidence, not current-head proof; #3041 is STARTING/read support, not closure of that route.

Delivery and activation gates

Executed corrected PostgreSQL, genuine authenticated prepare/activation composition, fresh images, actor-specific readback, Game Session region registration/current epoch/fence and final gameplay consumer remain required. #3041 514b91070cbda27bea85c77adb7815dfafc77e18 supplies protected STARTING association; #3044 develops the downstream World producer/storage/readback, not completed delivery. Caller bytes, copied source evidence, projections and isolated fixtures are not live producer proof.

Unchanged content derivation never renews creator-role/terms permission. Current exact-tenant admin, entitlement/billing/quota/capacity and lifecycle authority remain separate and denied without genuine producers. ISOLATED is environment/policy, not playable-state scope: preserve SHARED/PRESEEDED_ONLY, typed authored ROOM and genuine Entity-assigned actor; never seed ACTIVE or fabricate an owner outcome.

Membership RPC, credential release, ring mount, production creator/admin writers and public activation remain denied. No merge readiness, admission, provider review or corpus taper is claimed. Controller records own findings, routes and checkpoint evidence.

FireMUD LOC impact

Compared 2961b4887507 → 1b38b0d5c6c7 (PR merge-base → head).
PR scope: 69 changed files · 14,310 added textual lines / 416 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 994,898 1,007,717 +12,819 +1.3%
 Source 902,241 915,009 +12,768 +1.4%
  ↳ Code 375,743 380,887 +5,144 +1.4%
  ↳ Tests 526,498 534,122 +7,624 +1.4%
 Markdown 60,145 60,166 +21 +<0.1%
 Design 62,833 62,854 +21 +<0.1%
  ↳ Architecture 45,529 45,538 +9 +<0.1%
  ↳ Project management 6,027 6,039 +12 +0.2%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 7,086 7,086 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 6, 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: fc4bd223-9b71-40a7-805e-88a1dcf46875

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.

@github-actions

github-actions Bot commented Oct 6, 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 benhook1013 changed the title Unit 1B: canonical World lifecycle and authenticated delivery prerequisites Unit 1B: authenticated World terminal delivery and exact Account settlement Oct 6, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Owning source fixes from exact CI37536968451, source db3d9487e555f94ae1124bdd1a095e098034f3a2, are retained as five routes to this PR in FireController's publication-df35-terminal-db3-ci-observer-20261007 record:

  • Major: V43 activation SQL references nonexistent association version_id; the correction must use the joined source-qualified Game Design version while preserving the private World key checks.
  • Minor: a later descriptor epoch fixture incorrectly constructs a new original publication terminal; compare immutable content and retain the original terminal.
  • Minor: six association preparation fixtures still use legacy v1 without V44's required original PUBLISHED v2 selector; update the fixtures, not the guard.
  • Minor: the V50 historical terminal fixture invokes the current V51-dependent candidate producer; keep historical and current fixture stages distinct.
  • Minor: the V79 retained source-change fixture calls the current V80 owner-result reader before upgrading; preserve exact historical WAITING rows and only exercise that current reader after upgrade.

World executed 171 integration cases with fourteen failures; the GD publication suite executed twelve with one failure, and the Account publication-participation suite executed twenty with one failure. These case failures are grouped by the five underlying obligations above, not counted as sixteen independent defects. Later missing strict-suite captures remain proof gaps, not inferred passes. Repairs are being integrated at this owning boundary; corrected PostgreSQL execution is required. No production gate is weakened or runtime activation authorized.

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