Repository navigation
docs(ai-rules): make JS runtime policy Bun-first #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4614fe7
00654c7
855eb0f
801995d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | |
| - [ ] Tests pass (`just test` or equivalent) | ||
| - [ ] Code is formatted (`just fmt` or equivalent) | ||
| - [ ] Linter is clean (no new warnings or errors) | ||
| - [ ] No banned language patterns (no TypeScript, no npm/bun, no Go/Python) | ||
| - [ ] No banned language patterns (no TypeScript, no Node.js/yarn, no Go/Python) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| - [ ] No `unsafe` blocks without `// SAFETY:` comments | ||
| - [ ] No banned functions (`believe_me`, `unsafeCoerce`, `Obj.magic`, `Admitted`, `sorry`) | ||
| - [ ] SPDX license headers present on all new/modified source files | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,7 @@ | |
| (must "no new TypeScript files") | ||
| (must "no new Python files") | ||
| (must "no new Go files") | ||
| (must "no npm/bun/yarn/pnpm dependencies — Deno only") | ||
| (must "no Node.js or yarn — JS runtime is Bun, then Deno, then pnpm") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| ; Dangerous patterns | ||
| (must "no believe_me (Idris2)") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,7 +56,7 @@ MAINTENANCE-CHECKLIST.a2ml, or SOFTWARE-DEVELOPMENT-APPROACH.a2ml in the reposit | |
| | Banned | Use Instead | | ||
| |---------------------|--------------------| | ||
| | TypeScript | AffineScript | | ||
| | Node.js / npm / bun | Deno | | ||
| | Node.js / yarn | Bun > Deno > pnpm | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| | Go | Rust | | ||
| | Python | Julia / Rust | | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the governance check with the Bun policy.
A PR that includes
bun.lockbfollows the new Bun policy, but the pinned shared governance workflow rejects that file and instructs contributors to use Deno. Update the shared check and its pin so that permitted Bun artefacts pass.