Phase 1: events + relationships + person detail #5

Merged
justin merged 2 commits from phase1-graph into main 2026-06-06 12:11:12 -04:00
Owner

Events and relationships API (editor-gated, privacy-filtered, audited) plus a person-detail page (events timeline, parent/child/partner/sibling links).

Events and relationships API (editor-gated, privacy-filtered, audited) plus a person-detail page (events timeline, parent/child/partner/sibling links).
justin added 2 commits 2026-06-06 12:11:11 -04:00
Events (create/list-per-person/soft-delete) and relationships (create/list-per-person/soft-delete) through the layered stack: editor-gated writes, privacy-engine reads, audit on every change. Events carry exactly one subject (person XOR partnership); relationships are typed qualified edges (parent_child gets a biological/adoptive/step/foster/donor/guardian qualifier). Adds a single-person GET. 18 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
New /trees/[id]/persons/[personId] view: life-events timeline with add/remove, and relationships grouped into parents/children/partners/siblings with an add form (kind + person picker + qualifier). People in the tree list now link here. Regenerated the OpenAPI client for the new endpoints.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit fbb9d0195c into main 2026-06-06 12:11:12 -04:00
Sign in to join this conversation.