diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..8c68d39 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,44 @@ +{ + "dangerouslySkipPermissions": true, + "permissions": { + "allow": [ + "Bash(npm install:*)", + "Bash(npm uninstall:*)", + "Bash(npm run build:*)", + "Bash(npm run dev:*)", + "Bash(npm run lint:*)", + "Bash(npm run test:*)", + "Bash(cargo build:*)", + "Bash(cargo run:*)", + "Bash(cargo check:*)", + "Bash(cargo clippy:*)", + "Bash(cargo test:*)", + "Bash(go mod tidy:*)", + "Bash(go build:*)", + "Bash(go test:*)", + "Bash(make:*)", + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(git status:*)", + "Bash(git push:*)", + "Bash(git log:*)", + "Bash(git diff:*)", + "Bash(docker compose:*)", + "Bash(docker logs:*)", + "Bash(docker exec:*)", + "Bash(ls:*)", + "Bash(find:*)", + "Bash(wc:*)", + "Bash(grep:*)", + "Bash(test:*)", + "Bash(echo:*)", + "Bash(chmod:*)", + "Bash(node -e:*)", + "Bash(npx:*)", + "WebSearch", + "WebFetch(domain:github.com)", + "WebFetch(domain:docs.rs)", + "WebFetch(domain:crates.io)" + ] + } +} diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..0a074ac --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,282 @@ + + +# CLAUDE.md — Corrosion Admin Panel + +## Project Overview + +Corrosion is a hosted SaaS platform that gives Rust game server administrators a complete management interface. Customers install a single uMod plugin, register online, and manage everything from the web — no SSH, no config files, no babysitting wipes. + +**Current phase**: Phase 1 complete (Foundation) — core control plane, auto-wiper with rollback, plugin management, public server site. + +## Tech Stack + +- **Backend**: Rust (Axum on Tokio), sqlx (compile-time verified queries), async-nats +- **Frontend**: Vue 3 (Composition API, `