ReAct
Can the AI check the result after each step before deciding what to do next?
Can the AI check the result after each step before deciding what to do next?
read_file("src/login-button.jsx")Verify one concrete assumption: For a button that does nothing, first check whether it has a click handler.
Read the actual result: The file shows that the click handler already exists, disproving the first assumption.
Change the investigation: A 401 after the click moves the next check to authentication. This is task state, not private chain of thought.
Use a ReAct pattern to diagnose this issue. State one thing to verify, perform one read or check, update the task-level conclusion from the result, and then choose the next action. If evidence disproves the original assumption, change direction instead of continuing the same edit.
Build in 3D. Put your computer to work.