Files
buzz/desktop
Duncan c9fa216195 fix(agents): wire publish-only retry seam and remove pooled-instance name suppression
IMPORTANT 1: When save+publish succeeds on disk but the publication step
throws, the coordinator now attempts a publish-only retry via
set_persona_shared(id, true) — reads the current on-disk definition without
writing any field changes. On retry success the coordinator falls through to
full success and closes normally. On retry failure (or no seam provided),
reports a terminal 'saved locally, not published to the catalog — it will be
retried automatically' without the false 'reopen to retry publishing' copy
that the prior pass showed. The generic 'some changes may not have persisted'
setSaveError message in useAgentEditMergedSubmit is also updated to avoid
implying persistence is unverified on this branch where it is proven.

IMPORTANT 2: Remove the hasNamePool suppression from nameChanged in
agentFormModel.ts and the pool exemption from the canSubmit instanceName
blank-guard in AgentEditMergedDialog.tsx. The suppression was not load-bearing
for the definition-rename safeguard: when only a D-field changes, seeded
instanceName already equals inst.name so the diff is already false without it.
Removing the guard lets pooled instances be explicitly renamed or cleared the
same as non-pooled, with the canSubmit blank guard blocking submission on a
cleared pooled name.

Regressions added:
- Coordinator family 11 (3 tests): retry succeeds → full success; retry
  fails → terminal warning without 'reopen to retry'; no-seam → same terminal
- agentFormModel: test_pooled_explicit_rename_emits_agentInput (mutation-a RED),
  test_pooled_clear_emits_agentInput (mutation-a RED),
  test_cleared_instance_name_emits_empty_not_displayName_fallback (mutation-b RED)
- Family-10 assertions updated to match the new terminal toast copy

TS suite: 5904/5904 pass (6 new tests added)

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-29 15:14:52 -04: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