# License

Harness Maxxing is **free** and **fair source** (source-available): its code is public on GitHub and published under the
[Harness Maxxing Fair Source License](https://github.com/makushingu/harness-maxxing/blob/main/LICENSE).
No license key is needed to install it or to get updates: the installer clones the public git repository
and `maxxing update` pulls from it. A key is only for companies (see [Enterprise key](#enterprise-key-optional)).

## What the license allows

- **Use** Harness Maxxing for free, for any personal or professional purpose of your own.
- **Copy, modify, fork and redistribute** it, with or without changes, as long as the license and the copyright
  notice stay with every copy and modified copies say so.
- **Organisations**: one legal entity may use it for its own internal needs.

## What needs the owners' written consent

- selling, reselling, renting or licensing it (or a fork), or charging for distributing it;
- putting it in a paid product, offer or service (paid installation, setup or support built on it included);
- running it as a paid hosted or managed service;
- using the "Harness Maxxing" name or logo for a fork, a product or a service (saying truthfully that your work is
  based on Harness Maxxing is fine);
- using it for affiliates, subsidiaries, clients or other third parties of an organisation.

For any of these, ask for a commercial license: [Harness Maxxing Enterprise](https://harness-maxxing.com/#enterprise).
The full text is the `LICENSE` file in the code folder (`/opt/claude-maxxing/LICENSE`).

## Saying hello (optional)

Nobody has to tell us anything. **Settings → Profile** has a card **Stay in touch** with three choices, all
optional (the onboarding step **About you** only asks for the email):

| Choice | What is sent to `api.harness-maxxing.com` |
|---|---|
| **Help count the installations (anonymous)** - checked by default | once a day: a random number the server got the first time, the Harness Maxxing version, the system (for example `Ubuntu 24.04`, `x86_64`) and up to 10 short health codes (see below). Nothing else: no name, no email, no IP or server name, no file path, no content. |
| **Email** | your email, your pseudo (Settings → Profile) and the interface language, so we can warn you about a security issue or a breaking change. Never shared, never sold. |
| **Also send me the product news** (needs an email) | the same, plus a few product emails a month at most. |

The health codes tell us whether servers run well, never what they do: `service_ok` / `service_down` (the Harness
Maxxing, Caddy and cron services), `claude_signed_in` / `claude_signed_out`, `update_failed` (the last update was
rolled back), `telegram_on`, `backup_on`, and the codes of the health panel's warnings (`disk_full`, `low_memory`,
`cron_failed`, `login_failures`, `backup_never`, `backup_old`, `backup_failed`). The country is guessed by our
hosting provider from the connection; the IP address itself is never stored.

**Turning the counter off**: uncheck **Help count the installations** in Settings → Profile. To make sure it stays
off whatever the setting (for a fleet of servers, an image), set `MAXXING_NO_TELEMETRY=1` (or the common
`DO_NOT_TRACK=1`) in the service environment: `systemctl edit claude-maxxing`, add

```
[Service]
Environment=MAXXING_NO_TELEMETRY=1
```

then `systemctl restart claude-maxxing`. The checkbox then shows it is turned off on this server.

Unchecking everything (or **Stop, don't contact me**) stops it: the server sends nothing more and is never contacted
again (security alerts included). To have what we have about it erased, ask us (see
[harness-maxxing.com/privacy](https://harness-maxxing.com/privacy)). A new installation asks the question in the
terminal (`ANON_COUNT=1` or `0` answers it in advance; without a terminal and without an answer, nothing is sent).
On servers installed before, the counter is on by default since 2.0.0a94: an
update turned it on once for servers where nobody had ever answered this choice; a server where someone had seen it
and left it unchecked keeps it off. An update never turns on the email or the news.

## Feedback (bugs, ideas)

**Feedback** at the bottom of the sidebar (on a phone or a tablet: **Apps** → **?** → **Feedback**) writes to the Harness Maxxing
team: pick **Bug**, **Idea** or **Other**, write your message and give your email. The email is required: it keeps
spam away and lets us answer you (a confirmation is sent there). The server sends to `api.harness-maxxing.com`
your email, your message, its type, the Harness Maxxing version, the interface language and your pseudo (Settings →
Profile, written under the message before you send it) - nothing else: no logs, no files, no session content. The last email used is filled in next time (the first
time: the one of Settings → Profile → Stay in touch, if any).

**Your Harness reads the message first.** When you press **Send**, the Claude of this server (your own Claude
account, a few seconds, read-only: it looks things up in the installed documentation and can change or run nothing)
checks what the message is:

- a real bug, or an idea that would serve every user: it is sent to the team as before. A bug report is sent
  unless your Harness can point to what explains it for sure;
- a question, a setting, something that already exists: the answer is shown in the window and **nothing is sent**;
- a bug in what your installation changed (a customization of the product, your own extension or theme): your
  Harness says so and offers to fix it here - the team cannot fix what only exists on your server;
- a change that concerns your installation only (another model, a local model or a custom endpoint, another API or
  account, a tool of yours to connect, a personal layout): Harness Maxxing is yours to change, so your Harness can do
  it here. The window says so, shows the request it prepared, and **Open a session** starts a session with it.

**Open a session** is also there after an answer, to go further. If the answer misses the point, **Send to the team
anyway** sends your message as written (the team sees that your Harness had answered it), and
**Edit my message** goes back to the form. The check never blocks a message: when Claude is not signed in, is busy
or gives no clear verdict, the message is sent. The screenshot is never part of the check.

**Capture a zone** adds a screenshot: drag over the part of the screen to show (**Whole screen** or Enter = all of it, **Cancel** or Esc =
cancel). With **Hide my data (presentation mode)** checked (the default), presentation mode is on just while the
picture is taken, so names, numbers and messages come out as dots. The picture is taken in your browser and shown in
the window before you send it (**Remove** drops it); it is sent with the message only (WebP or JPEG, 1 MB at most).

## Donations

Harness Maxxing is free; donations fund its development. The **Donate** links carry a hand-and-heart icon in the app's
accent colour: **Settings → About** (last in the list of Settings), at the bottom of **What's new** and
after a **Feedback** is sent. They are only links: they open
[harness-maxxing.com/donation](https://harness-maxxing.com/donation) in a new tab (in the interface language: pay with
Lightning or Bitcoin), and the app never talks to a payment service. **Settings → About → Hide the Donate buttons**
removes them for every browser of the server (the About page keeps its Support card).

## Enterprise key (optional)

Only companies in one of the cases above need a key; nobody else has anything to do. Give it in
**Settings → About** (or in the onboarding step **About you**, box "I have an Enterprise license key"), or
`maxxing license activate`. The key is checked by `api.harness-maxxing.com` and counted on this server (one key =
one server). It changes nothing in how Harness Maxxing works: the code and the updates keep coming from GitHub.
**Remove the key** (Settings → About, or `maxxing license remove`) frees its place for another server.

| Command | What it does |
|---|---|
| `maxxing license status` | the key of this server (type, email, end date), or "no Enterprise key" |
| `maxxing license activate` | record a key (asked hidden; or `HM-…`, or `--key-from-stdin`) |
| `maxxing license remove` | forget the key and free its place |

The installer still accepts `LICENSE=HM-…` (scripts written before): the key is recorded at the end, the code
comes from GitHub like every install.

### Servers installed with a key before 2.0.0a87

They used to update from signed archives. Since 2.0.0a87 they **move to the public git repository by themselves**:
a few minutes after their next update (or at the next `maxxing update`) the code follows the `stable` branch of
`github.com/makushingu/harness-maxxing`, at the same version, with the customizations kept; the key stays (Settings
→ About). If it cannot move yet (no network, uncommitted changes in the code folder, an update being finished) it
tries again every few hours and `maxxing doctor` says why.

## What is sent to the license server

Only when a key is recorded or removed: the key, a one-way fingerprint of the machine (never the raw machine id),
its hostname, operating system and Harness Maxxing version; the license server also sees the IP address. Nothing
else, and nothing on a schedule (the daily status of the old signed-archive servers is gone).

Never sent: your files, sessions, prompts, memory, keys, project or topic names (a **Feedback** message carries only
what you typed and the screenshot you chose to add, see above).
Details: [harness-maxxing.com/privacy](https://harness-maxxing.com/privacy).
