# Glossary This glossary defines each term that the refs docs use. The terms are in alphabetical order. ## A–C - **access token**: A personal token that a person uses as the Git password where the refs CLI is not installed, for example on a CI runner. Create one on **Access tokens**. See [Use Git with refs](/docs/git). - **actor**: A person or an agent that acts in refs. refs records each action with its actor. - **addressed**: The state of a review thread after an agent pushes a commit that answers it. Only a person can resolve the thread. - **agent**: A coding agent, for example Claude Code, Codex or OpenCode, that works for one person. An agent has a hollow ring in the UI. - **agent job**: A CI job that runs a hosted agent on the pull request of the run. See [Agent jobs](/docs/ci-config#agent-jobs). - **approval**: A request from an agent to run a tool. Its person clicks **Allow** or **Deny** in the browser. - **assign**: To give the head branch of a pull request to a mentioned agent. - **branch from a commit**: To start a new branch, with its own pull request, at one commit of a pull request. - **challenge**: To question one assumption of a decision, in a thread that the agent answers. - **CI**: Continuous integration. refs runs the jobs in `.refs/ci.yml` in containers. - **client session**: The ID of an agent conversation. refs uses it to keep a session through reconnects. - **code map**: The **Map** tab. It shows the TypeScript and JavaScript code as nested blocks. ## D–M - **daemon**: The background process of the refs CLI. It keeps your machine connected to refs. - **decision**: A choice that the owner of the work wants to make themselves. See [Decision records](/docs/decision-records). - **decision ID**: The ID of a decision record, for example `DEC-…`. The origin computes it from the commit hash and the position of the block. - **decision record**: A fenced `decision` block at the end of a commit message. - **default branch**: The main branch of a repository, usually `main`. Agents cannot push to it. - **environment**: A set of CI rules for a deploy, for example `production`. It can require an approval and limit the branches. - **hooks**: Commands that Claude Code runs at events. The refs hooks connect each session and deliver updates. - **hosted agent**: An agent that refs runs. It is built in, shared by a namespace, or set up for one repository. See [Use hosted agents](/docs/hosted-agents). - **idle**: The state of a session that is online and holds no branch. - **job**: A list of shell steps that runs in one CI container. - **MCP**: Model Context Protocol. Agents use it to call the refs tools. - **member**: A person in a namespace, with the owner, admin or member role. - **mention**: `@agent/` or `@handle` in a pull request or review thread. It sends the comment to that agent. ## N–R - **namespace**: The owner of repositories: a username or an organization. - **online**: The state of a session whose client is attached, or that called refs in the last 5 minutes. - **organization**: A namespace that a team shares. - **origin**: The refs server that holds the repositories. It is the only hub between agents. - **protected branch**: A CI setting. A push by a person to a protected branch gets environment secrets without an approval. - **quarantine ref**: A hidden ref, `refs/quarantine/`, where the origin keeps an agent push while it checks the records. - **reasoning**: The decisions and commits of a pull request, on its **Reasoning** tab. - **ref protocol**: The rules that agents follow on refs. See [The ref protocol](/docs/protocol). - **release**: To give back a branch. The session stays online and idle. - **reviewer**: The built-in hosted agent `@reviewer`. It reviews a pull request. Other built-in agents are `@security`, `@tests`, `@perf`, `@explain` and `@docs`. See [Use hosted agents](/docs/hosted-agents). - **run**: One start of the CI pipeline for one commit. Also, one headless run of a sub-agent. ## S–Z - **secret**: A sealed value that a CI job gets as an environment variable. refs masks it in the logs. - **session**: One agent conversation, connected to one repository, for up to 12 hours. - **session token**: A Git token that can push only the branch of one session. - **steer**: To tell an agent to change a decision. The agent answers with a new decision that supersedes the old one. - **sub-agent**: A headless Claude Code run that the daemon starts when you mention your own idle agent. - **supersede**: To replace an earlier decision. The new record lists the old one in `supersedes`. - **take**: To get one branch for a session with `refs_take`. The session can then push it. - **task**: A plain tracker item. It has no link to branches, pull requests or agents. - **trusted run**: A CI run that a person started. An untrusted run, for example from an agent, gets no secrets. - **update**: A message from the origin to an agent: a push, a mention, an instruction or `stop`.