Skip to content

Releases

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 02:58
f23eff5

Added

  • OpenClaw transcript repair backups. The scan reports legacy repair
    copies as one advice-only footprint per agent's sessions directory.
    (#206)
  • Codex runtime state. The scan reports state_5.sqlite and its WAL
    and SHM sidecars as one advice-only footprint, following Codex's
    SQLite path settings. (#205)
  • exo event logs. The scan reports the event-log directory as one
    advice-only footprint and follows exo's macOS and Linux data paths.
    (#204)

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:32
335a151

Install the wheel with the bundled web UI using uv.

uv tool install 'devdoctor[web] @ https://github.com/katagun/devdoctor/releases/download/v0.4.0/devdoctor-0.4.0-py3-none-any.whl'
devdoctor serve

Added

  • Coverage details on the Disk page. An on-demand, read-only scan lists
    the largest unclassified directories and shows skipped or unreadable paths
    separately. (#202)
  • View advice. Advice-only Disk rows open their full guidance directly and
    stay out of cleanup selection. (#201)

Fixed

  • Expanded rows below the Disk page's size cutoff now count toward cleanup
    selection. (#200)
  • Web cleanup clears the saved Dashboard summary. An overlapping scan
    cannot restore the stale summary. (#200)
  • Fresh web installs work with newer FastAPI and OpenTelemetry versions.
    The app explicitly disables FastAPI's native telemetry.

Compare v0.3.0 and v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 13:46
9c0569c

Install the wheel with the bundled web UI using uv.

uv tool install 'devdoctor[web] @ https://github.com/katagun/devdoctor/releases/download/v0.3.0/devdoctor-0.3.0-py3-none-any.whl'
devdoctor serve

Added

  • More Codex desktop storage coverage on macOS. Scans size component
    downloads, installed Chromium components, and certificate revocation data as
    advice only and offer cleanup for Cache and Code Cache under
    ~/Library/Caches/Codex/Default. Codex rebuilt both in an isolated profile.
    (#83)
  • Codex desktop update staging on macOS. Scans report the Sparkle
    installation footprint as advice only and point to Check for Updates in
    the Codex app menu. (#83)

Compare v0.2.0 and v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:31
04282f9

Install the wheel with the bundled web UI using uv.

uv tool install 'devdoctor[web] @ https://github.com/katagun/devdoctor/releases/download/v0.2.0/devdoctor-0.2.0-py3-none-any.whl'
devdoctor serve

Added

  • OpenClaw gateway logs. Scans report service logs and dated structured
    logs, including numbered archives, as advice-only entries.
  • Codex CLI storage. Scans size computer-use, plugins, cache, and
    .tmp under CODEX_HOME as advice-only entries.
    (#83)
  • Codex desktop footprint on macOS. The scan reports local artifact
    sessions as advice only and offers cleanup for six cache directories that
    Codex recreated on restart in an isolated profile.
    (#83)
  • DevDoctor favicon. The landing page, rendered docs, and local web UI
    use the DevDoctor icon. (#187)

Fixed

  • Disk scans keep their coverage totals, dashboard data, and automatic
    snapshots when the saved provider exclusions only name removed providers.
    (#158)

Compare v0.1.0 and v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:33
f040145

DevDoctor's first GitHub release includes the developer disk CLI and local web UI.

Install the wheel with web support using uv.

uv tool install 'devdoctor[web] @ https://github.com/katagun/devdoctor/releases/download/v0.1.0/devdoctor-0.1.0-py3-none-any.whl'
devdoctor serve

v0.1.0 changelog

Changed

  • scan --coverage names the directory that holds the bytes. Rows are
    listed three levels below home, so 100 GB of model files further down showed
    up only as the organisation folder above them. Each listed row now follows
    its dominant child (one holding at least 80% of the row) down to the
    directory worth looking at.

  • The web UI's lint and test tooling is current: ESLint 10, the React Hooks
    rules 7, jsdom 30.
    ESLint 10.9 (with @eslint/js 10),
    eslint-plugin-react-hooks 7.1, eslint-plugin-react-refresh 0.5, jsdom 30.0
    and @testing-library/jest-dom 7.0 replace five stale Dependabot updates
    (#60-#64); what the new React Compiler rules found in five hooks and the
    Settings page (refs written during render, state set synchronously in effects)
    is fixed. jsdom 30 needs Node 22.22.2+ on 22.x, 24.15+ on 24.x, or 26+, so
    the web CI job and the macOS packaging job now run on Node 24; the web job
    used to take whatever Node the runner shipped, and packaging used Node 20.

  • Scans are about 2.4x faster with byte-identical results. Directory sizing
    was 83% of a scan and ran one tree at a time inside each provider. Trees are
    now walked with one stat per entry and no per-file path objects, a few at a
    time on one shared pool of four walks (more made the same trees slower on
    APFS). Reference machine, 503 entries and 168 GB: 160 s to 68 s, with 471 of
    474 comparable entries identical to the byte and the other three changed on
    disk between runs. scripts/bench_sizer.py reproduces the comparison, and
    DEVDOCTOR_SIZER_WORKERS overrides the pool size. Sizes are still never
    cached between scans: no cheap key proves a cached size is current. (#92)

  • Starting a web cleanup re-checks only what you selected. Before a job
    starts, the server confirms each selected entry against the disk. It used to
    re-run the entry's whole provider, so one node_modules folder re-sized all
    267 on the reference machine (about 58 s). Providers still find their
    candidates on disk as before, but measure only the selected ones.

  • A wedged Docker daemon no longer hangs the scan. docker system df blocks
    for as long as the daemon does; each Docker query is now bounded at 60 s and
    reports a diagnostic instead. (#92)

  • --provider decides what runs, not just what is shown. A scan limited to
    some providers used to run every provider and filter afterwards, so
    scan --provider time-machine-local-snapshots took as long as a full scan
    (160 s on the reference machine, now 0.2 s). scan, clean, recipe and the
    web recipe endpoint now run only the named providers, and a web cleanup job
    re-scans only the providers that own the selected entries. Provider names may
    be comma-separated, and an unknown name is a usage error instead of an empty
    result. (#92)

  • devdoctor clean --execute shows what it will do before it does it. The
    itemized plan (path, risk, estimated reclaim, exact command) prints before
    the single confirmation whatever the flags; each entry prints a line as it
    finishes, with the command's error when it fails; the summary states
    estimated reclaimed versus planned and the measured free-space change, in
    human units. The scan phase names the running providers. (#126)

  • Project scans follow a marker-anchored depth budget instead of a flat cap.
    Both project-walking providers measured depth from the scan root and stopped at
    six levels, which a normal monorepo inside a worktree exhausts immediately
    (~/projects/github/org/repo/.worktrees/branch/apps/web). Depth is now counted
    from the nearest enclosing project marker (package.json, pyproject.toml,
    Cargo.toml, and similar) under a hard absolute ceiling, so deep-but-legitimate
    layouts stay reachable while pathological trees remain bounded.

    Scan roots now also include the homes agent tools keep their scratch checkouts
    in (~/.claude-worktrees, ~/.codex/worktrees, ~/.cursor/worktrees) and
    ~/Documents/projects. Roots, markers, depth policy and the prune list are
    shared across providers in devdoctor.providers._walk.

    On one real machine: node_modules 20.2 GB -> 32.1 GB across 117
    directories, and python-venvs 195 MB -> 2.6 GB across 31 (21 of that
    machine's 27 virtualenvs sat at depth 7 and had never been visible).

  • Scanning no longer skips dot-directories. Three independent walkers — the
    project index, the virtualenv provider, and the large-file provider — each
    refused to descend into any directory starting with ., so anything inside an
    agent or git worktree (.worktrees/, .claude/worktrees/, .codex/) was
    structurally invisible. Pruning is now driven by an explicit, auditable list of
    names shared across all three (devdoctor.providers._walk.PRUNE_DIR_NAMES),
    which also gained the build and tool caches the dot-rule was implicitly
    covering (.terraform, .next, .gradle, .mypy_cache, and similar).

    On one real machine, surfaced node_modules went from 4.6 GB across 33
    directories to 20.2 GB across 75. Large files in hidden directories such as
    ~/Documents/.archive are now reported. Virtualenvs inside worktrees are now
    reachable in principle, though most remain hidden behind the virtualenv
    provider's own depth cap until that is addressed separately.

    Behaviour change worth calling out: large-files previously skipped hidden
    directories by design, and no longer does.

  • Migrated the web and desktop toolchain from npm to Bun — local scripts,
    CI, release builds, Electron packaging, dependency updates, and contributor
    docs now use the pinned Bun version and committed text lockfile.

  • Renamed the package and CLI from diskdoctor to devdoctor, completing
    the transition that started with the repository rename. The installable
    package is now devdoctor, the command is devdoctor, and the
    DISKDOCTOR_* environment variables are now DEVDOCTOR_*. Existing local
    state in ~/.local/share/diskdoctor keeps working: the new CLI falls back
    to it until a devdoctor data directory exists.

Added

  • Agent session stores, offered by age. Codex and Claude Code transcripts
    are the user's history, so the new agent-sessions family never offers them
    wholesale. codex-sessions and claude-code-sessions group sessions into
    fixed age buckets (under 30 days, 30 to 90, 90 to 180, 180 to 365, over a year), one
    entry each, as young as the bucket's newest member, so --older-than 90d
    selects whole buckets exactly. Buckets untouched for the retention floor
    (90 days; DEVDOCTOR_SESSION_RETENTION_DAYS, never under 30) are
    reclaimable with one delete per session; younger buckets are dangerous and
    advice only, even under --allow-dangerous. A Claude Code session is its
    transcript plus the directory beside it (subagents, tool results); memory/
    is never touched. opencode-sessions sizes OpenCode's SQLite database and
    counts its sessions by age read-only; no database is ever edited. The web
    recipe hint now counts an entry's further commands. (#84)
  • The iOS Simulator's dyld caches are covered. ~/Library/Developer/ CoreSimulator/Caches held 1.3 GB on the machine that prompted #88 while the
    Xcode provider attributed only the unavailable simulators; coresimulator-caches
    offers it as a reclaimable deletion, rebuilt on the next simulator boot.
  • Terraform workspaces are covered, and the duplicate plugins are measured.
    terraform-workspaces finds .terraform next to .terraform.lock.hcl or
    main.tf under the project roots and offers each as a reclaimable deletion
    (terraform init re-creates it). The plugin binaries under providers/ are
    byte-identical across workspaces, so the scan adds up the copies of each
    plugin beyond the first and says what a shared TF_PLUGIN_CACHE_DIR would
    collapse: the lasting fix is configuration, not deletion. The scan's note
    header now reads "note(s) from the scan (skipped paths, tool advice)", since
    notes are no longer only about skipped paths. (#82)
  • AI agent and editor caches are covered. Safe deletions for VS Code and
    Cursor extension package downloads, Cursor's staged updates and both
    editors' session logs; reclaimable deletions for Codex CLI runtimes and exo
    model weights; and one advice entry per editor for installed extensions
    (VS Code, Cursor, Windsurf), naming the editor's own uninstall command. The
    agent worktree homes were already covered by git-worktrees. Session and
    transcript stores stay untouched until #84 gives them age-based retention.
    (#83)
  • Twelve more developer caches are covered. Safe deletions for
    pre-commit hook environments, Puppeteer browsers, node-gyp headers,
    Electron binaries, opam's download cache and Google's updater cache;
    Docling models as reclaimable; and one advice entry per installed rustup
    toolchain, nvm Node version and pyenv Python version, plus Vagrant boxes and
    Steampipe plugins, each naming its tool's own uninstall command, because one
    may be in use and a bare delete leaves the tool's index stale. About 10 GB
    on the machine that prompted this. (#88)
  • Colima is covered. colima-vm-disk finds the Lima disk images under
    ~/.colima/_lima (the data disk and each profile's diffdisk), reports what
    they occupy against what they reserve like Docker.raw, and is advice only:
    deleting a Lima disk destroys the VM's containers and volumes, so the guidance
    is to free space inside the VM or colima stop and colima delete.
    colima-cache offers the downloaded base images as a safe deletion. On the
    ...
Read more