Run one Nisi workflow locally
agiw_nisi_runRun a Nisi draft, test, review, and repair workflow on provided file contents in an isolated temp directory, returning proposed changes and a report without editing project files.
Instructions
Run one Nisi v0.3.2 workflow (draft, syntax check, tests, independent review, bounded repair) on file CONTENTS you pass in, using the configured local author and reviewer models. Runs in a private temporary directory that is removed afterwards. Never reads or writes project files and never executes generated code; returns proposed contents and Nisi's report for you to review and apply yourself. Tests are the built-in checks (some file changed, no empty file) plus optional contains/not_contains assertions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "agiw_nisi_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What to change, in plain language. | |
| files | No | Current contents of the files the models may change (relative paths). | |
| ticket | No | Optional claim ticket (required when config require_ticket is true). Admitted before the run starts; every proposed path must be within writeScope. Cooperative exclusion, not independent authorization. Refused on overlap with an admitted ticket; released afterwards. | |
| new_files | No | Relative paths the author may create. | |
| assertions | No | ||
| repair_budget | No | ||
| timeout_seconds | No | ||
| acceptance_criteria | No |