The game must expose more than source code.
Kyle Kukshtel argues that coding agents struggle with games because much of a game's state lives outside plain source files. His proposed route starts with fixed randomness, saveable state, serialized commands, scoped screenshots, image diffs, and text-readable profiling.[1]
That is one developer's architecture argument, not a universal game-engine rule. The durable point is smaller. If a change depends on scene state, timing, assets, or runtime performance, the review loop needs a stable way to reach that state and a witness matched to the claim.
Do not ask a screenshot to prove simulation logic, or ask a unit test to prove the frame looks right.
Split control from observation.
A serialized command log can drive the same fixture again. It does not prove the replay reached the same state. Save the build identity, fixture digest, seed, command list, clock policy, and final state digest. If the game includes nondeterministic physics, networking, or platform behavior, record that limit instead of calling the replay exact.
The witness should follow the claim. Use a cropped frame diff for a visual target. Use state values or invariants for simulation behavior. Use a text profile for CPU or allocation claims. Keep the full capture available for a human who needs to inspect the path behind a number.
Tool access is now reaching these witnesses.
JetBrains says Rider 2026.2 can give agents coverage data, profiler snapshots, refactoring support, and game-aware Unreal workflows. Its dottrace-analyze skill reads a supplied snapshot and traces hot paths into code.[2] These are vendor claims about Rider's current release. They do not establish that every game project, engine, or profiler export will work well with an agent.
Chrome's October DevTools recap shows the same movement on the web side. The DevTools MCP server added direct heap-snapshot queries, optional console stack traces, source inspection, and controls that can disable JavaScript evaluation. Chrome also added a CPU performance-tier override over the DevTools Protocol for reproducible performance checks across calibrated hardware tiers.[3]
A narrow port beats a giant dump.
More telemetry can make the loop worse if the agent receives an entire scene tree, full-resolution frame, profiler database, and console log on every turn. Give each task the smallest useful fixture and witness. Preserve the raw artifact outside the prompt so a reviewer can inspect it later.
Start with one expensive bug. Save the state immediately before it. Route one typed command through the simulation. Capture one relevant frame region and one text metric. Run the same packet before and after the patch. That is enough to test whether the port helps before redesigning the game around it.