Skip to content

Constrain gameplay presence roles and redact legacy friend views - #2858

Merged
benhook1013 merged 5 commits into
codex/gate2-playable-deliveryfrom
codex/phase1-gameplay-presence-role
Sep 26, 2026
Merged

benhook1013 merged 5 commits into
codex/gate2-playable-deliveryfrom
codex/phase1-gameplay-presence-role

Conversation

@benhook1013

@benhook1013 benhook1013 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Superseded by #2853 at 1439441f84144f808efa7c0d0f6207c5d1e48750. The exact #2858 final tree was fast-forwarded into #2853, leaving no independent patch. GitHub automatically marked this PR merged when its head became an ancestor; no PR merge operation was invoked. This branch is retained for audit.

Scope

Stacked directly on #2853 at 535d563171da27ee137f45914d3d0e0212574044, after the Document #2861 tail. This Phase 1 foundation constrains gameplay presence roles and redacts legacy friend views without changing Document's Unit 1B admission/replay behavior.

  • Matching tenant-scoped grants alone confer gameplay role/elevated-presence status. Global platform/support/billing and legacy global god/moderator claims remain ordinary players; control-plane privileged-role behavior is unchanged.
  • Game Session removes HIDDEN_STAFF and unspecified visibility from player command/help/view vocabulary. Private, missing, unknown, and legacy friend-policy entries become relationship-only rows; structured WebSocket output omits online and location fields. Legacy/unknown summary counts join the private category.
  • Focused role, WHO, friend-command, and structured-output negative tests remain. The EA-2.3 tracker preserves Account/edge: prepare explicit email-link completion #2861's newer replay/episode-fencing status and records unresolved Account/Social policy drift without claiming end-to-end Account admission.

Join and validation

  • Gate 2 playable proof, TLS rotation, and gameplay presence/privacy #2853's published head is a strict ancestor. The unique diff is 14 files, including the new Friends cross-service proof path. All 15 original Constrain gameplay presence roles and redact legacy friend views #2858 paths are accounted for: SessionClaims.java and GameplayPresenceRoleClassifier.java were already byte-identical in the parent, while the other 13 paths remain unique.
  • :common-security:test :game-session-service:test passed, including the merged global-only, tenant-scoped, WHO, friend and structured-output regression tests. The current-head :game-session-service:check -PfullCheck and 31 focused Friends handler tests pass locally; 26 cross-service methods compiled but skipped locally because Docker is unavailable.
  • spotlessCheck, lintMarkdown, link checking, and diff hygiene passed. One stale tracker proof link exposed by link checking was corrected.
  • The test and tracker merge conflicts were reconciled against both sides; no CodeRabbit review was requested for this join.

Friends cross-service CI correction

The original seven composed-CI Friends failures shared a stale positive fixture that omitted Sora’s visibility policy. The resulting private-by-failure redaction was correct, but the redacted detail path exposed a null-activity renderer crash. The fixture now declares FRIENDS_ONLY for authorized positive output; a new cross-service negative case keeps missing-policy online, character, activity, and location facts absent from structured and text output while preserving the relationship row and WebSocket connection. The detail renderer is null-safe, with focused unit proof. No global-role elevation or private-presence disclosure was restored. Canonical formatting also updated existing #2858-owned Java paths without semantic changes.

Current published head: 1439441f84144f808efa7c0d0f6207c5d1e48750. Exact-head CI 36234014007 passed the Game Session full-check/cross-service job, executing the seven formerly failing Friends cases and the new redaction case. The aggregate workflow is red on unrelated Dev Tool Contract Checks and Python Script Validation; Validation Gate reflects those failures.

Limits

No live hosted or cluster proof is claimed. Account and Social still accept legacy profile-policy values; their aggregate friend-summary and player-facing disconnect-disposition semantics remain tracked gaps under ADR 0046. This topology join is not merge readiness.

FireMUD LOC impact

Compared 535d563171da → 1439441f8414 (PR merge-base → head).
PR scope: 14 changed files · 449 added textual lines / 114 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 578,514 578,828 +314 +0.1%
 Source 497,170 497,483 +313 +0.1%
  ↳ Code 226,631 226,649 +18 +<0.1%
  ↳ Tests 270,539 270,834 +295 +0.1%
 Markdown 53,395 53,396 +1 +<0.1%
 Design 56,158 56,159 +1 +<0.1%
  ↳ Architecture 44,673 44,673 0 0.0%
  ↳ Project management 5,291 5,292 +1 +<0.1%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 2,023 2,023 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 440 440 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 Sep 24, 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: cdca4149-14f9-4c1b-b838-54df63e9a19b

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

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 base branch from codex/phase1-dev-demo-summary to codex/gate2-playable-delivery September 25, 2026 06:42
@benhook1013
benhook1013 marked this pull request as ready for review September 25, 2026 08:15
@benhook1013
benhook1013 merged commit 1439441 into codex/gate2-playable-delivery Sep 26, 2026
55 of 58 checks passed
@benhook1013
benhook1013 had a problem deploying to trusted-hosted-cluster September 26, 2026 15:07 — with GitHub Actions Failure

This branch had an error being deployed

1 failed deployment
trusted-hosted-cluster — 1439441f Deployed Sep 26, 2026 by benhook1013 via Delete Preview Runtime #1578
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