Safety and Side Effects
Safety and Side Effects
Safety Model
Tinjau scope dan durable effects sebelum normal execution.
Command
custy --dry-run COMMANDCategory
Concept
Quick Command
custy --dry-run COMMAND [OPTIONS]Ringkasanâ
What Custy Can Affect
Inspection and Validation
Read repository/configuration dan menjalankan checks.
Project-File Operations
Generate, edit, validate, backup, dan overwrite files.
Commit and Tag Operations
Stage changes serta membuat durable local history/references.
Push Operations
Mengubah remote branch/tag dan berpotensi memicu automation.
Interactive Effects
Open editor atau meminta remote selection.
Release and Full Profiles
Menggabungkan seluruh effect, termasuk experimental finalization.
Effect Categories
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
Inspection and validation | Repository-aware | Membaca real project dan Git state. | - | No |
Project-file operations | Local mutation | Dapat membuat atau mengubah files. | - | No |
Commit and tag operations | Local history | Membuat durable Git objects dan references. | - | No |
Push operations | External mutation | Mengubah state pada resolved remotes. | - | No |
Release and Full profiles | Combined scope | Menggabungkan file, Git, tag, remote, dan finalization effects. | - | No |
Before Normal Execution
bash git status git log -1 --oneline git remote -v custy --dry-run COMMAND
After Execution or Failure
Periksa diff, Git index/history, local tags, backup artifacts, dan setiap remote. Jangan menganggap pipeline atomic.