# AGENTS.md instructions for 用于 Release 和 Sourcemap 上传的 Sentry CLI

Use 用于 Release 和 Sourcemap 上传的 Sentry CLI only for: 从终端管理 Sentry Release、提交、部署和 Sourcemap 产物。

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