Code review and refactoring
Ask NuBench to review the files in a directory, identify patterns that violate your team's conventions, and produce a refactored version. NuBench reads the actual files on your machine — not a pasted excerpt.
How it works — Dev Worker
The NuBench Dev Worker is a lightweight CLI that gives NuBench agents secure, bounded access to your local codebase. The agent logic runs in NuBench infrastructure. Tool calls — read a file, write a change, run a test — execute locally on your machine via an outbound-only HTTPS connection. No inbound ports. No VPN. No firewall changes.
Install the nubench-worker CLI via npm or Homebrew. The worker is a lightweight Node.js process. It requires no inbound ports, no VPN, and no firewall changes. The only network requirement is outbound HTTPS to NuBench — the same connection your browser uses.
npm install -g @nubench/worker or brew install nubench/tap/workerRun nubench-worker register in the directory you want to make available. The worker registers the workspace path with your NuBench session. The workspace boundary is declared at registration time and is immutable for the session — the worker cannot access files outside it.
nubench-worker register --workspace ./my-projectWhen a NuBench agent makes a file operation — read, write, edit, run a test — the agent loop running in the cloud dispatches the tool call to your local worker over the outbound HTTPS connection. The worker validates the HMAC-signed call, checks it against the allow-list, executes it within the registered workspace, and returns the result.
The agent logic runs in NuBench infrastructure. Your files never leave your machine.
Every security property of the Dev Worker was designed with the assumption that the network path between your machine and NuBench infrastructure could be compromised. These are the controls that hold even in that scenario.
Ask NuBench to review the files in a directory, identify patterns that violate your team's conventions, and produce a refactored version. NuBench reads the actual files on your machine — not a pasted excerpt.
NuBench can run your test suite, read the failure output, identify the root cause, propose a fix, apply it, and re-run the tests — all in a single governed conversation with full audit trail.
Describe a change that spans multiple files. NuBench reads the relevant context across your codebase, drafts the edits, and applies them — with every write operation logged and reversible with standard Git tooling.
The classification tier of the conversation in which the Dev Worker is active applies to all file operations in that session. A PHI-classified session enforces restricted model routing, PHI-eligible model selection, and PHI classification on any output written by the worker. Repository classification is assigned at connection time and cannot be downgraded after PHI or PII code has been committed to that repository.