feat: complete person identity matching system with fuzzy detection, revert, and manual link
Implements the full identity matching engine: email matching (HIGH confidence), fuzzy name matching with Levenshtein distance (MEDIUM confidence, upgradable to HIGH with DOB tiebreaker), manual link/unlink, revert confirmed matches, and automatic detection via PersonObserver. Includes 33 comprehensive tests, frontend integration with confirm/dismiss/unlink UI, and match indicators in the persons list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -138,6 +138,7 @@ Route::middleware('auth:sanctum')->group(function () {
|
||||
Route::get('persons/{person}/identity-match', [PersonIdentityMatchController::class, 'showForPerson']);
|
||||
Route::post('identity-matches/{personIdentityMatch}/confirm', [PersonIdentityMatchController::class, 'confirm']);
|
||||
Route::post('identity-matches/{personIdentityMatch}/dismiss', [PersonIdentityMatchController::class, 'dismiss']);
|
||||
Route::post('identity-matches/{personIdentityMatch}/revert', [PersonIdentityMatchController::class, 'revert']);
|
||||
Route::post('identity-matches/bulk-confirm', [PersonIdentityMatchController::class, 'bulkConfirm']);
|
||||
|
||||
// Invitations & Members
|
||||
@@ -187,6 +188,8 @@ Route::middleware('auth:sanctum')->group(function () {
|
||||
Route::apiResource('persons', PersonController::class);
|
||||
Route::post('persons/{person}/approve', [PersonController::class, 'approve']);
|
||||
Route::post('persons/{person}/reject', [PersonController::class, 'reject']);
|
||||
Route::post('persons/{person}/manual-link', [PersonIdentityMatchController::class, 'manualLink']);
|
||||
Route::post('persons/{person}/unlink', [PersonIdentityMatchController::class, 'unlink']);
|
||||
|
||||
// Volunteer availabilities
|
||||
Route::get('persons/{person}/availabilities', [VolunteerAvailabilityController::class, 'index']);
|
||||
|
||||
Reference in New Issue
Block a user