Skip to content

Commit 67d2ece

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 ddd44c3 commit 67d2ece

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/language-policy.yml

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

.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Check for TypeScript
2626
run: |
2727
if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then
28-
echo "❌ TypeScript files detected - use ReScript instead"
28+
echo "❌ TypeScript files detected - use AffineScript instead"
2929
find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules
3030
exit 1
3131
fi
@@ -61,7 +61,7 @@ jobs:
6161
- name: Check for tsconfig
6262
run: |
6363
if [ -f "tsconfig.json" ]; then
64-
echo "❌ tsconfig.json detected - use ReScript instead"
64+
echo "❌ tsconfig.json detected - use AffineScript instead"
6565
exit 1
6666
fi
6767
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

0 commit comments

Comments
 (0)