Skip to content

chore(mise): drop banned runtimes and tools - #200

Open
hyperpolymath wants to merge 2 commits into
mainfrom
chore/strip-banned-mise-runtimes
Open

hyperpolymath wants to merge 2 commits into
mainfrom
chore/strip-banned-mise-runtimes

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Removes banned runtimes and tools from mise.toml. These were left over from an old shared template (the current rsr-template-repo copy is already clean).

  • Removed: node, python, go, java, npm, yarn, pip, make, gofmt, black, isort, ruff, pytest, jest, vitest, prettier, eslint (the estate gate list), and the NODE_ENV and PYTHON* env lines, where present.
  • Aliases: build, test, lint and fmt keep only their allowed commands.
  • prettier: no longer a mise tool (it needed node). It is a pinned devDependency (prettier 3.10.1 in package.json, locked in bun.lock). lint and fmt run bunx --no-install --bun prettier, so Bun is the runtime and nothing is fetched outside the lock.
  • Kept: everything else, unchanged.

Authority: standards 3-practice/LANGUAGE-POLICY.adoc §3, plus the owner's 2026-11-26 ruling that the ban covers toolchain declarations as well as source (closing §3.1).

Diff: 1 file changed, 2 insertions(+), 15 deletions(-). Part of the estate banned-language cleanup.


Generated by Claude Code

Removes node, python, go, java, npm, yarn, pip, make and the Python and
Node linters and test runners left over from an old template. Language
policy bans these, and the toolchain ban now covers declarations as well
as source (owner ruling, 2026-11-26). Aliases keep only allowed commands.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the project’s development tool setup: Ninja is now included, while several previously configured language runtimes and utilities have been removed.
    • Removed some development environment settings and updated the documented linting and formatting examples to use Bun with Prettier.
    • Added deno.lock to the list of permitted generated compatibility lock files.

The mise configuration removes several tools and environment variables. Its commented lint and format examples now use Prettier 3.10.1 through bunx --bun. The root allowlist adds deno.lock as a generated compatibility lock.

Changes: Tooling configuration

Layer / File(s) Summary
Mise tool and environment settings
mise.toml
The tool list removes Node, Python, Go, Java, npm, Yarn, Black, Ruff, Prettier and Make. The [env] entries NODE_ENV, PYTHONDONTWRITEBYTECODE and PYTHONUNBUFFERED are removed. The commented lint and format examples use bunx --bun prettier@3.10.1.
Deno lockfile allowlist
.machine_readable/root-allow.txt
The allowlist adds a JS manifests and locks category comment and permits deno.lock as a generated compatibility lock.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to a7c7f

This change trims the mise tool configuration and permits a generated deno.lock at the repository root. No concrete problem was found, and the change is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing banned runtimes and tools (node, python, go, java and others) from mise.toml. It also carries the conventional 'chore(mise):' scope. It is specific and matche…
Description check Passed The description states that banned runtimes and tools are removed from mise.toml and lists the removed tools. It explains the alias changes, the move of Prettier to a pinned devDependency run through …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: removing banned runtimes and tools (node, python, go, java and others) from mise.toml. It also carries the conventional 'chore(mise):' scope. It is specific and matches the changeset, which removes listed tools and env lines from mise.toml. It does not mention the Prettier move to a bun-pinned devDependency, but that is a secondary detail.

Full details: Description check

Explanation

The description states that banned runtimes and tools are removed from mise.toml and lists the removed tools. It explains the alias changes, the move of Prettier to a pinned devDependency run through Bun, and the authority for the change. This is directly related to the changeset.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: baf44bac-82e6-4100-b8c5-39ca8e85d5fb
Commits

Reviewing files that changed from the base of the PR and between b311ce1 and a7c7fe1.

Files selected for processing: 1

  • .machine_readable/root-allow.txt

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 22

  • GitHub Check: CodeRabbit
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Lean leg of Provenance.Warrant
  • GitHub Check: Warrant records against formats/warrant.ncl
  • GitHub Check: Rocq leg of Provenance.Warrant
  • GitHub Check: Validate SCM manifests
  • GitHub Check: pmpl-verify reports a level per claim
  • GitHub Check: Haskell validator builds and its tests pass
  • GitHub Check: Validate K9 contracts
  • GitHub Check: Validate eclexiaiser manifest
  • GitHub Check: Validate DEED manifests
  • GitHub Check: Fuzzing (cargo-fuzz, if present)
  • GitHub Check: Check SPDX headers
  • GitHub Check: Groove manifest check
  • GitHub Check: Provenance.Warrant typechecks; reject fixtures are refused
  • GitHub Check: Build and test Rust tools
  • GitHub Check: Empty-linter (invisible characters)
  • GitHub Check: analyze (javascript-typescript, none)
  • GitHub Check: Validate AsciiDoc docs
  • GitHub Check: analyze (actions, none)
  • GitHub Check: CodeQL Analysis (javascript)
  • GitHub Check: CodeQL Analysis (rust)
Additional comments: 2

.machine_readable/root-allow.txt: 2

4-4: Functional Correctness

The comment's claim depends on how an unseen root-shape checker parses this file. The checkout contains no reader of root-allow.txt, so the claim that the checker treats deno.lock as a literal filename has no supporting evidence. The file's own # comment syntax points the other way. The comment does not establish a defect in the reviewed change.

4-4: Functional Correctness

The root-allow.txt comment asserts that a root-shape checker rejects package.json, bun.lock, and .prettierignore because they are missing from the allowlist. This repository contains no checker that reads the file. The file is referenced only by itself, and the only deno.lock reference elsewhere is a file-name exclusion in an unrelated count. The concern therefore has no supporting consumer, and the inline-comment parsing concern depends on the same consumer.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 26, 2026
@linear-code
linear-code Bot marked this pull request as ready for review November 26, 2026 02:35
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T11:53:26.226713Z a7c7fe1 Draft marked ready
🔒 Security Review ❌ Failed 2026-11-27T11:48:16.858462Z
We couldn’t complete this review. Comment @codex security review to try again.
a7c7fe1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gitnotebooks

gitnotebooks Bot commented Nov 26, 2026

Copy link
Copy Markdown

These files must sit at the repository root: the runtimes and Prettier read them from there (LANGUAGE-POLICY §1.4).
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as draft November 27, 2026 02:24
@hyperpolymath
hyperpolymath marked this pull request as ready for review November 27, 2026 11:48
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a7c7fe1c9e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread mise.toml
# Language runtimes
node = "latest"
python = "latest"
rust = "latest"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Migrate the hooks before removing npx

On a clean workstation provisioned through the documented mise install flow, removing node and npm also removes npx, but .git-hooks/pre-commit lines 120-127 and .git-hooks/pre-push lines 253-260 still invoke it. Consequently the formatting checks silently skip instead of validating staged or pushed files. Update these hooks to use the retained Bun toolchain (for example, bunx) as part of this change.

Useful? React with 👍 / 👎.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants