feat(media): ownership transfer offers between users — spec 070 (ADR 0119) #1477

Merged
chris merged 1 commit from feat/media-ownership-transfer into main 2026-11-01 22:51:33 +01:00
Owner

Implements spec 070 / ADR 0119: two-phase media ownership transfer between household users.

Backend: V186 migration (media_transfer_offers + media_transfer_offer_items + media_items provenance columns), MediaTransferService implementing the S4 acceptance transaction — FOR UPDATE row locks, all-or-nothing re-validation (FR-005), COALESCE-guarded provenance (FR-007), contributions revoked (S4.3), album_items removed (S4.4), sender-scoped people discovery cleanup with representative/contribution FK detachment (S4.5), metadata override / marker / worker grant cleanup (S4.6), audit_events provenance row (S4.7). REST endpoints per spec S3. 10 integration tests; full suite 2522/2522 green.

Web: selection-bar transfer action on timeline, TransferOfferDialog with consequence list (shares end / leaves albums / faces removed), /transfers page with incoming/outgoing tabs and inline accept-confirm, NotificationBell entry with pending badge, thumbnail strip, 51 paraglide keys en/de/da. svelte-check 0 errors, vitest 414/414.

Version bump 1.21.104 → 1.21.105.

Implements spec 070 / ADR 0119: two-phase media ownership transfer between household users. **Backend:** V186 migration (media_transfer_offers + media_transfer_offer_items + media_items provenance columns), MediaTransferService implementing the S4 acceptance transaction — FOR UPDATE row locks, all-or-nothing re-validation (FR-005), COALESCE-guarded provenance (FR-007), contributions revoked (S4.3), album_items removed (S4.4), sender-scoped people discovery cleanup with representative/contribution FK detachment (S4.5), metadata override / marker / worker grant cleanup (S4.6), audit_events provenance row (S4.7). REST endpoints per spec S3. 10 integration tests; full suite 2522/2522 green. **Web:** selection-bar transfer action on timeline, TransferOfferDialog with consequence list (shares end / leaves albums / faces removed), /transfers page with incoming/outgoing tabs and inline accept-confirm, NotificationBell entry with pending badge, thumbnail strip, 51 paraglide keys en/de/da. svelte-check 0 errors, vitest 414/414. Version bump 1.21.104 → 1.21.105.
feat(media): ownership transfer offers between users — spec 070 (ADR 0119)
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 / 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 postgres image (push) Has been skipped
Build and Deploy / Build Android CI 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 / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build people worker image (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 converter worker (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 review instance (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 1m8s
6e3241159a
Backend: V186 migration (media_transfer_offers + items + provenance
columns), MediaTransferService with the S4 acceptance transaction
(FOR UPDATE serialized, all-or-nothing re-validation, COALESCE
provenance, contributions revoked, album_items removed, sender-scoped
people discovery cleanup incl. representative/contribution FK
detachment, audit row), MediaTransferController per spec S3 contract,
10 integration tests (2522/2522 suite green).

Web: selection-bar transfer action + TransferOfferDialog with
consequence list, /transfers incoming/outgoing page with inline
accept-confirm, bell entry with pending badge, thumbnail strip,
51 paraglide keys (en/de/da). svelte-check clean, 414/414 vitest.
chris merged commit 1249007e6b into main 2026-11-01 22:51:33 +01: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!1477
No description provided.