Files
buzz/desktop
Duncan f4efd99d43 feat(desktop): relocate permission-policy default to the agent definition
The editable permission-policy control belonged on the instance-edit
surface, but that surface is being retired and a definition-scoped
default is the correct home for an authority grant that describes how a
persona should behave.

Add the definition default as resolver tier 2 (instance override →
definition → global → built-in `ask`), live-resolved through the same
total `resolve_effective_permission_policy` signature every spawn,
summary, and deploy path already carries — never mint-copied, so a
definition-default change moves every linked instance on the next
summary. It is written through `apply_persona_behavior` as part of the
behavior group and is local-only: never published to the catalog and
never mint-copied, unlike `respond_to`/`parallelism`.

The instance surface (`AgentPermissionPolicyField`) becomes display-only:
it shows the resolved effective value, its source, and the per-instance
applied-vs-desired drift row, which stays instance-scoped because only a
deployed instance has a byte-stamped deploy receipt.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-12 15:08:25 -04:00
..
2026-08-03 21:51:17 -04:00
2026-06-11 15:06:24 +00: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