Repository navigation
Unit 1B: owner source foundations, exact readback and launch identity - #2966
benhook1013 wants to merge 29 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 |
# Conflicts: # .github/workflows/ci.yml # design/architecture/microservices/account-service/runtime-and-data.md # design/architecture/microservices/account-service/subscription-management.md # design/grpc-docs/grpc-api.md # design/project-management/implementation-tracking/game-authoring-publishing-and-activation.md # design/project-management/implementation-tracking/player-access-and-session.md # design/project-management/implementation-tracking/world-runtime-and-movement.md # services/account-service/src/main/java/net/firedevops/firemud/accountservice/repository/AccountBareLoginExchangeRepository.java # services/world-management-service/src/test/java/unit/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImplTest.java
Validation Summary❌ One or more validation checks failed
Coverage reports and failure logs are available in the workflow artifacts. |
|
Consolidated the original #2966 comparison
The positive production source, runtime allocation and activation, and admission carry their separate owner and release proof. The exact original pull ref is preserved for source recovery. |
Current corrective checkpoint
Published head
91a83b7614494df8047046836eee2bf28ab9b471, 92 unique files on unchanged #296425614dd1b0d75f808b5ef16bb139c488241c6b3c. Size warning remains; this two-fixture proof repair is kept with its Account boundary, not split by file count. No runtime guard or migration changed.Exact cumulative #2983 predecessor CI37231701738 at
80aefbf43executed corrected Account authentication: 14 AccountAuthenticationUuid + 3 AccountApplication cases, all clean. The membership-generation projection executed 7/7 clean. Current-authority snapshot executed 17/17 with five failures because the cryptographic source fixture converted membership-version map values to numbers rather than canonical decimal strings. A separate minimized JOIN audit fixture failed its required identity-version column. Both fixture corrections are published here without weakening authority, retry or no-mutation assertions; full local Account check/boot JAR passes in 23s, 69 tasks (12 executed/57 reused), with 929 clean unit results reused and 331 PostgreSQL skips without Docker. Corrected exact composed-head PostgreSQL execution remains required. This is neither activation nor merge readiness.#2983 retains this correction through a normal downstream merge; no preserved history was rewritten. Existing evidence below remains historical where superseded by this checkpoint.
Prior scope and proof record
Boundary
Unit 1B Account issuance capture, immutable LOGIN storage, creator-authority and source-qualified launch-preparation prerequisites, stacked on exact #2964
25614dd1b0d75f808b5ef16bb139c488241c6b3c. Published checkpointb16642830b3bf8206979c48f05054562b6d7cd60, 91 unique files. The 90-file warning remains in force; further growth must preserve a coherent review boundary rather than omit required proof. Normal merges preserve the published child and owner ancestors without rebasing or force-pushing.The original worktree and its unrelated Automation formatter edit remain untouched. Integration was prepared in an isolated checkout; that edit was not silently included. No runtime, credential, membership, catalog/admission or Account-ring mount activation is authorized.
Retained implementation
Preservation
Against published #2966
12d6cf5cfab437c0d69583566a6aa0738a644986on its former #2964 base: all 87 unique source paths survive; 67 are byte-identical and 20 are reviewed mixed-file adaptations; none is missing. All six child migration files (Account V52–V55, Game Design V36 and Game Session V14) remain byte-identical. Parent Game Design V35.1/V35.2 bytes also remain identical. The three additional unique paths are the Account scope fixture correction and the two composed release repository proof files. Normal merge parents are420e3b3e0c4529710a2a68f1a184e1944614a662and25614dd1b0d75f808b5ef16bb139c488241c6b3c.The Account terminal-journal test now proves normal FK rejection separately from its explicitly private corrupt-retained-storage simulation; no cleanup runs in an aborted transaction, and production source/identity guards stay unchanged. Game Session reads the actual persisted source operation ID rather than a guessed UUID. Release tests preserve retained tuple/xmin evidence through V35.1/V35.2 before applying V36 and independently checking retained null reference/immutability. The retained JWT-only denial fixture remains a null UUID pair/null reference, with its no-owner-interaction guard intact.
Validation and proof limits
The final composed gate passed in 3m18s, 353 tasks (76 executed, 277 up-to-date): seven module checks, five boot JARs, Game Design schema generation, formatting, Checkstyle, SpotBugs, coverage, links and Markdown. Parsed unit XML is clean: Account929, Logging234, Game Design416, Game Session2377 executed/17 skipped, World194, Common Platform222, Common Security126. Game Session executed18 integration and26 cross-service cases; PostgreSQL/Testcontainers cases skipped locally without Docker: Account331, Logging23, Game Design76, World33 and Game Session198 integration/56 cross-service. Unchanged task results were reused; compiled/discovered/skipped cases are not database execution.
Architecture contracts passed230 tests; workflow contracts and25 lightweight-scope tests passed using repository-pinned Node24.21.0. The default system Node12 rejected the test-runner flag before executing tests; no substitute test or weakened check was used. Flyway sanity passed12 sets/174 versioned files; actionlint and diff hygiene passed. Gradle reported252 configuration-cache serialization warnings and discarded the cache; the build itself succeeded.
Exact-head CI 37224206898 completed FAILURE at
cec29b3fcad147be44dd37b1d47381fecd0d8dac. Independently parsed and hashed raw XML proves all assigned component cases actually executed with zero failures, errors or skips: Account canonical scope4, Game Design canonical Version6/release identity and immutability5, Game Session canonical launch preparation3, and World intake13/publication fence6/PostgreSQL mTLS3/physical socket mTLS7 (47 total). The same artifacts additionally prove Account canonical reconciliation4, Game Design tenant association10/authored-source10/tenant creation8/Entity baseline9. This is component execution, not a green aggregate or enabled end-to-end flow.The namespace-only corrections were published at
8a9badb07. Its exact CI run 37227101257 completed FAILURE before either requested snapshot17 or projection7 suite executed: both required XML verifiers reported missing suites and zero execution. Account's preceding UUID authentication suite ran17 cases with one failure caused by stubbing the unwrapped, non-Mockito repository target. This checkpoint instead stubs the injected spy directly, retaining the transaction assertion and real repository call. Full Account formatting/check passed31s (67 tasks,13 executed/54 up-to-date); unchanged unit results were reused and PostgreSQL integration tests skipped locally without Docker. Corrected authentication plus snapshot/projection PostgreSQL execution remains required.Root independently parsed the exact
8a9badb07raw XML: Account canonical scope4, Game Design VersionCanonicalIdentityIntegrationTest6 and release identity/immutability5, Game Session preparation3, and World intake13/fence6/PostgreSQL mTLS3/socket7 all executed cleanly (47, zero skips/errors/failures). These actual Version PostgreSQL cases are distinct from the separate six mocked-producer Version-state socket cases. Aggregate/shared failures remain: Ruff B023,10 missing-websocketdev-tool import errors,13 TCP cross-service failures plus a configuration-cache error, and Game Session cancellation after WebSocket assertions. No failure is dismissed as flaky, and no watcher remains for this terminal run. This predecessor component proof is not exact-head validation ofb16642830or an enabled end-to-end flow.Open obligations
The namespace and Mockito corrections preserve every production guard and behavior assertion. Exact current-head authentication,17 snapshot and7 projection execution, green aggregate CI and the remaining complete-flow gates are still required. The separate ordinary-asset producer batch is being prepared as a coherent child, not silently added to this91-file boundary.
The real private delegation exchange/signer/registry and encrypted-result recovery, protected ring delivery/readiness, full current Account authority and entitlement producer, normal Game Design complete release/ability/artifact evidence, and source-qualified World lifecycle/readback composition remain open. Gameplay owns its separate public JOIN, Game Session orchestration and Friends issuer work. No forwarded JWT, private numeric-key equality, synthetic fixture or stored reference replaces those owner proofs. Fresh-image boot, live authenticated end-to-end flow and activation remain unproved/denied.
No provider review, taper, corpus exit, merge readiness, merge or auto-merge is claimed. Findings and routes remain in FireController.
FireMUD LOC impact
Compared
25614dd1b0d7→91a83b761449(PR merge-base → head).PR scope: 92 changed files · 16,654 added textual lines / 153 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.