feat(api/meetings): CRUD with relationship strength auto-recomputation#48
Merged
gracefullight merged 2 commits intomainfrom Mar 21, 2026
Merged
feat(api/meetings): CRUD with relationship strength auto-recomputation#48gracefullight merged 2 commits intomainfrom
gracefullight merged 2 commits intomainfrom
Conversation
Add meeting management with automatic contact relationship strength tracking. When meetings are created, updated, or deleted, the strength between all participant pairs is recomputed based on shared meeting count. - Add meeting, meeting_participant, contact_relationship tables (migration 0004) - Meeting CRUD endpoints with participant management - ContactRelationshipService: upsert/delete based on shared meeting count - Globe cache invalidation on relationship changes - DB constraint ensures strength > 0 (no zero-strength rows created) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts: # apps/api/src/main.py # apps/api/src/meetings/models.py # apps/api/src/meetings/repository.py # apps/api/src/meetings/router.py # apps/api/src/meetings/schemas.py # apps/api/src/meetings/service.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
meeting,meeting_participant, andcontact_relationshiptables via migration 0004/meetings) with participant managementContactRelationship.strengthon every meeting create/update/delete based on shared meeting count between contact pairsglobe:user:{user_id}:arcs) on relationship changesstrength > 0) ensures zero-strength rows are never persisted — rows are deleted insteadTest plan
contact_relationshiprows created with correct strengthglobe:user:{id}:arcsis invalidated on each CRUD operation🤖 Generated with Claude Code