Repository navigation
docs(ai-rules): make JS runtime policy Bun-first #192
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
Changes from all commits
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 |
|---|---|---|
|
|
@@ -17,7 +17,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") | ||
|
Contributor
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. Reconcile the project-specific runtime invariant. This rule permits Bun, but Line 76 still requires Deno as the only JS runtime. An agent cannot follow both mandatory rules. Update the project-specific invariant to distinguish the current Deno build from the new runtime policy.
|
||
|
|
||
| ; Dangerous patterns | ||
| (must "no believe_me (Idris2)") | ||
|
|
||
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.
Update the retained npm restriction in the generated guidance.
Line 157 still says that npm is permitted only for the ReScript compiler. The revised policy bans only Node.js and yarn. The retained restriction gives agents a different rule for other npm use. Update the source guidance and the generated copies, including the Cline, Copilot, Q and Windsurf files.