From dd36e33b64381217651e2b07b12055f7a3ed9ba9 Mon Sep 17 00:00:00 2001 From: hyperpolymath Date: Sat, 16 May 2026 23:21:22 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20retire=20ReScript=20guidance=20text=20?= =?UTF-8?q?=E2=86=92=20AffineScript=20(Estate=20Item=209)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../.github/workflows/rsr-antipattern.yml | 4 ++-- 0-ai-gatekeeper-protocol/.github/workflows/ts-blocker.yml | 2 +- .../mcp-repo-guardian/.github/workflows/rsr-antipattern.yml | 4 ++-- .../mcp-repo-guardian/.github/workflows/ts-blocker.yml | 2 +- .../repo-guardian-fs/.github/workflows/rsr-antipattern.yml | 4 ++-- .../repo-guardian-fs/.github/workflows/ts-blocker.yml | 2 +- a2ml/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/.github/workflows/ts-blocker.yml | 2 +- a2ml/bindings/deno/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/bindings/deno/.github/workflows/ts-blocker.yml | 2 +- a2ml/bindings/haskell/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/bindings/haskell/.github/workflows/ts-blocker.yml | 2 +- a2ml/bindings/rust/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/bindings/rust/.github/workflows/ts-blocker.yml | 2 +- a2ml/editors/vscode/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/editors/vscode/.github/workflows/ts-blocker.yml | 2 +- a2ml/pandoc/.github/workflows/rsr-antipattern.yml | 4 ++-- a2ml/pandoc/.github/workflows/ts-blocker.yml | 2 +- consent-aware-http/.github/workflows/language-policy.yml | 2 +- consent-aware-http/.github/workflows/rsr-antipattern.yml | 4 ++-- hooks/pre-commit | 4 ++-- k9-svc/actions/validate/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/actions/validate/.github/workflows/ts-blocker.yml | 2 +- k9-svc/bindings/deno/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/bindings/deno/.github/workflows/ts-blocker.yml | 2 +- k9-svc/bindings/haskell/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/bindings/haskell/.github/workflows/ts-blocker.yml | 2 +- k9-svc/bindings/rust/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/bindings/rust/.github/workflows/ts-blocker.yml | 2 +- k9-svc/editors/vscode/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/editors/vscode/.github/workflows/ts-blocker.yml | 2 +- k9-svc/pandoc/.github/workflows/rsr-antipattern.yml | 4 ++-- k9-svc/pandoc/.github/workflows/ts-blocker.yml | 2 +- lol/.claude/CLAUDE.md | 2 +- lol/.github/workflows/rsr-antipattern.yml | 4 ++-- lol/.github/workflows/ts-blocker.yml | 2 +- meta-a2ml/.claude/CLAUDE.md | 2 +- meta-a2ml/.github/workflows/rsr-antipattern.yml | 4 ++-- meta-a2ml/.github/workflows/ts-blocker.yml | 2 +- .../.github/workflows/language-policy.yml | 2 +- .../.github/workflows/rsr-antipattern.yml | 2 +- .../.migration/PYTHON_TO_RUST_RESCRIPT.md | 2 +- rhodium-standard-repositories/CLAUDE.md | 2 +- rhodium-standard-repositories/docs/conference-materials.md | 2 +- .../satellites/cccp/.claude/CLAUDE.md | 2 +- .../satellites/cccp/.github/workflows/rsr-antipattern.yml | 4 ++-- .../satellites/cccp/.github/workflows/ts-blocker.yml | 2 +- .../7-tentacles/.github/workflows/rsr-antipattern.yml | 4 ++-- .../7-tentacles/.github/workflows/ts-blocker.yml | 2 +- .../consent-aware-http/.github/workflows/language-policy.yml | 2 +- .../consent-aware-http/.github/workflows/rsr-antipattern.yml | 4 ++-- .../consent-aware-http/.github/workflows/ts-blocker.yml | 2 +- .../consent-aware-http/.migration/PYTHON_TO_RUST_RESCRIPT.md | 2 +- .../satellites/mustfile/.github/workflows/rsr-antipattern.yml | 4 ++-- .../palimpsest-license/.github/workflows/language-policy.yml | 2 +- .../palimpsest-license/.github/workflows/rsr-antipattern.yml | 4 ++-- .../.github/workflows/rsr-antipattern.yml | 4 ++-- .../satellites/rsr-certifier/.claude/CLAUDE.md | 2 +- .../rsr-certifier/.github/workflows/rsr-antipattern.yml | 4 ++-- .../satellites/rsr-certifier/.github/workflows/ts-blocker.yml | 2 +- .../rsr-deployer/.github/workflows/rsr-antipattern.yml | 4 ++-- .../state.scm/.github/workflows/rsr-antipattern.yml | 4 ++-- .../.github/workflows/rsr-antipattern.yml | 4 ++-- 63 files changed, 92 insertions(+), 92 deletions(-) diff --git a/0-ai-gatekeeper-protocol/.github/workflows/rsr-antipattern.yml b/0-ai-gatekeeper-protocol/.github/workflows/rsr-antipattern.yml index b04e35a5..37944275 100644 --- a/0-ai-gatekeeper-protocol/.github/workflows/rsr-antipattern.yml +++ b/0-ai-gatekeeper-protocol/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/0-ai-gatekeeper-protocol/.github/workflows/ts-blocker.yml b/0-ai-gatekeeper-protocol/.github/workflows/ts-blocker.yml index a26367b7..a37d03ba 100644 --- a/0-ai-gatekeeper-protocol/.github/workflows/ts-blocker.yml +++ b/0-ai-gatekeeper-protocol/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/rsr-antipattern.yml b/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/rsr-antipattern.yml index b04e35a5..37944275 100644 --- a/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/rsr-antipattern.yml +++ b/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/ts-blocker.yml b/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/ts-blocker.yml index a26367b7..a37d03ba 100644 --- a/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/ts-blocker.yml +++ b/0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/rsr-antipattern.yml b/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/rsr-antipattern.yml index b04e35a5..37944275 100644 --- a/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/rsr-antipattern.yml +++ b/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/ts-blocker.yml b/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/ts-blocker.yml index a26367b7..a37d03ba 100644 --- a/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/ts-blocker.yml +++ b/0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/.github/workflows/rsr-antipattern.yml b/a2ml/.github/workflows/rsr-antipattern.yml index b04e35a5..37944275 100644 --- a/a2ml/.github/workflows/rsr-antipattern.yml +++ b/a2ml/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/.github/workflows/ts-blocker.yml b/a2ml/.github/workflows/ts-blocker.yml index a26367b7..a37d03ba 100644 --- a/a2ml/.github/workflows/ts-blocker.yml +++ b/a2ml/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/bindings/deno/.github/workflows/rsr-antipattern.yml b/a2ml/bindings/deno/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/a2ml/bindings/deno/.github/workflows/rsr-antipattern.yml +++ b/a2ml/bindings/deno/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/bindings/deno/.github/workflows/ts-blocker.yml b/a2ml/bindings/deno/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/a2ml/bindings/deno/.github/workflows/ts-blocker.yml +++ b/a2ml/bindings/deno/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/bindings/haskell/.github/workflows/rsr-antipattern.yml b/a2ml/bindings/haskell/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/a2ml/bindings/haskell/.github/workflows/rsr-antipattern.yml +++ b/a2ml/bindings/haskell/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/bindings/haskell/.github/workflows/ts-blocker.yml b/a2ml/bindings/haskell/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/a2ml/bindings/haskell/.github/workflows/ts-blocker.yml +++ b/a2ml/bindings/haskell/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/bindings/rust/.github/workflows/rsr-antipattern.yml b/a2ml/bindings/rust/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/a2ml/bindings/rust/.github/workflows/rsr-antipattern.yml +++ b/a2ml/bindings/rust/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/bindings/rust/.github/workflows/ts-blocker.yml b/a2ml/bindings/rust/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/a2ml/bindings/rust/.github/workflows/ts-blocker.yml +++ b/a2ml/bindings/rust/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/editors/vscode/.github/workflows/rsr-antipattern.yml b/a2ml/editors/vscode/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/a2ml/editors/vscode/.github/workflows/rsr-antipattern.yml +++ b/a2ml/editors/vscode/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/editors/vscode/.github/workflows/ts-blocker.yml b/a2ml/editors/vscode/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/a2ml/editors/vscode/.github/workflows/ts-blocker.yml +++ b/a2ml/editors/vscode/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/a2ml/pandoc/.github/workflows/rsr-antipattern.yml b/a2ml/pandoc/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/a2ml/pandoc/.github/workflows/rsr-antipattern.yml +++ b/a2ml/pandoc/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/a2ml/pandoc/.github/workflows/ts-blocker.yml b/a2ml/pandoc/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/a2ml/pandoc/.github/workflows/ts-blocker.yml +++ b/a2ml/pandoc/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/consent-aware-http/.github/workflows/language-policy.yml b/consent-aware-http/.github/workflows/language-policy.yml index 782153f4..2811e465 100644 --- a/consent-aware-http/.github/workflows/language-policy.yml +++ b/consent-aware-http/.github/workflows/language-policy.yml @@ -11,7 +11,7 @@ jobs: # Block new Python files (except SaltStack) NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true) if [ -n "$NEW_PY" ]; then - echo "❌ New Python files detected. Use Rust or ReScript instead." + echo "❌ New Python files detected. Use Rust or AffineScript instead." echo "$NEW_PY" exit 1 fi diff --git a/consent-aware-http/.github/workflows/rsr-antipattern.yml b/consent-aware-http/.github/workflows/rsr-antipattern.yml index f9063714..347c0c26 100644 --- a/consent-aware-http/.github/workflows/rsr-antipattern.yml +++ b/consent-aware-http/.github/workflows/rsr-antipattern.yml @@ -22,7 +22,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -58,7 +58,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/hooks/pre-commit b/hooks/pre-commit index a0421b5d..01e2e8c8 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -21,7 +21,7 @@ STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM) # Check for TypeScript TS_FILES=$(echo "$STAGED_FILES" | grep -E '\.(ts|tsx)$' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo -e "${RED}✗ TypeScript files not allowed. Use ReScript instead.${NC}" + echo -e "${RED}✗ TypeScript files not allowed. Use AffineScript instead.${NC}" echo "$TS_FILES" ERRORS=$((ERRORS + 1)) fi @@ -37,7 +37,7 @@ fi # Check for Python (except Ansible) PY_FILES=$(echo "$STAGED_FILES" | grep -E '\.py$' | grep -v 'ansible' | grep -v 'molecule' || true) if [ -n "$PY_FILES" ]; then - echo -e "${RED}✗ Python files not allowed (except for Ansible). Rewrite in Rust/ReScript.${NC}" + echo -e "${RED}✗ Python files not allowed (except for Ansible). Rewrite in Rust/AffineScript.${NC}" echo "$PY_FILES" ERRORS=$((ERRORS + 1)) fi diff --git a/k9-svc/actions/validate/.github/workflows/rsr-antipattern.yml b/k9-svc/actions/validate/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/actions/validate/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/actions/validate/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/actions/validate/.github/workflows/ts-blocker.yml b/k9-svc/actions/validate/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/actions/validate/.github/workflows/ts-blocker.yml +++ b/k9-svc/actions/validate/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/k9-svc/bindings/deno/.github/workflows/rsr-antipattern.yml b/k9-svc/bindings/deno/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/bindings/deno/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/bindings/deno/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/bindings/deno/.github/workflows/ts-blocker.yml b/k9-svc/bindings/deno/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/bindings/deno/.github/workflows/ts-blocker.yml +++ b/k9-svc/bindings/deno/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/k9-svc/bindings/haskell/.github/workflows/rsr-antipattern.yml b/k9-svc/bindings/haskell/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/bindings/haskell/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/bindings/haskell/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/bindings/haskell/.github/workflows/ts-blocker.yml b/k9-svc/bindings/haskell/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/bindings/haskell/.github/workflows/ts-blocker.yml +++ b/k9-svc/bindings/haskell/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/k9-svc/bindings/rust/.github/workflows/rsr-antipattern.yml b/k9-svc/bindings/rust/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/bindings/rust/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/bindings/rust/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/bindings/rust/.github/workflows/ts-blocker.yml b/k9-svc/bindings/rust/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/bindings/rust/.github/workflows/ts-blocker.yml +++ b/k9-svc/bindings/rust/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/k9-svc/editors/vscode/.github/workflows/rsr-antipattern.yml b/k9-svc/editors/vscode/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/editors/vscode/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/editors/vscode/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/editors/vscode/.github/workflows/ts-blocker.yml b/k9-svc/editors/vscode/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/editors/vscode/.github/workflows/ts-blocker.yml +++ b/k9-svc/editors/vscode/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/k9-svc/pandoc/.github/workflows/rsr-antipattern.yml b/k9-svc/pandoc/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/k9-svc/pandoc/.github/workflows/rsr-antipattern.yml +++ b/k9-svc/pandoc/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/k9-svc/pandoc/.github/workflows/ts-blocker.yml b/k9-svc/pandoc/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/k9-svc/pandoc/.github/workflows/ts-blocker.yml +++ b/k9-svc/pandoc/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/lol/.claude/CLAUDE.md b/lol/.claude/CLAUDE.md index 1f18a055..c8782595 100644 --- a/lol/.claude/CLAUDE.md +++ b/lol/.claude/CLAUDE.md @@ -43,7 +43,7 @@ The following files in `.machine_readable/` contain structured project metadata: | Bun | Deno | | pnpm/yarn | Deno | | Go | Rust | -| Python | Julia/Rust/ReScript | +| Python | Julia/Rust/AffineScript | | Java/Kotlin | Rust/Tauri/Dioxus | | Swift | Tauri/Dioxus | | React Native | Tauri/Dioxus | diff --git a/lol/.github/workflows/rsr-antipattern.yml b/lol/.github/workflows/rsr-antipattern.yml index 86a006a4..4ce88aa8 100644 --- a/lol/.github/workflows/rsr-antipattern.yml +++ b/lol/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/lol/.github/workflows/ts-blocker.yml b/lol/.github/workflows/ts-blocker.yml index f2762d95..bb246ac8 100644 --- a/lol/.github/workflows/ts-blocker.yml +++ b/lol/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/meta-a2ml/.claude/CLAUDE.md b/meta-a2ml/.claude/CLAUDE.md index 0905bff5..46af19b0 100644 --- a/meta-a2ml/.claude/CLAUDE.md +++ b/meta-a2ml/.claude/CLAUDE.md @@ -44,7 +44,7 @@ in A2ML format (migrated from Guile Scheme on 2026-04-12): | Bun | Deno | | pnpm/yarn | Deno | | Go | Rust | -| Python | Julia/Rust/ReScript | +| Python | Julia/Rust/AffineScript | | Java/Kotlin | Rust/Tauri/Dioxus | | Swift | Tauri/Dioxus | | React Native | Tauri/Dioxus | diff --git a/meta-a2ml/.github/workflows/rsr-antipattern.yml b/meta-a2ml/.github/workflows/rsr-antipattern.yml index a001dcd2..f80b3e18 100644 --- a/meta-a2ml/.github/workflows/rsr-antipattern.yml +++ b/meta-a2ml/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/meta-a2ml/.github/workflows/ts-blocker.yml b/meta-a2ml/.github/workflows/ts-blocker.yml index 5c34a58c..e4b81739 100644 --- a/meta-a2ml/.github/workflows/ts-blocker.yml +++ b/meta-a2ml/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/rhodium-standard-repositories/.github/workflows/language-policy.yml b/rhodium-standard-repositories/.github/workflows/language-policy.yml index cb37b0dc..33b58ff6 100644 --- a/rhodium-standard-repositories/.github/workflows/language-policy.yml +++ b/rhodium-standard-repositories/.github/workflows/language-policy.yml @@ -14,7 +14,7 @@ jobs: # Block new Python files (except SaltStack) NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true) if [ -n "$NEW_PY" ]; then - echo "❌ New Python files detected. Use Rust or ReScript instead." + echo "❌ New Python files detected. Use Rust or AffineScript instead." echo "$NEW_PY" exit 1 fi diff --git a/rhodium-standard-repositories/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/.github/workflows/rsr-antipattern.yml index 5da18653..b26d964d 100644 --- a/rhodium-standard-repositories/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/.github/workflows/rsr-antipattern.yml @@ -19,7 +19,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "::error::TypeScript files found! Use ReScript instead (per RSR policy)" + echo "::error::TypeScript files found! Use AffineScript instead (per RSR policy)" exit 1 fi echo "✓ No TypeScript files found" diff --git a/rhodium-standard-repositories/.migration/PYTHON_TO_RUST_RESCRIPT.md b/rhodium-standard-repositories/.migration/PYTHON_TO_RUST_RESCRIPT.md index c5dade20..a8d198c1 100644 --- a/rhodium-standard-repositories/.migration/PYTHON_TO_RUST_RESCRIPT.md +++ b/rhodium-standard-repositories/.migration/PYTHON_TO_RUST_RESCRIPT.md @@ -1,4 +1,4 @@ -# Python → Rust/ReScript Migration Guide +# Python → Rust/AffineScript Migration Guide ## Policy This repo contains Python code that should be migrated to: diff --git a/rhodium-standard-repositories/CLAUDE.md b/rhodium-standard-repositories/CLAUDE.md index b4df81f2..fb3f1622 100644 --- a/rhodium-standard-repositories/CLAUDE.md +++ b/rhodium-standard-repositories/CLAUDE.md @@ -51,7 +51,7 @@ The CCCP is the ideological and aesthetic framework that gives RSR its purpose. 3. **Distributed State Without Coordination**: CRDTs eliminate locking and cache invalidation 4. **Formal Verification as Mutual Aid**: Correctness is an act of solidarity 5. **Community Over Ego**: Architecture enforces collaborative patterns -6. **Language Polyglotism as Resistance**: Using Ada, Rust, Elixir, Haskell, ReScript instead of JavaScript/Python monoculture +6. **Language Polyglotism as Resistance**: Using Ada, Rust, Elixir, Haskell, AffineScript instead of JavaScript/Python monoculture --- diff --git a/rhodium-standard-repositories/docs/conference-materials.md b/rhodium-standard-repositories/docs/conference-materials.md index f0585416..47d697fc 100644 --- a/rhodium-standard-repositories/docs/conference-materials.md +++ b/rhodium-standard-repositories/docs/conference-materials.md @@ -395,7 +395,7 @@ Conflict-free Replicated Data Types (CRDTs) solve distributed consistency withou - RSR: 10+ dimensions for defense-in-depth **Dimensions 1-3: Safety (15 min)** -- Type safety: Rust/ReScript/Ada compile-time verification +- Type safety: Rust/AffineScript/Ada compile-time verification - Memory safety: Ownership, SPARK proofs, no unsafe code - Data security: CRDTs, no cache invalidation - Live exploit: TypeScript unsoundness diff --git a/rhodium-standard-repositories/satellites/cccp/.claude/CLAUDE.md b/rhodium-standard-repositories/satellites/cccp/.claude/CLAUDE.md index 1f18a055..c8782595 100644 --- a/rhodium-standard-repositories/satellites/cccp/.claude/CLAUDE.md +++ b/rhodium-standard-repositories/satellites/cccp/.claude/CLAUDE.md @@ -43,7 +43,7 @@ The following files in `.machine_readable/` contain structured project metadata: | Bun | Deno | | pnpm/yarn | Deno | | Go | Rust | -| Python | Julia/Rust/ReScript | +| Python | Julia/Rust/AffineScript | | Java/Kotlin | Rust/Tauri/Dioxus | | Swift | Tauri/Dioxus | | React Native | Tauri/Dioxus | diff --git a/rhodium-standard-repositories/satellites/cccp/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/cccp/.github/workflows/rsr-antipattern.yml index 04d8b7db..6785b69f 100644 --- a/rhodium-standard-repositories/satellites/cccp/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/cccp/.github/workflows/rsr-antipattern.yml @@ -30,7 +30,7 @@ jobs: # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true) if [ -n "$TS_FILES" ]; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" echo "$TS_FILES" exit 1 fi @@ -66,7 +66,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/cccp/.github/workflows/ts-blocker.yml b/rhodium-standard-repositories/satellites/cccp/.github/workflows/ts-blocker.yml index 1f4780f4..1dae7061 100644 --- a/rhodium-standard-repositories/satellites/cccp/.github/workflows/ts-blocker.yml +++ b/rhodium-standard-repositories/satellites/cccp/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/rsr-antipattern.yml index 338e45c6..f93b3f28 100644 --- a/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/ts-blocker.yml b/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/ts-blocker.yml index 7604ec1e..6704c5a9 100644 --- a/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/ts-blocker.yml +++ b/rhodium-standard-repositories/satellites/cccp/satellites/nextgen-languages/7-tentacles/.github/workflows/ts-blocker.yml @@ -11,7 +11,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/language-policy.yml b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/language-policy.yml index 7c7a9115..1c12dccd 100644 --- a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/language-policy.yml +++ b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/language-policy.yml @@ -10,7 +10,7 @@ jobs: # Block new Python files (except SaltStack) NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true) if [ -n "$NEW_PY" ]; then - echo "❌ New Python files detected. Use Rust or ReScript instead." + echo "❌ New Python files detected. Use Rust or AffineScript instead." echo "$NEW_PY" exit 1 fi diff --git a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/rsr-antipattern.yml index 338e45c6..f93b3f28 100644 --- a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/ts-blocker.yml b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/ts-blocker.yml index 7604ec1e..6704c5a9 100644 --- a/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/ts-blocker.yml +++ b/rhodium-standard-repositories/satellites/consent-aware-http/.github/workflows/ts-blocker.yml @@ -11,7 +11,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/rhodium-standard-repositories/satellites/consent-aware-http/.migration/PYTHON_TO_RUST_RESCRIPT.md b/rhodium-standard-repositories/satellites/consent-aware-http/.migration/PYTHON_TO_RUST_RESCRIPT.md index c5dade20..a8d198c1 100644 --- a/rhodium-standard-repositories/satellites/consent-aware-http/.migration/PYTHON_TO_RUST_RESCRIPT.md +++ b/rhodium-standard-repositories/satellites/consent-aware-http/.migration/PYTHON_TO_RUST_RESCRIPT.md @@ -1,4 +1,4 @@ -# Python → Rust/ReScript Migration Guide +# Python → Rust/AffineScript Migration Guide ## Policy This repo contains Python code that should be migrated to: diff --git a/rhodium-standard-repositories/satellites/mustfile/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/mustfile/.github/workflows/rsr-antipattern.yml index e96e7e11..47d19799 100644 --- a/rhodium-standard-repositories/satellites/mustfile/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/mustfile/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/language-policy.yml b/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/language-policy.yml index 62f0f832..0220de5f 100644 --- a/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/language-policy.yml +++ b/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/language-policy.yml @@ -10,7 +10,7 @@ jobs: # Block new Python files (except SaltStack) NEW_PY=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.py$' | grep -v 'salt' || true) if [ -n "$NEW_PY" ]; then - echo "❌ New Python files detected. Use Rust or ReScript instead." + echo "❌ New Python files detected. Use Rust or AffineScript instead." echo "$NEW_PY" exit 1 fi diff --git a/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/rsr-antipattern.yml index d374198a..2abcc127 100644 --- a/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/palimpsest-license/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/robot-repo-automaton/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/robot-repo-automaton/.github/workflows/rsr-antipattern.yml index 9f444e7a..f4442213 100644 --- a/rhodium-standard-repositories/satellites/robot-repo-automaton/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/robot-repo-automaton/.github/workflows/rsr-antipattern.yml @@ -25,7 +25,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -61,7 +61,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/rsr-certifier/.claude/CLAUDE.md b/rhodium-standard-repositories/satellites/rsr-certifier/.claude/CLAUDE.md index 1f18a055..c8782595 100644 --- a/rhodium-standard-repositories/satellites/rsr-certifier/.claude/CLAUDE.md +++ b/rhodium-standard-repositories/satellites/rsr-certifier/.claude/CLAUDE.md @@ -43,7 +43,7 @@ The following files in `.machine_readable/` contain structured project metadata: | Bun | Deno | | pnpm/yarn | Deno | | Go | Rust | -| Python | Julia/Rust/ReScript | +| Python | Julia/Rust/AffineScript | | Java/Kotlin | Rust/Tauri/Dioxus | | Swift | Tauri/Dioxus | | React Native | Tauri/Dioxus | diff --git a/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/rsr-antipattern.yml index 3f5ea680..f1519388 100644 --- a/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/rsr-antipattern.yml @@ -22,7 +22,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -58,7 +58,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/ts-blocker.yml b/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/ts-blocker.yml index b47753fe..cac96152 100644 --- a/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/ts-blocker.yml +++ b/rhodium-standard-repositories/satellites/rsr-certifier/.github/workflows/ts-blocker.yml @@ -12,7 +12,7 @@ jobs: 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) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/rhodium-standard-repositories/satellites/rsr-deployer/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/rsr-deployer/.github/workflows/rsr-antipattern.yml index e96e7e11..47d19799 100644 --- a/rhodium-standard-repositories/satellites/rsr-deployer/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/rsr-deployer/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/state.scm/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/state.scm/.github/workflows/rsr-antipattern.yml index 338e45c6..f93b3f28 100644 --- a/rhodium-standard-repositories/satellites/state.scm/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/state.scm/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/rhodium-standard-repositories/satellites/well-known-ecosystem/.github/workflows/rsr-antipattern.yml b/rhodium-standard-repositories/satellites/well-known-ecosystem/.github/workflows/rsr-antipattern.yml index d374198a..2abcc127 100644 --- a/rhodium-standard-repositories/satellites/well-known-ecosystem/.github/workflows/rsr-antipattern.yml +++ b/rhodium-standard-repositories/satellites/well-known-ecosystem/.github/workflows/rsr-antipattern.yml @@ -21,7 +21,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -57,7 +57,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json"