Cleanup: infer a missing sex from a known-sex spouse (preview → approve) #52
Reference in New Issue
Block a user
Delete Branch "cleanup-sex-from-spouse"
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?
Unset sex renders blue (male-colored) next to a confirmed-male partner, which is misleading. Adds a Cleanup action that proposes the opposite sex for an unset partner of someone whose sex is set (a confirmed-male husband ⇒ a female wife). Partners of differing known sex are skipped as ambiguous.
Review-and-approve in the Cleanup tool (reuses the existing gender apply path + audit) — not an autonomous write. Backend
guess_gender_by_spouse+GET /cleanup/gender/from-spouse; frontend "Infer from spouse" button feeding the existing proposal list. Test covers propose-opposite / skip-no-partner / skip-already-set / apply / re-preview. Full suite 73 passed.🤖 Generated with Claude Code