# AGENTS.md instructions for ローカル AI コーディング Agent ワークフローのための Codex CLI

Use ローカル AI コーディング Agent ワークフローのための Codex CLI only for: ターミナルで AI コーディング Agent を実行し、コード確認、編集、検証、diff 要約を行えます。

## Default behavior

- Prefer non-interactive commands and stable output formats: text, patch, json.
- 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

- requires-review: `codex` — Launches an interactive coding agent session.
- requires-review: `codex "review the current diff"` — Runs a focused coding task in the terminal.

## Safety notes

- Review file edits and shell commands before approving high-impact changes.
- Use repository instructions and scoped worktrees to keep changes bounded.
- Avoid giving unrestricted deploy, billing, or production database access.