Files
mtm-ddwipe/.continue/rules/project.md
T

26 lines
1.2 KiB
Markdown

---
description: mtm-ddwipe project conventions
---
# Project conventions
- Use English throughout the project.
- 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.
- Keep short, explicit confirmation prompts before destructive operations.
- Keep error and help messages short, clear, and in English.
- Keep help text concise and usage-first.
# Project identity
- Main script: `mtm-ddwipe`
- License: GNU GPL v3