Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .machine_readable/root-allow.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
.hypatia-ignore
CLAUDE.md

# ─── JS manifest and locks (LANGUAGE-POLICY §1.4) ───────────────────────────
package.json # JCS-canonical manifest; pins JS tooling (LANGUAGE-POLICY §1.4)
bun.lock # tier-1 lock, required (LANGUAGE-POLICY §1.4)
deno.lock # generated compatibility lock (LANGUAGE-POLICY §1.4)
pnpm-lock.yaml # generated compatibility lock (LANGUAGE-POLICY §1.4)
.prettierignore # keeps Prettier off the JCS package.json and pnpm-lock.yaml; Prettier reads it from the root
1 change: 1 addition & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# = "asdf version management"
# = "Run asdf install to install all tools"
# = "Primary runtime"
bun = "latest"
deno = "2.1.4"
zig = "0.13.0"
# = "Language runtimes"
Expand Down
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# package.json is JCS-canonical and pnpm-lock.yaml is tool-generated (LANGUAGE-POLICY §1.4).
# Prettier must not reformat them.
package.json
pnpm-lock.yaml
Comment thread
hyperpolymath marked this conversation as resolved.
Resolved

# Vendored, generated or estate-stamped content has no Prettier baseline:
# reformatting it would diverge from its source of truth.
alkahest-shell-transmuter/
proofs/lean4/lake-manifest.json
.github/
.claude/
docs/wiki/
docs/*.md
CLAUDE.md
15 changes: 15 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 19 additions & 23 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,21 @@
[tools]
# Language runtimes
node = "latest"
python = "latest"
rust = "latest"
go = "latest"
zig = "latest"
java = "latest"
bun = "latest"
denojs = "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
Expand All @@ -38,20 +25,29 @@ 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 ."

# Runnable commands (the [alias] table is for tool-version aliases only)
[tasks.build]
description = "Build the Rust CLI"
dir = "impl/rust-cli"
run = "cargo build --release"

[tasks.test]
description = "Test the Rust CLI"
dir = "impl/rust-cli"
run = "cargo test"

[tasks.lint]
description = "Check formatting with the pinned Prettier"
run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --check ."

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 Scope task installation to valid mise tools

On a fresh mise installation, this task never reaches Bun: mise run lint performs its default tool preparation for the merged .mise.toml/mise.toml configuration, but project entries including denojs, git, gnu-sed, gnu-tar, gnu-grep, and go-task are not mise registry names, so it exits with Failed to install tools. This reproduces with mise 2026.4.28; mise run --help describes --skip-tools as “Skip installing tools before running tasks” and says this can disable the default automatic installation. Scope each task to its required tools, disable auto-install, or correct/remove those declarations; otherwise all four newly exposed tasks fail on a clean checkout.

Useful? React with 👍 / 👎.


[tasks.fmt]
description = "Format with the pinned Prettier"
run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --write ."
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"devDependencies":{"prettier":"3.10.1"},"license":"MPL-2.0","name":"valence-shell","private":true}
24 changes: 24 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading