feat: gender-neutral person relation types (spec 063 amendment) #1242

Merged
chris merged 1 commit from feat/063-neutral-relations into main 2026-10-15 20:45:38 +02:00
Owner

Relation vocabulary collapses from 13 gendered to 9 gender-neutral values with symmetric per-group inverses — every relation renders correctly on both person pages (Vater↔Sohn becomes Elternteil↔Kind; all three locales have native neutral terms, so combined Brother/Sister fallbacks are not needed).

API:

  • V165 migration remaps existing rows collision-safely: CHECK swapped via NOT VALID→remap→VALIDATE, oldest row updated in place (relation ids stay stable), MOTHER+FATHER twins collapse to one PARENT, distinct parents (mother AND father) survive as separate rows
  • RelationType enum reduced to the 9 values; 409 matrix simplifies to exact-or-inverse per group
  • Tests: 20 PersonRelation tests + full sweep 68 green, incl. a behavioral Postgres test executing V165 verbatim against a rebuilt V164 end-state

Web:

  • Single 9-token list for POST and GET (PERSON_RELATION_NEUTRAL_TYPES merged away)
  • Gendered label keys removed from en/de/da (8 per locale, parity kept); labels: da Kæreste/forælder/barn/søskende/bedsteforælder/barnebarn/svigerforælder/svigerbarn, de Elternteil/Geschwister/Großelternteil/Schwiegerelternteil etc.

Validation: API sweep green, svelte-check 0 errors, web build green, 247 unit tests green, 126 E2E green.

Closes spec 063 tasks S063T004, S063T005.

Relation vocabulary collapses from 13 gendered to 9 gender-neutral values with symmetric per-group inverses — every relation renders correctly on both person pages (Vater↔Sohn becomes Elternteil↔Kind; all three locales have native neutral terms, so combined Brother/Sister fallbacks are not needed). API: - V165 migration remaps existing rows collision-safely: CHECK swapped via NOT VALID→remap→VALIDATE, oldest row updated in place (relation ids stay stable), MOTHER+FATHER twins collapse to one PARENT, distinct parents (mother AND father) survive as separate rows - RelationType enum reduced to the 9 values; 409 matrix simplifies to exact-or-inverse per group - Tests: 20 PersonRelation tests + full sweep 68 green, incl. a behavioral Postgres test executing V165 verbatim against a rebuilt V164 end-state Web: - Single 9-token list for POST and GET (PERSON_RELATION_NEUTRAL_TYPES merged away) - Gendered label keys removed from en/de/da (8 per locale, parity kept); labels: da Kæreste/forælder/barn/søskende/bedsteforælder/barnebarn/svigerforælder/svigerbarn, de Elternteil/Geschwister/Großelternteil/Schwiegerelternteil etc. Validation: API sweep green, svelte-check 0 errors, web build green, 247 unit tests green, 126 E2E green. Closes spec 063 tasks S063T004, S063T005.
feat: gender-neutral person relation types (spec 063 amendment)
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 2s
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 1m3s
4b4d847c07
Relation vocabulary collapses from 13 gendered to 9 neutral values
(PARTNER, SPOUSE, PARENT, CHILD, SIBLING, GRANDPARENT, GRANDCHILD,
PARENT_IN_LAW, CHILD_IN_LAW) with symmetric per-group inverses — one row
per relation renders correctly on both person pages.

API: V165 migration remaps existing rows collision-safely (NOT VALID
CHECK swap, oldest-row in-place UPDATE preserves relation ids, mother+
father twins collapse to one PARENT, distinct parents survive); enum and
conflict matrix simplified to exact-or-inverse per group.
Web: single 9-token list for POST + GET, gendered label keys removed
from en/de/da (all locales have native neutral terms).
chris merged commit 8838dcd390 into main 2026-10-15 20:45:38 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1242
No description provided.