diff --git a/.continue/rules/project.md b/.continue/rules/project.md index 0796e98..f757333 100644 --- a/.continue/rules/project.md +++ b/.continue/rules/project.md @@ -7,12 +7,17 @@ description: mtm-ddwipe project conventions - Keep shell scripts Bash-based when Bash is already used by the project. - Preserve the current behavior of the main script: - `mtm-ddwipe`: wipe devices. +- Strengthen destructive-action safety checks in `mtm-ddwipe` when making changes. +- Keep `mtm-ddwipe` interactive by default unless a change explicitly adds a safe opt-in flag. - Keep user-facing messages short, clear, and in English. - Prefer minimal, focused changes that do not alter the intent of the existing scripts, unless the script behavior is intentionally updated. - Maintain `.continue/rules/project.md` whenever project conventions or script behavior change. - `mtm-ddwipe` is a small Bash script with helper functions. - Keep the host and line-number removal behavior intact. - `mtm-ddwipe` must print a usage line and support `-h`/`--help`. +- Validate that wipe targets are real block devices before operating on them. +- Prefer explicit, short confirmation prompts before destructive operations. +- Keep error and help messages short, clear, and in English. # Project identity - Main script: `mtm-ddwipe`