PR-2e triage: stand-in seats plus re-gate¶
Grok is out of usage until 2026-10-29. Andrew approved Muse and Gemini as stand-ins, with one of them on red team. Astra and Claude are the heavy-hitter seats.
| Seat | Model | Role | Artifact | Verdict |
|---|---|---|---|---|
| Susie (Muse) | Muse Spark (Muse Code 1.4.13) | general review, full fix | muse-standin.out |
PASS WITH FIXES |
| Jenny (Gemini) | gemini-3.8-flash-high (agy) | red team, full fix | gemini-redteam.out |
FAIL (2 of 6 findings real after verification) |
| Jenny (Gemini) | gemini-3.8-flash-high (agy) | red team, PR-2e re-check | gemini-redteam-pr2e.out |
PASS WITH FIXES |
| Clahadore (Claude) | Opus 5.5 subagent, independent | PR-2e review | claude-pr2e.md |
PASS WITH FIXES (4 minor) |
| Cedric (Codex) | gpt-6-astra | PR-2e review | astra-pr2e.md |
PASS WITH FIXES |
| Cedric (Codex) | gpt-6-astra | PR-2e final confirm | astra-pr2e-final.md |
PASS WITH FIXES (2 low, aggregator cache) |
| Cedric (Codex) | gpt-6-astra | aggregator-cache confirm | astra-pr2e-aggcache.md |
PASS WITH FIXES (1 low: weak-key equality after GC) |
| Cedric (Codex) | gpt-6-astra | final confirm | astra-pr2e-aggcache2.md |
PASS |
How the Gemini red-team seat ran:
- agy auto-denies shell tools in headless mode, and it does not read stdin.
- So the prompt and all material are inlined into redteam-inline.prompt.md / redteam-pr2e-inline.prompt.md.
- The seat reads that one file with its file tool only. No --dangerously-skip-permissions, because review seats must not write.
Design outcome¶
There is one explicit policy, bPlayerBody (EditDefaultsOnly, default true; ANarrativeGMCNPCPawn sets it false):
- On first possession, only a player-body pawn seeds a player's PlayerState, from SeedFactions. That is a server-only pristine copy of pawn defaults plus definition factions, and the unpossession snapshot never overwrites it.
- On unpossession, only a player-body pawn keeps the player's factions and team (corpse).
- Shared pawns (vehicles, turrets, NPCs, lobby pawns) set it false, so a player can neither take their factions nor convert them.
The late-definition retry (HasDefinition) that was briefly added for Muse 3 is removed. It generated Astra 1/2, Gemini r2-3 and Claude 2/3. Both definitions are EditDefaultsOnly (NarrativeGMCPawn.h:141, NarrativeGMCNPCPawn.h:31), so they are class defaults that exist from construction. Only C++ writing the field after spawn can assign one "late", and that is unsupported.
Muse findings¶
| # | Finding | Disposition |
|---|---|---|
| 1 | checkf/check then dereference: null crash in Shipping |
Fixed. if (ensureMsgf(...)) in the movement component and if (ensure(...)) in the pawn. ensure evaluates its condition in every build (Astra cites AssertionMacros.h:464-465). |
| 2 | Pawn reuse: the snapshot seeds the next player's PlayerState | Fixed. Seeding uses SeedFactions, never Factions. |
| 3 | Definition assigned after possession is lost | Rejected by contract. The definitions are EditDefaultsOnly class defaults; see Design outcome. |
| 4a | Duplicate aggregator only reported by ensure | Fixed for development builds. UE_LOG(Error). Default Shipping compiles logging out (USE_LOGGING_IN_SHIPPING=0, Astra receipt Build.h:202,351), so this is a development diagnostic. Moving to a single-owner subsystem is a follow-up. |
| 4b | World scan on every BeginPlay | Fixed (Editor). Astra was right that the Editor TActorIterator branch also walks world actors (EngineUtils.h:203-249); packaged builds use the class list (:258). The aggregator is now cached per world (TMap<TWeakObjectPtr<UWorld>, TWeakObjectPtr<AGMC_Aggregator>> with TWeakObjectPtrMapKeyFuncs, stale worlds pruned), so repeat calls cost O(1), including across PIE worlds. |
| 4c | Context->GetWorld() not null-checked |
Fixed. |
| 5 | ASC cached once | Deferred (minor). No caller swaps the ASC. |
| 6 | Solver dedup depends on order | Fixed. A more-derived class removes only base solvers that this loop created (CreatedFromClasses). Editor-configured instances and their tuning are kept, per Claude 1. |
| 7 | PlayerState Factions no longer BlueprintReadWrite |
Intentional (authority fix). Write through AddFaction/RemoveFaction/SetGenericTeamId on the server. |
Gemini red team, round 1 (full fix)¶
| # | Finding | Disposition |
|---|---|---|
| 1 | Critical: PlayerState factions/team not replicated | Rejected, false positive. NarrativeGMCPlayerState.cpp:60-61 has both DOREPLIFETIMEs, outside the diff hunk. Gemini r2 and Astra confirm. |
| 2 | Shared-pawn hijack through the unpossess snapshot | Fixed. bPlayerBody. |
| 3 | Aggregator world-scan DoS | Rejected for packaged servers (class list, EngineUtils.h:258). The Editor cost is fixed under Muse 4b. |
| 4 | World-time replicator lost on seamless travel | Rejected. World.cpp:8890 calls InitializeActorsForPlay, which calls InitGame at :5925. Gemini r2 and Astra confirm. |
| 5 | check crash on pawns without GMAS | Fixed (Muse 1). |
| 6 | Lobby pawn uses up the PlayerState defaults | Fixed. Lobby pawns set bPlayerBody=false. The interim empty-seed skip was removed (Gemini r2-2). |
Re-gate on PR-2e¶
| Seat/# | Finding | Disposition |
|---|---|---|
| Gemini r2-1 (High) | A shared pawn still seeds the player's PlayerState | Fixed. Seeding requires bPlayerBody. |
| Gemini r2-2 | Empty-seed skip leaves a neutral player's PlayerState uninitialized | Fixed. Skip removed; a player body always applies its defaults, even when empty. |
| Gemini r2-3, Astra 1/2, Claude 2/3 | Late definition edge cases | Resolved by removing the retry. See Design outcome. |
| Gemini r2-4 | LoadSynchronous hitch |
Accepted residual (already noted in Astra PR-2b/2c/2d). Fix is an async preload. |
| Astra 3 | Shipping compiles the Error log out | Disposition corrected (Muse 4a); the code comment now says so. |
| Astra 4 | Editor iterator walks world actors | Fixed. Cached aggregator. |
| Claude 1 | RemoveAll drops configured solvers | Fixed. CreatedFromClasses. |
| Claude 4 | Error log on every call | Fixed. A world is scanned, and can log, only while it has no known valid aggregator. |
| Astra final 1 | A single-entry cache thrashes across PIE worlds | Fixed. Per-world map. |
| Astra final 2 | A cache hit skips duplicates that appear later | Scoped. Documented reliance on GMC's own duplicate check when resolving the aggregator (GMCAggregator.cpp:234-245, per Astra), so this helper's log covers only duplicates present at the first lookup. |
Build receipt: gaming_build_pr2e.log (gaming PC, NGMCHostEditor Win64 Development).
| Astra aggcache 1 | Default weak-key equality breaks the hash contract after GC | Fixed with TWeakObjectPtrMapKeyFuncs, as prescribed. Confirmed by Astra: PASS. |
Codex usage ran out at 12:09 and Andrew reset it. The final Astra confirmation ran after that.