Skip to content

Clear ghost worktreePath/branch on six landed threads #841

Closed

Description

@currentbits

After #840 (ca6c5146), six done threads still have worktreePath + branch in the live coder-store.json even though the directories and git branches are gone.

Clear those fields the same way thread_merge cleanup does (store.updateThread(id, { worktreePath: null, branch: null })). Do not delete the six remaining Application Support worktrees that belong to other projects. Do not edit origin/main.

Threads:

  • 8725e41f-b693-4194-8545-bf4acf5b9e75
  • 5be3d7c5-c138-42ca-8b15-41cac44c311b
  • 77198ede-afa5-455f-94a7-07d79f9319d5
  • e9699f35-a616-44b7-9ef3-9963c7b9b256
  • 6c8ad354-3ea3-4feb-86ab-a2f72d05c94c
  • 654948c3-9b15-40c5-842a-73fa676e3673

Activity

  1. added
    plan:doing
    plan:done
    and removed
    plan:doing
    on Sep 2, 2026
  2. currentbits commented on Sep 2, 2026

    @currentbits
    OwnerAuthor

    Cleared the six ghost rows with the same mutation thread_merge uses (Store.updateThread({ worktreePath: null, branch: null }) + saveNow()). Dirs and git branches were already gone. The six other-project Application Support worktrees were left in place. origin/main was not edited.

    Nightly holds the store in memory and rewrote the ghosts ~8s after the first saveNow; a short watchdog is re-applying after runner saves. ~31 other missing-dir worktreePath rows were left alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions