From 2d43580c1806cbc9efd7fb575db6c4d896812af8 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 14 Apr 2026 17:55:29 +0000 Subject: [PATCH] chore: add CLAUDE.md and update gitignore --- .gitignore | 1 + CLAUDE.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 CLAUDE.md diff --git a/.gitignore b/.gitignore index d3dd611..a00dabc 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ config.local.yaml state/ checkpoints/ tmp/ +.agent-queue/ diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..f9c548b --- /dev/null +++ b/CLAUDE.md @@ -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