Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Agent Guardrails

You are running as an agent. Do not run destructive commands without explicit permission.

### Git
- Never run `git push --force`, `git push -f`, or rewrite shared history
- Never delete branches (local or remote) without explicit permission
- Never commit `.env*` files, API keys, tokens, or credentials

### Filesystem
- Never run `rm -rf` on anything outside the current project directory
- Never modify files outside the current working directory without explicit permission
- Never edit `.env`, `.env.local`, or any `.env.*` file without explicit permission

### Dependencies
- Ask before installing new packages or running `npm install <pkg>`
- Ask before upgrading major versions or modifying lockfiles by hand

### Database
- Never run database migrations, drops, or schema changes without explicit permission

### Behavior
- When uncertain, stop and ask rather than guess
- Summarize planned changes before applying anything non-trivial
- Don't disable, skip, or comment out tests, linting, or type checks to make things pass