Home

Scientific

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

Scientific Computing

Pack ID: scientific.computing

Guards against destructive operations in scientific computing environments

Safe patterns

Rule IDPattern
scientific.computing.julia_version^julia\s+--version\b[^|><]*$
scientific.computing.matlab_ver^matlab\b.*\bver\b[^|><]*$

Destructive patterns

Rule IDReasonSuggestionConfidence
scientific.computing.julia_pkg_gcRemoves unused Julia package versions from the package depotUse Pkg.status() to review installed packages firstMedium
scientific.computing.julia_pkg_rmRemoves Julia packages, potentially breaking dependent packagesUse Pkg.status() to review dependencies before removingMedium
scientific.computing.matlab_deleteDeletes files from within a MATLAB sessionVerify file paths with dir() before deletingMedium
scientific.computing.matlab_rmdirRemoves directories from within a MATLAB sessionVerify directory contents with dir() before removingMedium
scientific.computing.octave_unlinkDeletes files from within an Octave sessionVerify file paths before deletingMedium

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

© 2026 Stencila