pi_tools
Configure and enforce the project checks (tests, lint, compile) that workers must run before reporting; serial checks lock the project for tools that cannot run twice at once.
Instructions
The project toolbox: the checks (tests, compile, lint) workers are expected to run THEMSELVES with check <name> before reporting. Shown in every dev/general worker's prompt; required checks are enforced (the worker is reminded, and the digest warns if one was not run or failed). serial checks hold a project-wide lock, so a tool that cannot run twice at once (a Unity editor, a Gradle daemon) is safe with parallel workers: do not forbid workers from running it. A Unity project with no toolbox set gets built-in unity-editmode (required) and unity-playmode checks. action: show | set (upsert checks) | remove (names) | reset (drop all, back to the built-in default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Any directory inside the project (default: session cwd) | |
| names | No | For remove | |
| action | Yes | ||
| checks | No | For set: checks to add or replace. The first set on a project starts from the built-in default if there is one. |