Full rules:
docs/developer/CLAUDE_RULES.md— read when starting a new task Full workflow:docs/developer/CLAUDE_WORKFLOW.md— read when needed Reference (IPs, playbooks):docs/developer/AUTOBOT_REFERENCE.mdWorktrees: Use.worktrees/(project-local, gitignored) for all parallel/isolated work
Every task must: link to GitHub issue, search Memory MCP first, break into subtasks, use code-reviewer agent, update issue throughout, verify before closing.
Before proceeding: Work tied to issue? Subtasks added? Memory searched? Root cause (not workaround)? If ANY fails: STOP.
- Check Before Writing — search for existing code/docs/PRs before creating anything new
- Reuse Existing Code — import from
autobot_shared/, never duplicate or hardcode - Standardize for Reuse — shared modules, ≤30-line functions, no
_v2/_fixsuffixes - Clarify Requirements — ask all questions up front, confirm architecture before coding
- Verify Before Complete — show evidence (test output, curl, build) before claiming done
- Report Every Problem — file GitHub issues for all discovered bugs, even if not your task
Full details with examples and violation cases:
docs/developer/CLAUDE_RULES.md
Redis: from autobot_shared.redis_client import get_redis_client (databases: main, knowledge, prompts, analytics)
Config: from autobot_shared.ssot_config import config / import { getBackendUrl } from '@/config/ssot-config'
Logging: logging.getLogger(__name__) (backend) / createLogger('Name') (frontend). No print() or console.*.
Encoding: Always encoding='utf-8' explicitly.
Copyright: mrveiss is sole owner/author of all AutoBot code.
- Branch target:
Dev_new_guifor all PRs unless told otherwise - Commit format:
<type>(scope): <description> (#issue-number) - Pre-commit: Never
--no-verify. PostToolUse hook auto-formats.pyfiles. - Worktrees: No nesting. Manual creation for PRs (not
isolation: "worktree"). Clean up after issue closure. - Agents: Prefer direct implementation. Reserve subagents for research/exploration. Subagents can't acquire Bash permission.
- Deployment: All via Ansible playbooks on SLM Manager (.19). Never manual SSH changes.
- No temporary fixes: Zero tolerance for workarounds, TODO comments, try/catch hiding errors.
- One issue per session: Don't auto-start other issues after completing one.
- Edit strategy:
Editfor files >50 lines,Writefor new/small files.
Full workflow details:
docs/developer/CLAUDE_WORKFLOW.md