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=7 sets the floor and immediately fails on the young releases already installed. composer update answers that — re-resolving against the floor rewrites composer.lock onto releases old enough to pass — but Vet stops that same command before it writes them into vendor/, because they are versions nobody has read. The lock and vendor/ now disagree, and vet --fresh refuses 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 floor

The third command is the one that matters: --no-plugins installs 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, --init included — it only lets the tree reach the versions the floor asked for before --fresh reads it. Afterwards composer install, composer update and composer vet all exit 0, and the floor applies to everything from there on.

Expect the lock to move backwards by up to N days, laravel/framework included. Exempt packages with minimum-release-age-exclude in vet.json (* matches any part of a name, so laravel/* covers the first-party packages); Vet always exempts itself. Removing minimum-release-age switches the wait off again — the recorded versions stay trusted.

Still stuck? Open an issue with your --log transcript.

All troubleshooting entries