From 32de56e8f1e77e897b1f5379380d0dc28a977c7a Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 28 May 2026 14:21:11 +0100 Subject: [PATCH] =?UTF-8?q?docs(claude.md):=20TS=E2=86=92AffineScript=20mi?= =?UTF-8?q?gration=20state=20+=20cite=20hypatia=20rule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirrors reposystem#81 (V-lang COMPLETED). Updates the banned-table TS entry to reference the hypatia rule cicd_rules/typescript_detected with path_allow_prefixes for the documented carve-outs. Also flips the Enforcement Rules §1 wording from "Convert existing TS to ReScript" (ReScript itself banned 2026-04-30) to "Convert existing TS to AffineScript directly". Closes the doc-drift gap landed in standards#235 across the reposystem satellite. Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude/CLAUDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index f9db755..03a5efe 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -37,7 +37,7 @@ The following files in `.machine_readable/` contain structured project metadata: | Banned | Replacement | |--------|-------------| -| TypeScript | ReScript | +| TypeScript | AffineScript — banned in NEW code 2026-04-30; existing `.ts`/`.tsx` grandfathered while in-flight migration proceeds; detected via hypatia `cicd_rules/typescript_detected` with `path_allow_prefixes` for `.d.ts`, `*/bindings/{deno,ts,typescript}/`, `avow-protocol/telegram-bot/avow-telegram-bot/`, tooling configs, upstream forks, archives | | Node.js | Deno | | npm | Deno | | Bun | Deno | @@ -61,7 +61,7 @@ Both are FOSS with independent governance (no Big Tech). ### Enforcement Rules -1. **No new TypeScript files** - Convert existing TS to ReScript +1. **No new TypeScript files** - Convert existing TS to AffineScript directly (ReScript is itself banned in new code as of 2026-04-30; do not pass through it) 2. **No package.json for runtime deps** - Use deno.json imports 3. **No node_modules in production** - Deno caches deps automatically 4. **No Go code** - Use Rust instead