pub fn lockfile_fix_command(adapter: &str) -> Option<&'static str>Expand description
The command an agent should run to fix a failed lockfile check, or None when the
failure is not of that kind.
This is the single reason an agent can act on a lockfile_error without a human:
the fix is mechanical and the same one the human report prints.
Each of these is the writing form of that adapter’s verification — the one
crate::adapters::enforce_two_tier refuses to run on the user’s behalf unless
they set allow_manifest_rewrite. It resyncs the lockfile with the manifest, which
is exactly what a failed read-only verification is complaining about.