CLAUDE.md: 178→25 lines — commands + @ARCHITECTURE.md import only Rules split into .claude/rules/ (load at startup, topic-scoped): llm-inference.md — Bifrost-only, semaphore, model name format, timeouts agent-pipeline.md — tier rules, no tools in medium, memory outside loop fast-tools.md — extension guide (path-scoped: fast_tools.py + agent.py) secrets.md — .env keys, Vaultwarden, no hardcoding Path-scoped rule: fast-tools.md only loads when editing fast_tools.py or agent.py Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
578 B
578 B
Secrets and Environment
.envis required at project root and must never be committed. It is in.gitignore.- Required keys:
TELEGRAM_BOT_TOKEN,ROUTECHECK_TOKEN,YANDEX_ROUTING_KEY. ROUTECHECK_TOKENis a shared secret betweendeepagentsandroutecheckcontainers — generate once withpython3 -c "import uuid; print(uuid.uuid4())".- All tokens are stored in Vaultwarden (AI collection). Fetch with
bw get password "<NAME>"— see~/.claude/CLAUDE.mdfor the full procedure. - Do not hardcode tokens, URLs, or credentials anywhere in source code.