#205·lore

Bug: `lore status` lists the same path twice after recreating a staged deletion as a 0-byte file

Author: zenogrid-law80Created Sep 14, 2026Updated Sep 14, 2026
Labelsbugneeds-triage

Lore version

lore 0.9.0+783

Installation method

MSI installer (Windows)

Operating system / architecture

Windows -- x86_64

Steps to reproduce

  1. Start with a tracked and committed file, for example file.txt.
  2. Delete the file:
    powershell
    Remove-Item file.txt
  3. Stage the deletion:
    powershell
    lore stage file.txt
  4. Create a 0-byte file at the exact same path:
    powershell
    New-Item file.txt -ItemType File
  5. Run:
    powershell
    lore status

Expected vs actual behavior

Actual behavior

The same path is shown more than once in the status output: once as a staged deletion and again for the 0-byte file that now exists at the same path in the working copy.

Expected behavior

The status output should represent the path's current state unambiguously without presenting it as an unexplained duplicate. If both the staged snapshot and the working-copy state need to be shown, the output should clearly distinguish those two states. Staging the recreated 0-byte file should replace the staged deletion with the appropriate add or modify state.

Component

Client (CLI)

Server context

No response

Regression?

No response

Relevant logs or output

bash