CLAUDE.md ยท diff
git:20261011.1dc6a7a to git:20261015.6126d14
8 added, 0 removed. Audit A to A.
## Language
- Always respond in Simplified Chinese.
+ ## Fixing Bugs
+
+ - Find the root cause before writing a fix. Ask why the bug is possible at all, not just how to make this symptom go away.
+ - Don't patch symptoms (measuring and compensating, forcing state back after the fact, special-casing one input). If a fix needs another fix, stop: the structure is wrong.
+ - Prefer the structural fix that makes the bug impossible by construction, and reuse patterns the codebase already uses for the same problem.
+ - Check whether the same root cause affects other places, and fix them together.
+ - When only a patch is feasible, say so explicitly and explain the trade-off.
+
## Code Comments
Write as few comments as possible.
Comments should be:
- short (usually under one line)
- describe *why*, not *what*
- avoid explaining obvious code
- never write tutorial-style comments
- never comment every step
## Git Commits
- Use a single short one-line message.
- Never add Claude attribution (no `Co-Authored-By: Claude` or similar lines).