# Operator Agreement

**Pre-launch version.** DevGrail is not available to the public yet, and this
agreement is not finished. It can change at any time until DevGrail launches.
Each change reaches your installation as a new version, as described
under Changes to this agreement.

## About this agreement

This agreement is between the DevGrail provider and the operator of a DevGrail
installation: the person or organization that runs it on their own server. The
administrator who accepts it declares that they have the authority to accept it
for the operator. It covers this installation only.

Each person who uses the installation, administrators included, accepts the
User Agreement for themselves. Accepting this agreement does not accept the
User Agreement for anyone else.

## Your installation

DevGrail runs on a server you provide and control. You are responsible for that
server, for who you let use the installation, for keeping it secure and backed
up, and for using it lawfully. The DevGrail provider has no access to the
installation, its workspaces or their files, and receives none of them.

Accounts, workspaces, files and everything else stored in the installation are
yours to manage. Where they include personal data about the people who use the
installation, you are responsible for that data.

## Installation heartbeat

Accepting this agreement starts the installation's heartbeat: a report to the
DevGrail site the installation was installed from, sent each time the DevGrail
server starts and then about once a day, or more often, at most hourly, when
the DevGrail site asks, together with this acceptance. It cannot be turned off.

A heartbeat contains random installation, instance, run and report IDs, a
sequence number, the DevGrail release, the operating system and the CPU
architecture, plus `entitlement_sha256` (a checksum of the plan document it
received) and `entitlement_applied` (which part of that document applies now).
It contains nothing about users, workspaces or usage. The Privacy Notice
describes each field, why it is sent and how long it is kept.

Separately from the heartbeat, and whether or not this agreement has been
accepted, the installation checks the DevGrail site for updates about every 6
hours, and every request it makes to that site names its release. These
requests carry no installation ID and nothing about users, workspaces or
usage; the Privacy Notice describes them.

As the operator, you tell the people who use this installation that it sends
the heartbeat, and the usage report when its plan is billed by usage. DevGrail
also shows them on its Agreements & privacy page.

## Plans and limits

The installation runs on its assigned plan, including any custom terms. The
plan's limits, features, end date and any plan that follows are shown in
Settings -> Plan. No particular plan name, limit or price is fixed by this
agreement. The DevGrail provider may change which plan is the default for new
subscriptions and for installations whose subscription ends or lapses.

When a time-limited subscription ends, a scheduled follow-up takes effect; if
none is scheduled, the installation moves to the current default plan. When a
subscription otherwise ends or lapses, it moves to that default. Custom terms
end with the subscription unless expressly carried into another term. Existing
users, workspaces and running work are not disabled, deleted or stopped because
of reduced limits. The installation refuses new actions that would exceed a
hard limit, including adding or enabling users, creating workspaces or starting
additional stopped workspaces.

You must not circumvent the installation's plan or limits, including by
altering its stored entitlement document or blocking the heartbeat to retain
an earlier plan. A received plan document remains valid for 30 days. Without a
newer document after that time, the installation uses the last default plan
it received. A temporary outage does not stop existing work.

## Plans billed by usage

A plan can be billed by usage, for example per enabled user account. On such a
plan the installation sends a usage report after each heartbeat: for each
completed day, the highest count of each meter the plan bills on, counted every
hour. Settings -> Plan says which counts are sent and when. A plan that is not
billed by usage sends no usage report.

The charge for a billing period is based on the highest daily count in it. A
day without a report counts as the last day reported before it in the same
period. You must not prevent, alter or falsify usage reports, for example by
blocking them or editing the counts the installation keeps.

## Supported releases and plan checks

The DevGrail provider may mark a release outdated or retired, for example after
a security fix, and may announce a date by which an outdated release should be
updated. An outdated release asks administrators to upgrade. A retired release
is no longer supported; its plan is not changed. It gets no more fixes, its
administrators are reminded to upgrade, and online services of the DevGrail
site, such as official scripts and skills, may stop working with it. Existing
work is not stopped. Administrators can see the release status, the reason and
any date in the dashboard.

The heartbeat's entitlement checksum and applied-part fields let the DevGrail
provider check whether an installation applies the plan document it was sent.
Repeated mismatches may be flagged for review, and the provider may contact the
operator about them. A flag alone does not change a subscription or stop work.

## Warranty and liability

DevGrail is provided as it is. To the extent the law allows, the DevGrail
provider gives no warranty that it is free of errors or fit for a particular
purpose, and is not liable for lost data, lost profit or indirect loss. You keep
your own backups of anything that matters to you.

Nothing in this agreement limits liability that cannot be limited by law, such
as liability for intent or gross negligence.

## Ending this agreement

You can end this agreement at any time by uninstalling DevGrail. The heartbeat
and any usage report stop with it. Ending the agreement does not end what is
already owed for a past billing period.

If you break this agreement, for example by circumventing the plan or its
limits, the DevGrail provider may end the installation's subscription. The
installation then moves to the default plan as described under Plans and
limits.

## Changes to this agreement

New versions of this agreement are published to every installation. A version
that only fixes wording does not ask anyone to accept it again. Any other new
version must be accepted by an administrator. Administrators who accepted an
earlier version keep access for 30 days after the new version reaches the
installation; after that, DevGrail asks for the new version to be accepted
before it can be used again.

## Applicable law

This agreement is governed by the law of the country where the DevGrail
provider is established, without regard to its conflict-of-law rules.
