A large change can be divided into slices that produce useful evidence. For a hypothetical library catalogue, first add and check a filter using in-memory example records; then connect it to the existing data source; finally review how the interface communicates an empty result. Each slice has an observable outcome, and the later work can be adjusted if the earlier assumption fails. Some changes must remain atomic to keep the system consistent; split at safe boundaries, not merely at arbitrary file counts.
After each slice, inspect the changed files and run appropriate checks. Preserve a known recoverable state through the project’s version-control and backup practices. Version control records selected changes; it does not by itself guarantee a current, tested backup of every database, secret, or external service.
Redirecting a running agent
Some products allow a steering message during a run, a queued message for later, or an interrupt to stop work. Others do not, and timing differs. A steering message may only be read after a currently running tool finishes; a queued message may not run if the session ends or fails. Check the product’s actual behavior rather than assuming immediate control.
For example, if a test is running and a queued message asks for a second feature, the agent may finish the current turn before receiving that request. The queued work is therefore not necessarily a correction to the running action. A steering message is intended to influence the current work, but its delivery can still wait for a boundary. Inspect the product’s queue and interrupt rules before depending on either.
If the agent starts modifying an unrelated screen, a useful correction is: “Stop expanding the scope; explain what changed so far and keep subsequent edits within the catalogue filter.” If a tool is already performing a harmful action, use the product’s stop control where available; a message may arrive too late. Then inspect the filesystem and any external effects. Stopping is not necessarily undoing.
Undoing a conversation turn and restoring files are different operations. Removing or rewinding a message may change what the agent sees next without reversing edits already written to disk. A file snapshot or rollback may restore selected files without removing the conversation or its saved records. Some products combine these operations, and redo availability or invalidation varies. Read the product documentation and inspect the actual restored conversation and filesystem rather than assuming either operation implies the other.
Some tools offer undo or snapshots, but their scope and reliability vary. A rollback may restore some files without reversing a database write, an email, a network request, or a process already started. Verify the actual state after any restore. Rollback is not a backup: maintain appropriate independent backups and test restoration for data that matters.