Skip to content

upstream(sync): complete Projects trees and v3 engine - #315

Merged
oscarlehuu merged 1 commit into
mainfrom
devin/issue-270-projects-engine-v3
Aug 22, 2026
Merged

upstream(sync): complete Projects trees and v3 engine#315
oscarlehuu merged 1 commit into
mainfrom
devin/issue-270-projects-engine-v3

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 22, 2026

Copy link
Copy Markdown

Summary

  • Retains every tracked repository path while bounding eager previews to the first 250 blobs; later/large files load through a fail-closed deferred-content Tauri command, and the desktop tree paginates 200 entries at a time.
  • Adds canonical buzz://project, repository-tab, and commit links plus cross-channel discussion discovery without restoring upstream Projects navigation chrome.
  • Adds Nostr kind-1 issue assignment/unassignment across SDK, CLI, desktop managed-owner signing, exhaustive relay fetching, causal authorization/state projection, and assignee UI.
  • Records the selective Buzz 0.5.18 sync: accepts the Projects engine changes from fix(desktop): show complete repository trees block/buzz#5102/Projects v3: unify sharing, discussions, and issue ownership block/buzz#5792 while explicitly rejecting the Projects rail, top-level Projects navigation, overview chrome, and Workbench destination to preserve Crew's channel-first IA.

Related issue

Fixes #270

Related: #278, #285

Testing

Passed locally:

  • pnpm --filter buzz check
  • pnpm --filter buzz typecheck
  • pnpm --filter buzz test — 5,532 passed, 1 skipped
  • just check-compile
  • Tauri cargo check --all-targets
  • targeted SDK, CLI, and Tauri assignment tests
  • desktop E2E mock-bridge verification on exact commit 17ec8d5 — 4/4 temporary specs passed headless and headed

just test-unit still reports four unrelated baseline failures reproduced identically from clean main: three stale buzz-cli command-inventory assertions (org / call) and one stale buzz-db embedded-migration count assertion (31 actual vs. 30 expected). Issue-specific assignment tests pass.

Two committed project specs remain locally unrunnable on clean main and this branch because they navigate to /projects while the hash-history router and static E2E server require /#/projects; the exact-commit temporary specs use the working route.

Quantitative repository-tree evidence: clean main truncated after 250 backend paths and exposed only the first 200 desktop entries; this branch retains all 252 paths in the Rust regression fixture and paginates the 258-entry UI fixture as 200 + 58 while fetching deferred file content only after selection.

Complete tree and deferred content

Before: the repository tree is truncated and deferred content is unavailable.

Before: repository tree truncated

Before: deferred file content unavailable

After: the complete tree is paginated and deferred content loads on selection.

After: repository tree pagination

After: deferred file content

Projects v3 surfaces

Issue assignment

Related conversations grouped by channel

Canonical deep link auto-expands the requested workspace

Channel-first sidebar preserved

NOTES

DONE - what is implemented, tests added, gates run + results, evidence files/links

  • Implemented the issue upstream(sync): Projects engine — complete repo trees + v3 backend (#5102, #5792) #270 selective Projects-engine sync: complete tracked repository trees, bounded eager previews, deferred file loading, desktop pagination, canonical project/repository/commit links, cross-channel discussion discovery, Nostr assignment/unassignment in SDK/CLI/desktop, causal authorization/state projection, and channel-first UI guardrails.
  • Added RED/GREEN Rust, desktop, SDK, CLI, and Tauri tests. Passed pnpm --filter buzz check, pnpm --filter buzz typecheck, pnpm --filter buzz test (5,532 passed, 1 skipped), just check-compile, Tauri cargo check --all-targets, targeted assignment/tree tests, and exact-commit E2E (4/4 headless and 4/4 headed) at 17ec8d5.
  • just test-unit reports four unrelated failures reproduced identically on clean main: three stale buzz-cli command-inventory assertions and one stale buzz-db migration-count assertion.
  • Full-screen before/after screenshots are embedded above and hosted at immutable commit 959d7772ff1f346faf1eed70cf9395a6434205b1. Local evidence: /home/ubuntu/evidence/issue-270/before/, /home/ubuntu/evidence/issue-270/after/, /home/ubuntu/evidence/issue-270/pr-screenshots/, /home/ubuntu/evidence/issue-270/*.log, and /home/ubuntu/evidence/issue-270/after/issue-270-pr315-recording.mp4.
  • CI showed the expected parent-controlled cancellation (NuncioCrew Gate failed because CI Policy was cancelled); it was not retriggered or modified.

IN PROGRESS - what is half-done, which files, what state it is in

  • Nothing. The branch is clean, signed, pushed, and the implementation/evidence are complete.

TODO / NEXT - remaining steps for whoever picks this up, known risks, conflicts expected

  • Parent session should serialize/re-run CI when this PR reaches the merge queue, resolve any sibling upstream-sync conflicts, and merge only after its policy gates pass.
  • Optional follow-up outside upstream(sync): Projects engine — complete repo trees + v3 backend (#5102, #5792) #270: repair the two pre-existing project E2E specs that navigate to /projects instead of the hash route /#/projects, and refresh the stale clean-main unit-test inventory/migration baselines.
  • Conflict risk is concentrated in Projects UI/model files shared with sibling Buzz 0.5.18 sync PRs; preserve the channel-first sidebar and reject Projects rail/top-level Projects/Workbench chrome during resolution.

Link to Devin session: https://app.devin.ai/sessions/992136c854bd4ea0945215f4b15bc079
Requested by: @oscarlehuu

@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration

Copy link
Copy Markdown
Author

Screenshots

pr-315--01-before-tree-truncated

pr-315--02-after-tree-pagination

pr-315--03-before-deferred-file

pr-315--04-after-deferred-file

pr-315--05-issue-assigned

pr-315--06-related-channels

pr-315--07-canonical-link-auto-expanded

pr-315--08-channel-first-sidebar

devin-ai-integration Bot added a commit that referenced this pull request Aug 22, 2026
@devin-ai-integration

Copy link
Copy Markdown
Author

Screenshots

pr-315--01-before-tree-truncated

pr-315--02-after-tree-pagination

pr-315--03-before-deferred-file

pr-315--04-after-deferred-file

pr-315--05-issue-assigned

pr-315--06-related-channels

pr-315--07-canonical-link-auto-expanded

pr-315--08-channel-first-sidebar

devin-ai-integration Bot added a commit that referenced this pull request Aug 22, 2026
@devin-ai-integration

Copy link
Copy Markdown
Author

DONE - what is implemented, tests added, gates run + results, evidence files/links

  • Implemented the issue upstream(sync): Projects engine — complete repo trees + v3 backend (#5102, #5792) #270 selective Projects-engine sync: complete tracked repository trees, bounded eager previews, deferred file loading, desktop pagination, canonical project/repository/commit links, cross-channel discussion discovery, Nostr assignment/unassignment in SDK/CLI/desktop, causal authorization/state projection, and channel-first UI guardrails.
  • Added RED/GREEN Rust, desktop, SDK, CLI, and Tauri tests. Passed pnpm --filter buzz check, pnpm --filter buzz typecheck, pnpm --filter buzz test (5,532 passed, 1 skipped), just check-compile, Tauri cargo check --all-targets, targeted assignment/tree tests, and exact-commit E2E (4/4 headless and 4/4 headed) at 17ec8d5.
  • just test-unit reports four unrelated failures reproduced identically on clean main: three stale buzz-cli command-inventory assertions and one stale buzz-db migration-count assertion.
  • Full-screen before/after screenshots are embedded in the PR body and hosted at immutable commit 959d7772ff1f346faf1eed70cf9395a6434205b1. Local evidence: /home/ubuntu/evidence/issue-270/before/, /home/ubuntu/evidence/issue-270/after/, /home/ubuntu/evidence/issue-270/pr-screenshots/, /home/ubuntu/evidence/issue-270/*.log, and /home/ubuntu/evidence/issue-270/after/issue-270-pr315-recording.mp4.
  • CI showed the expected parent-controlled cancellation (NuncioCrew Gate failed because CI Policy was cancelled); it was not retriggered or modified.

IN PROGRESS - what is half-done, which files, what state it is in

  • Nothing. The branch is clean, signed, pushed, and the implementation/evidence are complete.

TODO / NEXT - remaining steps for whoever picks this up, known risks, conflicts expected

  • Parent session should serialize/re-run CI when this PR reaches the merge queue, resolve any sibling upstream-sync conflicts, and merge only after its policy gates pass.
  • Optional follow-up outside upstream(sync): Projects engine — complete repo trees + v3 backend (#5102, #5792) #270: repair the two pre-existing project E2E specs that navigate to /projects instead of the hash route /#/projects, and refresh the stale clean-main unit-test inventory/migration baselines.
  • Conflict risk is concentrated in Projects UI/model files shared with sibling Buzz 0.5.18 sync PRs; preserve the channel-first sidebar and reject Projects rail/top-level Projects/Workbench chrome during resolution.

Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Oscar Le <oscar.lehuu@gmail.com>
@cursor
cursor Bot force-pushed the devin/issue-270-projects-engine-v3 branch from 17ec8d5 to 554b2fa Compare August 22, 2026 11:41
cursor Bot pushed a commit that referenced this pull request Aug 22, 2026
cursor Bot pushed a commit that referenced this pull request Aug 22, 2026
@cursor

cursor Bot commented Aug 22, 2026

Copy link
Copy Markdown

Post-rebase evidence (after 165a3b81)

Rebased devin/issue-270-projects-engine-v3 onto current origin/main (165a3b81, #316 / #288 + #317). Fast-forwarded 13 commits with no conflicts. Head: 554b2fa7e. Channel-first sidebar preserved — no Projects rail, top-level Projects chrome, or Workbench destination.

Channel-first sidebar (no Projects rail)

Inbox + channels + DMs. Exclusive repo binding on #engineering does not create a Projects folder or Workbench item.

01-channel-first-sidebar

Project repository tree

Canonical tab=files deep link auto-expands plumbing. Files tab shows the tracked tree (crates/, desktop/, README.md) with remote/local and branch controls.

02-project-repo-tree

Screen recording

Channel-first home → Projects repositories → Files tree after rebase.

https://raw.githubusercontent.com/Nuncio-hq/crew/a1ab9cb5f41c59086eda5a2e9919cd9166eab620/pr-315--post-rebase-recording.mp4

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.

upstream(sync): Projects engine — complete repo trees + v3 backend (#5102, #5792)

1 participant