Troubleshooting
Troubleshooting
Find the first failing boundary, preserve evidence, correct the cause, and recover without duplicating successful effects.
custy --debug COMMANDCategory
Quick Command
observe -> inspect -> isolate -> correct -> verifyHow These Guides Are Organizedâ
The central pages in this section diagnose behavior shared by several commands: Git state, configuration resolution, version formats, changelog stages, and partial pipelines. Once you know which invocation failed, switch to that command's troubleshooting page for the exact symptoms and recovery steps.
Start with the First Failureâ
Later messages can be consequences of an earlier problem. Record the first failed step, error message, optional diagnostic label, hint, paths, and remote names before changing anything.
Diagnosis Method
Safe Troubleshooting Sequence
Choose by Symptom
Features
Repository, Remotes, or Branches
TOML, Paths, or Templates
Versions or Tags
CHANGELOG.md
Run Profiles or Partial Pipelines
Installation, Terminal, or Exit Status
Evidence Checklist
git status --short --branch
git diff
git diff --staged
git log -3 --decorate --stat
git tag --points-at HEAD
git branch --all
git remote -vBefore You Begin
- Read output from the beginningRequired
Begin with the first error, not the final summary or traceback consequence.
- Open the detailed logRequired
Use logs/custy.log and increase the root log level when more context is needed.
- Inspect generated filesRequired
Check the version file, editable messages, CHANGELOG.md, and unexpected diffs.
- Inspect durable Git effectsRequired
Determine whether staging, commit, tag, branch deletion, or any remote push succeeded.
- Protect unrelated workRequired
Do not discard, overwrite, reset, or clean files merely to make Custy retry.
- Redact shared diagnosticsRequired
Remove credentials, tokens, private URLs, and sensitive commit content before sharing output.
Increase Diagnostic Detail
Global options belong before the selected command.custy --debug validate
custy --log-level DEBUG changelog generate
custy --debug run release
custy --no-banner --log-level DEBUG push
Debug output explains more resolution and step behavior, but it does not make an unsafe operation reversible.
Escalate Before Destructive Recovery
Ask a repository owner or teammate before deleting commits or tags, force-pushing, rewriting shared history, restoring remote branches, changing protected-branch policy, or replacing customized configuration and templates. Preserve current state and logs while the decision is reviewed.