Canonical rules are maintained in CLAUDE.md and .claude/rules/.
Read those files before making non-trivial changes.
CLAUDE.md— project overview, commands, verification gate.claude/rules/architecture.md— product identity, layer ownership, invariants.claude/rules/frontend.md— TypeScript, React, styling.claude/rules/main-process.md— Electron main process, IPC, WebSocket.claude/rules/message-persistence.md— message write paths (CRITICAL).claude/rules/git-conventions.md— commit format, PR budgetdocs/openclaw-desktop-design.md— design doc- the module you will change
If the task touches Gateway behavior, also inspect ~/git/openclaw before changing local code.