NarrativeGMC audit fix plan (2026-10-24)¶
Sources: three independent reviews in this folder, Fable (4 critical / 19 major / 7 minor), Codex gpt-6-astra
(3 / 36 / 3) and Grok 4.7 (8 / 7 / 2). All three agree that 0.1.0 is not production-usable.
Plan: Fable's 13-step plan (fable.md → "Fix plan"), with Astra's compile defect and the consensus controller fix
folded into PR-0 and PR-2.
Branch: wt/WT-9561/ngmc-audit-fixes (worktree wt-WT-9561-ngmc-fixes). Each PR is one commit or a small series.
Gate per PR: a clean plugin build, then /council-code-review, then a fast-forward push.
Baseline matrix: UE 5.7 + GMC 2.3.7 + GMAS 1.3 + NarrativePro 2.2.6. The upgrade comes last (PR-12).
Consensus critical issues (found by 2–3 reviewers)¶
- GMAS is never wired to GMC.
GMCMovementComponentis unset, and nothing forwards BindReplicationData, GenPredictionTick, GenSimulationTick, GenAncillaryTick, or PreLocal/PreRemoteMoveExecution. (All 3 reviewers.) - Wrong controller base. The player controller must derive from
AGMC_PlayerController; also spawn anAGMC_Aggregatorand setGameStateClasstoANarrativeGameState. (All 3.) - Custom1 collides with GMCExtended's ragdoll mode, and climb and cover never move the pawn. (Fable, Grok.)
- Compile defect:
GMCE_MotionWarpingComponent.h:179returnsTArray<T*>&over aTArray<TObjectPtr<T>>. (Astra.) GetFactions()isn't overridden, so the first faction query hitscheck(false). (Fable.)- GMAS is
.disabledin the UE 5.7 Marketplace folder, so the plugin can't build as installed. (Fable.)
PR order¶
| PR | Scope | Key findings |
|---|---|---|
| PR-0 | Environment: vendor GMAS 1.3 as a host-project plugin (MIT); add PoseSearch and drop StructUtils in the uplugin; add docs/DEPENDENCIES.md with upstream SHAs; fix the TObjectPtr compile defect |
Fable PR-0 + Astra #1 |
| PR-1 | Wire GMAS to GMC: assign the component and forward all lifecycle hooks | All 3 |
| PR-2 | Crash fixes: GetFactions/AddFaction/RemoveFaction; PC base AGMC_PlayerController; aggregator; GameStateClass |
All 3 + Fable #3 |
| PR-3 | Untangle movement modes: Custom3/Custom4 for climb and cover; ragdoll delegated to GMCE; bound inputs; real moves in PhysClimb/PhysCover; fall damage measured at impact | Fable PR-3, Grok #3–5 |
| PR-4 | Ability correctness: tag lifecycle, bound inputs for jump/dodge/crouch/aim, AbilityCost effects, no double cooldowns | Fable PR-4 |
| PR-5 | Damage pipeline: server-authoritative hitscan, DamageAmount via Modifiers, armor modifier, fall damage from GenAncillaryTick | Fable PR-5 |
| PR-6 | Death flow | Fable PR-6 |
| PR-7 | Definitions + framework (ANarrativeGameMode, INarrativeSavableActor) |
Fable PR-7 |
| PR-8 | Interaction (a UPlayerInteractionComponent subclass + a GMAS interact ability) | Fable PR-8 |
| PR-9 | Equipment (GMAS-granting item subclasses) | Fable PR-9 |
| PR-10 | NPCs: mixed world, documented limits | Fable PR-10 |
| PR-11 | Docs truth pass: a Known-gaps table; remove unproven claims | Fable PR-11, all 3 |
| PR-12 | Upgrade path: GMC newer, GMAS main, NarrativePro 2.4 / UE 5.8 (diff the 5 seam headers first) | Fable PR-12 |
Verification¶
- Automated (by the agent): compile with UnrealBuildTool against a host project kept outside the repo,
C:\Users\fives\source\repos\wt-WT-9561-ngmc-host\NGMCHost.uproject, with NarrativeGMC junctioned in, GMAS vendored as a project plugin, and GMC and NarrativePro taken from the engine's Marketplace plugins. Run UBT with-MaxParallelActions=4, because greatroom's commit charge is about 86%. - Manual acceptance (Andrew, in the editor): the PIE 2-client listen-server checks with network emulation for each PR, from Fable's plan. Agents can't run PIE for him; each PR states its manual acceptance steps.