feat: add full community bookmark tag management - #3
Merged
CountableNewt merged 1 commit intoAug 20, 2026
Merged
Conversation
Adds exact tag filtering and pagination plus CID-guarded replacement, rename, and delete operations. Bounded mutation and verification cursors make global changes retryable without hiding partial progress.
CountableNewt
force-pushed
the
sam/ltr-15-add-full-community-bookmark-tag-management-and-current-view
branch
from
August 20, 2026 23:19
7dbcc7e to
5f1c484
Compare
CountableNewt
marked this pull request as draft
August 20, 2026 23:19
CountableNewt
marked this pull request as ready for review
August 20, 2026 23:26
CountableNewt
deleted the
sam/ltr-15-add-full-community-bookmark-tag-management-and-current-view
branch
August 20, 2026 23:26
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.
What changed
tagCounts, replacement/clear APIs, and XRPC client contracts aligned tolatr-packagesPR #7Why
LTR-15 needs a shared Swift contract before the gateway, L@tr.link, and The Social Wire can implement compatible tag organization. The bounded cursor model keeps global changes retryable and avoids unbounded PDS writes.
Public API
bookmarks(limit:startingAfter:taggedWith:)bookmarkTags(limit:startingAfter:)setTags(ofBookmarkURI:to:)renameTag(_:to:limit:continuingFrom:)deleteTag(_:limit:continuingFrom:)Concurrency and retry behavior
Each global batch uses one atomic
applyWritescall with every source CID. A conflict commits none of that batch and the caller retries the same cursor. After mutation reaches the end, verification scans from the beginning; any reintroduced source tag is changed and verification restarts. A nil cursor is the only completion signal, matching the public Lexicon result shape.Testing
Dependency
PR #2 landed as
e6c1fe8; this branch is rebased directly onto thatmainmerge. The wire contract depends onlatr-packagesPR #7, including its correctedsetTagsproof budget of threegetRecordproofs plus oneapplyWritesproof.Risk
No deployment or Production change. The gateway and apps must pin this commit only after
latr-packagesPR #7 matches these wire shapes and the canonical Lexicons pass their publication gate.