mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
- apply_effort_bridge() in config_bridge/mod.rs: applied after merged user env in resolve_effective_agent_env_with_def. Strips all foreign known effort keys (runtime-scoped invariant), then resolves canonical effort via tier-first precedence (record native → record legacy → persona native → persona legacy → global native → definition native; global legacy excluded end-to-end). Removes raw native key (possibly alias-form) from env before inserting canonical winner — skip-as-absent applies to the output map, not just winner selection. - effort_tier_alias() with global_tier=true: honours native key only at global tier; legacy alias excluded there (plan v3 Delta 2). - readiness_effort_bridge_tests.rs: 12 spawn tests covering bridge activation, tier-first precedence (record beats persona, record legacy beats persona native, global legacy excluded), alias normalization (none→off, xhigh→max), invalid-skip-as-absent (minimal skipped, persona native wins), and the bidirectional global coexist invariant (Goose and buzz-agent from same global config each receive only their own native key; GOOSE_THINKING_EFFORT stripped from buzz-agent descriptor, BUZZ_AGENT_THINKING_EFFORT stripped from Goose). - agents_deploy.rs: deploy parity test pins that a legacy-only Goose record produces GOOSE_THINKING_EFFORT in launch.env while top-level env_vars retains the legacy key as compatibility bookkeeping (Delta-4 contract boundary). 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