# Verify your connection

Verification should name the exact signal, its observation time, and what was proven. A previously accepted event is useful history, but it is not a fresh integration test.

## Proof stages

| Stage | What it proves |
| --- | --- |
| Durable acceptance | A valid receipt confirms the request committed to the ingestion WAL. |
| Evidence readback | The exact service and occurrence can be read within retention. |
| Processed | The receipt worker completed processing; inspect any evidence-gap flag. |
| Notification queued | An applicable policy created an outbox item. |
| SMTP accepted | The configured SMTP server accepted the message. |
| Inbox received | A person or separately controlled mailbox must verify arrival. |

Read processing and notification status at `GET /api/v1/workspaces/{workspace}/receipts/{receipt}` using read authority. Missing notifications can mean no matching rule, suppression, cooldown, or the notification budget; do not convert that into a delivery claim.

## Console verification

On a service's page in the console, get or rotate its ingest credential (or add a service on its project's page), save its configuration, then choose **Send a fresh test event**. This action submits one synthetic error. An uncertain attempt keeps its run identity for retry in this browser session. A completed attempt permits a new run with new identities.

The console reports acceptance, exact readback, processing, and email separately. Its synthetic event proves the connection from the console, not that your application reports terminal failures.

## CLI verification

```sh
logmastctl verify
logmastctl verify --run-id PERSISTED_RUN_UUID
```

The CLI persists a new verification run before sending. Without `--run-id`, an interrupted run resumes; after successful completion the next invocation creates a fresh run. An explicit completed run returns its historical proof with `historical: true`. Original enrollment state remains compatible and contains its separately scoped ingest credential.

Persist a new run UUID for each deliberate new test, and repeat the same UUID for uncertain outcomes. Synthetic submissions require user authorization.

## Verify the application itself

Instrument the terminal error boundary in the application, deploy its configuration, and trigger one controlled failure in an authorized environment. Record that occurrence's ID, service, environment, observation time, and investigation URL. Confirm the exact event and its expected code/context.

Do not manufacture a pass by replaying the onboarding event. For repeatable business assertions, use a [named verification check](/docs/checks/), implemented and executed by the application.

## Independent operational verification

Run the CLI verification from an external scheduler with its own read and ingest credentials in private storage. Treat command failure, a stale observation, an unprocessed receipt, or exhausted delivery as a failed operational check. Notify through an independent channel. The server's `/health` endpoint reports process liveness only; it does not prove database, worker, or email readiness.
