Skip to content

Add explicit pruning for stale managed dependency checkouts #88

Closed

Description

@LunaStev

Motivation

Removing or changing dependencies updates vex.lock, but old repositories remain under .vex/deps indefinitely. Users need a safe way to reclaim project-local disk space without guessing which directories are still live.

Proposed behavior

Add an explicit pruning mode or command. Normal build and fetch operations should not destructively delete data without a clear policy.

Acceptance criteria

  • Compute live checkout identities from the current manifest and lockfile.
  • Preview removals before destructive action.
  • Refuse to remove dirty or unrecognized directories.
  • Detect symlinks and path escapes.
  • Explain whether removed commits remain available in the global cache from Add a shared Git object cache for dependencies #29.
  • Coordinate with vex clean from Add a project-level vex clean command #49 while keeping build and dependency cleanup distinct.
  • Add tests for renamed, removed, dirty, unknown, and shared-source checkouts.

Activity

  1. added
    feature request
    ui/ux
    dependencies
    on Sep 18, 2026
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

    dependenciesfeature requestui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions