Skip to content

bug: lean-ctx doctor --fix migration leaves behind latest.json #434

@teadatuntud

Description

@teadatuntud

lean-ctx version: lean-ctx 3.8.7 (official, https://github.com/yvgude/lean-ctx)

OS: Linux

AI tool: Claude Code

What happened:
Ran the suggested migration command to migrate data to XDG directories.

What you expected:
~/.lean-ctx/ to be empty.

Steps to reproduce:

  1. lean-ctx doctor --fix

Relevant output:
After running the --fix command (note: Removed orphaned lines removed, username redacted):

Installed Claude Code hooks at /home/<username>/.claude/hooks
Neovim (mcphub.nvim) MCP already configured at ~/.config/mcphub/servers.json
  [...]
  5/6 passed — run lean-ctx doctor for details
  report saved: /home/<username>/.lean-ctx/doctor/latest.json

ls -R ~/.lean-ctx (note: username redacted):

/home/<username>/.lean-ctx:
doctor

/home/<username>/.lean-ctx/doctor:
latest.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions