Skip to content

Commit 7f6eba3

Browse files
chore: retire ReScript guidance text → AffineScript (Estate Item 9) (#34)
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 3f97f09 commit 7f6eba3

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

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

‎.machine_readable/contractiles/must/Mustfile.a2ml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ These are hard requirements — CI and pre-commit hooks fail if any check fails.
122122
- severity: warning
123123

124124
### no-python
125-
- description: No Python files (use Julia/Rust/ReScript)
125+
- description: No Python files (use Julia/Rust/AffineScript)
126126
- run: test -z "$(find . -name '*.py' -not -path '*/deps/*' -not -path '*/node_modules/*' 2>/dev/null)"
127127
- severity: warning
128128

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Before you dive in, it helps to understand _why_ PanLL uses the stack it does.
88
These aren't arbitrary preferences — they're lessons learned from building a
99
14-panel stateful application.
1010

11-
**ReScript instead of TypeScript** — PanLL has 26,000+ lines of state management
11+
**AffineScript instead of TypeScript** — PanLL has 26,000+ lines of state management
1212
across 14 panels. TypeScript's structural type system means `any` leaks are
1313
always one cast away, and discriminated unions require manual type guards that
1414
are easy to forget. ReScript's sound type system means if it compiles, the types

‎docs/guides/MIDDLEWARE-SETUP.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ It is not needed for local development where all services are started manually.
8484
=== Purpose
8585

8686
The Julia middleware layer handles numeric analysis, calibration, and batch processing
87-
tasks that are impractical in the Rust/ReScript stack. This includes metrics computation
87+
tasks that are impractical in the Rust/AffineScript stack. This includes metrics computation
8888
(e.g., proof complexity statistics, type-check latency distributions), statistical
8989
hypothesis testing over telemetry data, and data pipeline processing for research
9090
workflows built on PanLL's proof-carrying data.

‎panel-clades/.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"

‎panel-clades/.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)