
Claude Code 2.1.330: Scoped Monorepo Runners with --start-dir
We break down Claude Code 2.1.330's new --start-dir flag and SELF_HOSTED_RUNNER_START_DIR environment variable, which let self-hosted runners target monorepo subfolders without losing root settings or hooks. We also cover new runner cold-start metrics, Enterprise Admin Console sign-in support, and key reliability fixes for parallel worktrees and headless CLI runs.
Chapter 1
Self Hosted Runner Start Dir and 2.1.330 Fixes
Lachlan Reed
Good morning, folks. Today's episode of the Claude Code Changelog is brought to you by Jellypod AI. We're looking at Claude Code version 2.1.330, released November 20, 2026. Last time we covered the new easel terminal charts, but 2.1.330 also shipped a major workflow upgrade for teams running self hosted runners in monorepos.
James Turner
That's right. The headline change here is the new double dash start dir flag and its matching environment variable, SELF_HOSTED_RUNNER_START_DIR. If you've ever tried to point a self hosted runner at a single service inside a massive monorepo, you know how messy that used to be.
Lachlan Reed
Oh, tell me about it. You'd either drop Claude into the repository root and watch it burn context figuring out which package matters, or you'd hack together a wrapper script that broke your root configuration. With double dash start dir, you can instruct Claude to begin its work directly inside a specific subfolder of the repository.
James Turner
And the key detail is how configuration loads. Even when you pass double dash start dir or set SELF_HOSTED_RUNNER_START_DIR, Claude Code still loads your repository root settings and hooks just as it would without the flag. You get the scoped working directory for the task, without losing your global lint rules, permissions, or session hooks.
Lachlan Reed
For teams managing orchestrators, 2.1.330 also adds two new timing metrics to the self hosted runner's slash metrics endpoint. First is claude_code_self_hosted_runner_order_to_registered_seconds, which tracks the seconds from when a work order is issued to when registration is accepted on orchestrator spawned runners.
James Turner
The second one is claude_code_self_hosted_runner_order_to_first_session_seconds, measuring the time from work order to the first session being handed over on runners started for a session. If you're debugging cold start latency in your CI or runner pool, those two metrics give you exact visibility into where the bottleneck sits.
Lachlan Reed
One caveat to watch out for on cloud and self hosted runners: 2.1.330 adds a new notice when a plugin marketplace cannot be fetched because its repository isn't one of the session's repositories. And on self hosted runners specifically, if Anthropic managed git refuses a plugin's own repository, you'll now see a notice naming the plugin and what to do next.
James Turner
Moving on to the smaller quality of life and reliability fixes in 2.1.330, there's a big one for enterprise teams. After running claude auth login, Claude Code now supports signing in to organizations managed in Anthropic's Enterprise Admin Console. It automatically applies the organization's settings and routes through its cloud provider or gateway.
Lachlan Reed
And if you're scripting around auth or hitting an error with the short sign in URL, you can now set CLAUDE_CODE_FULL_SIGN_IN_LINK equals 1. That prints the full sign in link so your script can parse values directly from it, or you can see what's actually going on.
James Turner
For anyone automating plugin setups, claude plugin install with double dash json now includes two new boolean fields: commandPrinted, which is true when the install command wrote to stderr, and commandFailed, which is true when it exited with an error, was killed, or timed out. That makes CI checks around plugin installations much more reliable.
Lachlan Reed
Speaking of reliability, they fixed a nasty worktree bug. Previously, ExitWorktree and the worktree exit dialog could delete a worktree that another running Claude Code session was actively working in. That's now blocked, which saves a lot of headaches if you run parallel sessions.
James Turner
On the headless CLI side, claude dash p now prints an error and exits 1 when writing output to a file on a full disk, instead of silently exiting 0. Keep in mind, though, the changelog notes that a full NFS export may still go unnoticed. They also fixed environment variables written by a SessionStart hook being lost when you run claude dash p with double dash continue.
Lachlan Reed
And two quick ones to wrap up. Slash ultrareview now stops and names both folders if your shell moved into another repository, instead of reviewing the wrong code. Plus, concurrency bugs that caused user settings, claude plugin installs, and task metadata to be lost when multiple processes ran at once are fixed, and slash mcp now cleanly separates Plugin MCPs from Other MCPs. Go update to 2.1.330 and give start dir a try.