# confirm

The `confirm` step type asks for a yes/no decision and stores the answer, adding an interactive guardrail to your custom commands and workflows before they take a risky action.

```yaml
steps:
  - name: proceed
    type: confirm
    prompt: Deploy to production?
    default: false
```

## Fields

- **`prompt`**
  Required. Prompt text shown to the user.
- **`default`**
  Optional default. Values such as 
  `true`
   or 
  `yes`
   default to confirmation.

Interactive steps require a TTY. Reference the answer later with `{{ .steps.proceed.value }}`.
