- Knownframe
- CookDex
- Docs
- v2026.10.5
- Safety policies
Safety policies
CookDex previews before it changes anything in Mealie. Writing changes takes a deliberate step, and the riskiest options take an owner’s approval.
Preview by default
Section titled “Preview by default”Most write-capable tasks default to dry_run=true: the run reports what it would change and writes nothing. In the web UI this is Preview, the main button on every job in Tools and on Discover. You apply a preview’s changes from its run details, or with Apply now…, which asks first.
Live runs need an owner
Section titled “Live runs need an owner”Live runs (dry_run=false) and other dangerous options are blocked unless an owner enables the task policy through PUT /policies or by approving it in the web UI. Until then, a job’s apply button is disabled and says “An owner has to approve changes from this job.”
Backup First
Section titled “Backup First”The Backup First option (backup_first) is hidden while a task is in dry-run mode. When enabled for a live run, CookDex creates a Mealie backup before the main task starts. In the web UI it’s the Back up Mealie first (recommended) checkbox, ticked by default, when you apply a job’s changes, a Library review, or Organize changes that could lose something. Untick it only if you’ve just made a backup; Organize shows when CookDex last made one. Adding entries and deleting ones nothing uses skip the backup, since they lose nothing. CookDex keeps the newest 10 of these backups; see mealie-backup.
Recently deleted
Section titled “Recently deleted”Recipes the junk filter and the duplicate finder delete are saved first and kept for 30 days under Library → Recently deleted; a recipe whose copy can’t be saved isn’t deleted. Owners can always restore a recipe or delete a copy early. Editors can when an owner has approved live runs of Clean up the recipe list; otherwise the tab says “An owner has to approve live cleanups before you can restore recipes.” This doesn’t replace Backup First: renames and other changes aren’t kept there. See Recently deleted.
Automations
Section titled “Automations”Approval to apply changes unattended is kept per automation (policy key workflow:<id>), not per task. Only an owner can give it; an editor who changes an approved automation’s steps or settings withdraws it. See Scheduling and automations.
Failures
Section titled “Failures”A job you stop part-way keeps the changes it already made; its run says so, and is labeled Live run rather than Applied changes. See Stopping a job.
Cleanup commands and reimport return a nonzero exit status when their reports contain failed operations, including partial failures. The maintenance pipeline stops on a failed cleanup stage unless continue_on_error=true.