Skip to content

Commit 9df20a0

Browse files
chore: Item 9 — retire ReScript guidance → AffineScript (#12)
## Estate Tech-Debt — Item 9 (ReScript→AffineScript CI-text sweep) Rewrites guidance/policy text that recommended **ReScript** as the TypeScript/Python replacement to recommend **AffineScript** instead, per the estate language policy (RS/TS/JS → AffineScript → typed-wasm). ### Scope - ✅ In scope: "use ReScript instead" guidance, `Rust/ReScript` migration-guide phrasing, `Rust or ReScript` policy text. - ⛔ Out of scope (intentionally untouched): any `rescript`-named path/dir and ReScript **adapters** (e.g. proven). That work is preserved intact and usable for the ReScript ecosystem — only the forward-looking recommendation changes. Mechanical, reviewed substitution; residual in-scope occurrences verified 0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: hyperpolymath <hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d458800 commit 9df20a0

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

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

.github/workflows/language-policy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Block new Python files (except SaltStack)
1212
NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true)
1313
if [ -n "$NEW_PY" ]; then
14-
echo "❌ New Python files detected. Use Rust or ReScript instead."
14+
echo "❌ New Python files detected. Use Rust or AffineScript instead."
1515
echo "$NEW_PY"
1616
exit 1
1717
fi

.github/workflows/rsr-antipattern.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
- name: Check for tsconfig
169169
run: |
170170
if [ -f "tsconfig.json" ]; then
171-
echo "❌ tsconfig.json detected - use ReScript instead"
171+
echo "❌ tsconfig.json detected - use AffineScript instead"
172172
exit 1
173173
fi
174174
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

.migration/PYTHON_TO_RUST_RESCRIPT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python → Rust/ReScript Migration Guide
1+
# Python → Rust/AffineScript Migration Guide
22

33
## Policy
44
This repo contains Python code that should be migrated to:

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

playground/.github/workflows/language-policy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Block new Python files (except SaltStack)
1212
NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true)
1313
if [ -n "$NEW_PY" ]; then
14-
echo "❌ New Python files detected. Use Rust or ReScript instead."
14+
echo "❌ New Python files detected. Use Rust or AffineScript instead."
1515
echo "$NEW_PY"
1616
exit 1
1717
fi

playground/.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Check for TypeScript
2323
run: |
2424
if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then
25-
echo "❌ TypeScript files detected - use ReScript instead"
25+
echo "❌ TypeScript files detected - use AffineScript instead"
2626
find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules
2727
exit 1
2828
fi
@@ -58,7 +58,7 @@ jobs:
5858
- name: Check for tsconfig
5959
run: |
6060
if [ -f "tsconfig.json" ]; then
61-
echo "❌ tsconfig.json detected - use ReScript instead"
61+
echo "❌ tsconfig.json detected - use AffineScript instead"
6262
exit 1
6363
fi
6464
echo "✅ No tsconfig.json"

playground/.github/workflows/ts-blocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
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)
1313
1414
if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
15-
echo "❌ New TS/JS files detected. Use ReScript instead."
15+
echo "❌ New TS/JS files detected. Use AffineScript instead."
1616
[ -n "$NEW_TS" ] && echo "$NEW_TS"
1717
[ -n "$NEW_JS" ] && echo "$NEW_JS"
1818
exit 1

playground/.migration/PYTHON_TO_RUST_RESCRIPT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python → Rust/ReScript Migration Guide
1+
# Python → Rust/AffineScript Migration Guide
22

33
## Policy
44
This repo contains Python code that should be migrated to:

0 commit comments

Comments
 (0)