Skip to content

Commit 8a3aa20

Browse files
hyperpolymathclaude
andcommitted
chore: retire ReScript guidance text → AffineScript (Estate Item 9)
Estate language policy: RS/TS/JS → AffineScript → typed-wasm. This rewrites guidance/policy text that recommended ReScript as the TypeScript/Python replacement so it now points at AffineScript. Scope guard (deliberate): rescript-named paths and ReScript adapters are NOT touched — that work is preserved intact for the ReScript ecosystem. Only the forward-looking "use ReScript instead" recommendation is updated. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 47f92fa commit 8a3aa20

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.claude/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following files in `.machine_readable/6a2/` contain structured project metad
4646
| Bun | Deno |
4747
| pnpm/yarn | Deno |
4848
| Go | Rust |
49-
| Python | Julia/Rust/ReScript |
49+
| Python | Julia/Rust/AffineScript |
5050
| Java/Kotlin | Rust/Tauri/Dioxus |
5151
| Swift | Tauri/Dioxus |
5252
| React Native | Tauri/Dioxus |

.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI
3131
TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true)
3232
if [ -n "$TS_FILES" ]; then
33-
echo "❌ TypeScript files detected - use ReScript instead"
33+
echo "❌ TypeScript files detected - use AffineScript instead"
3434
echo "$TS_FILES"
3535
exit 1
3636
fi
@@ -66,7 +66,7 @@ jobs:
6666
- name: Check for tsconfig
6767
run: |
6868
if [ -f "tsconfig.json" ]; then
69-
echo "❌ tsconfig.json detected - use ReScript instead"
69+
echo "❌ tsconfig.json detected - use AffineScript instead"
7070
exit 1
7171
fi
7272
echo "✅ No tsconfig.json"

.github/workflows/ts-blocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
TS_CONFIGS=$(find . -type f \( -name "tsconfig*.json" -o -name "package.json" \) 2>/dev/null | grep -v 'node_modules' || true)
1919
2020
if [ -n "$TS_FILES" ] || [ -n "$JS_FILES" ] || [ -n "$TS_CONFIGS" ]; then
21-
echo "❌ TypeScript/JavaScript usage detected. Use ReScript instead."
21+
echo "❌ TypeScript/JavaScript usage detected. Use AffineScript instead."
2222
[ -n "$TS_FILES" ] && echo "$TS_FILES"
2323
[ -n "$JS_FILES" ] && echo "$JS_FILES"
2424
[ -n "$TS_CONFIGS" ] && echo "$TS_CONFIGS"

hooks/pre-commit-tsjs-blocker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ JS_FILES=$(echo "$STAGED_FILES" | grep -E '\.(js|jsx|mjs|cjs)$' | grep -v '\.res
1313
TS_CONFIGS=$(echo "$STAGED_FILES" | grep -E '(^|/)(tsconfig.*\.json|package\.json|package-lock\.json|pnpm-lock\.yaml|yarn\.lock)$' || true)
1414

1515
if [ -n "$TS_FILES" ] || [ -n "$JS_FILES" ] || [ -n "$TS_CONFIGS" ]; then
16-
echo "❌ TypeScript/JavaScript or Node config detected. Use ReScript instead."
16+
echo "❌ TypeScript/JavaScript or Node config detected. Use AffineScript instead."
1717
[ -n "$TS_FILES" ] && echo "$TS_FILES"
1818
[ -n "$JS_FILES" ] && echo "$JS_FILES"
1919
[ -n "$TS_CONFIGS" ] && echo "$TS_CONFIGS"

0 commit comments

Comments
 (0)