How to use Codex to fix a puzzle game’s reward ledger
Codex repaired Faultline’s replay and daily-reward edge cases, separating a dated ledger from bounded history and checking storage and keyboard behavior.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Review this daily puzzle game’s staged scoring and local progress storage. Test mistakes followed by fast completion, same-day replays, history eviction, next-day rewards, and malformed legacy data. Propose a separate dated reward ledger and focus restoration after rerenders. Show me the plan and regression results before I approve a merge.
Reach people exploring AI agents
See placements →What happened
Faultline gained replay-safe daily reward tracking, repaired clean-round scoring, safer storage handling, and focus restoration, with eighteen reported passing tests.
Reported by Fatuma Yattani — DevpostHow the agent did it
- Codex audited the working game’s scoring, replay rewards, stored progress, and keyboard transitions.
- It implemented a separate dated reward ledger and regression cases for history eviction and malformed progress.
- The owner approved scope, reran checks, and requested a second review before merging the fixes.
Where a person stepped in
Fatuma reviewed Codex’s plan and changes, controlled scope, reran tests independently, and requested a second review before merging.
Fatuma Yattani opened the completed Faultline game in Codex for a final engineering review. Players inspect two answers, locate the flawed sentence, diagnose the mistake, and choose a verification method. That staged mechanic made scoring and reward history more involved than a simple quiz.
Codex found that a fast player could receive a clean-round bonus despite an earlier mistake, and replays could award extra experience. Daily reward enforcement also depended on bounded result history: enough later rounds could remove evidence that a reward had already been collected.
The repair separated the dated reward ledger from general history. Tests covered same-day replay, history eviction, next-day rewards, and malformed older progress. Other changes handled damaged browser storage and restored keyboard focus after interface rerenders. Codex expanded the reported passing suite from twelve cases to eighteen.
Yattani reviewed the implementation plan, approved its scope, reran checks independently, and requested another review before merging. That additional review caught another reward-history edge case. The result was a more robust playable game with explicitly checked reward rules. It was not a runtime AI feature: Codex’s role was finding and repairing implementation defects around a human-designed game.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: Devpost · Fatuma Yattani
Frequently asked questions
Why was a separate reward ledger needed?
Bounded gameplay history could evict evidence of a same-day reward.
Did the owner accept the first review immediately?
No. Independent checks and another review found an additional history edge case.
Is Codex required while players play?
The described role was an engineering review of the static game.
More details
About this account
Codex audited the working game’s scoring, replay rewards, stored progress, and keyboard transitions. It implemented a separate dated reward ledger and regression cases for history eviction and malformed progress.
Opened developer account and Fatumayattani/faultline repository. ChatGPT concept work is distinguished from the Codex final engineering pass. Test totals and owner reruns are source reports, not independent execution here. Suggested prompt written by Agents In Use; no original task prompt was published in the verified account.
Credit: Fatuma Yattani — Devpost
Source published 21 Jul 2026
Source checked 14 Oct 2026
Tools and topics
Codex · JavaScript · Node.js · localStorage · test runner
game scoring · reward ledger · accessibility
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.