Skip to content

Commit dd36e33

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 9e661a0 commit dd36e33

63 files changed

Lines changed: 92 additions & 92 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

0-ai-gatekeeper-protocol/.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"

0-ai-gatekeeper-protocol/.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-ai-gatekeeper-protocol/mcp-repo-guardian/.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"

0-ai-gatekeeper-protocol/mcp-repo-guardian/.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-ai-gatekeeper-protocol/repo-guardian-fs/.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"

0-ai-gatekeeper-protocol/repo-guardian-fs/.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

a2ml/.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"

a2ml/.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

a2ml/bindings/deno/.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"

a2ml/bindings/deno/.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)