Lewati ke konten utama

Safety and Side Effects

Safety and Side Effects

Safety Model

Tinjau scope dan durable effects sebelum normal execution.

Commandcusty --dry-run COMMAND

Category

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

PropertyTypeDescriptionDefaultRequired
Inspection and validationRepository-awareMembaca real project dan Git state.-No
Project-file operationsLocal mutationDapat membuat atau mengubah files.-No
Commit and tag operationsLocal historyMembuat durable Git objects dan references.-No
Push operationsExternal mutationMengubah state pada resolved remotes.-No
Release and Full profilesCombined scopeMenggabungkan 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.