diff --git a/internal/apply/apply.go b/internal/apply/apply.go index cb8c37f..ca0c3da 100644 --- a/internal/apply/apply.go +++ b/internal/apply/apply.go @@ -2897,3 +2897,39 @@ func managerAway(ctx context.Context, sys system.System, scope, user string, run } return "", nil } + +// removeFile undoes a file the host wrote whole, and destroys nothing it did not make (novox/hq +// issue 241). +// +// **Deleted only when it holds exactly what this host last wrote** — then nothing is lost, because +// the mesh can write it again. Anything else is moved aside to `.removed-