pub fn clear_bundle_cache(bundle_dir: &Path, env: &str)Expand description
Clear cached state for --new-cache so a setup run rebuilds from scratch:
the persisted secrets (the shared env store for env, plus any legacy
bundle-local dev stores) and the bundle’s cached setup-state (encrypted
answers + setup-machine / backend-contract state) so the wizard re-prompts.
Best-effort: a failure to remove any single artifact only means that
artifact is reused; it must never abort setup. Note it deliberately does
not touch the freshly-extracted bundle_dir tree itself (that is the
working copy for this run) beyond the bundle-local dev/state stores below.