When an agent starts with a theory, it can produce a reasonable patch for a different problem. Reproduction first gives you a chance to correct the misunderstanding before implementation. You should be able to point to what failed, under which conditions, and what changed after the fix.
The optimized bug-fix workflow adds that discipline to eligible tasks. A precise report still matters when automatic browser reproduction is unavailable.
On this page
Requirements
Before you start
Make sure you have these in place before following the steps:
- A reproducible symptom, affected route, expected result and safe test data.
- For integrated app-preview browser tools, an isolated task on a supported Next or Vite application.
- 1904 agent optimizations enabled for newly started tasks when you want the reproduction-first workflow.

Describe the failure without prescribing the fix
State the action that fails and the result you expected. Include the route, device size, account role and relevant input. Avoid real customer credentials or a proposed code rewrite unless you have already established the cause. Let the agent distinguish the symptom from its explanation.
On /settings, signed in as a test member at phone width, Save stays disabled after I enter a valid display name. Expected: it becomes enabled and saves once. Reproduce this before editing, show what you observed, then fix the cause and retest the same steps.Check the task's selected kind
Start the task and inspect its kind chip. Choose Fixing something if the request is a bug and it was classified differently. The owner controls 1904 agent optimizations in Settings under AI & coding; a task can disable them in its own guidance settings.
Read the evidence before accepting the theory
Look for the reproduced behavior, route and viewport in the task conversation. If it shows the wrong role, page or failure, say so immediately. If the agent cannot reproduce the issue, ask what it tried and which input or setup is missing before approving a speculative change.
Keep control of website actions and sign-in
When the task uses the interactive browser, review any Review browser actions card before deciding. Check the current page, proposed actions and entered values. Approve once runs only those steps; Allow on the site, or Allow all, for this task lets later actions run without asking until the task ends, and Ask every time in the Browser panel switches that off. Use Take control for private sign-in or a verification challenge, then Resume agent. A chat message or an agent permission mode does not approve a browser proposal.
Repeat the original steps after the patch
Ask the agent to revisit the same route and viewport with the same safe inputs. Confirm the expected outcome and inspect any newly added regression check. A different screenshot that simply looks healthy does not show that the original problem was fixed.
Review the change and remaining gaps
Open Changes and current Checks. Confirm the fix stayed within the requested behavior and did not remove the feature to avoid the bug. Ask for a closing account of what changed, what was checked and what remains unverified before deciding whether to submit.
Check the result
- The observed pre-fix behavior matches the original report.
- The same steps succeed after the patch, with a regression check or explicit verification gap recorded.
Troubleshooting
The agent cannot open an app preview.
Confirm the task is isolated and the application is supported. Supply reproducible steps and logs, and record that browser verification was unavailable instead of claiming reproduction succeeded.
A browser approval expired or the page changed.
Inspect the current state and have the agent prepare a new proposal. Approvals apply once to the reviewed page state; do not retry an uncertain action blindly.
Availability and limits
- Preview data and eligible stacks affect what can be reproduced. Treat development records as real data unless the test context states otherwise.
- A Chrome-based phone check approximates some phone behavior; verify critical iPhone interactions on a real device.