4860978115
Every surface that can start an in-place mutation — hermes update (apply), update --check, and the dashboard's update endpoint — now routes through evaluate_update_admission(): the baked image-provenance marker first (authoritative; a bind-mounted checkout inside a container looks like git to the heuristics while the filesystem is an immutable image), then the pre-existing docker/nix/apt heuristics verbatim. A refusal prints the real update command for the deployment kind, records a 'refused' receipt (fleet tooling sees 'not updatable in place, use <cmd>' instead of a silent non-update), and exits 2 on CLI surfaces — distinct from exit-1 errors. The dashboard response keeps the per-kind error codes its UI already keys on. collect_runtime inventory()'s updatable_in_place also honors the marker, so --plan and receipts report image-managed truthfully even with a bind-mounted checkout. Live E2E (real hermes update subprocesses, real marker file): apply and --check both refuse exit-2 with docker-pull guidance, receipts land as refused/image-marker, an in-place corrupted marker still refuses (fail-closed), removing the marker admits the git checkout.