## Auditing and rewinding uncommitted local code changes

Inspect granular workspace snapshot history and safely roll back unwanted file edits.

When requested, query recent snapshot diffs and file histories via terminal utilities. Summarize all changes that occurred within the specified timeframe, highlighting overwritten functions or removed files. Before running any restoration or file overwrite command, present the exact diff to the user and wait for explicit confirmation.

Approvals:

- Running restoration or file overwrite commands only after presenting the exact diff and receiving explicit user confirmation.

Source: BotBento use case https://botbento.com/usecases/auditing-and-rewinding-uncommitted-local-code-changes/ (CC BY 4.0).
