Skip to content

docs(claude-md): flip ReScript→AffineScript per 2026-05-25 estate language policy - #37

Merged
hyperpolymath merged 1 commit into
mainfrom
docs/claude-md-rescript-to-affinescript
May 30, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
docs/claude-md-rescript-to-affinescript

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Per the 2026-05-25 estate language policy
(standards#252),
the .claude/CLAUDE.md language-policy table in this repo named ReScript
as the primary application language and as the TypeScript replacement.
Flip both to AffineScript via the same 6-line template substitution used
in the dev-eco/phronesis/dotfiles initial sweep.

Substitutions applied

  1. **ReScript** | Primary application code | Compiles to JS, type-safe
    → **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or Deno-ESM
  2. Only where ReScript cannot → Only where AffineScript cannot
  3. | TypeScript | ReScript | (BANNED replacement) → | TypeScript | AffineScript |
  4. Web UI (ReScript) → Web UI (AffineScript)
  5. Convert existing TS to ReScript → Convert existing TS to AffineScript
  6. ReScript for apps → AffineScript for apps

Scope check (template-clone class)

This repo was categorised in the 2026-05-30 100-repo survey as a
template-clone or template-clone-with-stubs — meaning the
CLAUDE.md is a generic policy template clone rather than describing
ReScript-heavy local reality. Repos with substantive ReScript source
(≥5 .res files) were deferred to per-repo review per the
panll-precedent (panll#60 closed because the local reality didn't
match a wholesale flip).

Docs-only — no source changes. No CI runs are expected to fail on
behaviour grounds; if any do, that is unrelated tech debt to surface
separately.

Refs hyperpolymath/standards#287 (CLAUDE.md docs slice umbrella)
Refs hyperpolymath/standards#252 (parent ReScript→AffineScript tracker)

…guage policy

Per the 2026-05-25 estate language policy (TypeScript/ReScript → AffineScript,
tracked at hyperpolymath/standards#252), the .claude/CLAUDE.md language-policy
section here names ReScript as the primary application language and as the
TypeScript replacement. Flip both to AffineScript.

Substitutions applied:
- ALLOWED row: ReScript → AffineScript (with target-platform note)
- JavaScript-fallback note: ReScript → AffineScript
- BANNED replacement row: TypeScript→ReScript → TypeScript→AffineScript
- Tauri web-UI: ReScript → AffineScript
- Enforcement rule: "Convert existing TS to ReScript" → AffineScript
- Enforcement rule: "ReScript for apps" → AffineScript for apps

Docs-only change. Refs hyperpolymath/standards#287 (CLAUDE.md docs slice
umbrella) and hyperpolymath/standards#252 (parent ReScript→AffineScript
migration tracker).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 30, 2026 19:12
@hyperpolymath
hyperpolymath merged commit 48eb9b2 into main May 30, 2026
5 of 15 checks passed
@hyperpolymath
hyperpolymath deleted the docs/claude-md-rescript-to-affinescript branch May 30, 2026 19:27
hyperpolymath added a commit that referenced this pull request Sep 18, 2026
Adds `open-pull-requests-limit` to Dependabot update blocks that had no
cap, following the estate per-ecosystem cap doctrine (task #37). No
other line in the file is touched.


Claude-Session: https://claude.ai/code/session_011eQ7hibx92N7fBDtwgReWk

<!--
SPDX-License-Identifier: CC-BY-SA-4.0
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
-->
## Summary

<!-- What does this PR do, and why? -->

Closes #

## Type of change

- [ ] 🐛 Bug fix (non-breaking change that fixes an issue)
- [ ] ✨ New feature (non-breaking change that adds functionality)
- [ ] 💥 Breaking change (would change existing behaviour)
- [ ] 🕳️ Soundness fix (fixes a checker/proof false-negative)
- [ ] 📖 Documentation
- [ ] 🧹 Refactor / tech debt (behaviour-preserving)
- [ ] ⚡ Performance
- [ ] 🔧 Build / CI / tooling

## How has this been verified?

<!-- Establish ground truth: which tool did you RUN, and what did it
report?
     Don't cite a status doc — cite the command and its output. -->

## Checklist

- [ ] My commits are **signed** (`git commit -S`).
- [ ] I ran the project's own checks/tests locally and they pass.
- [ ] New files carry the correct `SPDX-License-Identifier` (code/config
`MPL-2.0`,
      prose `CC-BY-SA-4.0`); I did not relicense existing files.
- [ ] Docs are updated, and no public claim now overstates what the code
does.
- [ ] I have not introduced a soundness hole (or I have flagged where I
might have).

## Notes for reviewers

<!-- Anything that needs special attention, follow-up, or context. -->

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant