Recorded 2026-11-23. Introducing a root task runner (such as mise, just, or task) paired with a thin CLI wrapper on top could simplify and shorten task execution paths across WavWonder’s isolated monorepo packages.
Why current execution paths add friction
Under our Repository layout, every package in research/, products/, and infra/ manages its own manifest and dependencies without a shared root .venv/ or node_modules/. While package isolation keeps dependency closures clean, everyday commands remain scattered across directories and toolchains:
- Per-package working directories and prefixes: Running Python commands from the repository root requires
uv run --project <package>, while JavaScript and documentation workflows require changing intoresearch/dashboard/,research/preview/web/, orinfra/docs-site/. - Multi-command verification loops: Checking a package involves running several separate lint, typecheck, test, and build commands in sequence.
- Environment and config wiring: Local workflows depend on coordinating
.envrc,.python-version, machine-specificPATHexpectations (such as Node.js versions for Nimbus docs), and runtime configs underinfra/runtime/.
These paths increase cognitive overhead for human contributors and add avoidable round-trips for coding agents.
Two-layer design under consideration
We are exploring a split between a declarative task runner and a lightweight CLI layer above it:
- Base task runner (
mise,just,task, or similar): Defines a unified catalog of root tasks that dispatch checks, builds, dev servers, and common research workflows into each package’s isolated environment. - Thin CLI wrapper: Sits on top of the task runner to provide shorter entrypoints, shared flag conventions (such as selecting a target package or runtime config), and light orchestration where plain runner recipes become awkward.
Keeping the runner declarative and the wrapper minimal avoids duplicating package logic inside custom scripts while still giving contributors a single obvious starting point.
Candidate tools and trade-offs
The table below summarizes the main candidate runners and the role of a thin CLI layer above them.
| Option | Primary strength | Trade-off |
|---|---|---|
mise |
Manages tool versions (Python, Node.js, Bun, uv), environment variables, and file tasks in one tool. |
Requires adopting mise for runtime management across contributor machines. |
just |
Provides a minimal recipe runner (Justfile) with clear shell syntax and zero environment assumptions. |
Leaves tool version pinning and environment loading to .envrc and .python-version. |
task |
Supports YAML task graphs (Taskfile.yml) with built-in file watching and source checksum caching. |
Adds heavier YAML syntax and custom execution semantics compared with plain shell recipes. |
| Thin CLI wrapper | Unifies command discovery, flag forwarding, and guided workflows across heterogeneous packages. | Introduces an internal entrypoint that must stay small so debugging underlying commands stays direct. |
Constraints and open questions
- Any root runner or wrapper must delegate into each package’s own
uvorbunenvironment and avoid introducing a shared root.venv/ornode_modules/. - Contributors and coding agents still need direct visibility into the package commands being executed so failures remain straightforward to debug.
- Open choices to settle later include which base runner fits best alongside
.envrcand.python-version, whether runtime version pinning should move intomise, and which workflows justify wrapper logic beyond plain task recipes.



