code_check
Runs tests, type checks, and lint checks after code edits, records commands and results as task evidence, and previews exact commands before execution. Supports background runs for long test suites.
Instructions
Run test/typecheck/lint after editing — records commands + results as task evidence; better than raw shell. Previews exact commands first; async:true for long suites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | true = execute. | |
| async | No | Background; query code_control. | |
| checks | No | Default [test]. | |
| task_id | Yes | Task id. | |
| timeout | No | Per-stage ms (30000). | |
| workdir | No | Subdir; verification stages run here (tsc-check dir equivalent). | |
| verifier | No | protocol default; or exit. | |
| request_id | No | Idempotency key. | |
| workspace_dir | Yes | Project root (abs). | |
| expected_state_revision | No | Guard. |