Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.328 ·

Self-hosted runner can use your own repository folders with --repository-folder

The self-hosted runner gains --repository-folder and SELF_HOSTED_RUNNER_REPOSITORY_FOLDER to use existing checkouts at capacity 1, plus clearer fatal errors

Group of 2 Use it now New Features
JSON All of v2.1.328
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Self-Hosted RunnerArea: what it touches
New FeaturesKind: in v2.1.328,
What probably matters to youSection of the release

What

A self-hosted runner is a program you run on your own machine to host Claude Code cloud sessions. It can now be pointed at repository folders you already have, instead of making a fresh copy (worktree) for each session.

  • A new repeatable --repository-folder flag, and the SELF_HOSTED_RUNNER_REPOSITORY_FOLDER variable, take a comma list in the form <owner>/<repo>=<folder> or <owner>/*=<folder>/*. Other shapes are rejected.
  • It only works at --capacity 1. There the runner checks the folders at startup and rules out its own paths, such as its program path, hooks folder, log file, pool secret and client certificate and key. A conflict stops it with a [runner:fatal] line.
  • Above capacity 1 it warns: "--repository-folder does nothing at --capacity above 1: sessions get worktrees of their own".
  • If a checkout hook prepares the repository, the folder is ignored and a warning is logged.
  • Processes the runner starts have SELF_HOSTED_RUNNER_REPOSITORY_FOLDER cleared from their environment.

Other runner changes found with it:

  • A fatal startup error is logged as a [runner:fatal] line, reported against any assigned sessions with a 4 second timeout, and the runner deregisters with a matching reason.
  • If every repository was added after the session was created and none could be prepared, the session now starts with no repository instead of failing. Skipped repositories carry a reason.
  • Git clean-up failures are reported as a filesystem setup failure.
  • After a crash, the saved error output keeps the runner's own words.
  • While waiting to drain, busy-session counts come from a different session list.
  • The standalone agent proxy is now handled as a separate case.

Why

Operators running a single-session runner can work in their own checkouts. Misconfigured folders now fail clearly at startup rather than causing confusing session errors.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeSelf-hosted runner: Added --repository-folder to name the folder that sessions use for a repository at --capacity 1, in place of its path…

See this entry in the whole of v2.1.328 →

Feedback