# AGENTS.md instructions for Sentry CLI for releases and sourcemap uploads

Use Sentry CLI for releases and sourcemap uploads only for: Manage Sentry releases, commits, deploys, and sourcemap artifacts from the terminal.

## Default behavior

- Prefer non-interactive commands and stable output formats: json, text.
- Start with read-only inspection commands before changing state.
- Show the exact command before destructive or deployment actions.
- Require explicit user approval for commands marked `requires-review` or `destructive`.

## Useful commands

- safe: `sentry-cli releases list --org my-org` — Inspects release history.
- requires-review: `sentry-cli sourcemaps upload ./dist` — Changes release artifact state.

## Safety notes

- Release creation and sourcemap upload change production observability state.
- Agents should inspect releases before creating or finalizing new ones.