Astra Pr2e
PR-2e needs fixes before approval. Reviewed the supplied delta, full touched files, prior rounds, stand-in outputs, and relevant installed UE 5.7 sources. No files modified; no builds run.
-
Medium — Late definition initialization misses an unseeded PlayerState. Confidence: high.
Location:Source/NarrativeGMC/Private/Character/NarrativeGMCPawn.cpp:33,:49,:93.
Scenario: A human possesses with empty authored factions and no definition. The empty-seed check correctly leaves PlayerState defaults unapplied. A definition is assigned before BeginPlay; BeginPlay populatesFactionsandSeedFactions, but never callsApplyDefaultFactionson the attached PlayerState.
Impact: Effective faction queries remain empty until another possession. This is distinct from the documented limitation for an already seeded PlayerState. Muse 3 is only partially closed.
Fix: After successful late initialization, apply nonempty seeds to the eligible attached PlayerState through its existing once-only guard. Provide an explicit initialization hook for definitions assigned after BeginPlay. -
Medium — Definition retry can alter the preserved UnPossessed snapshot. Confidence: high.
Location:Source/NarrativeGMC/Private/Character/NarrativeGMCPawn.cpp:67,:89,:94.
Scenario: Possession occurs without a definition, leavingbLocalDefaultFactionsAppliedfalse. The player unpossesses before BeginPlay, snapshotting live factions. A definition then becomes available; BeginPlay appends its factions to that snapshot.
Impact: The surviving body gains factions absent from the player’s saved state, violating the PR-2d snapshot-preservation guarantee. SeparatingSeedFactionsprevents cross-player contamination but does not protect live pawn state from this append.
Fix: Track snapshot/live-state initialization separately from seed readiness. Permit late definition factions to completeSeedFactionswithout modifying an established snapshot. -
Low — Duplicate-aggregator diagnostics still disappear in default Shipping builds. Confidence: high.
Location:Source/NarrativeGMC/Private/Framework/NarrativeGMCWorld.h:26.
Scenario: Two aggregators exist in a Shipping target with default logging settings.
Impact:UE_LOG(..., Error, ...)is compiled out; Muse 4a’s claimed “every build” detection is not closed. Duplicate ownership itself remains the explicitly deferred issue.
Receipt: UE 5.7Core/Public/Misc/Build.h:202defaultsUSE_LOGGING_IN_SHIPPINGto zero;:351setsNO_LOGGINGaccordingly.Logging/LogMacros.h:182retains only Fatal logging under that configuration.
Fix: Require and verify Shipping logging in supported targets, or correct the disposition to explicitly defer Shipping diagnostics. Do not claim unconditional coverage. -
Low — Full-world-scan rejection overlooks the Editor implementation. Confidence: high.
Location:Source/NarrativeGMC/Private/Framework/NarrativeGMCWorld.h:18;standin-triage.md, Muse 4b/Gemini 3 dispositions.
Scenario: Repeated pawn/controller BeginPlay calls in Editor/PIE with an existing aggregator.
Impact: Iterator construction collects world actor arrays and intersects them with the class list, retaining world-size-dependent work. No measured hitch severity is established.
Receipt: UE 5.7EngineUtils.h:191obtains class objects, but the same Editor branch subsequently collects and intersects world actors at:203–249. The non-editor branch at:258uses the class list directly.
Fix: Qualify the rejection: Gemini’s packaged-server scan/DoS claim is unsupported, but Muse’s Editor performance concern remains. Cache resolution per world if addressing that concern.
Other dispositions and regression checks:
| Check | Result |
|---|---|
| Ensure-guarded dereferences | Closed at both changed sites. UE AssertionMacros.h:464–465 preserves condition evaluation when ensures are disabled. |
| Cross-player seed contamination | Closed: PlayerStates receive SeedFactions, never the unpossession snapshot. |
| Bot exclusion and initialization before Super | Preserved, including NPC auto-possession with an available definition. |
| Once-only PlayerState defaults / empty lobby seed | Preserved; the empty lobby no longer consumes initialization. |
| Shared-pawn snapshot policy | Correct for NPCs and subclasses configured false. Vehicles/turrets still require the documented configuration. |
| Solver class-list dedup | [Base, Derived] and [Derived, Base] now retain the derived solver. Removal also affects authored base instances; their per-instance settings are not transferred. |
| Null Context/World | Closed. |
| Replication rejection | Correct: PlayerState registers both properties at NarrativeGMCPlayerState.cpp:60–61. |
| Seamless-travel rejection | Correct: installed World.cpp:8890 invokes InitializeActorsForPlay; :5925 calls InitGame. |
PASS WITH FIXES