Turning on Vet's minimum-release-age after scaffolding
- When
You want the supply-chain delay — every release held back until it is N days old, so a compromised version has time to be found and pulled. Kalimera does not set it, because the floor rejects a release younger than it even when the trust file records it: a freshly scaffolded application would arrive failing its own audit, and nothing unattended can clear that.
- Why it needs a recipe
vet --init --minimum-release-age=7sets the floor and immediately fails on the young releases already installed.composer updateanswers that — re-resolving against the floor rewritescomposer.lockonto releases old enough to pass — but Vet stops that same command before it writes them intovendor/, because they are versions nobody has read. The lock andvendor/now disagree, andvet --freshrefuses to record while they do. Run the four commands below in order and the project lands green; stop halfway and every composer command in it exits 1 until you review the difference in a terminal../vendor/bin/sail php vendor/bin/vet --init --minimum-release-age=7 # exits 1 — expected ./vendor/bin/sail composer update # exits 1 — expected, moves the lock ./vendor/bin/sail composer install --no-plugins # syncs vendor/ to that lock ./vendor/bin/sail php vendor/bin/vet --fresh # records it; keeps the floorThe third command is the one that matters:
--no-pluginsinstalls the lock Vet just produced with Vet's own gate off for that single command. It widens nothing — a baseline is recorded unread either way,--initincluded — it only lets the tree reach the versions the floor asked for before--freshreads it. Afterwardscomposer install,composer updateandcomposer vetall exit 0, and the floor applies to everything from there on.Expect the lock to move backwards by up to N days,
laravel/frameworkincluded. Exempt packages withminimum-release-age-excludeinvet.json(*matches any part of a name, solaravel/*covers the first-party packages); Vet always exempts itself. Removingminimum-release-ageswitches the wait off again — the recorded versions stay trusted.
Still stuck? Open an issue with your --log transcript.