fix(desktop): buzz agents draft-create succeeds on relay but fails to trigger Desktop draft review form
- Dominant language
- Rust
- Stars
- 32.7k
- Forks
- 4.3k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 253
Description
### Summary
When executing `buzz agents draft-create` from an external VPS CLI, the relay accepts the NIP-IA draft event (`"accepted": true`, `kind 9035`), but the Buzz Desktop app on macOS fails to receive/render the prefilled draft form for owner review.
### Codebase References
Per `desktop/src-tauri/src/managed_agents/nest_skill.md` and `crates/buzz-acp/src/base_prompt.md`:
> *"Agent draft commands add `{request_id, action, saved: false}` because they only open an owner-reviewed Desktop draft. Buzz Desktop resolves local runtime/provider/model defaults..."*
### Environment Details
- **CLI Host:** Ubuntu Linux (Remote VPS)
- **Desktop Host:** macOS (Buzz Desktop)
- **Relay:** Managed Relay Server (`https://markus-biz.communities.buzz.xyz`)
### Steps to Reproduce
1. Execute `draft-create` from a remote VPS with valid `BUZZ_PRIVATE_KEY` and `BUZZ_AUTH_TAG`:
```bash
BUZZ_PRIVATE_KEY="" \
BUZZ_AUTH_TAG='["auth","..."]' \
./target/release/buzz agents draft-create \
--channel "" \
--display-name "Athena AI" \
--system-prompt "System prompt..."
Observe successful relay response:
{"accepted":true,"action":"create","event_id":"8b4b261e...","saved":false}
Open or refresh Buzz Desktop on macOS.
Check Inbox, channel view, and Agents tab.
Expected Behavior
Buzz Desktop should consume the incoming kind 9035 event on its WebSocket connection, apply local defaults, and open a reactive draft approval modal/banner for the workspace owner.
Actual Behavior
No draft review pop-up, banner, or form opens in Buzz Desktop.
The agent appears in the channel member list (Athena AI 🔒 managed by you), but does not populate inside the main Agents tab gallery.
No headless CLI command (e.g. buzz agents approve) exists to save/approve the draft directly from the server side.
Related Work
Related to open PR #3610 (fix(desktop): queue agent draft requests).
Contributor guide
Assessment
This issue has not been assessed yet.