run_task
Execute a stored per-language task command—build, lint, test, e2e, or verify—without a shell. Runs only the saved command for your workspace's language or one you name.
Instructions
Run a stored per-language task command — build, lint, test, e2e, verify, or a project-defined slot — configured in [tasks.]. It executes only the command the user saved (no shell, no agent-supplied command line), for this workspace's primary language or the one you name in language. Runs from the workspace root or [tasks.] working_dir, with its env. A project-supplied (.plumb/config.toml) command must be trusted first (run plumb trust); the shipped defaults and global-config commands always run. Output and runtime are bounded. Pairs with topology_affected (which says WHICH tests to run; this runs them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Optional test-name filter for the {run} placeholder (go -run, pytest -k), e.g. TestA|TestB. Letters, digits, space, ._/:@|^$*+?()[]-; no leading - or space. | |
| slot | No | Which stored task command to run: build, lint, test, e2e, verify, or a project-defined slot under [tasks.<lang>]. session_start lists what's configured; an unconfigured slot is refused with that list. | |
| target | No | Optional value for the {target} placeholder, e.g. a package. One shell-safe argument ([A-Za-z0-9._/:@-]); refused if the command has none. | |
| verbose | No | Fill the {verbose:<flag>} placeholder (go/pytest -v), e.g. to see skipped tests. | |
| language | No | Which [tasks.<language>] block to run, in a polyglot repo. Omit for the primary. A language with no commands is refused, naming those that have them. |