Repository navigation
Read PLAY entitlement by canonical tenant UUID - #3462
benhook1013 merged 2 commits into
Conversation
Game Session PLAY resolves the canonical tenant UUID from Game Design (new ResolveCanonicalTenant read, same-namespace Game Session only) and asks Account for entitlement by that UUID, with no numeric fallback. Account reads the tenant's current demo source; script-seeded preview tenants with no Account source are entitled only under the pre-v1 gate waiver, listed in the player access tracker. Paid hosting stays unavailable here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Smoke Summary❌ Full-stack smoke completed with Smoke Gate: failure
|
Static Analysis Summary✅ Static analysis checks passed
CodeQL breakdown
|
Security Summary✅ Security checks passed or were intentionally skipped
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Validation Summary❌ One or more validation checks failed
Coverage reports and failure logs are available in the workflow artifacts. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7982559
into
claude/canonical-play-uuid-admission
Requested by Ben · project thread
Pull Request
Summary
What Changed
ResolveCanonicalTenantread (Game Design owns tenant identity, ADR 0082). Only the same-namespace Game Session workload may call it.PlayCommandHandlerresolves the tenant UUID through Game Design and sends it to Account; a missing identity fails closed asENTITLEMENT_UNAVAILABLEbefore any Account call.GetTenantEntitlementsForRuntimetakes the canonical tenant UUID. It reads the tenant's current demo source. Paid hosting stays unavailable here.FIREMUD_PRE_V1_GATE_WAIVERS_ENABLEDis on. Owed before v1: seeded tenants created through the real Game Design to Account tenant-creation flow.grpc-api.mdentries for the changed and new RPCs.Validation
AccountGrpcServiceTest,AccountServiceImplTest,LegacySubscriptionContainmentTest), Game Session 186 (PlayCommandHandlerTest,TextCommandInterpreterTest,SessionResumptionFlowTest), Game Design 79 (GameDesignGrpcService*,CanonicalLaunchGrpcAuthWiringTest).dev-tools/verify-fresh-bootstrap.sh: direct WebSocket baseline passes LOGIN, PLAY and LOOK.Notes
canonical-play-transitionlabel stays until Telnet is green too.grpc-api.mdwas hand-edited: the local generator rewrote about 1,700 unrelated lines.Checklist
design/project-management/review-checklists.md🤖 Generated with Claude Code