Skip to content

Glossary

This page defines the project terms. Each entry gives the part of speech and the meaning of a term in these documents.

battery

Noun. A battery is a set of requests that a script sends to claustrum and to a reference build, to compare the frames of the two daemons. See Upstream tracking.

blob

Noun. The blob is the zstd archive of the CLI in the file that -cli-zst names. See -install.

busy

Adjective. A daemon that the host cleaner reads as in use, for example with a client connection, is busy. The host cleaner sends no SIGTERM to a busy daemon. See Host cleaner.

cleaner

Noun. The cleaner, or host cleaner, is a part of the daemon on Linux and macOS, for one socket layout only. At intervals it stops orphan Claude Code process groups and daemons that are not in use, and it removes stale run directories. See Host cleaner.

cli-dir

Noun. The cli-dir is the folder of the CLI version files of -install. The flag -cli-dir names it, with the default <home>/.claude/remote/ccd-cli. See -install.

containment

Noun. Containment is the rule that a path must be inside a given directory. For example, worktreePath must be inside baseRepo and not equal to it. See git.worktree_remove.

divergence

Noun. A divergence is a difference from the reference that claustrum has by decision. Each divergence has an entry in the divergence catalog.

drift

Noun. Drift is a difference from the reference that the project did not choose. A new reference build or a new toolchain can cause drift. See Upstream tracking.

driver

Noun. A driver is the client program that controls the daemon. Claude Desktop is a driver. See Architecture.

eviction

Noun. Eviction is the step in which a new daemon, before it binds the socket, stops the daemon that holds the same socket. It runs on Linux and macOS only. See daemon.lock.

facts line

Noun. The facts line is the __INSTALL_RESULT__<json> line that -install prints. It also carries a failure, in cliError. See __INSTALL_RESULT__ facts.

guard

Noun. A guard is a test that claustrum runs before an operation that can cause damage. If the input is dangerous, the guard refuses it. homeguard.WipesHomeDir is one. See D2.

held git directory

Noun. In the state shadow, git.worktree_create holds the git directory of baseRepo open until it replies. See The held git directory.

identity

Noun. This term has three uses:

  • The identity of a file or a directory is the value by which the OS identifies it. Two paths with the same identity lead to the same object.
  • The identity of a process is the set of values by which the daemon knows that process, for example its PID together with its start time.
  • The identity of a machine is the set of values by which the daemon knows the host and its PID namespace.

See daemon.lock.

leaf

Noun. The leaf is the worktree directory itself, the last component of worktreePath. See git.worktree_remove.

managed launcher

Noun. A managed launcher is a program that runs the Claude Code CLI on this host. On Linux and macOS the host administrator sets it in the managed settings files. See launcher.resolve.

orphan

Noun. This term has two uses:

parity

Noun. Parity is the condition in which claustrum behaves the same as the reference. A behavior that has parity is not a divergence. See Divergences.

pass

Noun. A pass is one full cycle of an operation through its items. For example, each run of the host cleaner is a pass. See Host cleaner.

pin

Noun. This term has two uses:

  • The pin is the one reference build that the project compares claustrum against at this time. The file scripts/UPSTREAM_SHA holds its SHA. See Reference builds.
  • A pin is a value that the daemon gives to a git call and that the git configuration cannot change. Examples are the GIT_COMMON_DIR pin and the hook pins.

probe

Noun. This term has two uses:

  • A probe is a test that claustrum runs on a program to find its state. Examples are the <cli> --version probe of -probe-cli and the libc probe. See -probe-cli.
  • A probe is a measurement of a reference binary that uses only its inputs and its outputs. See Upstream tracking.

reconciliation

Noun. Reconciliation is the work that makes claustrum agree with a new reference build. See Upstream tracking.

reference

Noun. The reference is the daemon that claustrum reimplements in a clean room. A git SHA identifies each reference build. In "protocol reference" the phrase names the document PROTOCOL.md. See Reference builds.

refusal

Noun. A refusal is a result in which an operation does not happen because a rule, a guard, the OS or another program rejects it. See catalog of error texts.

registration

Noun. A registration is the entry <git dir>/worktrees/<name> of a linked worktree. Its gitdir record names the .git file of the worktree. See After a failure.

run dir

Noun. The run dir (also: run folder) is the folder of the socket path. It holds daemon.token. On Linux and macOS it also holds daemon.lock and the child records. See daemon.lock.

seed

Noun. This term has two uses:

settings copy

Noun. The daemon's own copy of a repository's git settings. See The settings copy.

spelling

Noun. The spelling of a path is its sequence of characters. Two different spellings can lead to the same file. See Path handling.

stage

Noun and verb. This term has two uses:

  • To stage a file is the git operation that adds a change to the index.
  • A staging file or name is a temporary one that an operation uses until it completes. For example, -install writes the CLI to a staging file and then renames it. See -install.

stale

Adjective. A stale object is left over from an operation or a daemon that stopped, and it is not in use. Examples are a stale socket file, a stale run directory, and a stale worktree entry. See Host cleaner.

stamp

Noun. A stamp is a small piece of data that a program puts on an object to identify it. A build stamp identifies the build or the toolchain of a binary. See Reference builds.

state

Noun. The value of settingsControl: shadow, fallback-git or off-switch. See The settings copy.

success

Noun. A success is a response that contains "success":true. See Message shapes.

sweep

Noun. A sweep is an operation that goes through all the entries of a directory or a list and removes the entries that a rule selects. Examples are the sweeps of -install in the CLI directory and the sweep of the host cleaner. See -install.

undo

Noun. The undo is the rollback of git.worktree_create. If the rollback cannot complete, the daemon adds an undo text to the error. See After a failure.

wire

Noun. The wire is the byte stream of the JSON-RPC connection between a client and the daemon. A behavior that is off the wire changes no frame. The wire surface is the set of all the methods and frames that a client can see on the wire. See Transport.