mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Fix three CI failures introduced in round 3:
1. AgentDefinitionDialog.tsx + AgentInstanceEditDialog.tsx: inline
number[] literal (from ratchet fix commit a64110ece) is not assignable
to Easing (TS2322). Revert both to use ADVANCED_FIELDS_MOTION_TRANSITION
constant as on main.
2. test_b8_agent_write_failure_does_not_block_spawn uses std::os::unix +
Permissions::from_mode, which do not exist on windows-msvc. Add
#[cfg(unix)] to gate the test to unix targets.
3. B5 persistence gate had two holes: (a) gated on literal configId
"effort" — breaks if adapter renames the thought_level configId;
(b) synthetic ok from the fallback branch reachable from the UI when
the pool has no thought_level_config_id — Desktop would persist a value
nothing forwarded.
Fix: harness emits category: "thought_level" ONLY on the real-forward
branch (when thought_level_id matches). Observer gates persistence on
category === "thought_level" instead of a literal configId. Synthetic
acks carry no category so Desktop cannot persist them.
Add tests: test_b5_real_forward_ack_includes_thought_level_category
(renamed configId still persists), test_b5_synthetic_ok_ack_has_no_
category (pool empty -> no category). Update existing B5 tests to
assert category presence/absence.
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