buzz icon indicating copy to clipboard operation
buzz copied to clipboard

feat(projects): support multiple repositories

Open thomaspblock opened this issue 3 months ago • 1 comments

Summary

  • adopt the finalized NIP-MP project model so one project can enumerate and switch between multiple NIP-34 repositories
  • add project and repository navigation, activity summaries, existing-repository attachment, and repository access-channel management
  • preserve privacy-safe activation provenance for agent-authored patches, pull requests, issues, and associated commits

Test plan

  • [x] Run desktop typecheck and unit tests
  • [x] Run focused NIP-MP, repository access, and provenance tests
  • [x] Run Rust formatting and desktop lint checks
  • [x] Run the complete pre-push suite after merging current main
  • [ ] Manually verify project creation, repository attachment, switching, and access repair on staging
  • [ ] Manually verify public-channel and private-agent origin labels on newly created Git activity

thomaspblock avatar Aug 04 '26 06:08 thomaspblock

🤖 Screenshots of the multi-repository project flows (captured from this branch against the E2E mock relay).

One project, multiple repositories

The Projects list shows the buzz project grouping 2 repositories, alongside standalone repositories that remain legacy single-repository projects.

01-projects-list

Repository picker inside a project

The project header carries a repository picker listing every repository in the project. The active repository drives the Files/Commits/Issues/PR tabs.

02-repository-picker

Switching the active repository

Selecting relay-tools switches all project content to that repository — the selection is URL-backed (repositoryId=…), so it deep-links and survives reloads.

03-switched-repository

Adding repositories to a project

The + button next to the picker offers both flows: create a new repository, or attach an existing standalone one.

04-add-repository-menu

Create with an access channel

New repositories are bound to an access channel at creation time (members of the channel get Git access), fixing the earlier "repository not initialized" failure mode.

05-create-repository-dialog

Attach an existing repository

Standalone repositories (here design-system) can be attached to the project — the previous mobile-app creation toast is still visible bottom-right.

06-attach-existing-dialog

Four repositories under one project

After creating mobile-app and attaching design-system, the picker lists all four repositories under the buzz project.

07-four-repositories

thomaspblock avatar Aug 04 '26 10:08 thomaspblock