From 5b84b0fbb8e8370c037014f2ecc4c814d55df8ea Mon Sep 17 00:00:00 2001 From: jdalton Date: Fri, 3 Apr 2026 21:39:27 -0400 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20add=20HTTP=20request=20rule=20?= =?UTF-8?q?=E2=80=94=20use=20@socketsecurity/lib/http-request,=20not=20fet?= =?UTF-8?q?ch()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index 87fda7d10..b4c82634f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -100,6 +100,7 @@ All shared standards (git, testing, code style, cross-platform, CI) defined in s - Backward Compatibility: 🚨 FORBIDDEN to maintain - actively remove when encountered (see canonical CLAUDE.md) - Work Safeguards: MANDATORY commit + backup branch before bulk changes - Safe Deletion: Use `safeDelete()` from `@socketsecurity/lib/fs` (NEVER `fs.rm/rmSync` or `rm -rf`) +- HTTP Requests: Use `httpJson`/`httpText`/`httpRequest` from `@socketsecurity/lib/http-request` (NEVER `fetch()`) ### Documentation Policy From 5ed3c69156a93806b93e651ead767df2922a8d02 Mon Sep 17 00:00:00 2001 From: jdalton Date: Fri, 3 Apr 2026 21:45:00 -0400 Subject: [PATCH 2/2] docs: standardize HTTP request rule format in CLAUDE.md --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index b4c82634f..73465cb56 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -100,7 +100,7 @@ All shared standards (git, testing, code style, cross-platform, CI) defined in s - Backward Compatibility: 🚨 FORBIDDEN to maintain - actively remove when encountered (see canonical CLAUDE.md) - Work Safeguards: MANDATORY commit + backup branch before bulk changes - Safe Deletion: Use `safeDelete()` from `@socketsecurity/lib/fs` (NEVER `fs.rm/rmSync` or `rm -rf`) -- HTTP Requests: Use `httpJson`/`httpText`/`httpRequest` from `@socketsecurity/lib/http-request` (NEVER `fetch()`) +- HTTP Requests: NEVER use `fetch()` — use `httpJson`/`httpText`/`httpRequest` from `@socketsecurity/lib/http-request` ### Documentation Policy