Skip to content

Desktop never ingests CLI agent draft-create broadcasts (kind 24200 observer frames) #18

Description

@BrianInAz

Bug: buzz agents draft-create publishes a kind-24200 observer frame (ephemeral), the relay accepts it, but the Desktop never receives/renders it — no owner-review form ever appears.

Verified working (backend):

  • NIP-OA auth tags valid; agent→owner binding present in the relay users.agent_owner_pubkey
  • Frame carries the owner p tag; owner identity on the Desktop matches; broadcast accepted by the relay ({"accepted":true})
  • CLI WSS was fixed to rustls-tls-native-roots (fix(cli): use rustls native roots for WSS #17) — TLS/connectivity is not the issue

Verified broken (Desktop 0.5.3 canary @ cb6afa8):

  • Zero kind-24200 frames ever archived (agents/retention* untouched since Jul 30; no session logs after restart; no unified-log traces)
  • Draft→dialog wiring exists: AgentManagementDialogs renders AgentDefinitionDialog on management.request?.action === "create", useAgentObserverIngestion mounted in AppShell — but nothing ever arrives to trigger it
  • The Desktop's observer subscription ("DB subscription" repaired by useObserverArchiveReconciliation on internal builds) appears not active in this canary

Impact: remote agent adoption (CLI draft-create → owner review in Desktop) is dead in the canary; the Desktop's own create-agent form always mints a new keypair, so existing identities (e.g. Hermes bot identities) cannot be registered as managed agents.

Repro: mint a valid NIP-OA auth tag for any identity, run buzz agents draft-create (ephemeral kind-24200 frame with owner p tag), observe no Desktop receipt.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions