Ban ReScript estate-wide (Hyperpolymath Standard)#69
Merged
Conversation
ReScript joins TypeScript as a banned language; AffineScript is the mandated replacement for all application code. - BANNED table: add `ReScript -> AffineScript`; drop ReScript as a Python replacement (now Python -> Julia/Rust). - Enforcement rule 1 now covers TypeScript and ReScript (.ts/.tsx/.res/.resi -> AffineScript). https://claude.ai/code/session_017TXizM5c1Yd9HWf7Y15YH2
🔍 Hypatia Security ScanFindings: 31 issues detected
View findings[
{
"reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
"type": "unpinned_action",
"file": "governance.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in governance.yml",
"type": "missing_timeout_minutes",
"file": "governance.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in hypatia-scan.yml",
"type": "missing_timeout_minutes",
"file": "hypatia-scan.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in mirror.yml",
"type": "missing_timeout_minutes",
"file": "mirror.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in scorecard.yml",
"type": "missing_timeout_minutes",
"file": "scorecard.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in secret-scanner.yml",
"type": "missing_timeout_minutes",
"file": "secret-scanner.yml",
"action": "flag",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in scorecard-enforcer.yml",
"type": "scorecard_publish_with_run_step",
"file": "scorecard-enforcer.yml",
"action": "split_scorecard_publish_job",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Issue in instant-sync.yml",
"type": "secret_action_without_presence_gate",
"file": "instant-sync.yml",
"action": "peter-evans/repository-dispatch",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Agda postulate assumes without proof -- potential soundness hole (2 occurrences, CWE-704)",
"type": "agda_postulate",
"file": "/home/runner/work/nextgen-languages/nextgen-languages/kitchenspeak/proofs/agda/PoachedEgg.agda",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Agda postulate assumes without proof -- potential soundness hole (1 occurrences, CWE-704)",
"type": "agda_postulate",
"file": "/home/runner/work/nextgen-languages/nextgen-languages/kitchenspeak/proofs/agda/Dough.agda",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds ReScript to the banned-languages list in the Hyperpolymath Standard (
.claude/CLAUDE.md), alongside TypeScript. AffineScript is the mandated replacement for all application code.Changes
ReScript -> AffineScript; remove ReScript as a Python replacement (nowPython -> Julia/Rust)..ts/.tsx/.res/.resi-> AffineScript).Context — removing ReScript + TypeScript everywhere
This is the policy half of an estate-wide removal of ReScript and TypeScript. The first concrete migration (QuandleDB frontend: ReScript + React SPA -> AffineScript TEA) is in quandledb#45, modelled on the canonical
nextgen-databases/nqc/src/ui/tea/nqc_gui.affine.Remaining ReScript/TS across the in-scope repos, to migrate in sequence (each needs the
affinescriptcompiler + the affinescript-ecosystem DOM mounter present in-session to be verifiable):nextgen-databases/lithoglyph/**— ~100.res(analytics, clients, distributed, glyphbase UI, Directus/Ghost/Payload/Strapi integrations, perf, stability, studio, e2e + fuzz). Much is library/server code, not UI.nextgen-databases/nqc/web/**— ReScript + rescript-tea SPA.lithoglyph/gql-dt/cli/{debugger,lsp-server}.ts,lithoglyph/studio/src/main.tsx.KnotTheory.jl/examples/SafeDOMExample.resand siblingSafeDOMExample.rescopies.https://claude.ai/code/session_017TXizM5c1Yd9HWf7Y15YH2
Generated by Claude Code