Repository navigation
chore(mise): drop banned runtimes and tools #72
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
base: main
Are you sure you want to change the base?
Changes from all commits
62769c9
a7d38a8
2bb3ed4
4e68213
3a5f9d7
10f7615
1f2b7f6
4bd3346
9963d3d
ca34cd6
b2162cc
f9a1838
1367b7d
a58cc75
458c4f1
4d365ff
f406a74
48939eb
13efc51
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 |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | |
| - [ ] Tests pass (`just test` or equivalent) | ||
| - [ ] Code is formatted (`just fmt` or equivalent) | ||
| - [ ] Linter is clean (no new warnings or errors) | ||
| - [ ] No banned language patterns (no TypeScript, no npm/bun, no Go/Python) | ||
| - [ ] No banned language patterns (no TypeScript, no Node.js/yarn, no Go/Python) | ||
|
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. Include ReScript in the checklist. The updated
|
||
| - [ ] No `unsafe` blocks without `// SAFETY:` comments | ||
| - [ ] No banned functions (`believe_me`, `unsafeCoerce`, `Obj.magic`, `Admitted`, `sorry`) | ||
| - [ ] SPDX license headers present on all new/modified source files | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # package.json is JCS-canonical (LANGUAGE-POLICY §1.4); Prettier must not reformat it. | ||
| package.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> | |
| <!-- The region between the ARRIVAL-PACK markers is generated from this | ||
| repo's a2ml by `just claude-md` — do not hand-edit it. --> | ||
|
|
||
| <!-- ARRIVAL-PACK:BEGIN — estate-common @Manifesto:DRAFT-unratified · repo @a2ml:CLADE@7ffdab6877f6 ECOSYSTEM@23f3e432feaa AGENTIC@d72859864bbe STATE@405ba13c6906 ANCHOR@345d07147800 — generated by `just claude-md`, do not hand-edit --> | ||
| <!-- ARRIVAL-PACK:BEGIN — estate-common @Manifesto:DRAFT-unratified · repo @a2ml:CLADE@7ffdab6877f6 ECOSYSTEM@23f3e432feaa AGENTIC@d72859864bbe STATE@405ba13c6906 ANCHOR@170845785575 — generated by `just claude-md`, do not hand-edit --> | ||
|
|
||
| # You are in the hyperpolymath estate — orient before acting | ||
|
|
||
|
|
@@ -53,7 +53,7 @@ The descriptive family (working name *descriptiles*) describes what-is; the **co | |
| - **Before you invent, rename, or consolidate anything: STOP and check the map + IS-NOT.** | ||
|
|
||
| ## Estate language policy (overridable per-repo via AGENTIC) | ||
| Deny: **Nix, Node/npm, TypeScript, Python, Go, AGPL**. (Guix, not Nix.) | ||
| Deny: **Nix, Node.js, yarn, TypeScript, Python, Go, AGPL**. (Guix, not Nix. JS: Bun first; Deno, pnpm, npm as fallbacks.) | ||
|
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.
|
||
|
|
||
| --- | ||
|
|
||
|
|
@@ -67,4 +67,4 @@ Deny: **Nix, Node/npm, TypeScript, Python, Go, AGPL**. (Guix, not Nix.) | |
| - **Golden path** (ANCHOR) — `just test && just quality` → Core tests pass; Quality gates pass; No unresolved critical security findings. | ||
| - **State** — phase ip-rename-complete; maturity experimental; % complete; status active. | ||
|
|
||
| <!-- ARRIVAL-PACK:END · provenance: CLADE@7ffdab6877f6 ECOSYSTEM@23f3e432feaa AGENTIC@d72859864bbe STATE@405ba13c6906 ANCHOR@345d07147800 · Manifesto@DRAFT-unratified · regenerate: `just claude-md` (k9 drift-detects; do not hand-edit above) --> | ||
| <!-- ARRIVAL-PACK:END · provenance: CLADE@7ffdab6877f6 ECOSYSTEM@23f3e432feaa AGENTIC@d72859864bbe STATE@405ba13c6906 ANCHOR@170845785575 · Manifesto@DRAFT-unratified · regenerate: `just claude-md` (k9 drift-detects; do not hand-edit above) --> | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,8 +64,8 @@ MAINTENANCE-CHECKLIST.a2ml, or SOFTWARE-DEVELOPMENT-APPROACH.a2ml in the reposit | |
|
|
||
| | Banned | Use Instead | | ||
| |---------------------|--------------------| | ||
| | TypeScript | ReScript | | ||
| | Node.js / npm / bun | Deno | | ||
| | TypeScript | AffineScript | | ||
|
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. Add ReScript to the banned-language table. This file is the authoritative source for agent conventions, but its table does not identify ReScript as banned. The port document bans ReScript and TypeScript estate-wide. Add a ReScript row so agents reading this table can apply that rule.
|
||
| | Node.js / yarn | Bun (tier 1); Deno, pnpm, npm as fallbacks | | ||
| | Go | Rust | | ||
| | Python | Julia / Rust | | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,24 @@ | ||
| [tools] | ||
| # Language runtimes | ||
| node = "latest" | ||
| python = "latest" | ||
| rust = "latest" | ||
| go = "latest" | ||
| # Pinned, not "latest". The workflows pin 0.15.2 and src/bridge.zig uses | ||
| # 0.15-era APIs; "latest" resolves to 0.16.0 locally, where std.fs.cwd() is gone | ||
| # and a local `zig build test` fails in ways CI never sees. A local toolchain | ||
| # that disagrees with CI turns every build into a guess about which one is right. | ||
| zig = "0.15.2" | ||
| java = "latest" | ||
| bun = "latest" | ||
| denojs = "latest" | ||
| bun = "1.4" | ||
| just = "latest" | ||
|
|
||
| # Package managers | ||
| npm = "latest" | ||
| yarn = "latest" | ||
| pnpm = "latest" | ||
| pip = "latest" | ||
| cargo = "latest" | ||
| go-task = "latest" | ||
|
|
||
| # Formatting & Linting | ||
| gofmt = "latest" | ||
| black = "latest" | ||
| isort = "latest" | ||
| ruff = "latest" | ||
| prettier = "latest" | ||
| shfmt = "latest" | ||
| stylua = "latest" | ||
|
|
||
| # Build tools | ||
| cmake = "latest" | ||
| make = "latest" | ||
| ninja = "latest" | ||
|
|
||
| # Shell tools | ||
|
|
@@ -42,20 +28,22 @@ gnu-tar = "latest" | |
| gnu-grep = "latest" | ||
|
|
||
| # Testing | ||
| vitest = "latest" | ||
| pytest = "latest" | ||
| jest = "latest" | ||
|
|
||
| [env] | ||
| # Common environment variables | ||
| NODE_ENV = "development" | ||
| PYTHONDONTWRITEBYTECODE = "1" | ||
| PYTHONUNBUFFERED = "1" | ||
|
|
||
| # Task runner alias | ||
| [alias] | ||
| task = "go-task" | ||
| build = "cargo build --release || npm run build || go build" | ||
| test = "cargo test || npm test || go test ./..." | ||
| lint = "ruff check . || prettier --check . || black --check ." | ||
| fmt = "ruff format . || prettier --write . || black ." | ||
|
|
||
| [tasks.setup] | ||
| description = "Install pinned JS dev tools (Prettier) from bun.lock" | ||
| run = "bun install --frozen-lockfile" | ||
|
coderabbitai[bot] marked this conversation as resolved.
Resolved
|
||
|
|
||
| [tasks.build] | ||
| run = "just build" | ||
|
|
||
| [tasks.test] | ||
| run = "just test" | ||
|
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. Compile the FFI test executable before running the test task. On a clean checkout, this task reaches Wire the compilation step into the dependency graph: make
|
||
|
|
||
| [tasks.lint] | ||
| run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --check ." | ||
|
|
||
| [tasks.fmt] | ||
| run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --write ." | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "devDependencies": { | ||
| "prettier": "3.10.1" | ||
| }, | ||
| "license": "MPL-2.0", | ||
| "name": "lithoglyph", | ||
| "private": true | ||
| } |
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.
Move the fallback rule out of the banned list.
This rule permits Bun and the fallbacks, but it appears under
BANNED. An assistant can read the heading as banning those tools. Put the rule under a separate runtime and package-manager heading.