Repository navigation
Conversation
A NIP-AR artifact can now have a conversation: a private `artifact` channel at a UUIDv8 address derived from its `d`, filed under the artifact's home with no member rows. Anyone who may post in the home opens it with kind:9007 and an `artifact` tag; access comes only through the home. Moves refile it in the same transaction, delete closes it and restore reopens it. People and settings events are refused in it, and the home's owners and admins moderate comments. Incremental artifact sync now includes channels with a TTL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…gaps A task conversation now accepts only the kinds comments need (messages, edits, deletes, reactions and the open itself) and refuses everything else, so a canvas or any future setting stays out without a refuse list. Adds tests for two first comments at once, a forged or early-claimed address, filing a channel with comments at the depth limit, and keeping conversations out of lists and search. NOSTR.md records that an archived parent still grants comment access, as a decision. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: feat(auth): tolerate client clocks up to 120 s off (#9485) docs: name the required stop as a relay build, not a release (#9577) buzz-db: drop the created_at floor, community write-fence and migration-only NIP-RS triggers (contract) (#8326) Keep community deletion working across a new tenant table's migration (#9304) docs: design Android push notifications (#9555) feat(push-gateway): accept deliveries on a platform-neutral route (#9557) fix(mobile): read a Solo chat through its newest message on open (#9515) fix(mobile): keep the Solo header's agent portrait while its roster reloads (#9512) perf(mobile): pulse the Solo working dots at 12 fps on a shared clock (#9554) test(mobile): match the resumeSince override in the search journey (#9546) mobile: show account communities in the switcher and sync saved destinations (#9262) perf(mobile): stop replaying stored read state on every resume (#9090) perf(mobile): save the open-channel directory and catch it up (#9513) fix(mobile): sign out from Settings in every build, keeping keys on the device (#9421) fix(mobile): wrap inline Markdown links with their sentence (#9462) feat(mobile): message the Bestie from Siri and Shortcuts (#9517) fix(mobile): slide a closing chat away instead of cutting to the list (#9511) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com> # Conflicts: # crates/buzz-db/src/runtime/migration.rs
…ions * morganm/filed-auto-archive: Refuse opening a private channel that has other members (#9307) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: feat(deletion): clean up media for users and owned agents (#9365) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: update feedback community invite link (#9588) fix(mobile): name the failing step in sign-in errors (#9263) fix(mobile): order same-second messages by millisecond offsets (#9541) fix(acp): saturate observer frame size estimates (#9494) feat(mobile): accept mentions with Tab and send with Enter on hardware keyboards (#8733) Fix remote Huddle ending cleanup (#9376) fix(mobile): host Duo long-press menus in native sheets (#9536) fix(mobile): keep the relay session across auth reloads (#9543) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: [buzz] Classify HTTP event request metrics by event type (#9561) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: feat(relay): grow DMs in place, identified by their people (#9125) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…ions * morganm/filed-auto-archive: buzz-db: check membership, agent-owner and channel references in app code (#9404) buzz-db: enforce five single-table guards in app writers (phase 1) (#8320) docs(mobile): add REVIEWING.md with mobile review principles (#9298) Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
This branch has not been deployed
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 this does
Stacked on #9565. A NIP-AR artifact, such as a task, can now have a conversation: a channel for its comments that belongs to the task, not to whoever opened it. This is the relay part of task comments (slice 2).
dalone: the first 16 bytes ofSHA-256("nip-ar-conversation\0" || UTF-8(d)), as a UUIDv8. Every client computes the same one, and it doesn't change when the task moves. NOSTR.md has the exact bytes and a fixture. Version-8 channel IDs are reserved, so an ordinary kind:9007 can't take one.["h", <derived>]and["artifact", <d>]. Anyone who may post in the task's home may send it; it needsmessages:write, notchannels:write. The relay creates a private channel of the new typeartifact, filed under the home, with no member rows, so nobody owns it. Opening one that exists is accepted and writes nothing.parent_access = none, and it has no rows), and opening one is refused. Restoring reopens it.artifactisn't a legacy channel type, so conversations stay out of reads that name no channel, by the existing NIP-CL rule. kind:39000 marks themhidden.buzz-artifact-conversations. Migration0095adds the enum value (renumbered after main took 0089–0092).Testing
artifact_conversation_postgres_tests.rs), all through real ingest, REQ and COUNT:his refused; comments are hidden from implicit readssync_includes_auto_archiving_channels_and_resets_on_ttl_changes.hanging_redis_peer_times_out_before_the_health_listener_binds, fails the same way on the base branch at310ae91d8. After formatting, the 133 artifact, conversation, parent and migration tests passed atcb7830d63.-D warningsis clean.Follow-ups and known limits
🤖 Generated with Claude Code