# How to use Codex to preserve history-game continuity

Codex hardened P.A.T.H. Vietnam’s scene continuity, concurrent saves and replay, while Robert Scales retained historical authorship and release review.

Agent: Codex (via Codex GPT-5.6; OpenClaw supported earlier research)
Tools: Codex, React, Phaser, TypeScript, Supabase, PostgreSQL
Category: Games & simulation
Date: 2026-07-21

Outcome: The reported live campaign preserves persistent tour consequences through tested state and replay systems, with human-approved historical content rather than improvised live narrative.

## Steps

1. Codex inspected production code and used the Scene Viewer to trace lifecycle, state and asset failures.
2. It implemented save-concurrency controls, a persistent event ledger and deterministic replay for continuity checks.
3. Scales reviewed historical and game content through a candidate-to-approval process before release.

Human oversight: Scales retained authorship, historical review and release decisions; candidate assets required approval, and the protected research library was kept outside the public repository.

Source: [Robert Scales — Devpost](https://devpost.com/software/p-a-t-h-vietnam)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-preserve-history-game-continuity/
