TL;DR: A developer wants to revert an assistant's changes without discarding unrelated work. Investigate whether the coding change recovery proposal improves that task.
The workflow to examine
Evidence to inspect: The starting tree, generated diff, uncommitted user changes and external effects.
Proposed design
Investigate a snapshot and revert layer for declared assistant write paths. The task is to recover a captured change without discarding unrelated work, not to promise that an assistant can never lose code.
- Capture a known starting state through the supported editor or CLI integration before a covered change. State which tracked, untracked and ignored files are included. Use permitted synthetic fixtures for sensitive file types; do not silently copy private ignored material into a new store.
- Preview a proposed revert against both the captured state and subsequent user edits. Show conflicts and ask for review where restoring an earlier file would overwrite unrelated work. An automatic restore must have the same declared coverage and conflict policy.
- Use a reviewable diff for consequential structural changes on the paths the integration controls. A gate on one editor action does not govern an unrestricted terminal command or another tool.
The bounded product claim to test is recovery of specified files from a verified snapshot. Database mutations, published artifacts and other external effects require their own supported recovery process. A successful file revert does not prove those effects were reversed.
Risks and honest caveats
- Existing recovery may suffice. Compare the actual Git, editor-history or assistant-checkpoint workflow with the proposed layer. Test the relevant files and conflicts rather than treating automation as an established advantage.
- Integration coverage. Inspect every assistant and write path the offer claims to support. An unobserved operation remains outside the snapshot even when another integration captured its own changes.
- Recovery and adoption are separate. A fixture can establish bounded restore behavior without proving that users will adopt or pay for another layer. Include capture storage, sensitive data handling and manual conflict review in the comparison.
A proposed test for coding change recovery
Apply and revert a scoped change in a disposable checkout, then compare the result with the original state.
Include a tracked file with an existing user edit, an untracked file and an ignored synthetic fixture whose capture policy is explicit. After the assistant change, make a separate user edit and inspect the proposed revert. Verify restored content and preserved unrelated work, and leave a visible unresolved conflict when those goals cannot both be achieved automatically.
Represent an external action with a safe test stub and check that the interface does not mark it reversed merely because the files were restored. Record uncaptured paths and failed restores. These checks define the proposed scope; they do not establish universal loss prevention.
A reason to stop or change direction: The recovery overwrites the user's work or cannot restore effects outside version control.
Research aids: Pain Point Browser, Idea Validator and how the research scores work.
Related reading: how to validate a startup idea; guardrails for LLMs connected to databases.