Skip to content

Commit ff3acd0

Browse files
chore(mise): drop banned runtimes and tools (#714)
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`). `js-runtimes regen` wrote `bun.lock`, `deno.lock` and `pnpm-lock.yaml` (LANGUAGE-POLICY §1.4). `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: 6 files changed, 63 insertions(+), 24 deletions(-). Part of the estate banned-language cleanup. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Updated the available development tools, retaining support for Rust, Zig, Bun, Deno, pnpm, Cargo, go-task, shfmt, Stylua, and CMake. Ninja is also included. * Updated the build, test, lint, and format tasks to run Cargo commands from the `robot-repo-automaton` directory. * Removed the default environment-variable settings and generic task aliases. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Update (review fixes) Choice recorded: the Prettier/Bun/Deno/pnpm lockfile add-on is dropped (bun.lock, deno.lock, pnpm-lock.yaml, package.json, .prettierignore, and the .gitignore edit). Reasons from the review threads: Prettier needs a JS runtime and would reformat canonical JSON (`.gitbot-fleet/enrolment.json`); a root `pnpm-lock.yaml` trips Rhodibot's ban list; the Bun lock format and Dependabot npm coverage would need further changes. `build`, `test`, `lint` and `fmt` are now real `[tasks.*]` run from `robot-repo-automaton`; `lint`/`fmt` use `cargo fmt`. Main merged in (signed). --- _Generated by [Claude Code](https://claude.ai/code)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5e5e122 commit ff3acd0

1 file changed

Lines changed: 19 additions & 23 deletions

File tree

‎mise.toml‎

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,21 @@
11
[tools]
22
# Language runtimes
3-
node = "latest"
4-
python = "latest"
53
rust = "latest"
6-
go = "latest"
74
zig = "latest"
8-
java = "latest"
95
bun = "latest"
106
denojs = "latest"
117

128
# Package managers
13-
npm = "latest"
14-
yarn = "latest"
159
pnpm = "latest"
16-
pip = "latest"
1710
cargo = "latest"
1811
go-task = "latest"
1912

2013
# Formatting & Linting
21-
gofmt = "latest"
22-
black = "latest"
23-
isort = "latest"
24-
ruff = "latest"
25-
prettier = "latest"
2614
shfmt = "latest"
2715
stylua = "latest"
2816

2917
# Build tools
3018
cmake = "latest"
31-
make = "latest"
3219
ninja = "latest"
3320

3421
# Shell tools
@@ -38,20 +25,29 @@ gnu-tar = "latest"
3825
gnu-grep = "latest"
3926

4027
# Testing
41-
vitest = "latest"
42-
pytest = "latest"
43-
jest = "latest"
4428

4529
[env]
4630
# Common environment variables
47-
NODE_ENV = "development"
48-
PYTHONDONTWRITEBYTECODE = "1"
49-
PYTHONUNBUFFERED = "1"
5031

5132
# Task runner alias
5233
[alias]
5334
task = "go-task"
54-
build = "cargo build --release || npm run build || go build"
55-
test = "cargo test || npm test || go test ./..."
56-
lint = "ruff check . || prettier --check . || black --check ."
57-
fmt = "ruff format . || prettier --write . || black ."
35+
36+
# Runnable tasks. The root has no Cargo.toml, so run from the crate.
37+
# Prettier is not a mise tool: it needs Node, which is banned by
38+
# LANGUAGE-POLICY, and canonical JSON here must not be reformatted.
39+
[tasks.build]
40+
dir = "robot-repo-automaton"
41+
run = "cargo build --release"
42+
43+
[tasks.test]
44+
dir = "robot-repo-automaton"
45+
run = "cargo test"
46+
47+
[tasks.lint]
48+
dir = "robot-repo-automaton"
49+
run = "cargo fmt --check"
50+
51+
[tasks.fmt]
52+
dir = "robot-repo-automaton"
53+
run = "cargo fmt"

0 commit comments

Comments
 (0)