# Version 2.3.0 Intake Guardrails

This patch adds universal and industry-specific intake guardrails.

## Universal required fields

Every business type now requires the same three fields before a lead can be qualified:

1. customer_name
2. service_address
3. pest_type

Note: `pest_type` is the legacy database field name. It now means issue/service type for all industries.

## AI-managed SMS prompts

SMS prompts are managed in:

src/ai.js

The app now uses:

- selected Business Type from /admin/system
- universal required fields
- industry-specific guardrails
- business settings
- custom AI instructions

The AI asks follow-up questions based on what it thinks is needed for that business type, but it cannot mark a lead qualified until the required three fields are present.

## Guardrail coverage

Guardrails were added for:

- Pest Control
- HVAC
- Plumbing
- Dental
- Veterinary
- Auto Repair
- Towing/Roadside
- Roofing
- Electrical
- Med Spa
- Generic Local Service

## First missed-call text

The first recovery text now asks for:

- customer name
- service address
- issue/service type

Example:

Metro Heating and Cooling: Sorry we missed your call. We can help by text if that’s easier. Please reply with your name, service address, and HVAC issue or service type. Reply STOP to opt out.
