Commit 2ec67b1
policy: Bun is tier 1, Deno is being removed — correct local CLAUDE.md (#195)
Owner ruling, 2026-08-26:
> *"deno is to go and bun is the way we are going, put it first
everywhere unless not possible and explain why if not"*
This repo's `.claude/CLAUDE.md` is what an agent reads **first**.
Correcting `hyperpolymath/standards` (#655) fixes one copy of ~372 —
agents read the local one.
## What this PR actually changes
Every line below was verified present in this PR's own diff — nothing is
claimed that isn't here.
| change | in this diff |
|---|---|
| ALLOWED: Deno row → **Bun**, tier 1 | ✅ |
| BANNED: `\| Bun \| Deno \|` row removed | ✅ |
| BANNED: **Deno added**, replacement Bun | ✅ |
| BANNED: Node.js/npm/pnpm/yarn → Bun | ✅ |
| rule: manifest now **required** (`package.json` + `bun.lock`) | ✅ |
| rule: `bun install --production` replaces the node_modules rule | ✅ |
| pkg mgmt: JS deps → Bun, `bunx --no-install --bun` | ✅ |
| repaired blanking scar: `Only where cannot` → Only where AffineScript
cannot | ✅ |
> ⚠ An earlier revision of this description listed blanking-scar repairs
generically, including some this repo did not need. `codacy-production`
correctly flagged that as a description/diff mismatch. The table above
is now generated from the diff itself.
## Review feedback addressed
- **No TypeScript at all** (codacy raised the contradiction; the owner
then ruled it outright). The Bun row advertised *"Executes `.ts`
directly"* inside a file that bans TypeScript. Owner ruling: TypeScript
**should not exist at all** — so every `.ts` reference is gone from the
row, including **JS/TS** in its label. It now reads *JS runtime*,
running compiled ESM/JS.
- **Deno missing from BANNED** (codacy): added — the ruling was only
half expressed without it.
- **Unpinned `bunx`** (coderabbitai, Security & Privacy): a bare `bunx
<tool>` can fetch a package outside `bun.lock` and can start Node via a
shebang. Guidance now requires a declared devDependency plus `bunx
--no-install --bun`.
**Not taken:** *"a npm-compatible"* (LanguageTool is wrong — "an" is
correct before a vowel sound); *"`--frozen-lockfile` is redundant"*
(correct, and no such flag was added); the **Nix → Guix** point (real,
but a separate ruling — deliberately not folded into a Deno/Bun change).
## Scope
Policy text only — no code, no workflows, no build files.
Related: #655 (governing document), #658 (Deno→Bun assessment: 18 repos
blocked on `@affinescript/*` npm packages that do not exist), #659
(policy duplicated into ~372 copies).
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 787ffc5 commit 2ec67b1
2 files changed
Lines changed: 19 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | | - | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments