Skip to content

Commit a601cfc

Browse files
docs(claude-md): flip ReScript→AffineScript per 2026-05-25 estate language policy (#33)
AM010 phantom-context admin-merge: branch protection requires `gitleaks`/`rust-secrets`/`trufflehog` but checks report as `scan / gitleaks` etc — required names don't match reported names (phantom context absent from rollup). All actual checks GREEN. Refs hypatia#376.
1 parent 9ea2d2a commit a601cfc

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.claude/CLAUDE.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ The following files in `.machine_readable/` contain structured project metadata:
1919

2020
| Language/Tool | Use Case | Notes |
2121
|---------------|----------|-------|
22-
| **ReScript** | Primary application code | Compiles to JS, type-safe |
22+
| **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or Deno-ESM |
2323
| **Deno** | Runtime & package management | Replaces Node/npm/bun |
2424
| **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools |
2525
| **Tauri 2.0+** | Mobile apps (iOS/Android) | Rust backend + web UI |
2626
| **Dioxus** | Mobile apps (native UI) | Pure Rust, React-like |
2727
| **Gleam** | Backend services | Runs on BEAM or compiles to JS |
2828
| **Bash/POSIX Shell** | Scripts, automation | Keep minimal |
29-
| **JavaScript** | Only where ReScript cannot | MCP protocol glue, Deno APIs |
29+
| **JavaScript** | Only where AffineScript cannot | MCP protocol glue, Deno APIs |
3030
| **Python** | SaltStack only | No other Python permitted |
3131
| **Nickel** | Configuration language | For complex configs |
3232
| **Guile Scheme** | State/meta files | STATE.scm, META.scm, ECOSYSTEM.scm |
@@ -38,13 +38,14 @@ The following files in `.machine_readable/` contain structured project metadata:
3838

3939
| Banned | Replacement |
4040
|--------|-------------|
41-
| TypeScript | ReScript |
41+
| TypeScript | AffineScript |
42+
| ReScript | AffineScript |
4243
| Node.js | Deno |
4344
| npm | Deno |
4445
| Bun | Deno |
4546
| pnpm/yarn | Deno |
4647
| Go | Rust |
47-
| Python (general) | ReScript/Rust |
48+
| Python (general) | AffineScript/Rust |
4849
| Java/Kotlin | Rust/Tauri/Dioxus |
4950
| Swift | Tauri/Dioxus |
5051
| React Native | Tauri/Dioxus |
@@ -54,14 +55,14 @@ The following files in `.machine_readable/` contain structured project metadata:
5455

5556
**No exceptions for Kotlin/Swift** - use Rust-first approach:
5657

57-
1. **Tauri 2.0+** - Web UI (ReScript) + Rust backend, MIT/Apache-2.0
58+
1. **Tauri 2.0+** - Web UI (AffineScript) + Rust backend, MIT/Apache-2.0
5859
2. **Dioxus** - Pure Rust native UI, MIT/Apache-2.0
5960

6061
Both are FOSS with independent governance (no Big Tech).
6162

6263
### Enforcement Rules
6364

64-
1. **No new TypeScript files** - Convert existing TS to ReScript
65+
1. **No new TypeScript files** - Convert existing TS to AffineScript
6566
2. **No package.json for runtime deps** - Use deno.json imports
6667
3. **No node_modules in production** - Deno caches deps automatically
6768
4. **No Go code** - Use Rust instead

0 commit comments

Comments
 (0)