mirror of
https://github.com/block/buzz.git
synced 2026-11-29 20:52:25 +00:00
The definition tier of the fail-closed spawn gate — refuse to launch or deploy a linked instance whose definition's env_vars ref could not be hydrated from the keyring — was open-coded identically at four sites (spawn, two status rows, deploy) and reimplemented again in tests. Extract `unavailable_definition_id` next to its sibling `spawn_key_refusal` and route every site through it. It returns the offending definition id so the spawn and deploy paths can name it in the refusal message without a second lookup; status rows use `.is_some()`. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
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 frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm 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