# auth.md — VesperDryft Agent Registration & Authentication

> Official agent registration and authentication specification for **VesperDryft Solutions, LLC**. This document enables autonomous AI agents, security tooling, and procurement systems to discover registration pathways and contact VesperDryft on behalf of users or organizations in crisis.

```yaml
standard: "auth.md"
version: "1.0"
entity: "VesperDryft Solutions, LLC"
resource_server: "https://vesperdryft.com/"
authorization_server: "https://vesperdryft.com"
protected_resource_metadata: "https://vesperdryft.com/.well-known/oauth-protected-resource"
authorization_server_metadata: "https://vesperdryft.com/.well-known/oauth-authorization-server"
api_catalog: "https://vesperdryft.com/.well-known/api-catalog"
openapi_spec: "https://vesperdryft.com/api/openapi.json"
primary_contact_email: "contact@vesperdryft.com"
security_honeypot_email: "security@vesperdryft.com"
emergency_dispatch: "(701) 840-6203"
dispatch_tel: "+17018406203"
```

---

## 1. Authentication Philosophy: Zero-Login Emergency Intake

VesperDryft Solutions, LLC is a specialized Digital Forensics and Incident Response (DFIR) practice. **When an organization experiences a cyber breach, ransomware encryption, or active adversary lateral movement, authentication friction is catastrophic.**

For this reason, VesperDryft enforces an **Open Emergency Intake Doctrine**:
- **No Pre-Existing Account Required:** AI agents do NOT need an API key, pre-configured login credentials, or an active session to report an incident on behalf of a user.
- **Immediate Escalation:** Unauthenticated agents can submit incident telemetry, scope parameters, and user callback numbers directly to human investigators.
- **Zero Public Data Leakage:** The intake endpoint is write-only. It acknowledges receipts without echoing sensitive case information or client data.

---

## 2. Channels for Agents Acting on a User's Behalf

AI agents assisting human operators in an emergency or during retainer scoping may contact VesperDryft via three official channels:

### Channel A: Automated Web Intake API (Machine-to-Machine)
- **Endpoint:** `POST https://vesperdryft.com/api/contact`
- **Content-Type:** `multipart/form-data` or `application/x-www-form-urlencoded`
- **Specification:** [OpenAPI 3.1.0 Specification](https://vesperdryft.com/api/openapi.json)
- **Payload Requirements:**
  - `name`: Full name of user or technical lead
  - `organization`: Company or practice name
  - `email`: Contact email for investigator reply
  - `incident-type`: Classification enum (e.g., `"Active Incident"`, `"Priority Incident Response Retainer"`, `"Digital Forensics & Incident Response (DFIR)"`)
  - `message`: Technical narrative describing observed indicators or scoping goals
  - `phone`: Optional direct phone number for emergency voice callback

### Channel B: Email Dispatch on User's Behalf
- **Incident & Support Intake:** `contact@vesperdryft.com`
- **PGP Encryption:** Public key available at `https://vesperdryft.com/cirt-public-key.asc`
  - Fingerprint: `C0F1 627C 089C 7BC0 0B58  3ADE D46E 1735 0909 3370`
- **Security & Honeypot:** `security@vesperdryft.com` (Used strictly for RFC 9116 security vulnerabilities and crawler traps).

### Channel C: Voice & SMS Dispatch Line
- **Direct Telephone / SMS:** `+1 (701) 840-6203` (`(701) 840-6203`)
- Agents capable of telephony dispatch or drafting SMS alerts for human users should prioritize this line for active, out-of-band crisis containment.

---

## 3. Supported Registration & Authentication Flows

For services and agents implementing formal RFC 9728 / RFC 8414 metadata discovery, VesperDryft supports three operational profiles:

### 3.1 Anonymous / Public Intake (`anonymous`)
- **Profile:** Ideal for first-contact incident reporting and public inquiries.
- **Identity Type:** `anonymous`
- **Credential Type:** `unauthenticated_intake`, `bearer_token`
- **Flow:** Agent posts inquiry directly to `/api/contact`. No prior handshake or signature required.
- **Claim URI:** If the human operator subsequently requests persistent retainer onboarding, the engagement transitions to a signed Master Services Agreement (MSA) via `https://vesperdryft.com/contact`.

### 3.2 Verified Email Flow (`service_auth` / `verified_email`)
- **Profile:** For agents representing a client with a verified email address.
- **Identity Type:** `service_auth`, `identity_assertion`
- **Assertion Type:** `verified_email`
- **Credential Type:** `bearer_token`
- **Flow:** Agent includes client's verified work email in the intake payload. Confirmation is dispatched directly to that email with out-of-band verification.
- **Claim URI:** `https://vesperdryft.com/contact`

### 3.3 Identity Assertion (`identity_assertion` + ID-JAG)
- **Profile:** For enterprise agents bearing cryptographic identity assertions.
- **Identity Type:** `identity_assertion`
- **Assertion Type:** `urn:ietf:params:oauth:token-type:id-jag`
- **Credential Type:** `bearer_token`
- **Audience (`aud`):** `https://vesperdryft.com/`
- **Revocation:** Invalidation events supported via `https://schemas.workos.com/events/agent/auth/identity/assertion/revoked`.

---

## 4. Metadata Discovery Endpoints

- **OAuth Protected Resource Metadata (PRM, RFC 9728):**
  `GET https://vesperdryft.com/.well-known/oauth-protected-resource`
- **OAuth Authorization Server Metadata (RFC 8414):**
  `GET https://vesperdryft.com/.well-known/oauth-authorization-server`
- **API Catalog (RFC 9727):**
  `GET https://vesperdryft.com/.well-known/api-catalog`
- **OpenAPI 3.1.0 Schema:**
  `GET https://vesperdryft.com/api/openapi.json`
- **API Health Endpoint:**
  `GET https://vesperdryft.com/api/health`

---

## 5. Security & Anti-Abuse Controls

- **No Credential Harvesting:** VesperDryft never requests or accepts plaintext passwords, Active Directory credentials, or private keys through web forms.
- **Honeypot Protection:** The web form includes trap fields (`llm_model_name`, `website`). Autonomous agents must leave these fields empty.
- **Data Custody:** All intake submissions are processed on sovereign US bare-metal servers. Client telemetry is never sold, shared with data brokers, or used to train artificial intelligence models.
