Versions, lockfiles, and reproducible builds

R-LOCK-V4-3hard

Replay the reviewed selection

Maintain the dry-run dependency-plan report for a document-export worker. It evaluates an authored stable-three-part caret policy resembling part of npm/Cargo behavior. Input provides candidates, requirements, reviewed lock entries and install/frozen mode. Output is a proposal only: no registry contact, installation or persisted lockfile changes. Go and C++ implement this reporting policy too; it is not Go module or vcpkg selection. Inputs use well-formed numeric triples with parts from 0 through 1000; prereleases, build suffixes and transitive graphs are outside this model.

What needs to change

Change install so it prints the required reviewed-selection result in both modes.

Reproduce

  1. Run the sample with go run: the range is ^4.6.0 and the lockfile records 4.5.3. Compare the install line with the expected stdout.

Acceptance criteria

Your review marks · Saved in this browser. Test acceptance is tracked separately.

Notes

admits and newestAdmitted are supplied. install receives the floor, the published versions, the lock entry with hasLock, and whether the mode is frozen.

Sign in to open this exercise

The ticket brief is public. Sign in to access the exercise. Paid exercises require Pro.

Sign in