Skip to main content

Safety and Side Effects

Safety and Side Effects

Required Review

Understand what Custy can read, write, stage, publish, and request before executing a consequential operation.

Commandcusty --dry-run COMMAND

Category

Core Concepts

Quick Command

custy --dry-run COMMAND [OPTIONS]

risk modelrecoveryverification

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

Inspect configuration, files, repository state, history, tags, branches, and remotes.

Project Files

Generate resources, update versions and changelogs, edit messages, and create or remove retained backups.

Git Index

Stage selected tracked or untracked project changes before a commit.

Local Git History

Create commits and tags that become part of the repository's local history.

Remote State

Push HEAD and optional tag references to one or more resolved remotes.

Interactive Decisions

Open editable artifacts or request confirmation when a flow requires human review or destination selection.

Risk Increases with Scope

Properties

PropertyTypeDescriptionDefaultRequired
Inspection and validationRepository-awareReads real project and Git state. A validation command can still fail and optional command flags may add effects.-No
Project-file operationsLocal mutationCan create, replace, edit, move, or remove files according to the selected command and configuration.-No
Commit and tag operationsLocal historyCreate durable Git objects and references that require deliberate recovery if they are wrong.-No
Push operationsExternal mutationMake branch or tag state visible at resolved remotes and may affect other people or automation.-No
Release and Full profilesCombined scopeCoordinate 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.

Pre-execution inspection
bash
git status --short
git branch --show-current
git tag --list
git remote -v

custy --dry-run run dev

After 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.



Continue