Skip to content

Commit d1d090a

Browse files
chore: retire ReScript guidance text → AffineScript (Estate Item 9) (#7)
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: hyperpolymath <hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent aee1ad5 commit d1d090a

9 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI
3232
TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true)
3333
if [ -n "$TS_FILES" ]; then
34-
echo "❌ TypeScript files detected - use ReScript instead"
34+
echo "❌ TypeScript files detected - use AffineScript instead"
3535
echo "$TS_FILES"
3636
exit 1
3737
fi
@@ -67,7 +67,7 @@ jobs:
6767
- name: Check for tsconfig
6868
run: |
6969
if [ -f "tsconfig.json" ]; then
70-
echo "❌ tsconfig.json detected - use ReScript instead"
70+
echo "❌ tsconfig.json detected - use AffineScript instead"
7171
exit 1
7272
fi
7373
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
NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1919
2020
if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
21-
echo "❌ New TS/JS files detected. Use ReScript instead."
21+
echo "❌ New TS/JS files detected. Use AffineScript instead."
2222
[ -n "$NEW_TS" ] && echo "$NEW_TS"
2323
[ -n "$NEW_JS" ] && echo "$NEW_JS"
2424
exit 1

ipv6-only/.claude/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following files in `.machine_readable/` contain structured project metadata:
4343
| Bun | Deno |
4444
| pnpm/yarn | Deno |
4545
| Go | Rust |
46-
| Python | Julia/Rust/ReScript |
46+
| Python | Julia/Rust/AffineScript |
4747
| Java/Kotlin | Rust/Tauri/Dioxus |
4848
| Swift | Tauri/Dioxus |
4949
| React Native | Tauri/Dioxus |

ipv6-only/.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
125125
# TypeScript
126126
if find . -name "*.ts" -o -name "*.tsx" 2>/dev/null | grep -v node_modules | grep -v .d.ts | grep -q .; then
127-
echo "::error::TypeScript files detected - use ReScript instead"
127+
echo "::error::TypeScript files detected - use AffineScript instead"
128128
exit 1
129129
fi
130130

ipv6-only/.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"

ipv6-only/.github/workflows/ts-blocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1818
1919
if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
20-
echo "❌ New TS/JS files detected. Use ReScript instead."
20+
echo "❌ New TS/JS files detected. Use AffineScript instead."
2121
[ -n "$NEW_TS" ] && echo "$NEW_TS"
2222
[ -n "$NEW_JS" ] && echo "$NEW_JS"
2323
exit 1

ipv6-only/scripts/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Checking RSR compliance..."
1212

1313
# Check for TypeScript
1414
if find . -name "*.ts" -o -name "*.tsx" 2>/dev/null | grep -v node_modules | grep -v .d.ts | grep -q .; then
15-
echo "ERROR: TypeScript files detected - use ReScript instead"
15+
echo "ERROR: TypeScript files detected - use AffineScript instead"
1616
exit 1
1717
fi
1818

@@ -36,7 +36,7 @@ fi
3636

3737
# Check for tsconfig.json
3838
if [ -f "tsconfig.json" ]; then
39-
echo "ERROR: tsconfig.json detected - use ReScript instead"
39+
echo "ERROR: tsconfig.json detected - use AffineScript instead"
4040
exit 1
4141
fi
4242

ipv6-site-enforcer/.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"

ipv6-site-enforcer/.github/workflows/ts-blocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1818
1919
if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
20-
echo "❌ New TS/JS files detected. Use ReScript instead."
20+
echo "❌ New TS/JS files detected. Use AffineScript instead."
2121
[ -n "$NEW_TS" ] && echo "$NEW_TS"
2222
[ -n "$NEW_JS" ] && echo "$NEW_JS"
2323
exit 1

0 commit comments

Comments
 (0)