Repository navigation
Account: durable control-ui credentials, recovery and creator source ordering - #3012
benhook1013 wants to merge 15 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. |
|
Routed from exact-source composed CI 37435549047: the creator-bootstrap service case compares MembershipEvent.outboxSequence (canonical decimal string) against Long 1 at line 102. The HTML report shows one service failure; provenance and repository reports pass, but these six cases lack uploaded raw XML. Document is fixing the assertion and adding strict six-case raw XML capture in this owning Account PR; runtime counters and guards remain unchanged. |
|
Route 9016ceb6463247f26358d14a30490e5d7448413ebe27eb9dbd8e5abf542f0d58 is fixed at 1fcac80: the canonical event-sequence string assertion is corrected, and all six creator provenance/bootstrap cases now have focused raw XML capture and strict requirements after earlier Account captures. Full local Account check/JAR/docs passes; PostgreSQL skipped without Docker, so corrected remote execution remains open. |
|
Retiring this donor into the consolidation stack. Its whole original scope (
Proof on published #3438 exact source: seven primary-auth PostgreSQL cases, six global Control-UI PostgreSQL/Redis cases, and the pre-sign refusal with exact recovery case, all with zero failures, errors or skips. No unresolved review threads and no open PR uses this branch. The original commits stay reachable through this PR's retained head. |
Latest creator-bootstrap proof correction
Published
1fcac809c159f5c05261cb3bb4fd4b444f0fb5d7, still 88 files. Exact-source CI37435549047 provides raw passing XML for all nine pre-sign intent, seven credential-authentication and five real credential-producer cases. Six creator-provenance/bootstrap cases have HTML only: five pass, one bootstrap service case expects Long 1 instead of the canonical event sequence string. This checkpoint fixes that assertion and separately runs, captures and strictly verifies all six methods after earlier Account evidence has been preserved. Source counters and production guards are unchanged.Full Account check/JAR/static/format/coverage/links/Markdown passed in 43s (72 tasks:15 executed,57 up-to-date), with 1,062 matching clean unit results; all 465 PostgreSQL cases compile and skip without Docker. Corrected remote database execution remains open. Validation used the byte-identical merged #3015 owned supervisor from its clean tooling checkout without copying tooling or changing review heads. No activation or merge readiness is claimed.
Boundary and dependency
Stacked on #3011 at
bfed931173c329df3591e09aa27d09635d6c047dby a normal merge; current head1fcac809c159f5c05261cb3bb4fd4b444f0fb5d7, 88 unique files. Complete coherent Account credential/source-ordering preparation stays in this existing child. Game Design reservation/source-delivery and its physical client proof belong to the following child, not this diff. No new creator, credential or gameplay path is enabled. The functioning legacy/auth/loginbrowser/Smoke prerequisite remains unchanged until the real replacement producer and ingress proof are coherent.Implementation
sourceFence, with large-counter and incomplete-reference negative tests.CREATE_TENANTordering family with Game Design creation and Account bootstrap participants, sharing the existing sorted source locks and V57 journal. Both exact definitive owner outcomes remain mandatory; no dummy Version/Draft/World participant.Current CI correction checkpoint
At
0b819ae419284e4474bb42b3e75495e024348159, the correct production compact-JWT bare SHA-256 and semantic request digest are unchanged. Two failed PostgreSQL expectations are corrected: the V74 hash vector is bare hexadecimal, and the malformed-request fixture now actually changes its semantic digest instead of only its excluded correlation ID. The three other failed fixture areas contained two schema-name generators exceeding PostgreSQL's 63-byte identifier limit and a generated username exceeding its VARCHAR(50); those inputs are bounded without weakening assertions. Their exact runtime SQL causes cannot be established from the cancelled run's console alone, so corrected PostgreSQL execution remains required.CI37425364000 on prior
bfd38c7b945194c1ed70a0d7964cf41c6b1943d9failed/cancelled after reaching Account PostgreSQL methods. It did not finalize required raw XML, and it proves neither all nine V74 methods nor an all-green Account suite. Account now receives the same 30-minute module budget as Game Session rather than 20 minutes; fail-fast remains disabled and strict executed-case/XML requirements are unchanged.The corrected local Account check, runtime JAR, formatting, Checkstyle, SpotBugs and coverage pass in 45s (69 tasks:13 executed,56 up-to-date), with a local 3GiB heap override after an earlier 1.5GiB daemon GC-thrashing failure. Matching existing XML contains 1,062 clean unit outcomes (reused/up-to-date); all 465 integration cases skip without Docker. Actionlint, validation-summary and PR-retarget workflow contracts pass with the canonical repository Node24 runtime; an initial default-Node attempt failed and is not passing proof. Fresh-image, current-head PostgreSQL and complete producer/registry/activation proof remain open. This fixture checkpoint does not enable login, creator or gameplay paths.
Historical candidate local proof
The current 85-file candidate adds V74's non-authorizing signing reservation to the same V66 operation: preallocated operation/jti/authority-bundle identity, exact existing-only issuer-first source capture, positive durable capture references, and a separate post-sign write-once actual compact-JWT SHA-256 binding. Competing retries and changed source cannot overwrite the original. This does not sign, complete an authority bundle, mutate/activate the registry, or return a credential. The prepared isolated legacy-login denial is deliberately excluded.
Account jOOQ, full Account and Game Logic checks, Account boot JAR, formatting, Checkstyle, SpotBugs, coverage, links and Markdown pass in 1m55s (102 tasks:24 executed,78 up-to-date). Account records 1,062 clean unit executions; all465 integration cases skip without Docker, including all nine new V74 PostgreSQL methods. Game Logic reuses101 clean unit and five non-PostgreSQL integration outcomes; ten PostgreSQL cases skip. Actionlint,25 classifier cases, validation-summary and Gradle-proof tooling contracts, Flyway sanity (12sets/207files), and diff hygiene pass. Configuration-cache storage is discarded for36 protobuf problems. CI's full Account check precedes strict nine-method verification and raw XML capture; actual PostgreSQL execution, migration/trigger/race proof, signer/token fencing, complete immutable bundle, registry activation/recovery and fresh-image proof remain required.
The following 78-file and earlier checks are historical, not exact-head database proof for V74.
The corrected 78-file candidate passes full Account check, boot JAR, formatting, Checkstyle, SpotBugs, coverage, links and Markdown in 1m44s (72 tasks:23 executed,49 up-to-date). Raw XML proves 1,059 unit cases executed cleanly, including five issuer value and two descriptor cases. All456 integration cases compile and skip without Docker, including six actual-issuer/PostgreSQL/Redis methods and five real credential-producer methods. The final documentation gate passes in7s. Actionlint,25 CI-scope classifier cases, validation-summary contract,Flyway sanity (12sets/206files) and diff hygiene pass. Configuration-cache storage was discarded for18 protobuf problems.
The real-producer fixture calls actual AccountServiceImpl, persisted Account/challenge/authority owners, Argon2 and the shared Cache Redis limiter; original capture, upstream FIRST_PARTY_WEB evidence and committed response remain explicit fixtures, not complete issuance or response release. The unsigned source read removes the already-signed-candidate prerequisite without weakening signed comparisons. Corrected-source PostgreSQL/Redis execution, live role/custody/currentness, fresh images and activation remain open. The issuer component advances source reprojection only; complete initial capture and token-fence/signing/registry production are still required.
Historical isolated 70-file checkpoint proof follows; it is not executed PostgreSQL proof for the seven added definitions.
A clean isolated worktree at historical
2a60451b8e0b396b2049000faebffdeba5831c23(70 files), without the prepared creator child, passes Account/Common Data Runtime checks, Account jOOQ and boot JAR, formatting, Checkstyle, SpotBugs, coverage, links and Markdown in 2m (80 tasks:63 executed,16 from cache,1 up-to-date). Raw XML records 1,052 Account unit cases and16 Common Data Runtime cases executed cleanly; all 443 Account integration cases skip without Docker, including the seven V68 cases. The isolated worktree remains clean. This is not PostgreSQL, fresh-image or live proof. Configuration-cache storage is discarded for18 protobuf problems.The wider prepared composition also passes the local Account gate, including three new physical Account-client mTLS cases, but those tests are deliberately excluded from this published boundary and are not its unique-patch proof. Actionlint, Flyway sanity (12sets/207versioned files for the prepared composition), and diff hygiene pass. Migration parsing/jOOQ does not execute PostgreSQL triggers.
Executed runner evidence and remaining corrections
At exact prior
c459bfd672d99fcd6858011caaf08c954bda2629, CI37415795444 executes all34 focused methods without skips: 24pass/10fail. All34 methods are available as raw XML: twenty-seven V65/V66/current-source cases (17pass/10fail) and seven tenant-creation cases (7pass). The tenant artifact was initially omitted from the first API page; the complete83-artifact listing and downloaded XML establish execution, not a filename or report-overwrite failure. Tenant XML SHA-256 is6a0af65e4201aee1bddc4bf47998aec209248d05c83d4230800a73f4c7eaf51b. All eight current-source methods and all22 retained-issuer methods pass. Verified merge175fc31a8a16f8054c27153c25f6c8e42cf55313has exact d90/c459 parents and a source-identical tree.The ten failures reduce to two underlying issues now corrected here: production V66 timestamp binding (three methods, including a negative that previously failed before reaching deferred commit), and noncanonical V65 fixture login-mode storage (seven methods). Corrected-state PostgreSQL execution and genuine missing-envelope deferred rejection remain required. No all-green or activation claim follows from the earlier migration fix. Previous e057 CI failed V66 startup; previous3bd CI failed V65 startup. These historical failures are not executions of the target suite.
Remaining gates and ownership
Actual original Account capture, complete current source/Coordination projection, signer, pending/active registry and exact original-response recovery remain open. The new no-mint credential evidence alone cannot release a response or authorize a creator. Protected Account-ring custody/delivery/readback/live readiness, fresh-image and end-to-end proof are unexecuted; mount stays unpublished.
Real protected creator/currentness, Game Design UUID reservation and qualified creation, Account bootstrap commit authorization, automatic authenticated two-owner recovery/source-writer participation, all mandatory publication outcomes, full immutable release and World lifecycle handoff are not complete. New creator/bootstrap attempts remain default-denied. Gameplay owns real LOGIN/source mutation and admission/LOOK consumption. No membership RPC, credential, registry, ring, creator/admission or runtime activation; no provider review, queue mutation or merge readiness is claimed.
Gameplay reuse: complete source/currentness dependency
The new V65 slice must be composed with its existing owner foundations, not copied as seven isolated files. The exact parent already contains these commits; narrow reuse into an older Gameplay tree needs the complete corresponding API, receipt, fixture and migration family.
AccountAuthoritySourceReader.readCurrent/readCommittedEventand fenced source snapshota54f8da2778b3a40a83a4623e00777aae5b9d9d7AccountAuthoritySourceEventReadback, logout receipt/repository/codecf4bf487eff16a6ad7db4cffc0f89d0b77d705d76ceeb5046b27893a6714a4c292ac94025a8311a664a2dd38dcfa102baf5682b91580202d818bd7be1218216c0a05610d14158f776a4a41c202810dc86,1bf44c5718a45fdf20c95175dbb5e9a68db408d64c61e8938c205e49885cc1f5bde1945e070aca2ada34cc80bad22e60083a43c871d21e853b44cdf4c5fd96e935028b72182d58a611152bee6a8e533ba8ec25148a3e905c111864ee33acb72351bdc052Preserve the complete Account migration history through V64 before V65: state vocabulary, canonical UUID provenance, original generation/private-fence and outbox sources, retained enrollment, reset/logout receipts, fresh-empty independent role authority and V57 ordering. V60/V61 pending logout/reset journals are unchanged; do not replace them or rewrite history. V66 is not required solely to consume the security-source reader, but belongs to this coherent Account issuance/recovery child.
AccountAuthoritySourceEventReadbacknow requires four arguments: outbox, reset operation repository, logout operation repository, security-state operation repository. Supply the mandatory collaborator through Account service and membership producer composition;AccountAuthoritySourceReader's constructor is unchanged. A genuine mutation owner must retain/authenticate the original stable caller/operation evidence and participate in V57 ordering before the source update. Neither a per-save random UUID nor the request's correlation digest supplies that missing authorization. An old generic recipient-fence projection cannot replace the canonical Account source projection. Numeric tenant replies and structural codecs alone grant no gameplay admission.Current creator/bootstrap CI correction
At published
5105c4fbb22e49e7910a13b7e888af6e57b8bdb5, creator bootstrap compares independently verified complete canonical event JSON, not MembershipEvent object identity. All event, digest, checkpoint, source, role and pair guards remain. The real credential-producer fixture now uses distinct Cache and Coordination Redis containers and asserts the configured endpoints; the production separation guard remains intact.Account full check, boot JAR, formatting and analyzers pass locally: 2m37s, 68 tasks (20 executed, 48 up-to-date); 1,062 unit outcomes clean. All 465 PostgreSQL cases skip without Docker, so corrected bootstrap and credential-producer execution remains open.
Historical exact-source CI 37430169039 on
0b819ran the requested 22 database cases: 20 passed, two creator-bootstrap readback cases failed, zero skipped. The nine issuance-intent, seven credential-authentication, one provenance and three operation-repository cases passed. The separately captured real credential-producer suite failed at shared context startup (five cases, one endpoint-alias defect). Artifact merge51f657248f4fcb2bf054f9fdc766cc91adda7193has expected ordered parents[bfed9311, 0b819ae4]and tree92e3251d1c23ffa8ad258bc00ff0922da146df22, identical to the source. Credential authentication has raw XML; the other requested class counts are available HTML reports, not raw XML. Direct checkout logs and the aggregate conclusion were unavailable when the bounded observer finished. These results do not prove the corrected head.The current assignment is restricted to Gameplay #2898's required creator/application/release/lifecycle and settlement handoffs. Broader control-ui issuance work is preserved locally, not enabled. No provider review or completed Gameplay unblock is claimed.
Corrected exact-head database proof — 2026-10-06
CI37441250783 Account Build and Test completed successfully at source
1fcac809c159f5c05261cb3bb4fd4b444f0fb5d7. Runner mergec2fc20d71028b99942ff644ebb15bc77a496db59has exact basebfed931173c329df3591e09aa27d09635d6c047dthen candidate parents, treeee4ce4b7e644e04faeeb29804450714604799863. Independent raw-XML parsing proves 18 executed,18 passed,zero failures/errors/skips: six strict original creator-bootstrap cases (provenance1,repository3,service2), five actual PostgreSQL/Redis credential-producer cases and seven credential-authentication cases. Strict capture/verification steps145–147 passed. This is the captured five-suite boundary, not all Account tests, aggregate CI completion, authentic creator-party/terms production or runtime activation.FireMUD LOC impact
Compared
bfed931173c3→1fcac809c159(PR merge-base → head).PR scope: 88 changed files · 13,537 added textual lines / 177 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.