Skip to content

feat(vehicle): add Cybercab VIN model detection - #13

Merged
Bre77 merged 1 commit into
mainfrom
fm/cybercab-nfa
Aug 3, 2026
Merged

feat(vehicle): add Cybercab VIN model detection#13
Bre77 merged 1 commit into
mainfrom
fm/cybercab-nfa

Conversation

@Bre77

@Bre77 Bre77 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Intent

  • Tesla's Cybercab uses VIN 4th-character A, which Vehicle.model() in src/vehicle.ts didn't yet map, so it fell through to "Unknown".
    • Added A: "Cybercab" to the Models lookup alongside the existing S/3/X/Y/Cybertruck/Semi entries.
    • No Cybercab-specific behavior exists (or is added) beyond this mapping; it gets the same generic treatment as every other model.
  • Added test/vehicle.test.ts covering Vehicle.model() for every known VIN 4th character, including the new Cybercab case and the "Unknown" fallback (no prior test file exercised this method).

Skipped the no-mistakes pipeline: trivial one-line additive mapping + test, low risk.

@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Aug 3, 2026
@Bre77
Bre77 merged commit 5476bcf into main Aug 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant