chore: add CLAUDE.md and update gitignore

This commit is contained in:
Ubuntu 2026-04-14 17:55:29 +00:00
parent 65c25c8955
commit 2d43580c18
2 changed files with 27 additions and 0 deletions

1
.gitignore vendored
View file

@ -35,3 +35,4 @@ config.local.yaml
state/
checkpoints/
tmp/
.agent-queue/

26
CLAUDE.md Normal file
View file

@ -0,0 +1,26 @@
# Claude Failover — Developer Guide
## Project
Go daemon for Claude Code multi-account session orchestration with automatic quota-based failover.
Public repo — NO sensitive info (IPs, internal paths, credentials, product names).
## Stack
- Go 1.22+
- tmux (via exec.Command)
- SQLite (checkpoints)
- YAML config
- HTTP API (net/http)
## Architecture
See docs/architecture.md for full design.
## Rules
- All paths must be configurable (no hardcoded /home/ubuntu)
- Use interfaces for tmux, filesystem (testable)
- Single binary, no external dependencies at runtime
- Config via YAML only (no .env)
- git push after every task