Independent auto and bicycle repair shops face a recurring trust problem: unexpected estimate revisions.

Sticker Shock & Phone Tag: A technician starts working, finds heat damage or worn parts, and halts the job. The shop calls the customer, leaves a voicemail, and the vehicle sits on a lift blocking the bay. Loss of Trust: Customers wonder if the shop is taking advantage of them because traditional quotes don't clearly explain why the price changed. Pickup Friction: At pickup, explaining the difference between the initial quote and final bill slows down the counter and delays customer payment.

Repair OK bridges the gap. It equips service counters with:

Grounded AI Explanations: Translates technician diagnosis notes into plain customer language, strictly citing the technician's verbatim quote with zero hallucinations. Interactive AG Grid Estimate Comparison: Both shop advisors and customers get an interactive, transparent diff table showing added, changed, removed, and optional line items with row-click diagnostic docks. Instant PayPal Checkout: Customers review and approve revisions directly on their phone, and settle the final verified pickup bill with PayPal Orders v2. 🚀 Key Features

  1. Interactive AG Grid Community Integration (Shop & Customer Views) High-Performance Grid: Estimate line items and final pickup bills are rendered using AG Grid Community v33 with a customized, accessible Quartz theme. Visual Delta Highlighting: Clearly demarcates Added (green), Changed (amber), Removed (muted terracotta), and Optional (blue) items. Side-by-Side Comparison: Displays Before, Delta (+$35.00 or -$120.00), and Amount columns. Interactive AI Diagnosis Dock: Selecting any row (via click or keyboard arrow navigation) reveals the technician's findings, source quotes, and AI explanation. Zero-Dependency Offline Fallback: If network or CDN access is blocked, a built-in semantic fallback table seamlessly activates with full row-selection interactivity.
  2. Grounded, Hallucination-Free AI Engine When an estimate changes, the AI analyzes the technician's notes. Every explanation binds its summary directly to an exact verbatim quote from the technician's notes ("evidence"). If the quote doesn't appear in the technician's text, the system rejects it and requests clarification rather than inventing details. Compatible with local Ollama models (e.g. gemma3:4b), OpenAI, or local rehearsal mode.
  3. PayPal Orders v2 Sandbox Integration Direct REST API Integration: Implements PayPal Orders v2 (/v2/checkout/orders) with OAuth 2.0 bearer authentication. Strict Server Total Binding: PayPal order amounts strictly match the server-calculated, customer-approved pickup bill—preventing client-side tampering. Idempotent Captures & Recovery: Supports PayPal-Request-Id idempotency keys. If network drops mid-capture, the reconciliation endpoint queries /v2/checkout/orders/{id} to verify capture state without double-charging. Local Demo Simulation Mode: Allows full local testing (REPAIROK_DEMO_PAYMENTS=1) generating verified mock capture receipts.
  4. Robust Job State Machine Automotive Scenario (RO-1042): Required revision ($180 → $215) for a 2018 Honda Civic with a melted blower connector that blocks safe repair. Bicycle Scenario (RO-1043): Optional revision ($30 → $55) for a Trek FX 2 with a flat tube where a replacement tire is suggested as an optional add-on. Tamper-Proof Review Links: Secure, signed HMAC customer review URLs (/c/) prevent unauthorized access while allowing instant mobile approval.

Built With

Share this project:

Updates

Submission history