-
-
Notifications
You must be signed in to change notification settings - Fork 0
policy: Bun is tier 1, Deno is being removed — correct local CLAUDE.md #162
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
45713bc
policy: Bun is tier 1, Deno is being removed — correct local CLAUDE.md
hyperpolymath 693ea78
policy: address review — drop the .ts contradiction, ban Deno, pin bunx
hyperpolymath cae39db
docs(policy): ban ReScript explicitly and pin production installs
hyperpolymath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -114,8 +114,8 @@ LithClient.exists_by_hash?("evidence", sha256_hash) | |||||
| | Language/Tool | Use Case | Notes | | ||||||
| |---------------|----------|-------| | ||||||
| | **Elixir** | This project's primary language | Phoenix, LiveView, Absinthe | | ||||||
| | **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or Deno-ESM | | ||||||
| | **Deno** | Runtime & package management | Replaces Node/npm/bun | | ||||||
| | **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or ESM | | ||||||
| | **Bun** | JS runtime & package management (tier 1) | Default for all new work. Runs compiled ESM/JS directly — no bundler step. Uses an npm-compatible `package.json` plus `bun.lock` — both are expected, not anti-patterns. | | ||||||
| | **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools | | ||||||
| | **Gleam** | Backend services | Runs on BEAM or compiles to JS | | ||||||
| | **Bash/POSIX Shell** | Scripts, automation | Keep minimal | | ||||||
|
|
@@ -127,8 +127,10 @@ LithClient.exists_by_hash?("evidence", sha256_hash) | |||||
| | Banned | Replacement | | ||||||
| |--------|-------------| | ||||||
| | TypeScript | AffineScript | | ||||||
| | Node.js | Deno | | ||||||
| | npm/Bun/pnpm/yarn | Deno | | ||||||
| | ReScript | AffineScript | | ||||||
| | Deno | Bun | | ||||||
| | Node.js | Bun | | ||||||
|
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. 🟡 MEDIUM RISK Suggestion: Since Deno is being replaced by Bun as the Tier 1 runtime, it should be explicitly listed in the Banned table to clarify the policy transition and prevent its accidental use.
Suggested change
|
||||||
| | npm/pnpm/yarn | Bun | | ||||||
| | Go | Rust | | ||||||
| | Python | Julia/Rust/AffineScript | | ||||||
| | Java/Kotlin | Rust | | ||||||
|
|
||||||
Oops, something went wrong.
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.
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.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/bofig
Length of output: 157
🏁 Script executed:
Repository: hyperpolymath/bofig
Length of output: 2043
Make the one-off tool control explicit.
.claude/CLAUDE.mddoes not require declared dependencies orbunx --no-install --bunfor one-off tools. Add this rule to keep tool execution within the dependency and lockfile controls.🧰 Tools
🪛 LanguageTool
[misspelling] ~118-~118: Use “a” instead of ‘an’ if the following word doesn’t start with a vowel sound, e.g. ‘a sentence’, ‘a university’.
Context: ...ESM/JS directly — no bundler step. Uses an npm-compatible
package.jsonplus `bun...(EN_A_VS_AN)
[misspelling] ~118-~118: This word is normally spelled as one.
Context: ...lus
bun.lock— both are expected, not anti-patterns. | | Rust | Performance-critical, s...(EN_COMPOUNDS_ANTI_PATTERNS)
🤖 Prompt for AI Agents