Safety and Side Effects
Safety and Side Effects
Understand what Custy can read, write, stage, publish, and request before executing a consequential operation.
custy --dry-run COMMANDCategory
Quick Command
custy --dry-run COMMAND [OPTIONS]Overviewâ
Custy ranges from inspection and validation to project-file generation, Git history creation, and remote publication. Safety begins by choosing the smallest suitable command, understanding its complete effect set, previewing supported mutations, and verifying state after execution.
Effect Categories
What Custy Can Affect
Reads and Validation
Project Files
Git Index
Local Git History
Remote State
Interactive Decisions
Risk Increases with Scope
Properties
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
Inspection and validation | Repository-aware | Reads real project and Git state. A validation command can still fail and optional command flags may add effects. | - | No |
Project-file operations | Local mutation | Can create, replace, edit, move, or remove files according to the selected command and configuration. | - | No |
Commit and tag operations | Local history | Create durable Git objects and references that require deliberate recovery if they are wrong. | - | No |
Push operations | External mutation | Make branch or tag state visible at resolved remotes and may affect other people or automation. | - | No |
Release and Full profiles | Combined scope | Coordinate file, index, history, tag, and remote effects; Full also invokes experimental finalization. | - | No |
Before Normal Execution
Before You Begin
- Choose the smallest operationRequired
Prefer a focused command or narrower profile when it reaches the same intended result.
- Inspect repository stateRequired
Review the working tree, current branch, local tags, and configured remotes.
- Review project configurationRequired
Confirm paths, templates, strategy, retention, Git, and remote settings.
- Run a supported dry previewRequired
Read every resolved value, planned step, file, tag, and destination.
- Prepare recovery informationRequired
Keep intentional changes backed up and know which files or Git references may need recovery.
- Confirm credentials and destinationsRequired
Make sure the selected identity and every remote belong to the intended project.
git status --short
git branch --show-current
git tag --list
git remote -v
custy --dry-run run devAfter Execution or Failure
Before You Begin
- Inspect project filesRequired
Review generated content and the complete working-tree diff.
- Inspect the Git indexRequired
Confirm which changes remain staged or unstaged.
- Inspect local historyRequired
Verify the latest commit and every newly created tag.
- Inspect each remoteRequired
Confirm which branch and tag updates actually reached each destination.
- Resume from observed stateRequired
Do not repeat a multi-step profile until you know exactly which earlier stages completed.