Skip to content

Unit 1B: owner source foundations, exact readback and launch identity - #2966

Closed
benhook1013 wants to merge 29 commits into
codex/unit1b-world-canonical-contentfrom
codex/unit1b-account-connect-authority
Closed

benhook1013 wants to merge 29 commits into
codex/unit1b-world-canonical-contentfrom
codex/unit1b-account-connect-authority

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Current corrective checkpoint

Published head 91a83b7614494df8047046836eee2bf28ab9b471, 92 unique files on unchanged #2964 25614dd1b0d75f808b5ef16bb139c488241c6b3c. 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 80aefbf43 executed 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 checkpoint b16642830b3bf8206979c48f05054562b6d7cd60, 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

  • V52 binds Account's connect-issuance capture to its current complete authority and immutable operation identity. The durable capture reference/fence does not replace individual source versions, checkpoints, issuanceFence, revocation authority or current-source validation.
  • V53 permits non-authorizing durable bare-LOGIN PENDING intents and write-once evidence across recovery transactions. Terminal success and its exact purpose-bound envelope still commit atomically. Its six mandatory recovery/concurrency/no-partial-result cases supersede the older claim-only-at-commit rejection; inherited JOIN, UUID migration and terminal-envelope cases remain required. No PENDING intent authorizes admission or reminting.
  • V54 retains immutable token/issuance evidence capture, exact operation readback and current-authority gates. V55 retains the Account-owned global-role source and caller-bound protocol without treating a role, JWT service claim or source receipt as tenant gameplay authority.
  • Game Design V35.1 → V35.2 → V36 retains source-qualified canonical Version/tenant UUIDs, immutable release metadata and the actual independently owner-generated opaque release-bundle reference. The repository reads back all three exact stored values inside the transaction; retained unmapped rows remain unmapped. World exact-compares the stored reference; missing or substituted evidence denies before mutation. This is identity/reference proof, not complete authenticated descriptor/release attestation.
  • Game Session V14 retains exact source, descriptor and local association, atomic launch-preparation outcome, independent committed readback and retry behavior. It remains unwired and does not call World or create a runtime instance. Existing lifecycle guards and denied numeric launch paths remain intact.
  • Owning documents retain the accepted closed descriptor/v1 plus separate full release attestation, authenticated Account captures and creator/terms commit boundary. Selector registration is neither release attestation nor admission.

Preservation

Against published #2966 12d6cf5cfab437c0d69583566a6aa0738a644986 on 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 are 420e3b3e0c4529710a2a68f1a184e1944614a662 and 25614dd1b0d75f808b5ef16bb139c488241c6b3c.

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 8a9badb07 raw 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-websocket dev-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 of b16642830 or 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.

Section Base LOC Head LOC Δ LOC Change
Overall 851,847 866,745 +14,898 +1.7%
 Source 761,101 775,519 +14,418 +1.9%
  ↳ Code 318,046 323,357 +5,311 +1.7%
  ↳ Tests 443,055 452,162 +9,107 +2.1%
 Markdown 59,468 59,830 +362 +0.6%
 Design 62,145 62,518 +373 +0.6%
  ↳ Architecture 45,307 45,389 +82 +0.2%
  ↳ Project management 5,798 5,852 +54 +0.9%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 6,849 7,086 +237 +3.5%
  ↳ 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 3, 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: 35dd4bc3-a63d-410e-906e-2d2acadc3370

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 Unit 1B: bind connect issuance to durable Account authority Unit 1B: Account issuance authority, durable intents and finite token profiles Oct 3, 2026
@benhook1013 benhook1013 changed the title Unit 1B: Account issuance authority, durable intents and finite token profiles Unit 1B: Account authority sources, durable token capture and finite profiles Oct 4, 2026
@benhook1013 benhook1013 changed the title Unit 1B: Account authority sources, durable token capture and finite profiles Unit 1B: Account authority sources, exact readback and finite profiles Oct 4, 2026
@benhook1013 benhook1013 changed the title Unit 1B: Account authority sources, exact readback and finite profiles Unit 1B: owner source foundations, exact readback and launch identity Oct 4, 2026
# 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
@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

Copy link
Copy Markdown
Owner Author

Consolidated the original #2966 comparison f59bb8a906990e93ecdf2912bdac0be8a52b02d5 over 25614dd1b0d75f808b5ef16bb139c488241c6b3c. The exact receiving commits are Account #3438 13d4b6242d46366975e0089188b14a35d5b9cec7 over b98f1aa9134808b0fe6b936e5b3e1c164876c3a7, Player #3440 041070cab6dc3e91b154305d1051f3ba7c468411 over 8ff31873c4af9b35e0d4f4653046675c44f1c26e, and Creator #3441 2650d1ab2ed6c671ba3078b92fab0b9308312b45 over Player.

  • Account preserves exact connect issuance capture, Account row/issuance lock ordering and immutable retry through V1051.1, current bounded token-identity fence through V151, and durable original LOGIN under the current pending/terminal owner. The actual PostgreSQL same-original competing INITIAL LOGIN proof already landed at 5d2e6fd5e46bc4d78fc807d80bc3bdbd0cd94c68. The current fences and full subject authority supersede the old bare-login writer and V55 scalar-role preparation. Current role readback and its existing takeover constraints retain their separate owners.
  • Game Design V35.1→V35.2→V36 preserves exact retained history, source numeric/private and canonical UUID identities, opaque published reference/metadata, row bytes, ordinary unmapped retention, and immutable/no-backfill refusal. Current real retained owner tests cover these behaviors.
  • Game Session's current V24 and standalone launch preparation retain exact source/catalog/descriptor and Account tuple evidence, rollback, tamper refusal, original operation readback, competing retries and immutable persistence. The five actual native PostgreSQL cases now pass with zero failures, errors or skips, including post-commit readback loss. The owning proof record replaces the old deferred validation statement. The proof uses controlled upstream sources and real local storage.

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.

@benhook1013
benhook1013 deleted the codex/unit1b-account-connect-authority branch November 28, 2026 07: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