# Troubleshooting

The problems that already cost someone time, each with its cause and its fix.

![Hands untangling a knotted string beneath a cherry branch](/docs/troubleshooting.jpg)

## First launch blocked on macOS

**Cause.** Blossom is signed ad hoc and is not notarized, so Gatekeeper stops the first launch of a copy you downloaded — with Homebrew too.

**Fix.** Choose *Done* in the dialog, open **System Settings → Privacy & Security**, and click *Open Anyway* on the line that says Blossom was blocked. Confirm with your password or Touch ID; from then on it opens like any app, and updates never ask again. A build from source needs no approval.

## An agent does not appear in the notch

**Cause.** One of five, in this order:

1. **No adapters.** Without one, the notch correctly looks like hardware. Add an agent in **Settings → Agents**.
2. **"Hide until something needs you" is on.** Nothing shows until a session needs you or fails. Open Blossom again from Spotlight to reach its settings, or reset it:

   ```sh
   killall Blossom
   ```

   then set `hidesUntilNeeded` to `false` in `~/Library/Application Support/Blossom/configuration.json`, while Blossom is not running.
3. **The adapter did not start.** Finder gives an app no shell `PATH`, so a command a version manager installed needs its absolute path in the configuration. **Settings → Agents** says why an adapter stopped.
4. **Another Blossom holds the socket.** Each hook adapter listens on `~/Library/Application Support/Blossom/<adapter>/socket`:

   ```sh
   lsof -U | grep Blossom/claude/socket
   ```

5. **The session is not connected.** Start it after connecting, type a prompt since Blossom started, and run it with the same `HOME`. The checks of each agent are in [its guide](../../adapters/claude/README.md).

> [!TIP]
> **Settings → Agents** answers most of this: the row of an agent says whether Blossom's hooks are there, and *Repair* writes the ones this Blossom installs.

## Permission prompts stay in the terminal

**Cause.** Expected for every agent whose hooks cannot answer a confirmation: the notch shows the session needs you, and you answer in the agent. For Claude Code, three more: auto permission mode, a rule or an earlier "always" that settles the call, or a session started without Blossom's hooks.

**Fix.** Start Claude Code with `claude --permission-mode default`, and connect the agent in **Settings → Agents**: *Repair* rewrites hooks an update left outdated. Which agents answer from the notch is in each adapter's guide.

> [!NOTE]
> A session that shows amber with no request panel is working as designed: those hooks report that it needs you but cannot take an answer.

## Jumping to a terminal does not focus the tab

**Cause.** Terminal, iTerm2 and Ghostty need the Automation permission, and the tab is found by the terminal device the hook of your last prompt read.

**Fix.**

- **Send a prompt first.** A session with no prompt since Blossom started has no terminal to go to.
- **Allow Automation** in **System Settings → Privacy & Security → Automation**, under Blossom. A Debug build is *Blossom Development* there.
- **Ghostty** gives its panes to scripts from 1.4.0, and answers none at all with `macos-applescript = false`.
- **kitty** needs `allow_remote_control socket-only` and a `listen_on` such as `unix:/tmp/kitty` in `kitty.conf`, then a restart.
- **tmux, Zellij and WezTerm** are looked for in `/opt/homebrew/bin`, `/usr/local/bin`, `/opt/local/bin`, `~/.local/bin`, `~/.cargo/bin` and `~/.nix-profile/bin`, never in your shell's `PATH`. Zellij needs 0.44.1 or later, and tmux moves only an attached client.

## Updates and a read-only app folder

**Cause.** **Settings → About** says Blossom cannot update itself, and says why: *a development build*, *no key*, *from where it is*, or *in this folder*.

**Fix.** A build from source always says the first two. *From where it is* means macOS runs a read-only copy of an app opened from Downloads or a disk image: quit it, move `Blossom.app` to Applications with Finder, and open it from there. *In this folder* means you cannot write the folder that holds the app: move it to one you can.

## Resetting or uninstalling

```sh
/Applications/Blossom.app/Contents/MacOS/Blossom --uninstall
```

It lists everything and removes nothing until you type `yes`; add `--remove-backups` to drop the copies of your agents' hooks files. Installed with Homebrew, finish with `brew uninstall --zap galfrevn/blossom/blossom`. What it keeps is in [Removing Blossom & backups](privacy/uninstall.md).
