PCBBugs Runner Licence 1.0

Copyright 2026 Lawrence Collier. All rights reserved.

This file covers **the runner and nothing else** — the program published as the
`@pcbbugs/runner` package, which you install on your own machine so that a
PCBBugs workspace can run agent work there. The rest of PCBBugs, including the
server the runner talks to, is covered by `LICENSE` in the main repository and
that file grants nothing without a signed agreement. This one is different on
purpose: a hosted customer has to be able to download and run the runner, and a
licence that made them ask first would be a product that does not work.

In short, and the terms below are what actually count:

  * **If you have a PCBBugs workspace, you may run the runner.** Download it,
    install it on as many of your own machines as you like, connect them to
    your workspace, and update it. No agreement to sign and nothing to ask.
  * **That is the whole of the permission.** It is not a licence to change the
    runner, to pass it on, to run it for somebody else, or to use it for
    anything other than connecting your machines to your own workspace.
  * **It lasts as long as your workspace does.** When the workspace ends, so
    does this.

--------------------------------------------------------------------------

# PCBBugs Runner Licence 1.0

## The Grant

While you hold a valid PCBBugs workspace — a hosted workspace under the hosted
terms, or an installation you run under a written self-hosted agreement with
the licensor — the licensor grants you a non-exclusive, non-transferable,
royalty-free licence to:

- download and hold copies of the runner;
- install and run it on machines you own or otherwise control, in any number,
  for the sole purpose of performing work for that workspace;
- make copies of it to the extent installing, backing up and updating it
  requires.

The grant is to you. If you are an organisation it extends to the people who
work for you, on your machines, for that workspace, and to nobody else.

## What Is Not Granted

Everything else. Without limitation, this licence does not permit you to:

- modify the runner, or make a work based on it, except where the law says a
  term forbidding that is unenforceable;
- distribute it, publish it, sell it, host it as a service, or make it
  available to anyone who does not hold their own workspace;
- run it for the benefit of a workspace that is not yours;
- remove or alter any notice in it, including this file;
- use the name PCBBugs, or any other name, logo or trade mark of the licensor.

Reverse engineering the runner in order to build something that speaks to a
PCBBugs server in its place is not permitted. Reading it to satisfy yourself
about what it does on your machine expressly is: it is published as source, it
runs unattended on hardware you own, and nobody should be asked to take that on
trust.

## Term

This licence begins when you first hold a workspace and ends when you no longer
do. When it ends you must stop running the runner and delete your copies of it.
Nothing else about your workspace ending is decided here — the hosted terms and
any self-hosted agreement say what happens to your data.

## Your Machine

The runner clones your repositories, runs your builds and your tests, and lets
an agent CLI edit a working copy unattended, as the user you install it as. The
licensor operates none of that and can see none of it. Section 10 of the hosted
terms says the same thing at more length, and this file does not narrow it.

## Third-Party Components

The runner has no dependencies. It runs on Node.js, which is not part of it and
is under its own licence.

## No Warranty, No Liability

***As far as the law allows, the runner comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the runner, under any kind of legal
claim.*** A written agreement may say otherwise for the person it is with, and
then that agreement governs.

## Definitions

The **licensor** is Lawrence Collier, the copyright holder, and anyone the
licensor authorises to grant licences on the licensor's behalf.

The **runner** is the program published as the `@pcbbugs/runner` package, in
source or any other form, including the parts of the PCBBugs repository that
package is built from.

A **workspace** is an installation of PCBBugs you use: a hosted workspace the
licensor operates for you, or one you run yourself under a written agreement
with the licensor.

The **hosted terms** are the terms under which the hosted service is offered,
served at `/terms` and written in `HOSTED-TERMS.md`.
