Skip to content

Deleted/Reset File With Uncomitted Changes w/o Backup, Unable to Restore #5904

@gobigorange

Description

@gobigorange

What version of Codex is running?

0.50.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex

What platform is your computer?

ubuntu 24

What issue are you seeing?

Codex had difficulty applying a patch, so it overwrote the locally changed file with the last commit's version WITHOUT asking first. All local changes were gone, no backup, nothing. Lost a full day's worth of work.

What steps can reproduce the bug?

Uploaded thread: 019a2df9-22d5-7ff1-bb48-408e4ba1030c

What is the expected behavior?

Should never just overwrite a local file completely w/o backup or consent.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions