Skip to content

docs: point ReScript guidance to AffineScript - #132

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/rescript-to-affinescript
Nov 27, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
chore/rescript-to-affinescript

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Policy and advice text that recommended or allowed ReScript now names AffineScript, per the banned-language policy. Banned tables keep ReScript out of the allowed list. CI changes touch message text only; no check logic, globs or patterns changed.

Existing .res code, ReScript build config and vendored code are untouched. Prose that describes existing code is left as is.

Files changed:

  • .github/copilot-instructions.md
  • .machine_readable/ai/.clinerules
  • .machine_readable/ai/.cursorrules
  • .machine_readable/ai/.windsurfrules
  • docs/RSR_OUTLINE.adoc
  • docs/practice/AI-CONVENTIONS.adoc

Generated by Claude Code

@gitnotebooks

gitnotebooks Bot commented Nov 27, 2026

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Updated language guidance across project documentation to recommend AffineScript instead of ReScript as the alternative to TypeScript.
    • Revised the language-tier and prohibited-language references to list AffineScript.

AI instruction files and documentation now name AffineScript instead of ReScript as the alternative to TypeScript.

Changes: Language guidance

Layer / File(s) Summary
Align TypeScript alternatives
.github/copilot-instructions.md, .machine_readable/ai/*, docs/RSR_OUTLINE.adoc, docs/practice/AI-CONVENTIONS.adoc
The guidance replaces ReScript with AffineScript as the alternative to TypeScript. The RSR outline also lists AffineScript in Tier 1 and in its TypeScript/JavaScript prohibition.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to f6dde

This change updates documentation and AI instruction text to name AffineScript instead of ReScript as the TypeScript alternative. It does not alter runtime behavior or build logic, and no merge-blocking risk remains.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description gives a clear summary of the change: policy and guidance text that recommended ReScript now names AffineScript, with banned-language tables still excluding ReScript. It lists the six c… Add the RSR Quality Checklist from the template and mark each Required item, stating explicitly where it does not apply (for example, that no code or tests changed). Add a Testing section describing how the text changes were checked, such a…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "docs: point ReScript guidance to AffineScript" matches the main change. Six guidance and documentation files now name AffineScript instead of ReScript as the alternative to TypeScript and i…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "docs: point ReScript guidance to AffineScript" matches the main change. Six guidance and documentation files now name AffineScript instead of ReScript as the alternative to TypeScript and in the RSR tiers. The title is short, specific and uses the conventional docs prefix. It does not mention that ReScript remains banned in the allowed lists, but that detail is not the primary change.

Full details: Description check

Explanation

The description gives a clear summary of the change: policy and guidance text that recommended ReScript now names AffineScript, with banned-language tables still excluding ReScript. It lists the six changed files and notes that existing .res code, ReScript build config and vendored code are untouched. The template's Summary and Changes sections are reasonably covered. However, the Required RSR Quality Checklist is absent, the Changes section is not filled as a list beyond the file list, and Testing is missing. The author states that CI changes touch message text only, which is relevant to the checklist but does not tick any items. Because the change is documentation-only, several required checks (tests, formatting, linter, SPDX headers) are arguably not applicable, but the author did not record that. The Testing section and checklist status are absent, so the description is incomplete on required information, though the core summary is sound.

Resolution

Add the RSR Quality Checklist from the template and mark each Required item, stating explicitly where it does not apply (for example, that no code or tests changed). Add a Testing section describing how the text changes were checked, such as a search for remaining ReScript references in the banned-language guidance. Expand the Changes section with one bullet per file or group of files. Link related issues with 'Closes #N' if any exist, or state that none exist. Confirm that the 'No banned language patterns' item holds, and note that the CI message text change does not alter check logic, as stated in the description.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 469f2e8f-b765-4b99-b209-049780891ca3
Commits

Reviewing files that changed from the base of the PR and between bfc8083 and f6dde54.

Files selected for processing: 6

  • .github/copilot-instructions.md
  • .machine_readable/ai/.clinerules
  • .machine_readable/ai/.cursorrules
  • .machine_readable/ai/.windsurfrules
  • docs/RSR_OUTLINE.adoc
  • docs/practice/AI-CONVENTIONS.adoc

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 47

  • GitHub Check: CodeRabbit
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: scan / rust-secrets
  • GitHub Check: governance / Code quality + docs
  • GitHub Check: rust-ci / Detect Cargo.toml
  • GitHub Check: scan / gitleaks
  • GitHub Check: scan / shell-secrets
  • GitHub Check: governance / JS runtimes — pnpm
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: governance / Security policy checks
  • GitHub Check: governance / Check Workflow Staleness
  • GitHub Check: governance / Allowlist Preflight
  • GitHub Check: governance / Workflow security linter
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: governance / JS runtimes — environment provisions Bun first
  • GitHub Check: governance / Licence consistency
  • GitHub Check: governance / JS runtimes — deno
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / JS runtimes — bun
  • GitHub Check: governance / Actions lockfile verify
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / UUID v8 conformance
  • GitHub Check: governance / UUID v7 conformance
  • GitHub Check: check
  • GitHub Check: docs
  • GitHub Check: Runtime Policy
  • GitHub Check: lint
  • GitHub Check: Burrower proof safety
  • GitHub Check: check
  • GitHub Check: Build Ddraig Pages artifact
  • GitHub Check: openssf-compliance
  • GitHub Check: agda-proofs
  • GitHub Check: Empty-linter (invisible characters)
  • GitHub Check: Groove manifest check
  • GitHub Check: Validate DEED manifests
  • GitHub Check: Validate eclexiaiser manifest
  • GitHub Check: Hypatia neurosymbolic scan
  • GitHub Check: panic-attack assail
  • GitHub Check: Validate K9 contracts
  • GitHub Check: Patch Bridge CVE triage
  • GitHub Check: estate-audit
  • GitHub Check: Analyze (actions)
  • GitHub Check: Analyze (rust)
Additional context used

Learnings: 1

Common learnings

Learnt from: CR
Repo: hyperpolymath/proof-burrower

Timestamp: 2026-11-27T12:02:46.980Z
Learning: Source excerpt:
# Copilot Instructions

## Banned Languages

- No TypeScript (use AffineScript)
Additional comments: 1

docs/RSR_OUTLINE.adoc: 1

209-209: Functional Correctness

The Tier 1 recommendation of AffineScript does not create a language-specific build or test gap. The just build and just test recipes in Justfile are template placeholders for every language. They print success messages and run no compiler or test runner. Adding an AffineScript branch would not change this. The comment's premise that AffineScript lacks a workflow that other languages have is not supported.

@linear-code
linear-code Bot marked this pull request as ready for review November 27, 2026 12:04
@hyperpolymath
hyperpolymath merged commit bc1662c into main Nov 27, 2026
60 checks passed
@hyperpolymath
hyperpolymath deleted the chore/rescript-to-affinescript branch November 27, 2026 15:24
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.

3 participants