Field note 4 of 5
Designing for the worst message first
Lexmere, and why its safest answer is sometimes no answer.
Lexmere answers a law firm's website visitors. Most messages are ordinary. The ones that matter most are rare: someone in danger, or someone asking for legal advice the firm can't give through a chat window.
So I designed it from the worst message backward:
- Messages that signal an emergency get a fixed 911 and 988 line before any AI runs.
- Every AI draft must pass fixed rules, including never giving legal advice, and then a separate AI review. If either check fails, the visitor gets a fixed reply and an offer to take a message.
- There is exactly one place in the code where a reply can be approved, after both checks pass.
- Each firm's data is walled off in the database itself with row-level security in the production setup, so one firm can't see another's inquiries even if application code has a bug.
Failing closed has a cost. In testing, the second review refused ordinary questions it should have answered, and for a firm, a refused question can be a lost client. Tuning that tradeoff, without loosening a safety rule, is the work in progress now. Lexmere isn't public yet.