RECORD 02 OF 11
FILE_METADATA
CASE_STUDY // BOLTS
What it is
An AI assistant built into Home Base. It reads the current page URL and visible database context, feeds it to Claude, and can either walk someone through a task or take the action for them.
Why it matters
The goal was to help answer common workflow questions automatically. Bolts reads the user's current context and helps them accomplish tasks within Home Base, reducing friction for the shop floor.
How it's built
- Role-scoped system prompts — an admin sees different capabilities than a tech. The system prompt is built dynamically based on who's logged in and what page they're on.
- Actions pass through the same permission guards as the rest of the app. Bolts can't do anything the user isn't already allowed to do.
- Rate-limited with a per-user token bucket (30 requests/minute).
- Context includes the current entity on screen — if you're looking at work order #1234, Bolts already knows the vehicle, customer, parts, and status without you explaining anything.
What I'd do differently
The action system works but the function definitions are verbose. Would explore tool-use schemas more carefully next time rather than hand-rolling the dispatch.