# airdress.agent.*

{/* Generated by scripts/generate-event-reference.mjs from https://schemas.airdress.co/operator/events/v1.json (operator v0.1.138).
    Do not edit by hand: run `pnpm generate:event-reference` and commit the result. */}

The events in the `airdress.agent` family. How to read a section, and what
each audience means, is on the [event reference](/events/) page.

## `airdress.agent.root_key_diverged`

Owner warn Functions

The root key pinned for this airdress is not the agent's sealed root key: peer clients reject the agent's credential until the divergence is resolved.

**Audience: owner.** About the airdress as a whole. Only the owner receives it: the owner's devices and the owner's subscriptions.

**Where it goes**

- **The operator's journal**, as one log line at this level, and **the event log**, where `airdress events tail` reads it.
- **Subscriptions** that name it, within its audience.
- **Functions bound to this operator's events** (`source: operator`).

**Versions**

- Version 1: first carried by operator v0.1.138.

**Data**

| Field | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| `airdress` | string | yes |  |

<details>
<summary>JSON Schema</summary>

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "The root key pinned for this airdress is not the agent's sealed root key: peer clients reject the agent's credential until the divergence is resolved.",
  "properties": {
    "airdress": {
      "type": "string"
    }
  },
  "required": [
    "airdress"
  ],
  "title": "AgentRootKeyDiverged",
  "type": "object"
}
```

</details>

## `airdress.agent.root_key_pinned_on_first_contact`

Owner info Functions

A federated peer's root key was pinned the first time it was seen (trust on first use). The key itself is not in the event.

**Audience: owner.** About the airdress as a whole. Only the owner receives it: the owner's devices and the owner's subscriptions.

**Where it goes**

- **The operator's journal**, as one log line at this level, and **the event log**, where `airdress events tail` reads it.
- **Subscriptions** that name it, within its audience.
- **Functions bound to this operator's events** (`source: operator`).

**Versions**

- Version 1: first carried by operator v0.1.138.

**Data**

| Field | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| `airdress` | string | yes | The peer airdress whose root key was pinned. |

<details>
<summary>JSON Schema</summary>

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "A federated peer's root key was pinned the first time it was seen (trust on first use). The key itself is not in the event.",
  "properties": {
    "airdress": {
      "description": "The peer airdress whose root key was pinned.",
      "type": "string"
    }
  },
  "required": [
    "airdress"
  ],
  "title": "PeerRootKeyPinned",
  "type": "object"
}
```

</details>