{
  "brief": {
    "generated_at": "2026-06-17T04:08:56.533528",
    "buyer": {
      "name": "Tyler",
      "email": "tyler@example.com",
      "phone": "555-0100",
      "monthly_income": 5000,
      "max_monthly_payment": 400,
      "down_payment": 2000,
      "budget": 22000
    },
    "vehicle": {
      "year": 2019,
      "make": "Honda",
      "model": "Pilot",
      "trim": "Elite",
      "list_price": 20800,
      "price": 20800,
      "mileage": 130960,
      "vin": "5FNYF6H02KB082701",
      "exterior_color": "White Diamond Pearl",
      "interior_color": "Beige",
      "fuel_type": "Gasoline",
      "transmission": "9-Speed Automatic",
      "drivetrain": "AWD",
      "dealer_name": "Enterprise Motor Sports",
      "vehicle_url": "https://www.enterprisemotorsportsllc.com/Listing/414447/2019-Honda-Pilot-Elite.aspx"
    },
    "executive_summary": {
      "deal_score": 58,
      "deal_rating": "FAIR",
      "buyer_power_level": "WEAK",
      "buyer_power_score": 33,
      "recommendation": "CONDITIONAL GO",
      "expected_otd_range": {
        "low": 21472,
        "high": 21996
      }
    },
    "buyer_profile_analysis": {
      "power_score": {
        "total": 33,
        "level": "WEAK",
        "level_description": "You're in a vulnerable position. Consider walking.",
        "breakdown": {
          "credit_score": {
            "points": 3,
            "max": 25,
            "value": 0
          },
          "pre_approved": {
            "points": 0,
            "max": 20,
            "value": null
          },
          "down_payment_trade": {
            "points": 4,
            "max": 15,
            "value": "$2,000 (9% of budget)"
          },
          "timeline_flexibility": {
            "points": 9,
            "max": 15,
            "value": "moderate"
          },
          "budget_headroom": {
            "points": 10,
            "max": 15,
            "value": "estimated"
          },
          "market_knowledge": {
            "points": 7,
            "max": 10,
            "value": "brief generated"
          }
        }
      },
      "strengths": [
        "Some cash down ($2,000) \u2014 shows seriousness"
      ],
      "vulnerabilities": [
        "Low credit score (0) \u2014 limited loan options, higher rates",
        "No pre-approval \u2014 dealer controls financing narrative",
        "Overall weak position \u2014 consider delaying purchase if possible"
      ]
    },
    "vehicle_analysis": {
      "market_position": "UNDERPRICED",
      "market_position_desc": "Listed $20,800 vs market low $20,800 \u2014 excellent deal",
      "market_avg": 20800,
      "market_low": 20800,
      "market_high": 20800,
      "days_on_lot": 0,
      "days_on_lot_impact": "FRESH",
      "days_on_lot_desc": "0 days \u2014 dealer not motivated yet",
      "days_on_lot_leverage_pts": 0,
      "recalls": [],
      "recall_count": 0,
      "high_severity_recalls": 0,
      "tsbs": [],
      "tsb_count": 0,
      "complaints_count": 0,
      "safety_rating": "CLEAN",
      "comparables": []
    },
    "negotiation_strategy": {
      "opening_offer": 19832,
      "target_price": 20316,
      "walkaway_price": 20384,
      "discount_percentage": 4.7,
      "opening_script": "\"I'm interested in this 2019 Honda Pilot. What's your best out-the-door price? I'm comparing a few options right now.\"",
      "dealer_tactics": [
        "FINANCE BAIT: 'Let me check rates for you' \u2014 they'll mark up the rate and profit on the back end",
        "FOUR-SQUARE METHOD: They'll separate trade-in, price, down payment, and monthly payment to confuse you",
        "ADD-ON PAD: Extended warranty, paint protection, nitrogen tires \u2014 pure profit"
      ],
      "counter_strategies": [
        "Politely decline. 'I'll handle my own financing, let's focus on the price.'",
        "Insist on ONE number: out-the-door price. Everything else is separate.",
        "Decline all add-ons at the table. 'I'll consider those later.' (You won't.)"
      ],
      "power_level": "WEAK"
    },
    "financing_scenarios": {
      "amount_financed": 20520.8,
      "trade_in": 0,
      "down_payment": 2000,
      "term_months": 60,
      "best_case": {
        "rate": 6.2,
        "monthly_payment": 398.64,
        "total_cost": 25918.4,
        "total_interest": 3397.6,
        "source": "Credit union estimate"
      },
      "worst_case": {
        "rate": 10.9,
        "monthly_payment": 445.15,
        "total_cost": 28709.0,
        "total_interest": 6188.2,
        "source": "Dealer markup estimate"
      },
      "monthly_difference": 46.51,
      "total_difference": 2790.6,
      "break_even_analysis": {
        "description": "If dealer offers a lower price but marks up financing, you need at least $2,790.6 in price savings to break even vs your pre-approved rate.",
        "price_savings_needed": 2790.6
      }
    },
    "tax_data": {
      "zip_code": "65203",
      "sales_tax": {
        "state_rate": 4.225,
        "local_rate": 2.875,
        "total_rate": 7.1,
        "total_amount": 1476.8
      },
      "fees": {
        "title": 11.0,
        "registration": 33.0,
        "doc_fee": 200.0,
        "doc_fee_max": 604.47,
        "doc_fee_note": "Maximum legal limit: $604.47 per 12 CSR 10-26.231. Typical dealers charge $200-400.",
        "total": 244.0
      },
      "out_the_door": 22520.8,
      "annual_personal_property_tax": {
        "assessed_value": 6656.0,
        "annual_amount": 166.4
      }
    },
    "action_items": {
      "before_visiting_dealer": [
        "\u2610 Get pre-approved at a credit union if not already done (even if you plan cash)",
        "\u2610 Pull your free credit report at annualcreditreport.com \u2014 verify no errors",
        "\u2610 Research 3+ comparable vehicles in your area (use the comps in this brief)",
        "\u2610 Check NHTSA.gov for open recalls on this specific VIN",
        "\u2610 Print this brief and bring it to the dealer",
        "\u2610 CALL YOUR BANK/CREDIT UNION NOW \u2014 get a rate quote in writing"
      ],
      "during_negotiation": [
        "\u2610 Start with the opening script \u2014 don't reveal your budget first",
        "\u2610 Negotiate OUT-THE-DOOR price only \u2014 never discuss monthly payment",
        "\u2610 Use the '4-square' defense: insist on one number at a time",
        "\u2610 If they say 'let me check with my manager', stay silent \u2014 let them fill the void",
        "\u2610 Reference specific comps: 'I found a similar vehicle at $X in [city]'",
        "\u2610 Decline ALL add-ons at the table (warranty, protection packages, etc.)",
        "\u2610 If financing through dealer, compare their rate to your pre-approval BEFORE signing"
      ],
      "if_deal_goes_south": [
        "\u2610 Be willing to walk away \u2014 there are always other vehicles",
        "\u2610 Leave your number: 'Call me if you can hit my target price'",
        "\u2610 Check AutoTrader, Cars.com, and Facebook Marketplace for alternatives",
        "\u2610 If dealer calls back with a better offer, verify it's truly OTD before driving back",
        "\u2610 Remember: the best deal is the one you don't regret 6 months later"
      ]
    },
    "deal_score_breakdown": {
      "price_vs_budget": {
        "points": 12,
        "max": 25
      },
      "market_position": {
        "points": 20,
        "max": 20
      },
      "days_on_lot": {
        "points": 0,
        "max": 10
      },
      "safety_reliability": {
        "points": 20,
        "max": 20
      },
      "buyer_power": {
        "points": 4,
        "max": 15
      },
      "mileage_condition": {
        "points": 2,
        "max": 10
      }
    },
    "osint_intelligence": null
  },
  "buyer": {
    "name": "Tyler",
    "email": "tyler@example.com",
    "phone": "555-0100",
    "monthly_income": 5000,
    "max_monthly_payment": 400,
    "down_payment": 2000,
    "budget": 22000
  },
  "vehicle": {
    "year": 2019,
    "make": "Honda",
    "model": "Pilot",
    "trim": "Elite",
    "list_price": 20800,
    "price": 20800,
    "mileage": 130960,
    "vin": "5FNYF6H02KB082701",
    "exterior_color": "White Diamond Pearl",
    "interior_color": "Beige",
    "fuel_type": "Gasoline",
    "transmission": "9-Speed Automatic",
    "drivetrain": "AWD",
    "dealer_name": "Enterprise Motor Sports",
    "vehicle_url": "https://www.enterprisemotorsportsllc.com/Listing/414447/2019-Honda-Pilot-Elite.aspx"
  },
  "timestamp": "2026-06-17T04:08:56.534736",
  "taxes": {
    "sales_tax": {
      "state_rate": 0.04225,
      "county_rate": 0.0125,
      "local_rate": 0.01,
      "total_rate": 0.06475,
      "total_amount": 1346
    },
    "fees": {
      "title": 11,
      "registration": 50,
      "doc_fee": 200,
      "total": 261
    },
    "out_the_door": 22407
  },
  "recalls": {
    "open_recalls": 0,
    "tsb_count": 0,
    "complaints": 0,
    "last_checked": "2026-06-17T04:08:56.534754"
  },
  "vehicle_problems": {
    "issues": [],
    "maintenance_cost_annual": 800,
    "risk_score": 50,
    "risk_level": "unknown",
    "problems_found": 0,
    "estimated_repair_cost": 0
  },
  "geographic_arbitrage": {
    "alternatives": [
      {
        "city": "Fayetteville, AR",
        "adjusted_price": 20072,
        "savings": 728,
        "drive_cost": 218,
        "net_savings": 510,
        "distance": 240
      },
      {
        "city": "Springfield, MO",
        "adjusted_price": 20280,
        "savings": 520,
        "drive_cost": 168,
        "net_savings": 352,
        "distance": 170
      },
      {
        "city": "Kansas City, MO",
        "adjusted_price": 20488,
        "savings": 312,
        "drive_cost": 134,
        "net_savings": 178,
        "distance": 120
      },
      {
        "city": "Des Moines, IA",
        "adjusted_price": 20384,
        "savings": 416,
        "drive_cost": 246,
        "net_savings": 170,
        "distance": 280
      },
      {
        "city": "Wichita, KS",
        "adjusted_price": 20342,
        "savings": 458,
        "drive_cost": 294,
        "net_savings": 164,
        "distance": 350
      },
      {
        "city": "Omaha, NE",
        "adjusted_price": 20425,
        "savings": 375,
        "drive_cost": 274,
        "net_savings": 101,
        "distance": 320
      },
      {
        "city": "St. Louis, MO",
        "adjusted_price": 20592,
        "savings": 208,
        "drive_cost": 137,
        "net_savings": 71,
        "distance": 125
      },
      {
        "city": "Indianapolis, IN",
        "adjusted_price": 20488,
        "savings": 312,
        "drive_cost": 344,
        "net_savings": -32,
        "distance": 420
      },
      {
        "city": "Memphis, TN",
        "adjusted_price": 20550,
        "savings": 250,
        "drive_cost": 319,
        "net_savings": -69,
        "distance": 385
      },
      {
        "city": "Louisville, KY",
        "adjusted_price": 20633,
        "savings": 167,
        "drive_cost": 358,
        "net_savings": -191,
        "distance": 440
      },
      {
        "city": "Nashville, TN",
        "adjusted_price": 20592,
        "savings": 208,
        "drive_cost": 435,
        "net_savings": -227,
        "distance": 550
      },
      {
        "city": "Chicago, IL",
        "adjusted_price": 20696,
        "savings": 104,
        "drive_cost": 414,
        "net_savings": -310,
        "distance": 520
      }
    ]
  },
  "timing": {
    "urgency": "moderate",
    "leverage_multiplier": 1.15,
    "best_day_range": "26-31",
    "recommendations": [
      "End of month = best leverage",
      "Holiday weekends = additional 1.2x multiplier",
      "Avoid first week of month if possible"
    ]
  },
  "dealer_osint": {
    "dealer": "Enterprise Motor Sports",
    "location": "",
    "website": "",
    "timestamp": "2026-06-17T04:08:56.644331",
    "data_sources": [
      "dealer_osint.py",
      "osint-investigator"
    ],
    "dealer_osint": {
      "dealer_name": "Enterprise Motor Sports",
      "location": null,
      "website": null,
      "timestamp": "2026-06-17T04:08:56.632574",
      "business_intel": {
        "registration_searches": {
          "missouri": "https://bsd.sos.mo.gov/BusinessEntity/BESearch.aspx?searchType= NAME&searchText=Enterprise+Motor+Sports&searchBy= startingWith",
          "illinois": "https://apps.ilsos.gov/corporatellc/CorporateLCCSearchResults.html?searchType=corporations&searchValue=Enterprise+Motor+Sports",
          "california": "https://businesssearch.sos.ca.gov/DocumentSearch/SearchResults?SearchType=CORP&SearchCriteria=Enterprise+Motor+Sports",
          "texas": "https://mycpa.cpa.state.tx.us/coa/Search.html?searchCriteria=Enterprise+Motor+Sports",
          "florida": "https://search.sunbiz.org/?query=Enterprise+Motor+Sports&searchType= Corporation"
        }
      },
      "review_intel": {
        "sources": {
          "google": "https://www.google.com/search?q=Enterprise+Motor+Sports+reviews",
          "dealer_rater": "https://www.dealerrater.com/dealer/Enterprise-Motor-Sports",
          "bbb": "https://www.bbb.org/search?find_text=Enterprise+Motor+Sports",
          "yelp": "https://www.yelp.com/search?find_desc=Enterprise+Motor+Sports"
        }
      },
      "complaint_intel": {
        "databases": {
          "consumer_financial": "https://www.consumerfinance.gov/complaint/search/?searchText=Enterprise+Motor+Sports",
          "ftc": "https://reportfraud.ftc.gov/search?keyword=Enterprise+Motor+Sports",
          "state_ag": "https://ago.mo.gov/consumer-complaints (Missouri AG)",
          "ripoff_report": "https://www.ripoffreport.com/reports?search=Enterprise+Motor+Sports",
          "complaints_board": "https://www.complaintsboard.com/?search=Enterprise+Motor+Sports"
        }
      },
      "legal_intel": {
        "court_searches": {
          "pacer": "https://pacer.uscourts.gov/",
          "missouri_courts": "https://www.courts.mo.gov/casenet/base/welcome.do",
          "judicial_orders": "https://www.google.com/search?q=Enterprise+Motor+Sports+site:leagle.com+OR+site:courtlistener.com"
        }
      },
      "osint_tools": {
        "google_dorks": {
          "price_sheets": "site:None filetype:pdf OR filetype:xlsx OR filetype:csv price",
          "internal_docs": "site:None filetype:pdf confidential OR internal OR invoice OR cost",
          "employee_info": "site:linkedin.com/in OR site:facebook.com Enterprise+Motor+Sports salesman",
          "inventory_feeds": "site:None inventory OR vehicles feed OR api OR json",
          "reviews_mentions": "Enterprise+Motor+Sports scam OR lawsuit OR complaint OR problem",
          "financial_filings": "Enterprise+Motor+Sports SEC filing OR 10-K OR annual report"
        }
      }
    },
    "osint_investigator": {
      "dealer": "Enterprise Motor Sports",
      "location": "",
      "website": "",
      "source": "web_intelligence",
      "timestamp": "2026-06-17T04:08:56.539547",
      "summary": "Web intelligence gathered for Enterprise Motor Sports. Found 4 review sources (Google, BBB, Yelp, DealerRater). Found 3 complaint databases searched. Manual review recommended using provided URLs.",
      "web_results": [],
      "review_sources": [
        {
          "source": "Google",
          "url": "https://www.google.com/search?q=Enterprise%20Motor%20Sports%20reviews",
          "searched": true
        },
        {
          "source": "BBB",
          "url": "https://www.bbb.org/search?find_text=Enterprise%20Motor%20Sports",
          "searched": true
        },
        {
          "source": "Yelp",
          "url": "https://www.yelp.com/search?find_desc=Enterprise%20Motor%20Sports",
          "searched": true
        },
        {
          "source": "DealerRater",
          "url": "https://www.dealerrater.com/search/?q=Enterprise%20Motor%20Sports",
          "searched": true
        }
      ],
      "complaint_sources": [
        {
          "source": "Complaints Board",
          "url": "https://www.complaintsboard.com/search/?q=Enterprise%20Motor%20Sports",
          "searched": true
        },
        {
          "source": "Ripoff Report",
          "url": "https://www.ripoffreport.com/search/?q=Enterprise%20Motor%20Sports",
          "searched": true
        },
        {
          "source": "Google Complaints",
          "url": "https://www.google.com/search?q=Enterprise%20Motor%20Sports%20complaints",
          "searched": true
        }
      ],
      "social_presence": {},
      "sentiment_summary": {
        "overall_sentiment": "unknown",
        "review_count": 0,
        "avg_rating": null,
        "red_flags": [],
        "green_flags": [],
        "analysis_method": "url_based_search"
      },
      "manual_review_urls": [
        "https://www.google.com/search?q=Enterprise%20Motor%20Sports%20reviews",
        "https://www.bbb.org/search?find_text=Enterprise%20Motor%20Sports",
        "https://www.yelp.com/search?find_desc=Enterprise%20Motor%20Sports"
      ]
    }
  },
  "salesman_osint": {},
  "lot_osint": {},
  "social_media_intel": {
    "target": "Enterprise Motor Sports",
    "type": "dealer",
    "location": "",
    "timestamp": "2026-06-17T04:08:56.644392",
    "profiles": {
      "facebook_page": {
        "direct_search": "https://www.facebook.com/search/pages?q=Enterprise+Motor+Sports",
        "location_based": "",
        "reviews_tab": "Append '/reviews' to found page URL"
      },
      "instagram_business": {
        "search": "https://www.instagram.com/explore/tags/enterprisemotorsports/",
        "location_tags": ""
      },
      "twitter": {
        "search": "https://twitter.com/search?q=Enterprise+Motor+Sports",
        "mentions": "https://twitter.com/search?q=@enterprise+motor+sports"
      },
      "tiktok": {
        "search": "https://www.tiktok.com/search?q=Enterprise+Motor+Sports"
      },
      "youtube": {
        "channel_search": "https://www.youtube.com/results?search_query=Enterprise+Motor+Sports+dealer",
        "review_videos": "https://www.youtube.com/results?search_query=Enterprise+Motor+Sports+review+complaint"
      }
    },
    "timeline_intel": {
      "salesman_specific": {
        "posting_frequency": {
          "high": "Confident, established book of business",
          "low": "New, struggling, or part-time",
          "sudden_increase": "End of month/quarter push",
          "sudden_stop": "Fired, quit, or personal issues"
        },
        "content_themes": {
          "commission_brags": "Money-motivated, may pressure",
          "customer_photos": "Relationship-builder, easier to negotiate",
          "vehicle_spotlight": "Product-focused, detail-oriented",
          "personal_life": "Work-life balance, less desperate"
        },
        "engagement_patterns": {
          "responds_to_comments_quickly": "Accessible, text-friendly",
          "ignores_negative": "Avoids conflict, may hide issues",
          "argues_with_complaints": "Defensive, harder negotiation"
        }
      },
      "dealer_specific": {
        "promotional_frequency": {
          "daily_sales": "Desperate for volume",
          "weekly_specials": "Normal operations",
          "rare_promotions": "Selective, higher margins"
        },
        "customer_interaction": {
          "responds_to_reviews": "Engaged, cares about reputation",
          "ignores_complaints": "Avoids accountability",
          "generic_responses": "Corporate management, less flexible"
        },
        "employee_content": {
          "salesman_takeovers": "Humanizing the brand, individual leverage",
          "staff_spotlights": "Low turnover = harder to negotiate",
          "constant_new_faces": "High turnover = desperate culture"
        }
      }
    },
    "content_analysis": {
      "stress_indicators": {
        "salesman_red_flags": [
          {
            "indicator": "Posts about 'big month' or 'need sales'",
            "meaning": "Behind quota, desperate"
          },
          {
            "indicator": "Shares GoFundMe or financial struggles",
            "meaning": "Personal pressure = more motivated"
          },
          {
            "indicator": "Job posting shares (different industry)",
            "meaning": "Looking to exit = less invested"
          },
          {
            "indicator": "Complaints about management/pay",
            "meaning": "Disgruntled = may cut corners"
          },
          {
            "indicator": "Recently moved from luxury to economy brand",
            "meaning": "Demoted or pay cut"
          }
        ],
        "dealer_red_flags": [
          {
            "indicator": "'Everything must go' sales",
            "meaning": "Cash flow crisis"
          },
          {
            "indicator": "Hiring posts for multiple positions",
            "meaning": "Turnover OR expansion (check which)"
          },
          {
            "indicator": "Facility upgrade announcements",
            "meaning": "Invested in location = staying put"
          },
          {
            "indicator": "Radio/social ad spend increase",
            "meaning": "Customer acquisition costs rising"
          },
          {
            "indicator": "Partnership announcements",
            "meaning": "Possible acquisition target"
          }
        ],
        "green_flags": [
          {
            "indicator": "Long-tenured employee celebrations",
            "meaning": "Stable, ethical workplace"
          },
          {
            "indicator": "Community involvement posts",
            "meaning": "Reputation matters, accountable"
          },
          {
            "indicator": "Customer return visits (2nd, 3rd car)",
            "meaning": "Trustworthy operation"
          },
          {
            "indicator": "Service department features",
            "meaning": "Multiple revenue streams, less sales pressure"
          }
        ]
      }
    },
    "monitoring": {
      "google_alerts": {
        "dealer_name": "https://www.google.com/alerts?s=create&q=Enterprise+Motor+Sports",
        "dealer_reviews": "https://www.google.com/alerts?s=create&q=Enterprise+Motor+Sports+review+OR+complaint"
      },
      "ifttt_applets": {
        "reddit_mentions": "https://ifttt.com/applets/search?query=Enterprise+Motor+Sports",
        "twitter_mentions": "IFTTT trigger: New tweet with specific phrase"
      },
      "manual_checks": {
        "weekly": "Check dealer Facebook for new inventory/sales",
        "monthly": "Review BBB/Google for new complaints",
        "quarterly": "LinkedIn check for salesman turnover"
      }
    }
  },
  "insurance": {
    "annual_premium": 2343.75,
    "six_month_premium": 1171,
    "monthly_premium": 195.31,
    "zip_code": "65203",
    "credit_tier": "good",
    "confidence": "medium",
    "data_source": "state_rate_table_MO",
    "coverage_type": "full_coverage",
    "coverage_description": "Liability + collision + comprehensive + uninsured motorist",
    "factors": {
      "state_base_rate": 750,
      "vehicle_type": "suv_fullsize",
      "vehicle_multiplier": 1.25,
      "safety_adjustment": 0.0,
      "coverage_multiplier": 2.5
    },
    "note": "Based on MO state average rates for suv_fullsize"
  },
  "dealer_reputation": {
    "google_rating": null,
    "google_count": 0,
    "bbb_rating": "C",
    "overall_score": 50,
    "confidence": "low",
    "data_sources": [],
    "red_flags": [],
    "green_flags": [],
    "recommendations": [
      "Request references from the dealer",
      "Check for dealer reviews on multiple platforms",
      "Verify dealer licensing and credentials"
    ],
    "v2_data": {
      "overall_score": 50,
      "rating": "C",
      "rating_text": "Average",
      "confidence": "low",
      "data_sources": [],
      "ratings": [],
      "red_flags": [],
      "recommendations": [
        "Request references from the dealer",
        "Check for dealer reviews on multiple platforms",
        "Verify dealer licensing and credentials"
      ],
      "methods_tried": [
        "bbb",
        "google_reviews",
        "dealerrater",
        "no_data"
      ]
    }
  },
  "iron_triangle": {
    "strategy": "good_cheap",
    "priority_1": "good",
    "priority_2": "cheap",
    "sacrifice": "fast",
    "risk_level": "low",
    "description": "Patient Hunter strategy: sacrifice fast for good+cheap"
  },
  "market_comps": {
    "market_low": 13918,
    "market_avg": 15950,
    "market_high": 17355,
    "median_price": 16065,
    "percentile_25": 15284,
    "percentile_75": 17343,
    "avg_mileage": 71616,
    "count": 8,
    "confidence": "medium",
    "listings": [
      {
        "price": 13918,
        "mileage": 67497,
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "trim": "LX",
        "dealer": "City Auto Group",
        "location": "Columbia, MO",
        "url": "https://www.autotrader.com/cars-for-sale/vehicle-0",
        "source": "autotrader",
        "distance_miles": 16
      },
      {
        "price": 17355,
        "mileage": 77348,
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "trim": "LX",
        "dealer": "ABC Motors",
        "location": "Columbia, MO",
        "url": "https://www.autotrader.com/cars-for-sale/vehicle-1",
        "source": "autotrader",
        "distance_miles": 12
      },
      {
        "price": 15284,
        "mileage": 76775,
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "trim": "LX",
        "dealer": "City Auto Group",
        "location": "Columbia, MO",
        "url": "https://www.autotrader.com/cars-for-sale/vehicle-2",
        "source": "cars_com",
        "distance_miles": 80
      },
      {
        "price": 15060,
        "mileage": 66351,
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "trim": "EX-L",
        "dealer": "Premier Honda",
        "location": "Columbia, MO",
        "url": "https://www.autotrader.com/cars-for-sale/vehicle-3",
        "source": "autotrader",
        "distance_miles": 16
      },
      {
        "price": 16065,
        "mileage": 63493,
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "trim": "EX-L",
        "dealer": "Midwest Motors",
        "location": "Columbia, MO",
        "url": "https://www.autotrader.com/cars-for-sale/vehicle-4",
        "source": "cars_com",
        "distance_miles": 21
      }
    ],
    "sources": {
      "autotrader": 4,
      "cars_com": 4,
      "facebook": 0
    },
    "note": "Sample data generated for demonstration - use --real for live scraping",
    "source": "market_comps_v2",
    "timestamp": "2026-06-17T04:08:58.238714",
    "price_vs_market": 30.4,
    "position": "above"
  },
  "days_on_lot": {
    "days_on_lot": 7,
    "data_source": "manual_cached",
    "confidence": "low",
    "leverage_level": "fresh",
    "negotiating_leverage": "low",
    "discount_potential": 2,
    "recommendation": "Fresh inventory (7 days). Minimal pressure. Wait 2-3 weeks or focus on end-of-month timing.",
    "methods_tried": []
  },
  "osint_enhanced": {
    "error": "Module not available"
  },
  "negotiation_script": {
    "confidence_score": 85.0,
    "data_quality": "high",
    "opening_lines": [
      "I'm interested in this 2019 Honda Pilot. I'd like to discuss the overall deal structure."
    ],
    "objection_handlers": {
      "Price is firm": [
        "I understand pricing is important. However, I'm seeing similar vehicles at ${market_price:,.0f}. What can you offer in terms of add-ons or services?",
        "I appreciate that. Would you be willing to meet in the middle at ${mid_price:,.0f}?",
        "If the price is firm, could you include the documentation fee or offer an extended warranty?"
      ],
      "Someone else is interested": [
        "That's understandable. I'm prepared to make a serious offer today if we can reach an agreement.",
        "I see. I'm a cash buyer with financing pre-approved. What would it take to close today?",
        "I appreciate the transparency. Let me make my best offer and we can see if it makes sense."
      ],
      "We don't negotiate": [
        "I understand. Even so, every deal has some flexibility. Could we discuss the out-the-door price including all fees?",
        "I respect that. Are there any dealer incentives or manufacturer rebates we could apply?",
        "Got it. Would you be open to throwing in any maintenance packages or accessories?"
      ],
      "This is already below market": [
        "I've done my research and I'm seeing {comps_count} comparable vehicles averaging ${market_avg:,.0f}. Can you show me the data?",
        "I appreciate that. Let me share what I've found from {comps_count} similar vehicles...",
        "If that's the case, help me understand how this specific vehicle compares to those comps."
      ]
    },
    "counter_offers": [
      {
        "label": "Aggressive Opening",
        "price": 18720.0,
        "justification": "Market comps + known issues + lot time",
        "when_to_use": "When you have strong market data and vehicle has been sitting",
        "script": "Based on my research showing market averages and some concerns about this specific vehicle, I'd like to offer $18,720."
      },
      {
        "label": "Moderate Counter",
        "price": 19760.0,
        "justification": "Market position + competitive shopping",
        "when_to_use": "When vehicle is fairly priced but you want room to negotiate",
        "script": "I think this vehicle has potential. I'd like to offer $19,760 which is closer to where the market is for similar vehicles."
      },
      {
        "label": "Fee Negotiation",
        "price": 20800,
        "justification": "Accept price, negotiate fees/add-ons",
        "when_to_use": "When price is fair but fees are inflated",
        "script": "I can work with the asking price of $20,800, but I'd like to discuss the documentation fee and any dealer add-ons."
      }
    ],
    "walk_away_triggers": [
      "If they refuse pre-purchase inspection",
      "If they won't provide Carfax/Autocheck report",
      "If they pressure for immediate deposit without written terms"
    ],
    "escalation_paths": [
      {
        "step": 1,
        "action": "Ask for their best counter-offer",
        "script": "I understand my offer might be lower than expected. What's the best you can do?"
      },
      {
        "step": 2,
        "action": "Present market data",
        "script": "I've pulled comps on similar vehicles. Here's what I'm seeing in the market..."
      },
      {
        "step": 3,
        "action": "Introduce competition",
        "script": "I have another vehicle I'm considering. Can you match or beat their offer?"
      },
      {
        "step": 4,
        "action": "Request manager involvement",
        "script": "I think we're close. Would it make sense to have the sales manager review this?"
      },
      {
        "step": 5,
        "action": "Final offer with timeline",
        "script": "Here's my final offer. I'm prepared to sign today if we can make this work."
      }
    ],
    "script_text": "============================================================\\nNEGOTIATION SCRIPT - My Manager Unified\\n============================================================\\nGenerated: 2026-06-17\\nConfidence Score: 85/100 (high)\\n\\nOPENING LINES\\n------------------------------------------------------------\\n1. I'm interested in this 2019 Honda Pilot. I'd like to discuss the overall deal structure.\\n\\nOBJECTION HANDLERS\\n------------------------------------------------------------\\n\\nPrice is firm:\\n  - I understand pricing is important. However, I'm seeing similar vehicles at ${market_price:,.0f}. What can you offer in terms of add-ons or services?\\n  - I appreciate that. Would you be willing to meet in the middle at ${mid_price:,.0f}?\\n\\nSomeone else is interested:\\n  - That's understandable. I'm prepared to make a serious offer today if we can reach an agreement.\\n  - I see. I'm a cash buyer with financing pre-approved. What would it take to close today?\\n\\nWe don't negotiate:\\n  - I understand. Even so, every deal has some flexibility. Could we discuss the out-the-door price including all fees?\\n  - I respect that. Are there any dealer incentives or manufacturer rebates we could apply?\\n\\nThis is already below market:\\n  - I've done my research and I'm seeing {comps_count} comparable vehicles averaging ${market_avg:,.0f}. Can you show me the data?\\n  - I appreciate that. Let me share what I've found from {comps_count} similar vehicles...\\n\\nCOUNTER-OFFER STRATEGIES\\n------------------------------------------------------------\\n\\nAggressive Opening: $18,720\\n  When: When you have strong market data and vehicle has been sitting\\n  Script: Based on my research showing market averages and some concerns about this specific vehicle, I'd like to offer $18,720.\\n\\nModerate Counter: $19,760\\n  When: When vehicle is fairly priced but you want room to negotiate\\n  Script: I think this vehicle has potential. I'd like to offer $19,760 which is closer to where the market is for similar vehicles.\\n\\nFee Negotiation: $20,800\\n  When: When price is fair but fees are inflated\\n  Script: I can work with the asking price of $20,800, but I'd like to discuss the documentation fee and any dealer add-ons.\\n\\nWALK-AWAY TRIGGERS\\n------------------------------------------------------------\\n\u2022 If they refuse pre-purchase inspection\\n\u2022 If they won't provide Carfax/Autocheck report\\n\u2022 If they pressure for immediate deposit without written terms\\n\\nESCALATION PATH\\n------------------------------------------------------------\\n\\nStep 1: Ask for their best counter-offer\\n  \"I understand my offer might be lower than expected. What's the best you can do?\"\\n\\nStep 2: Present market data\\n  \"I've pulled comps on similar vehicles. Here's what I'm seeing in the market...\"\\n\\nStep 3: Introduce competition\\n  \"I have another vehicle I'm considering. Can you match or beat their offer?\"\\n\\nStep 4: Request manager involvement\\n  \"I think we're close. Would it make sense to have the sales manager review this?\"\\n\\nStep 5: Final offer with timeline\\n  \"Here's my final offer. I'm prepared to sign today if we can make this work.\"\\n\\n============================================================\\nRemember: Confidence + Data = Leverage\\n============================================================"
  },
  "warranty_analysis": {
    "risk_assessment": {
      "total_risk_score": 84.3,
      "risk_level": "high",
      "factors": {
        "age_factor": 35,
        "mileage_factor": 24.288,
        "reliability_factor": 25.0
      },
      "warranty_recommended": true
    },
    "tier_comparison": [
      {
        "id": "manufacturer",
        "name": "Manufacturer Extended",
        "annual_cost": 1659.0,
        "term_years": 7,
        "total_cost": 11611.0,
        "coverage_type": "Comprehensive",
        "pros": [
          "Genuine OEM parts",
          "Dealer service",
          "Transferable"
        ],
        "cons": [
          "Most expensive option",
          "Limited to brand dealers"
        ],
        "claim_rate": 0.92,
        "expected_value": 5341.0,
        "value_ratio": 0.46
      },
      {
        "id": "endurance",
        "name": "Endurance",
        "annual_cost": 1198.0,
        "term_years": 7,
        "total_cost": 8386.0,
        "coverage_type": "Comprehensive",
        "pros": [
          "Direct provider",
          "A+ BBB rating",
          "30-day money back"
        ],
        "cons": [
          "Higher cost than some",
          "Limited to 150k miles"
        ],
        "claim_rate": 0.88,
        "expected_value": 3690.0,
        "value_ratio": 0.44
      },
      {
        "id": "dealer_certified",
        "name": "Dealer Certified",
        "annual_cost": 1474.0,
        "term_years": 7,
        "total_cost": 10321.0,
        "coverage_type": "Comprehensive",
        "pros": [
          "Backed by dealer",
          "No third-party hassle",
          "May include extras"
        ],
        "cons": [
          "40-60% markup",
          "Limited to dealer network",
          "Pressure at closing"
        ],
        "claim_rate": 0.85,
        "expected_value": 4386.0,
        "value_ratio": 0.42
      },
      {
        "id": "carshield",
        "name": "CarShield",
        "annual_cost": 1106.0,
        "term_years": 7,
        "total_cost": 7741.0,
        "coverage_type": "Component",
        "pros": [
          "Well-known brand",
          "Flexible terms",
          "Can use any shop"
        ],
        "cons": [
          "Mixed reviews",
          "Claim delays reported",
          "Coverage gaps"
        ],
        "claim_rate": 0.75,
        "expected_value": 2903.0,
        "value_ratio": 0.38
      },
      {
        "id": "protect_my_car",
        "name": "Protect My Car",
        "annual_cost": 1014.0,
        "term_years": 7,
        "total_cost": 7096.0,
        "coverage_type": "Component",
        "pros": [
          "Lower premiums",
          "Maintenance benefits",
          "Rental car coverage"
        ],
        "cons": [
          "Waiting periods",
          "Exclusions for wear items"
        ],
        "claim_rate": 0.72,
        "expected_value": 2554.0,
        "value_ratio": 0.36
      }
    ],
    "recommendation": {
      "verdict": "DEALER",
      "reason": "Dealer warranty is competitively priced for the convenience",
      "best_option": {
        "id": "dealer_certified",
        "name": "Dealer Certified",
        "annual_cost": 1474.0,
        "term_years": 7,
        "total_cost": 10321.0,
        "coverage_type": "Comprehensive",
        "pros": [
          "Backed by dealer",
          "No third-party hassle",
          "May include extras"
        ],
        "cons": [
          "40-60% markup",
          "Limited to dealer network",
          "Pressure at closing"
        ],
        "claim_rate": 0.85,
        "expected_value": 4386.0,
        "value_ratio": 0.42
      }
    },
    "summary_text": "============================================================\\nEXTENDED WARRANTY ANALYSIS\\n============================================================\\nVehicle: 2019 Honda Pilot\\nMileage: 130,960\\nReliability Score: 50/100\\n\\nRISK ASSESSMENT: HIGH\\n  Total Risk Score: 84.3/100\\n  Warranty Recommended: Yes\\n\\nRECOMMENDATION: DEALER\\n  Dealer warranty is competitively priced for the convenience\\n\\nBest Option: Dealer Certified\\n  Annual Cost: $1,474\\n  Total Cost (7 years): $10,321\\n\\nALL OPTIONS COMPARED:\\n------------------------------------------------------------\\n\\nManufacturer Extended:\\n  $1,659/year x 7 years = $11,611\\n  Coverage: Comprehensive | Value Ratio: 0.46\\n\\nEndurance:\\n  $1,198/year x 7 years = $8,386\\n  Coverage: Comprehensive | Value Ratio: 0.44\\n\\nDealer Certified:\\n  $1,474/year x 7 years = $10,321\\n  Coverage: Comprehensive | Value Ratio: 0.42\\n\\nCarShield:\\n  $1,106/year x 7 years = $7,741\\n  Coverage: Component | Value Ratio: 0.38"
  },
  "maintenance_projections": {
    "scheduled_maintenance": {
      "annual_average": 522.0,
      "years_1_2": 1044.0,
      "years_3_5": 1966.0,
      "total_5_year": 3010.0,
      "per_mile": 0.043
    },
    "expected_repairs": {
      "annual_average": 878.0,
      "years_1_2": 878.0,
      "years_3_5": 3949.0,
      "total_5_year": 4826.0,
      "risk_level": "low"
    },
    "fuel_costs": {
      "annual_average": 1909.0,
      "total_5_year": 10023.0,
      "per_mile": 0.159,
      "mpg_estimate": 22
    },
    "insurance_costs": {
      "annual_average": 1300,
      "total_5_year": 6500,
      "coverage_recommended": "full"
    },
    "depreciation": {
      "current_value": 20800,
      "projected_value_5yr": 9360.0,
      "total_depreciation": 11440.0,
      "annual_breakdown": [
        3120.0,
        2704.0,
        2288.0,
        1872.0,
        1456.0
      ]
    },
    "total_costs": {
      "operating_costs_5yr": 24359.0,
      "total_cost_ownership": 35799.0,
      "annual_average": 4872.0,
      "per_mile_operating": 0.406,
      "per_mile_total": 0.597
    },
    "summary_text": "============================================================\\n5-YEAR OWNERSHIP COST PROJECTION\\n============================================================\\n2019 Honda Pilot\\nCurrent Miles: 130,960 | Annual Miles: 12,000\\n\\nSCHEDULED MAINTENANCE:\\n  Years 1-2 (Warranty): $1,044\\n  Years 3-5 (Post-Warranty): $1,966\\n  Total: $3,010 ($522/year)\\n\\nEXPECTED REPAIRS:\\n  Risk Level: LOW\\n  Years 1-2: $878\\n  Years 3-5: $3,949\\n  Total: $4,826\\n\\nFUEL COSTS:\\n  MPG Estimate: 22\\n  Annual: $1,909\\n  5-Year Total: $10,023\\n\\nINSURANCE:\\n  Annual: $1,300\\n  5-Year Total: $6,500\\n  Recommended: full\\n\\nDEPRECIATION:\\n  Current Value: $20,800\\n  Projected Value (5yr): $9,360\\n  Total Loss: $11,440\\n\\n============================================================\\nTOTAL 5-YEAR COST OF OWNERSHIP\\n============================================================\\nOperating Costs: $24,359\\nWith Depreciation: $35,799\\n\\nAnnual Average: $4,872\\nCost Per Mile: $0.60\\n============================================================"
  },
  "loan_prequal": {
    "error": "'float' object has no attribute 'get'"
  },
  "tradein_estimate": {
    "note": "No trade-in vehicle specified in buyer profile",
    "user_prompt": "Add tradein_year, tradein_make, tradein_model to buyer profile for estimate"
  },
  "qc_report": {
    "summary": {
      "total_checks": 18,
      "passed": 18,
      "warnings": 0,
      "failed": 0,
      "info": 0,
      "overall_status": "PASS",
      "recommendation": "\u2705 Brief passed all quality checks. Ready for use."
    },
    "checks": [
      {
        "name": "vehicle_year_present",
        "status": "PASS",
        "message": "Vehicle field 'year' is present",
        "details": {
          "value": 2019
        }
      },
      {
        "name": "vehicle_make_present",
        "status": "PASS",
        "message": "Vehicle field 'make' is present",
        "details": {
          "value": "Honda"
        }
      },
      {
        "name": "vehicle_model_present",
        "status": "PASS",
        "message": "Vehicle field 'model' is present",
        "details": {
          "value": "Pilot"
        }
      },
      {
        "name": "vehicle_vin_present",
        "status": "PASS",
        "message": "Vehicle field 'vin' is present",
        "details": {
          "value": "5FNYF6H02KB082701"
        }
      },
      {
        "name": "vehicle_price_present",
        "status": "PASS",
        "message": "Vehicle field 'price' is present",
        "details": {
          "value": 20800
        }
      },
      {
        "name": "vehicle_mileage_present",
        "status": "PASS",
        "message": "Vehicle field 'mileage' is present",
        "details": {
          "value": 130960
        }
      },
      {
        "name": "buyer_name_present",
        "status": "PASS",
        "message": "Buyer field 'name' is present",
        "details": {
          "value": "Tyler"
        }
      },
      {
        "name": "buyer_monthly_income_present",
        "status": "PASS",
        "message": "Buyer field 'monthly_income' is present",
        "details": {
          "value": 5000
        }
      },
      {
        "name": "buyer_max_monthly_payment_present",
        "status": "PASS",
        "message": "Buyer field 'max_monthly_payment' is present",
        "details": {
          "value": 400
        }
      },
      {
        "name": "buyer_down_payment_present",
        "status": "PASS",
        "message": "Buyer field 'down_payment' is present",
        "details": {
          "value": 2000
        }
      },
      {
        "name": "vehicle_price_valid",
        "status": "PASS",
        "message": "Vehicle price ($20,800) is within normal range",
        "details": {
          "price": 20800
        }
      },
      {
        "name": "vehicle_year_valid",
        "status": "PASS",
        "message": "Vehicle year (2019) is valid",
        "details": {
          "year": 2019
        }
      },
      {
        "name": "vehicle_mileage_valid",
        "status": "PASS",
        "message": "Mileage (130,960) is within normal range",
        "details": {
          "mileage": 130960
        }
      },
      {
        "name": "buyer_payment_ratio",
        "status": "PASS",
        "message": "Max payment (8.0% of income) is within recommended range",
        "details": {
          "ratio": 8.0
        }
      },
      {
        "name": "iron_triangle_valid",
        "status": "PASS",
        "message": "Iron triangle configured: optimize good + cheap, sacrifice fast",
        "details": {
          "priority_1": "good",
          "priority_2": "cheap",
          "sacrifice": "fast"
        }
      },
      {
        "name": "market_comps_consistency",
        "status": "PASS",
        "message": "Market comps data is internally consistent",
        "details": {
          "listings_count": 5,
          "average": 15950
        }
      },
      {
        "name": "data_freshness",
        "status": "PASS",
        "message": "Brief data is current (0 days old)",
        "details": {
          "age_days": 0
        }
      },
      {
        "name": "affordability_check",
        "status": "PASS",
        "message": "Vehicle appears affordable ($329/mo vs $400/mo budget)",
        "details": {
          "estimated_payment": 329.0,
          "budget": 400
        }
      }
    ],
    "passed": 18,
    "warnings": 0,
    "failed": 0,
    "status": "PASS"
  }
}