mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
F1: replace prefix-only context truncation with head/tail layout (truncate_to_bytes_head_tail) so suffix differences survive even when the context budget is small (10 bytes). Same-prefix commands like sameprefix-a / sameprefix-b now produce distinct descriptions. Seam test rewritten to use same-prefix commands and drive through build_sentinel_pending_payload, asserting both extractor and sentinel descriptions differ. F3: add reject_once_resolves_entry_with_applied_write — a separate client that exercises the reject_once path and asserts resolution plus exactly one applied write. Proves the symmetric rejection proof Thufir's accepts()→ allow_id-only mutation missed. F4: add signed_observer_control_event_delivers_permission_decision — calls handle_relay_observer_control_event with a real owner-signed, NIP-44- encrypted kind-24200 frame, proving the full outer admission path (signature check, owner-pubkey guard, freshness window, NIP-44 decrypt, type dispatch) delivers to the in-flight mpsc without a live relay. MINOR: fix Desktop overclaim — retransmitPermissionDecision.ts and agentSessionTranscriptPermissions.ts comments changed from 'already applied' to 'previously forwarded/delivery suppressed', matching pool.rs wording. 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