Repository navigation
Unit 1B: authenticated World terminal delivery and exact Account settlement - #3035
benhook1013 wants to merge 17 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Validation Summary❌ One or more validation checks failed
Coverage reports and failure logs are available in the workflow artifacts. |
…it1b-canonical-world-lifecycle # Conflicts: # services/game-design-service/src/test/java/integration/net/firedevops/firemud/gamedesign/publication/GameDesignPublicationOperationPostgresIntegrationTest.java
…it1b-canonical-world-lifecycle
…it1b-canonical-world-lifecycle
|
Owning source fixes from exact CI37536968451, source
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. |
Exact published Account reconciliation PostgreSQL proof
Published
1b38b0d5c6c7aa5558ec985e50227bb4bf0b4258CI 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 checkout95d94586317e885fe48d576fc2fbc9d2b1ab7c69has 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
AccountPublicationTerminalReconciliationServiceTestcases 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
1b38b0d5c6c7aa5558ec985e50227bb4bf0b4258retains 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_UNAVAILABLEafter 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 #30292961b48875070d5d445384588a923ca2bb6cc99b: 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
Latest source database proof and capture repair
Exact source
e7feaf83ce9f1c6271c10c5fe9b95c58091fb961CI 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 correctedlostHeldAuthorityAfterOperationInsertRollsBackActivationAndLedgerpassed. 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
integrationTestrerun 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
e7517a874d55242e373a3e2083d709ee4e0242e7CI37542981672 used synthetic merge30fdcc1331cc76b412935c5839d9fb1733a5c694, 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
30b0152eaf1b237b9835add5aab196843b76b1eae8b9353a0b93bc7dc852ca67remain 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
514b91070cbda27bea85c77adb7815dfafc77e18supplies 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.
Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.