You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reject dirty managed Git checkouts at locked commits #19
bugSomething isn't workingcriticalAn urgent issue requiring immediate resolution.dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.
Vex accepts a managed Git dependency whenever its checkout HEAD matches the commit in vex.lock. checkout_commit returns before checking the working tree when HEAD already matches, and the dry-run path also checks only HEAD.
As a result, modified or untracked files under .vex/deps/<package> can be compiled by vex build --locked --offline even though the lockfile still claims the exact committed source. This breaks the core reproducibility guarantee.
Reproduction
Verified on master at 8c2d93a:
Fetch a local Git dependency and commit vex.lock.
Edit .vex/deps/dep/src/lib.wave without committing.
Run vex fetch --locked --offline.
The command succeeds.
Run vex check --locked --offline.
wavec reads the modified dependency source.
Expected behavior
Vex must refuse to use a dirty managed checkout and must never overwrite local changes automatically.
Acceptance criteria
Check tracked modifications and untracked files before reading a managed dependency manifest or source.
Apply the check to normal, --locked, --offline, and --dry-run reuse paths.
Report the package name, checkout path, and a safe recovery action.
Add integration coverage for both tracked and untracked changes.
Preserve the existing rule that Vex does not discard user data.
bugSomething isn't workingcriticalAn urgent issue requiring immediate resolution.dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.
Activity