Skip to content

Commit b728933

Browse files
committed
docs(claude): strengthen backward compatibility prohibition
- Upgrade section from IMPORTANT to CRITICAL - Add explicit requirement to actively remove backward compat code - Add examples of forbidden patterns (env vars, feature flags, etc.) - Make it clear: just delete unused code completely
1 parent 6a4fb76 commit b728933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ All shared standards (git, testing, code style, cross-platform, CI) defined in s
5353
- Scripts: Prefer `pnpm run foo --flag` over `foo:bar` scripts
5454
- Docs: Use `docs/` folder, lowercase-with-hyphens.md filenames, pithy writing with visuals
5555
- Dependencies: After `package.json` edits, run `pnpm install` to update `pnpm-lock.yaml`
56-
- Backward Compatibility: NO backward compat - we're our only consumers, make clean breaks
56+
- Backward Compatibility: 🚨 FORBIDDEN to maintain - actively remove when encountered (see canonical CLAUDE.md)
5757
- Work Safeguards: MANDATORY commit + backup branch before bulk changes
5858
- Safe Deletion: Use `safeDelete()` from `@socketsecurity/lib/fs` (NEVER `fs.rm/rmSync` or `rm -rf`)
5959

0 commit comments

Comments
 (0)