Skip to content

Commit bd5bf65

Browse files
committed
Document vendor --check cause-specific reasons
Assisted-by: Claude Code:claude-opus-5-5
1 parent d38360d commit bd5bf65

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎crates/socket-patch-cli/CLI_CONTRACT.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,11 @@ with `vendor_check_ok`; drift emits `failed` with `vendor_check_failed`, a
16661666
wiring: an entry whose lockfile or config no longer references its
16671667
`.socket/vendor/` artifact (for example after `pipenv lock`, `uv lock` or
16681668
`npm install` re-resolved it) fails by the same liveness rule as `vex`'s
1669-
`vendor_unwired`. For a package-lock entry, drift also includes a
1669+
`vendor_unwired`. The reason names the cause: another lock resolving the same
1670+
version from elsewhere (`wiring contested`, naming both locks; delete the one
1671+
the project does not install from), or, for npm and PyPI, a dependency no lock
1672+
resolves any more (`dependency removed`; `scan --mode vendored --prune` reverts
1673+
the entry). For a package-lock entry, drift also includes a
16701674
`package-lock.json` / `npm-shrinkwrap.json` entry for the vendored `name@version`
16711675
that `vendor` would rewire but that does not resolve to the vendored artifact
16721676
(#588); the reason names that entry. Missing ledger entries fail with

0 commit comments

Comments
 (0)