Home

Workflows

This page lists the safe and destructive patterns in the Workflow Engines shell guard pack. See Shell Tool for how these patterns are evaluated.

Workflow Engines

Pack ID: workflows.engines

Guards against destructive operations in scientific workflow engines

Safe patterns

Rule IDPattern
workflows.engines.nextflow_log^nextflow\s+log\b[^|><]*$
workflows.engines.nextflow_list^nextflow\s+list\b[^|><]*$
workflows.engines.snakemake_summary^snakemake\s+--summary\b[^|><]*$
workflows.engines.snakemake_dryrun^snakemake\s+(?:--dryrun|-n|--dry-run)\b[^|><]*$

Destructive patterns

Rule IDReasonSuggestionConfidence
workflows.engines.nextflow_cleanRemoves cached workflow data and intermediate resultsUse nextflow log to review runs before cleaningMedium
workflows.engines.nextflow_dropRemoves a cached pipeline from local storageUse nextflow list to review cached pipelines firstMedium
workflows.engines.snakemake_delete_allDeletes all output files produced by the workflowReview outputs with snakemake --summary firstHigh
workflows.engines.snakemake_unlockForce-unlocks a workflow directory, risking concurrent execution conflictsEnsure no other Snakemake instance is running firstMedium

This documentation was generated from rust/agents/src/tool_guard/shell/packs/workflows.rs.

© 2026 Stencila