Skip to content

verify

Run a verification command and capture errors for AI-assisted fixing.

Syntax

autoship verify [OPTIONS] COMMAND

Arguments

Name Required Description
command Yes Command to run for verification, e.g. pytest

Options

Short Long Default Description
- --fix False Ask the model to suggest fixes on failure

Examples

Run pytest:

autoship verify pytest

Run a command with arguments (quote it):

autoship verify "pytest tests/unit"

Request AI fix suggestions on failure:

autoship verify pytest --fix

Output Notes / Common Errors

  • --fix triggers the on_error hook, collects FixSuggestions, and prompts before applying patches.
  • Failure summaries are saved in .autoship/error/ with sensitive values redacted.
  • fix — Generate a fix for the last failure
  • clean — Clean and format code