12vectors / bench docs for 0.4-alpha
bench docs GitHub ↗
ConceptsThe three-layer law

The three-layer law

Core knows tasks, worktrees, PRs and events. Drivers know apps, adapters know agent vendors, local/ knows your project.

Core knows about tasks, worktrees, PRs and events. It knows nothing about any particular app (drivers do: manager/local/driver/start), agent vendor (adapters do: manager/core/adapters/), or project (manager/local/ does).

The consequence is what makes an update safe: update.sh replaces manager/core/ wholesale, and everything a project taught bench about itself lives outside it. Full docs in AGENTS.md — the file the docs site is cut from, and the one an agent working in your repo reads; the adapter contract in manager/core/adapters/README.md.