Skip to content

Commit bc7469d

Browse files
docs: point migration trackers at #488 (successor to closed #57) (#493)
Repoint the forward-looking migration trackers from the now-closed #57 to its successor #488: .claude/CLAUDE.md (4 language-policy refs), tools/res-to-affine/README.md (Tracks line), docs/MIGRATION-ASSISTANT.adoc (tracker line + References). Historical/contextual #57 mentions left intact. Docs only. Refs #488.
1 parent edb13f3 commit bc7469d

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

.claude/CLAUDE.md

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

4343
## Language Policy (Hyperpolymath Standard)
4444

45-
> **Policy refresh 2026-05-25**: AffineScript is now the primary application language across the estate (this is its home repo). ReScript / TypeScript / meaningfully-migrated JavaScript are banned going forward — write new code in AffineScript. Existing ReScript stays in place as legacy until the `.res → .affine` migration assistant (#57) walks the corpus. MPL-1.0 / MPL-1.0-or-later are banned; rewrite to MPL-2.0 wherever encountered (code + docs). **Jekyll is banned**; the canonical estate SSG is `hyperpolymath/casket-ssg` (Haskell). This repo already migrated via `.github/workflows/casket-pages.yml`.
45+
> **Policy refresh 2026-05-25**: AffineScript is now the primary application language across the estate (this is its home repo). ReScript / TypeScript / meaningfully-migrated JavaScript are banned going forward — write new code in AffineScript. Existing ReScript stays in place as legacy until the `.res → .affine` migration assistant (#488) walks the corpus. MPL-1.0 / MPL-1.0-or-later are banned; rewrite to MPL-2.0 wherever encountered (code + docs). **Jekyll is banned**; the canonical estate SSG is `hyperpolymath/casket-ssg` (Haskell). This repo already migrated via `.github/workflows/casket-pages.yml`.
4646
4747
### ALLOWED Languages & Tools
4848

@@ -66,15 +66,15 @@ The following files in `.machine_readable/` contain structured project metadata:
6666

6767
| Language | Status | Disposition |
6868
|----------|--------|-------------|
69-
| **ReScript** (`.res`, `.resi`) | Legacy — pre-2026-05-25 | Migrate via `tools/res-to-affine/` (#57) when touching adjacent code; do not add new `.res` files. |
69+
| **ReScript** (`.res`, `.resi`) | Legacy — pre-2026-05-25 | Migrate via `tools/res-to-affine/` (#488) when touching adjacent code; do not add new `.res` files. |
7070
| **JavaScript** (`.js`, `.cjs`, `.mjs`) | Legacy / carve-outs only | Approved runtime-exemption carve-outs (see below) remain; net-new JS in a project already migrated to AffineScript is banned. |
7171

7272
### BANNED — Do Not Use (write zero new occurrences)
7373

7474
| Banned | Replacement |
7575
|--------|-------------|
7676
| TypeScript | **AffineScript** |
77-
| ReScript (new files) | **AffineScript** (migration via #57) |
77+
| ReScript (new files) | **AffineScript** (migration via #488) |
7878
| JavaScript (where the project has been meaningfully migrated to AffineScript) | **AffineScript** |
7979
| Node.js | Deno |
8080
| npm | Deno |
@@ -102,7 +102,7 @@ Both are FOSS with independent governance (no Big Tech).
102102
### Enforcement Rules
103103

104104
1. **No new TypeScript files** - Write new code in AffineScript (closed exemptions table below covers the residual `.d.ts` / Deno-test cases).
105-
2. **No new ReScript files** - As of 2026-05-25 policy refresh; AffineScript is the go-forward. Existing `.res` files stay until migrated via #57.
105+
2. **No new ReScript files** - As of 2026-05-25 policy refresh; AffineScript is the go-forward. Existing `.res` files stay until migrated via #488.
106106
3. **No package.json for runtime deps** - Use deno.json imports.
107107
4. **No node_modules in production** - Deno caches deps automatically.
108108
5. **No Go code** - Use Rust instead.

docs/MIGRATION-ASSISTANT.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
:toc: macro
55
:toclevels: 2
66

7-
Tracks issue #57 (parser + metaparser). Companion to
7+
Tracks issue #488 (partial-port mode), the successor to the now-closed #57
8+
(parser + metaparser; the declaration-translation phase, delivered). Companion to
89
link:RESCRIPT-ELIMINATION.adoc[RESCRIPT-ELIMINATION.adoc], which is the
910
authoritative ledger for the broader estate ReScript-surface retirement.
1011

@@ -118,7 +119,8 @@ which is what makes the tool earn its keep on idaptik's 542 files.
118119

119120
* `tools/res-to-affine/README.md` — tool usage, Phase plan, design rationale.
120121
* `editors/tree-sitter-rescript/README.md` — vendoring manifest details.
121-
* `affinescript#57` — parser + metaparser proposal.
122+
* `affinescript#57` — parser + metaparser proposal (closed; declaration translation delivered).
123+
* `affinescript#488` — successor: partial-port mode + module-qualified-reference resolution.
122124
* `gitbot-fleet#148` — downstream tracker for the consumed ReScript subtree.
123125
* link:RESCRIPT-ELIMINATION.adoc[`RESCRIPT-ELIMINATION.adoc`] — estate-wide ledger.
124126
* https://github.com/hyperpolymath/idaptik/blob/main/migration/main/LESSONS.md[idaptik LESSONS.md]

tools/res-to-affine/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ with **migration markers** — comments that name each anti-pattern the
88
scanner found, point at the source line, and propose the AffineScript
99
answer the human migrator should consider before porting.
1010

11-
Tracks: [`affinescript#57`](https://github.com/hyperpolymath/affinescript/issues/57)
12-
(parser + metaparser).
11+
Tracks: [`affinescript#488`](https://github.com/hyperpolymath/affinescript/issues/488)
12+
(partial-port mode) — successor to the now-closed
13+
[`affinescript#57`](https://github.com/hyperpolymath/affinescript/issues/57)
14+
(parser + metaparser; declaration translation delivered).
1315
Consumed by: [`hyperpolymath/gitbot-fleet#148`](https://github.com/hyperpolymath/gitbot-fleet/issues/148)
1416
and the broader `idaptik` migration.
1517

0 commit comments

Comments
 (0)