fix(people): re-arm face recognition on candidate accept decisions (spec 038) #761
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/decide-candidate-dirty-mark"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #760: the candidate decision paths (decideCandidate accept, acceptCandidateForExistingInstance, autoAcceptExistingInstanceCandidate) change the people assignment set but never marked the owner's face_recognition_dirty row — so accepting a suggestion in the review UI did not re-arm recognition (the exact gap observed post-deploy: person edits via suggestions produced no dirty markers, no reconcile job).
Rejections intentionally do NOT mark dirty: they release faces back to owner_tentative, and an immediate re-run would just re-propose the same cluster (re-suggestion spam).
Tests: accept marks dirty (idempotent upsert), reject does not, pets-domain guard holds, policy auto-accept marks. Refs spec:038.