Skip to content

docs: add LANGUAGE-POLICY.adoc — the authority three gates already cite - #563

Merged
hyperpolymath merged 1 commit into
mainfrom
docs/language-policy
Jul 29, 2026
Merged

docs: add LANGUAGE-POLICY.adoc — the authority three gates already cite#563
hyperpolymath merged 1 commit into
mainfrom
docs/language-policy

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

scripts/check-package-policy.sh names LANGUAGE-POLICY.adoc as its authority in three places, including the runtime error message it prints on failure — and the file did not exist. That dangling citation came in with #534; this corrects it.

The contents are the rules already in force, written down for the first time, plus one genuinely new section:

§1 — JS/TS runtime ordering: Bun > Deno > pnpm > npm. This inverts what the estate currently enforces. npm-bun-blocker.yml, in 55 repositories, fails any build carrying bun.lockb with "Use Deno instead" — blocking the new first choice and mandating the second. That gate must change next.

§1.2 — TypeScript permitted under Bun; the "use ReScript instead" rule retired. Records that ts-blocker.yml (also 55 repos) cannot fail: it diffs HEAD~1 on a depth-1 checkout and swallows the error. 20/20 runs green, never once fired.

§2 — packaging (Guix primary, sealed-container escape, Nix retired 2026-06-01), including the standing never mass-delete flake.nix constraint and the measured guix.scm identity/licence clobber.

🤖 Generated with Claude Code

scripts/check-package-policy.sh names LANGUAGE-POLICY.adoc as its authority in
THREE places, including the runtime error message it prints on failure. The file
did not exist. The gate has been telling readers to consult a missing document
since #534 -- my error, corrected here.

Contents are the rules already in force, written down for the first time:

  §1 JS/TS runtime ordering -- Bun > Deno > pnpm > npm. This is NEW policy and
     it INVERTS what the estate currently enforces: npm-bun-blocker.yml, in 55
     repositories, fails any build carrying bun.lockb with 'Use Deno instead'.
     That gate blocks the new first choice and mandates the second.
  §1.2 TypeScript permitted under Bun; the 'use ReScript instead' rule retired.
     Records that ts-blocker.yml (also 55 repos) cannot fail -- it diffs against
     HEAD~1 on a depth-1 checkout and swallows the error. 20/20 runs green.
  §2 Packaging -- Guix primary, sealed container escape hatch, Nix retired
     2026-06-01, with the standing 'never mass-delete flake.nix' constraint and
     the measured guix.scm identity/licence clobber.
  §3 Banned languages.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 5973f6c into main Jul 29, 2026
24 of 27 checks passed
@hyperpolymath
hyperpolymath deleted the docs/language-policy branch July 29, 2026 05:52
@sonarqubecloud

Copy link
Copy Markdown

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