-
-
Notifications
You must be signed in to change notification settings - Fork 0
policy: bun-first runtime order; name the ban's exemption classes #575
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 |
|---|---|---|
|
|
@@ -60,7 +60,30 @@ documentation = "inline" | |
| languages = ["affinescript", "rust", "gleam", "{{PRIMARY_LANGUAGE}}"] | ||
|
|
||
| # banned: Languages the agent must NEVER use, even if asked. | ||
| banned = ["typescript", "rescript", "go", "python", "makefile"] | ||
| banned = ["typescript", "rescript", "go", "python", "ruby", "makefile"] | ||
|
|
||
| # banned-exempt-repo-classes: the ONLY places a banned language may appear. | ||
| # A ban is about not letting a language spread through the estate — not about | ||
| # pretending it does not exist. Interoperating with an ecosystem means writing | ||
| # in it, in one bounded, named place: | ||
| # <lang>-ecosystem — the repo that exists to hold that language's world | ||
| # (e.g. rescript-ecosystem) | ||
| # adapter — a bounded translation layer to a foreign ecosystem | ||
| # (e.g. the ReScript adapter in `proven`) | ||
| # mcp — an MCP server for one specific external thing | ||
| # Anywhere else, a banned language is a defect regardless of how it got there. | ||
| banned-exempt-repo-classes = ["<lang>-ecosystem", "adapter", "mcp"] | ||
|
|
||
| # js-runtime-order: preference for anything needing a JS runtime or package | ||
| # manager. Take the first that can do the job; drop to the next only when it | ||
| # genuinely cannot. | ||
| # bun — the default. Compatibility decides, and bun has it. | ||
| # deno — second. Kept for existing code; not chosen for new work. Walking | ||
| # everything through Deno was a real cost, and its longevity is not | ||
| # a safe bet to build on. | ||
| # pnpm — third, when a real node_modules layout is unavoidable. | ||
| # npm — last resort only. | ||
| js-runtime-order = ["bun", "deno", "pnpm", "npm"] | ||
|
Comment on lines
+77
to
+86
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.
|
||
|
|
||
| # ── Project-Specific Overrides ──────────────────────────────────────────── | ||
| [agentic-config.project-specific] | ||
|
|
||
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.
💡 Quality: 'ruby' banned in template but absent from canonical banned list
The template adds
rubytobanned, but the canonicallanguage-policy.scmbanned-languageslist (frozen v1.x) does not contain ruby, and itsallowed-languageslist still classesrescriptas "Primary application code" while the template bans it. The template's language constraints are drifting from the canonical machine-readable policy. If ruby is genuinely to be banned estate-wide, add it to the canonical policy through the applicable change procedure so the two stay in sync; otherwise the template asserts a ban no canonical source backs.Was this helpful? React with 👍 / 👎