Skip to content

chore(linguist): exclude ReScript from language detection - #29

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/linguist-exclude-res
May 27, 2026
Merged

chore(linguist): exclude ReScript from language detection#29
hyperpolymath merged 1 commit into
mainfrom
chore/linguist-exclude-res

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Adds **/*.res linguist-detectable=false to .gitattributes so ReScript files do not dominate GitHub's primary-language detection.

Rationale: Estate-wide policy: ReScript is being migrated to AffineScript. Pending mechanical migration; this PR is the immediate cosmetic fix to stop ReScript dominating GitHub's primary-language detection until the source files are ported.

Changes

  • .gitattributes: **/*.res linguist-detectable=false

Part of estate-wide metadata cleanup 2026-05-26.

Estate-wide policy: ReScript is being migrated to AffineScript. Pending mechanical migration; this PR is the immediate cosmetic fix to stop ReScript dominating GitHub's primary-language detection until the source files are ported.

Part of estate-wide metadata cleanup 2026-05-26.
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 26, 2026 13:26
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Hypatia Security Scan

Findings: 32 issues detected

Severity Count
🔴 Critical 0
🟠 High 21
🟡 Medium 11
View findings
[
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (3 occurrences, CWE-494)",
    "type": "shell_download_then_run",
    "file": "/home/runner/work/supernorma/supernorma/setup.sh",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "high"
  },
  {
    "reason": "Repository has 8 non-main remote branch(es). Policy: single main branch only.",
    "type": "GS007",
    "file": ".",
    "action": "delete_remote_branches",
    "rule_module": "git_state",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Scorecard): TokenPermissionsID -- Token-Permissions -- 0 day(s) old",
    "type": "CSA001",
    "file": ".github/workflows/hypatia-scan.yml",
    "action": "update",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/git_state/GS007 -- Hypatia git_state: GS007 -- 8 day(s) old",
    "type": "CSA001",
    "file": ".",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/code_safety/shell_download_then_run -- Hypatia code_safety: shell_download_then_run -- 8 day(s) old [STALE]",
    "type": "CSA001",
    "file": "setup.sh",
    "action": "escalate",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code scanning (Hypatia): hypatia/workflow_audit/unpinned_action -- Hypatia workflow_audit: unpinned_action -- 8 day(s) old [STALE]",
    "type": "CSA001",
    "file": "governance.yml",
    "action": "escalate",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code scanning (Scorecard): PinnedDependenciesID -- Pinned-Dependencies -- 9 day(s) old",
    "type": "CSA001",
    "file": ".github/workflows/governance.yml",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  },
  {
    "reason": "Code scanning (Scorecard): TokenPermissionsID -- Token-Permissions -- 9 day(s) old [STALE]",
    "type": "CSA001",
    "file": ".github/workflows/dependabot-automerge.yml",
    "action": "escalate",
    "rule_module": "code_scanning_alerts",
    "severity": "high"
  },
  {
    "reason": "Code scanning (Scorecard): PinnedDependenciesID -- Pinned-Dependencies -- 9 day(s) old",
    "type": "CSA001",
    "file": "setup.sh",
    "action": "review",
    "rule_module": "code_scanning_alerts",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit 85d4d8f into main May 27, 2026
21 of 26 checks passed
@hyperpolymath
hyperpolymath deleted the chore/linguist-exclude-res branch May 27, 2026 12:07
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