Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

chore(claude): default to replacing stale flows

Jiayuan Zhangc6960d39b9ad
diff --git a/CLAUDE.md b/CLAUDE.md
index 87be1702d5..57c1342acf 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -54,6 +54,9 @@ docker compose down # Stop PostgreSQL
- Go code follows standard Go conventions (gofmt, go vet).
- Keep comments in code **English only**.
- Prefer existing patterns/components over introducing parallel abstractions.
+- Unless the user explicitly asks for backwards compatibility, do **not** add compatibility layers, fallback paths, dual-write logic, legacy adapters, or temporary shims.
+- If a flow or API is being replaced and the product is not yet live, prefer removing the old path instead of preserving both old and new behavior.
+- Treat compatibility code as a maintenance cost, not a default safety mechanism. Avoid "just in case" branches that make the codebase harder to reason about.
- Avoid broad refactors unless required by the task.
## 5. UI/UX Rules