Repository navigation
docs: point ReScript guidance to AffineScript - #229
hyperpolymath wants to merge 1 commit into
Conversation
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/developer-ecosystem/pull/229 |
|
Important Review skippedToo many files! This PR contains 424 files, which is 324 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7da6515c8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| | Language/Tool | Use Case | Notes | | ||
| |---------------|----------|-------| | ||
| | ReScript | Application code | Type-safe, compiles to JS | | ||
| | AffineScript | Application code | Affine-typed, compiles to typed-wasm or ESM | |
There was a problem hiding this comment.
Stop advertising the future ESM backend as available
The new guidance tells agents that AffineScript currently compiles to ESM, but the compiler's README states that it compiles to WebAssembly (affinescript-ecosystem/affinescript/README.adoc:15), while ESM is explicitly listed under “Additional Backends (Future)” (affinescript-ecosystem/affinescript/ROADMAP.adoc:750-760). In environments where an agent selects AffineScript specifically for direct ESM output, this instruction leads it toward a backend that does not yet exist; describe only the current WASM target or clearly mark ESM as planned.
Useful? React with 👍 / 👎.
| @@ -53,7 +53,7 @@ This guide documents the architecture for creating production-ready asdf plugins | |||
| |Type-safe, composable, aspect-oriented | |||
|
|
|||
| |Plugin Logic | |||
| |ReScript + Bun | |||
| |AffineScript + Bun | |||
There was a problem hiding this comment.
Align the architecture label with the generated ReScript scaffold
Changing the technology-stack row to AffineScript leaves this guide internally inconsistent and misstates what Scaffoldia generates: the overview still names ReScript (:9), the implementation creates main.res and bsconfig.json (:213-236), and the documented command still says it generates a “ReScript + Bun setup” (:421-423). A reader following this AffineScript-labelled architecture therefore receives a ReScript scaffold; either migrate those templates and instructions together or retain ReScript in this row.
Useful? React with 👍 / 👎.
| @@ -20,4 +20,4 @@ jobs: | |||
| [ -n "$NEW_JS" ] && echo "$NEW_JS" | |||
| exit 1 | |||
| fi | |||
| echo "✅ ReScript policy enforced" | |||
| echo "✅ AffineScript policy enforced" | |||
There was a problem hiding this comment.
Enforce the AffineScript policy before reporting success
In the checked v-benchmarks ts-blocker.yml, this new success message claims that the AffineScript policy was enforced, but the predicate at line 15 still explicitly exempts ReScript-generated .res.js files and neither this workflow nor rsr-antipattern.yml checks new .res, .resi, rescript.json, or bsconfig.json files. Consequently, a PR can add a new ReScript application and pass while CI announces AffineScript-policy enforcement; update the predicates in all 12 duplicated workflow pairs or avoid claiming that this policy is enforced.
Useful? React with 👍 / 👎.
| @@ -208,10 +208,10 @@ build target: # Cross-platform build (ASIC to PC) | |||
| |=== | |||
| |Banned |Replacement | |||
|
|
|||
| |TypeScript |ReScript | |||
| |TypeScript |AffineScript | |||
There was a problem hiding this comment.
Update the remaining primary-language policy entries
This replacement row now directs TypeScript users to AffineScript, but the same README still defines the curated policy as ReScript-based (:34), says the enforcement workflow allows ReScript (:115), and names ReScript as the primary application language (:176-178). The analogous allowed-technologies table in well-known-ecosystem/README.adoc:129-136 is also still ReScript-primary despite its updated replacement rules. As a result, users and generators receive conflicting go-forward language guidance; update these policy entries to AffineScript or explicitly mark ReScript as legacy.
Useful? React with 👍 / 👎.



This changes text that recommends or allows ReScript so it names AffineScript instead.
It covers language policy tables, tier lists, banned-language replacement columns, Tauri web UI lines, the JavaScript glue row, AI rules files (.clinerules, .cursorrules, .windsurfrules, copilot-instructions, AI-CONVENTIONS, AI.djot, CLAUDE.md), RSR_OUTLINE tier lists, and a few READMEs and roadmaps.
In the banned tables ReScript stays banned, and its replacement is now AffineScript.
In CI workflows only echo text and comments changed. No check logic, globs or patterns changed.
The Deno lines in the AI rules files are unchanged.
The vendored rescript-ecosystem folder is untouched. No .res or .resi files, rescript.json, bsconfig.json or build config changed. Prose that describes existing ReScript code is unchanged.
Files changed (424):
Generated by Claude Code