Files
buzz/desktop
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7andWill Pfleger b795ed6c79 feat(desktop): implement ordered per-scope migration pipeline and scoped dev-sync
Completes Phase 2 of the workspace-scoped agent store:

- scope_init.rs: replace the run_scoped_migrations no-op with the full
  ordered migration pipeline (fold, strip, refresh-avatars, backfill,
  detach, reconcile-names, reconcile-mcp, databricks-v1-to-v2, materialize)
  running against the scope directory after staged install. Ordering mirrors
  migration.rs::run_boot_migrations_inner's load-bearing order.
- migration submodules: expose fold_personas_in_dir, strip_baked_team_
  instructions_in_dir, backfill_standalone_agents_in_dir, detach_directory_
  backed_teams_in_dir, materialize_runtimes_in_file as pub(crate)
- migration.rs: add _at(definitions_dir) wrapper functions for reconcile_
  provider_mcp_commands, reconcile_databricks_v1_to_v2, refresh_builtin_
  agent_avatars, reconcile_legacy_command_names, materialize_agent_runtimes
  re-export the dir-level helpers under the crate's migration module
- SHARED_AGENT_FILES: emptied; legacy unscoped files no longer symlinked
  across worktrees (they live under agents/scopes/ now)
- SHARED_AGENT_DIRS: add agents/scopes so all scoped stores are shared
  across dev worktrees without requiring knowledge of the dynamic scope ID
- migration_tests.rs: rewrite 8 sync tests to match the new SHARED_AGENT_DIRS
  layout; add scope-dir-based write-through and seed-up tests

All 2118 tests pass.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-02 23:40:35 -04:00
..
…

Buzz

Desktop chat shell with:

  • Tauri + React + TypeScript + Vite
  • Tailwind CSS
  • shadcn/ui-ready shared components
  • Biome (lint/format/check)
  • Feature-driven frontend structure

Scripts

  • pnpm dev - run the web frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm format - Biome format (write)
  • pnpm check - Biome check

Structure

  • src/shared - reusable app-wide code (ui, lib, styles)
  • src/features - feature modules (vertical slices)
  • src/app - top-level app composition