feat(worker): constrained density clustering in forward face recognition #969
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/constrained-forward-worker"
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?
Worker side of ADR 0100 — extends ADR 0017 constrained density semantics to the forward owner_face_recognition pass. Companions: ADR PR #966, Core PR #968, Web PR #967.
Forward pass changes (workers/people/src/memories_people_worker/main.py):
Design note: step-1-matched faces join the graph as labeled fixed nodes because with anchors-only nodes chain attachment (the Morfar case) is geometrically impossible — step 1 already consumes everything within maxDistance of an anchor. Mirrors Core's named-match-before-density ordering.
Tests: 12 new (workers/people/tests/test_constrained_forward_clustering.py): Morfar chain attach ON/unmatched OFF, ambiguous emission shape, cannot-link graph assertion + bridge case, gate fall-through + boundary, zero-identity parity (exact dict equality ON vs OFF), flag-off legacy parity, mixed model pairs, tentative-never-movable. Full suite: 121 passed (109 pre-existing unchanged).