feat(vehicle): Learning Integration Layer (P2-5)#39
Merged
Conversation
P2-1→P2-4 öğrenme katmanlarını (Evidence Store · Decay · Pattern Engine) uygulamanın mevcut ekran/tanı akışlarına SALT-OKUNUR bağlar. Hiçbir registry/profile/store'a otomatik yazmaz; güvenlik-kritik kararı değiştirmez. - vehicleLearningIntegrationService (yeni): Evidence Store'dan okur → decay uygular → pattern üretir → Diagnostic context + Dashboard/Expert view-model. Memoized (buildPatterns tek hesap) · bounded ≤512 · fail-soft · zero-leak. - Diagnostic: enrichInsight() öğrenme bağlamı ekler (learnedEvidenceCount, strongestCandidateConfidence, relatedStrongPids/Dids, requiresManualReview…). Veri yoksa insight AYNEN korunur; safety/severity/driveSafe DEĞİŞMEZ. - Discovery Dashboard: WEAK/CANDIDATE/STRONG/MANUAL_REVIEW/STALE/CONFLICT rozetleri + confidence/decay/araç/gözlem/ECU alanları + Strong/Candidate/ Manual/Conflict filtreleri (opsiyonel AnnotationResolver → mevcut davranış korunur). - Expert Mode: "Araç Öğrenme" salt-okunur özet bölümü (sayımlar + güçlü PID/DID adayları + marka cluster + son öğrenme). Onayla/yaz/promote butonu YOK. - DeviceTier: BASIC_JS(low) yalnız özet istatistik (ağır pattern/conflict detayı kapalı); BALANCED/HIGH tam pattern + conflict görünümü. - DEVICE_VALIDATION_LEDGER #25 🔴 (cihazda test bekliyor). Cloud/SQL/LLM/Native/hot-path YOK. OBD poll/Discovery capture/Fingerprint/VKB/ Manufacturer Intelligence/Profile Builder/Evidence Store merge/decay formülü/ pattern promotion kuralları/PID-DID registry DEĞİŞMEZ. 16 yeni test. Tüm suite yeşil (2603 test), tsc -b temiz, prod build OK, ESLint temiz. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SMR4Zz73u3YKMJHrRAkPAy
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| private _compute(): _Computed { | ||
| const now = this._now(); | ||
| let tier: DeviceTier = 'high'; |
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Amaç
P2-1→P2-4 arasında oluşturulan öğrenme katmanlarını (Evidence Store · Confidence Decay · Pattern Engine) uygulamanın kullanıcıya değer üreten mevcut ekran/tanı akışlarına SALT-OKUNUR bağlar. Öğrenilmiş evidence/pattern verileri artık Diagnostic Knowledge, Discovery Dashboard ve Expert Mode'da görünür/kullanılabilir.
Hiçbir registry/profile/store'a otomatik yazmaz; hiçbir güvenlik-kritik kararı tek başına değiştirmez.
Yeni dosyalar
src/platform/vehicleLearningIntegrationService.tssrc/components/settings/expert/VehicleLearningInspector.tsxsrc/__tests__/vehicleLearningIntegrationService.test.ts(16 test)Değişen dosyalar
src/components/discovery/discoveryDashboardModel.ts— öğrenme filtreleri +AnnotationResolver(opsiyonel param → mevcut davranış korunur)src/components/discovery/DiscoveryDashboard.tsx— öğrenme rozetleri/alanları/filtrelerisrc/components/settings/ExpertModePanel.tsx— "Araç Öğrenme" bölümü wiringdocs/DEVICE_VALIDATION_LEDGER.md— kayıt feat(vehicle): Araç Parmak İzi Temel Katmanı (PR-25, foundation-only) #25 🔴1. Diagnostic entegrasyonu
enrichInsight(insight)→ insight'a opsiyonellearningbağlamı ekler:learnedEvidenceCount,learnedPatternCount,strongestCandidateConfidence,learnedOnThisVehicle,learnedOnManufacturer,relatedStrongPids,relatedStrongDids,learningWarnings,requiresManualReview.2. Discovery Dashboard entegrasyonu
Her keşif kaydına salt-okunur öğrenme rozetleri:
WEAK·CANDIDATE·STRONG·MANUAL_REVIEW·STALE·CONFLICT. Alanlar: confidence · decayed confidence · distinct vehicle count · observation count · ECU count · pattern status · conflict reason. Yeni filtreler: Strong · Candidate · Manuel İnceleme · Conflict. Mevcut filtre/arama/export bozulmadı (resolver opsiyonel).3. Expert Mode entegrasyonu
Yeni salt-okunur "Araç Öğrenme" bölümü: toplam evidence · weak/candidate/strong · manual-review · stale/prune · en güçlü PID/DID adayları · marka cluster özeti · son öğrenme zamanı. Onayla / registry'ye yaz / otomatik promote butonu YOK.
4. Learning Integration Service
Evidence Store'dan okur → decay uygular (P2-3) → pattern üretir (P2-4) → Diagnostic context + Dashboard/Expert view-model. Fail-soft · girdiyi mutate etmez.
DeviceTier davranışı
patternDetailEnabled=false, manual/conflict=0, annotation'da conflict yok).Performans / sınırlar
Hot-path'e girmez · OBD 3Hz poll akışına dokunmaz · on-demand/idle · memoized (aynı veri →
buildPatternstek hesap; saat-kovası granülaritesi) · bounded ≤512 · zero-leak dispose · yeni bağımlılık yok · ağ yok. Cloud/SQL/LLM/Native YOK.Dokunulmayan: OBD poll/frekans · Discovery capture/queue · Fingerprint · Auto Learning · VKB · Manufacturer Intelligence · Profile Builder · Evidence Store merge · decay formülü · pattern promotion kuralları · PID/DID registry.
Test / CI
16 yeni test · tüm suite 2603 test yeşil ·
tsc -btemiz · prod build OK · ESLint temiz.Ledger
docs/DEVICE_VALIDATION_LEDGER.md#25 🔴 — kabul ölçütleri: gerçek araçta discovery→evidence→doğru rozet, duplicate vehicleCount şişirmez, Expert özeti doğru, Diagnostic insight öğrenme bağlamı gösterir, düşük tier'da FPS/CPU regresyonu yok.Risk
Düşük–Orta. Yalnız mevcut öğrenme verisini görünür/kullanılabilir yapar; yanlış learning güvenlik kararını değiştirmez, registry/profile yazmaz — yalnız bilgi/aday/manual-review olarak görünür.
🔴 Saha doğrulama
Cihazda henüz test edilmedi (Ledger #25).
🤖 Generated with Claude Code