Skip to content

Define conversation subjects, projects/tasks, and repositories/branches - #7656

Draft
baxen wants to merge 1 commit into
mainfrom
baxen/conversation-subjects
Draft

baxen wants to merge 1 commit into
mainfrom
baxen/conversation-subjects

Conversation

@baxen

@baxen baxen commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Define Conversation Subjects (NIP-CS): canonical channel/thread relationships, exclusive/primary/attachment claims, tags, identity, revisions, and authorization.
  • Define Projects and Tasks (NIP-PT) independently of repositories.
  • Define Repositories and Branches (NIP-RB), mapping Buzz repository identities to NIP-34 coordinates and branches to Buzz repositories plus Git refs.
  • Add core domain types and structural validation for subject declarations, repository coordinates, and branch refs.

Scope

This draft contains protocol specifications and the initial core types. It does not enable new relay event kinds or implement transactional acceptance, storage projections, or query/subscription integration. The Rust types still need alignment with the detailed specifications. No frontend changes.

Design choices for review

  • Exclusive claims exclude all other subjects; primary claims allow attachments.
  • Controller-signed revisions use prev for optimistic concurrency.
  • Conversation homes are immutable.
  • Primary/exclusive claims require channel administration.
  • Branch retirement is terminal.

Verification

  • cargo check -p buzz-core passed.
  • Formatting and git diff --check passed.
  • Push scope, organization, branch-skew, LFS, and file-size checks passed.
  • Broad Rust and desktop pre-push test lanes were skipped with approval; no completed test-suite result is claimed.

Signed-off-by: Bradley Axen <baxen@squareup.com>
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is deda09c18c78d48847b032557c331f28faf64ee8...a0c050848965dfe3b1af0bbbc1c35655f04245bf.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review a0c050848965dfe3b1af0bbbc1c35655f04245bf to authorize a new review.
Any previous review applies only to its recorded range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant