Pin the harness version
Install a version of Claude Code and keep every run on it, so that your runs, and every machine that uses the same configuration file, such as CI's, run the version you tested. You end with a pin in your configuration and the command that removes it. The version numbers in the samples are examples; yours differ.
Install a version
pandra harness install installs the newest stable release, and says which installation runs use until you pin it:
pandra harness install claude-codeInstalled claude-code 2.1.326
In use: claude-code 2.1.285 on PATH
To use 2.1.326 in every run:
pandra harness use claude-code@2.1.326To install another version, name it, as in pandra harness install claude-code@2.1.285.
Pin it
Run the command that pandra harness install printed, then list the installations:
pandra harness use claude-code@2.1.326
pandra harness listThe pinned one shows yes (pinned) under IN USE:
HARNESS VERSION SOURCE PANDRA SUPPORT IN USE
claude-code 2.1.326 managed yes yes (pinned)
claude-code 2.1.285 PATH yes nopandra harness use writes the pin to your configuration file, so a machine that uses the same file runs the same version, and downloads it on its first run.
Run another version once
To try another version in one run, without changing the pin, name it with --harness-version. Pandra downloads it on first use:
pandra run . --harness-version 2.1.285Stop pinning
pandra harness unuse removes the pin, and runs use the harness on PATH again, or the newest managed one when none is on PATH:
pandra harness unuse claude-code