Skip to content

Unit 1B: Account tenant-role transactions and exact membership readback - #2998

Closed
benhook1013 wants to merge 9 commits into
codex/unit1b-complete-launch-bindingfrom
codex/unit1b-account-tenant-role-authority
Closed

benhook1013 wants to merge 9 commits into
codex/unit1b-complete-launch-bindingfrom
codex/unit1b-account-tenant-role-authority

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Boundary

Account-owned retained-member designer grant/revoke, atomic administrator transfer, exact immutable role journal and membership source readback. Fresh canonical JOIN snapshot components and physical Account/Game Session transport proof remain held back from public activation. Supplied actor IDs are not authenticated caller authority. Creator bootstrap, hosted terms, registry/credential wiring and full authorization remain open.

Current checkpoint

1a3122769f1251e6773838fe140788d5dcf20f99, 28 unique files against World #2986 e1a2fc4fddd42f7258df0f1c2511cd98a720d83c. Normal merges preserve the Account patch and World's epoch safety and executed-proof status. Runtime/fixture code is unchanged from 3440d4d646414c2c7244e5e0cc1b650cd9e242d8; subsequent changes are proof documentation only. The OTP fixture restores underlying Mockito-target stubbing while retaining the real repository invocation and owner-transaction assertion. Production authentication/lifecycle guards and additive V56 are unchanged.

Executed transport and database proof

At exact runtime head 3440d4d646414c2c7244e5e0cc1b650cd9e242d8, CI37290103027 Account job 111698347142 succeeded. The strict OTP suite passed 14/14 without skips, including one execution of the previously failing method; no standalone OTP XML artifact was uploaded, so that attribution uses the strict job log. Independently parsed raw XML proves all twenty required Account cases and all three actual Game Session client PostgreSQL/mTLS cases passed without skips. Full Account JOIN 51/51, journal 2/2, reconciliation 11/11 and scope 4/4 passed. Root verified checkout merge c82c0262d55106fcbea0ed2329adfb1ff19098f1, exact Worldf968/Account3440 parents and identical source tree. Upstream JOIN caller/policy are stipulated; membership binds the Account/tenant pair, not runtime realm/catalog admission.

The earlier b5 run was red on OTP setup introduced by b166428; corrected execution above closes that fixture gap. In the corrected run, Game Session's later full check was cancelled after its assigned component proof passed. Its cancellation cause is unestablished, and aggregate CI remains red, with separately scoped TCP and shared Python/dev-tool failures also reported. Neither component success nor the metadata-only runs proves aggregate success or merge readiness.

Current local validation and gates

Full Account check, boot JAR, formatting, analyzers, links and Markdown passed in 24 seconds, 72 tasks (15 executed, 57 reused). Unchanged 943 clean unit results were reused; all 351 integration methods compiled/discovered and skipped locally without Docker. Runner execution above supplies the unavailable component proof. After the normal documentation-only parent merge, links/Markdown passed in 8 seconds. Protobuf configuration-cache entries were discarded with 18 problems, not claimed supported.

Four open controller routes remain owned: authenticated source actor binding, exact creator bootstrap, creator-to-explicit-JOIN recovery and control-only membership snapshot. These are not discarded by component tests or this fixture fix. Canonical Account/World publication prerequisites are being prepared in a coherent child; queue placement awaits the complete tested Gameplay dependency cut. Parent movement, fresh-image/live proof and protected ring delivery remain gates. No membership RPC, credential path, key-ring mount, launch or runtime activation is enabled. No provider review or merge readiness is claimed.

FireMUD LOC impact

Compared e1a2fc4fddd4 → 1a3122769f12 (PR merge-base → head).
PR scope: 28 changed files · 6,540 added textual lines / 121 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 888,381 894,380 +5,999 +0.7%
 Source 796,790 802,718 +5,928 +0.7%
  ↳ Code 329,604 331,871 +2,267 +0.7%
  ↳ Tests 467,186 470,847 +3,661 +0.8%
 Markdown 59,874 59,906 +32 +0.1%
 Design 62,562 62,594 +32 +0.1%
  ↳ Architecture 45,405 45,423 +18 +<0.1%
  ↳ Project management 5,880 5,894 +14 +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 5, 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: 9d9359da-ade8-48c9-a537-997815044ec7

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

Copy link
Copy Markdown
Owner Author

Four Major, accepted and still open prerequisite obligations from the bounded #2986 source investigation, pinned to 3d1ac2f3d with concurrent source preparation explicitly disclosed, are now assigned here in the controller:

  • 5072491f2228d763781bb958d11004c33151f9a816ae108b209d0dd517852cb8: authenticated Game Design creation-initiator binding and exact immutable readback.
  • 1c688fae672be19c24aadac6e669f80ba19ad14012023056cbb08b1fbbd9a2b7: Account source-bound control-only creator bootstrap.
  • a9fc36f1693c10b86d9f3887fcfe75147f4c72ea606c5ee42714e8e389893db4: creator event one, later normally gated JOIN event two, and exact immutable recovery without resetting prior history.
  • 3c421f993ce202b63c9aeaaa401d786c54b55a9afd3e51eba6e31ea65667f959: proved non-admitting control-only snapshot; the existing v1 MEMBERSHIP_CHANGED codec supports its payload, but current producer/consumer proof is absent.

The published b9e06f435 retained-role transaction stage does not close these obligations. They remain implementation work, not discarded because tracked, a new policy request, broad corpus discovery, provider-review credit or runtime activation.

@github-actions

github-actions Bot commented Oct 5, 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 benhook1013 changed the title Unit 1B: Account tenant-role transactions and exact recovery Unit 1B: Account tenant-role transactions and exact membership readback Oct 5, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Retiring this donor. Its original scope (1a3122769f1251e6773838fe140788d5dcf20f99 over e1a2fc4f) is accounted for in develop and the receivers, top #3442 050dfe50e790163a1f2d6f4a44c19aaceec2a1d6.

Component here Receiving successor Disposition
V56 role journal, mutation digest, operation repository and unit tests Byte-identical as V1048.1__account_tenant_role_operations.sql and the same classes in #3438 Carried
Fresh canonical membership reader AccountCanonicalRuntimeMembershipSnapshotRepository and service in develop Superseded
Game Session cross-service mTLS test on runtime membership fields 11 to 21 Current message ends at field 9; the full snapshot carrier is a recorded target gap Superseded
Accepted decision AUTH-TENANT-ROLE-OWNER-01, tenant-role contract, route-matrix entry, storage note Restored in #3438 c813531a8a, rewritten for current code; creator-bootstrap text dropped as superseded by V83 and V1021 to V1025 Carried
AccountTenantRoleMutationService and role events Not ported: it took an unauthenticated actor. The mutation owner waits for authenticated tenant_regular operator ingress and is tracked as a separate follow-up job Moved to follow-up

No review threads. No open PR uses this branch.

@benhook1013
benhook1013 deleted the codex/unit1b-account-tenant-role-authority branch November 30, 2026 06: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