Skip to Content
harness-kit

Glossary

The words the docs use for what harness-kit is made of, each with what it means and the words the docs avoid for it.

The docs use these words in one sense each. A page links a term to its entry here where it first uses it.

Adapter

The layer through which harness-kit reaches one outside tool behind a contract (a forge, a tracker, docs, project resolution), in-process or as an executable speaking the JSON protocol; core names only the contract, never the tool.

Not to be called: Integration, plugin, connector, driver.

Decision

What a Policy answers for one hook call: allow, deny, ask, context or block-stop, with a reason that names the fix. The dispatcher merges the Decisions of every matching Policy into one reply: the first deny wins, block-stop reasons are joined.

Not to be called: Verdict, result, outcome.

Gate

A named check a repository must pass (test, lint, …), resolved from the repository's list, its kind's defaults and derived rules, and run under a time limit and a lock per repository that leaves a one-line finish record.

Not to be called: Check, step, job.

Package manager

The tool that installs a project's Node packages, which harness-kit names for each project (npm, pnpm or bun) from its configuration's packageManager, else the nearest packageManager field or lockfile; it decides the install command, the program runner and where installed packages lie. Yarn is known only as a manager whose commands a preset refuses.

Not to be called: Installer, package tool, npm (for every manager).

Policy

One guardrail: the hook events and matchers it applies to, an effect that returns a Decision, a fail mode (open or closed) and a timeout. Config entries and custom code both produce Policies.

Not to be called: Hook, rule, guard, primitive.

Project

What the project catalog (or a project source command) says about a repository, looked up by its name: group, kind, stack, gates, deploy branches and the group's tracker, docs, notify and errors fields. A repository the catalog does not list is not listed, a failure of its own, never a project without fields.

Not to be called: Repo entry, manifest entry, working copy.

Preset

A ready-made config value for a common tool (kubectl, a package manager, a formatter, git conventions) that a user spreads into their config and overrides; data over the built-in Policies, never a code path of its own.

Not to be called: Profile, template, recipe.

Stack

The ecosystem a folder belongs to (ruby, node, kustomize by default), detected by the first configured stack whose marker file the folder holds; a Policy scoped to a stack runs only where the nearest folder up to the repository root holds its marker, and works in that folder.

Not to be called: Language, toolchain, plugin.

Touch

A harness's record that the session changed a branch in a working copy, written by post hooks; stop checks judge only what the session touched, so a session with no Touch is never blocked.

Not to be called: Mark, footprint.

On this page