# Glossary

The words below mean one thing each, in conversation, in documentation and in code. Use them exactly. When a new concept appears, name it here in the same change that introduces it.

## Product

| Term | Meaning |
|---|---|
| **Notch** | The cutout at the top of the display and, by extension, everything Blossom shows around it. |
| **Virtual notch** | The notch Blossom draws on a screen that has none. |
| **Ear** | The area that grows to the right of the notch when agents are running. There is one ear. |
| **Tile** | The square in the ear that stands for one agent. |
| **Badge** | The small mark in the ear that shows the most urgent state. |
| **Logo** | The one-color mark of an agent, a pipeline or a plugin, drawn inside its tile. |
| **Path data** | The shape of a logo: the commands and numbers SVG writes in the `d` attribute of a path, for a 24 by 24 box. |
| **Catalog** | The logos Blossom ships, so the adapter of a well-known product only has to name one. |
| **Mode** | What the notch is showing: `hidden`, `idle`, `live`, `toast`, `panel` or `command`. |
| **Panel** | The surface below the notch. It has three forms: peek, request and detail. The context menu of the ear is a fourth one for the core, drawn under the ear and not centered; the panel of a plugin, the introduction and the inbox are three more. |
| **Peek** | The panel that lists the sessions, grouped by agent or by project, when the pointer rests on the ear. |
| **Grouping** | How peek groups its sessions: by agent, the default, or by project, every agent mixed. A preference, switched in peek with its segmented control or `G`. |
| **Attention** | The order in which what asks for the user comes first: needs you, then working, then failed, then done. Peek grouped by project sorts its projects and their sessions by it, and the inbox its rows. |
| **Plan limit** | How much of the usage a plan allows in a window has been used: Claude Code's five hour and weekly windows, Codex's primary and secondary ones. Peek shows them by the group of the agent, and a toast says when one passes the threshold the user chose. |
| **Window** | One limit of a plan: its bucket, its length in minutes, the share used and when it resets. Two readings of the same bucket and length whose resets are within a minute are the same window. |
| **Inbox** | The panel that lists, in one place and in the order of attention, everything that needs the user: pending requests, sessions that wait for them, and sessions or runs that finished or failed and were not seen. It opens by itself in place of the request panel when two or more things are listed, and answers a short request in its row. The user sees it as "Needs you". |
| **Seen** | Said of a session that finished or failed once its detail opened or it was put aside with later in the inbox; it leaves the inbox until its state changes again. |
| **Detail** | The panel of one session: its header, its context, the steps of its turn and its output, or the stages of a run. |
| **Live** | The mode that shows a working session on both sides of the notch: its agent, for how long it has worked, and how many more work when there are several. |
| **Toast** | A short message under the notch when a session is done, fails or needs you. It leaves by itself after the time the core gives its kind, stays while the pointer is over it, and takes neither the mouse nor the keys. |
| **Context menu** | The menu of the ear: Settings, Dismiss finished sessions, Hide until something needs you and Quit Blossom. |
| **Introduction** | What Blossom shows the first time it starts without a configuration: a panel of three steps, welcome, agents and keyboard, which comes back at its step if Blossom quit before it ended. "First launch" names the occasion, the introduction what is shown. |
| **Strip** | The first row of a panel, as tall as the notch: a caption on the left, the ear's tiles and badge on the right, the hardware in the middle. |
| **Chip** | A short label with a border. A state chip takes a state color. |
| **Keycap** | The drawing of the key that triggers a control, shown next to its label. |
| **Cue** | The sound and the trackpad tap that go with a toast or with a request that arrives. The core says when; the preferences say whether. Approving a request, and the pointer that opens peek, tap too, but that tap is counted apart and is not a cue: no hold applies to it. |
| **Later** | Putting a request off: the panel closes and the request stays pending. In the inbox, `⌫` takes a row out of the list until something new happens in its session, and answers nothing. |
| **Step back** | What `esc` does wherever the notch has the keyboard: detail returns to peek, a request is put off with later, and any other panel closes. It never answers anything. |
| **Canvas** | The fixed, transparent area of the notch window. The notch, the ear and the panels are drawn inside it. |
| **Interactive region** | The rectangle the pointer can act on: the ear, the whole shape of live, the column of the context menu, or the rectangle of a panel as it is drawn. A toast has none. The window takes the mouse only while the pointer is inside it and has moved there. |
| **Engaged** | Said of the pointer after it entered the interactive region or clicked inside it, until it leaves, the keyboard moves to another window, or a panel that takes keys opens by itself under it. |
| **Rested** | Said of the pointer once it has stayed on the ear, or on live, for the hover delay. Resting opens peek. |
| **Away** | Said of the pointer once it has stayed outside the shape for the leave delay. Peek, detail and the context menu close. A pointer that was inside when a panel became smaller is not away while it stays where it was. |
| **Armed** | Said of the notch panel while keys reach it: a panel that takes keys is open, and the pointer is engaged and has either stayed inside for the dwell or clicked. |
| **Swipe** | Two fingers moving down or up on the trackpad while the pointer is on the ear, or on the band as tall as the notch at the top of what is drawn. Down opens peek and up closes it, one action a gesture. It is an explicit interaction. |
| **Dwell** | How long the pointer must stay inside a panel that takes keys before a hover arms it. |
| **Pause** | The short time after the shown request changes in which neither a key nor a click answers. |
| **Command bar** | The surface the command shortcut opens: a query and the results that answer it. Its mode is `command`. |
| **Command** | What one result of the command bar does when it runs: show a request, open a session, or one of Blossom's own actions. |
| **Query** | What the user typed in the command bar. Every word of it must appear in a result for the result to be listed. |

## Domain

| Term | Meaning |
|---|---|
| **Agent** | An AI coding tool that does work on the user's behalf. Blossom observes agents; it is not one. |
| **Identity** | Who an agent is: its identifier, display name, appearance and logo. |
| **Identity of a build** | Which Blossom a build is: `Blossom` for a release, `Blossom Development` for a Debug build, each with its own folder of data and Keychain service. |
| **State file** | `state.json`, next to the configuration: what belongs to this Mac and never travels with the configuration, the trust of the catalog and the step of an introduction left halfway. |
| **Appearance** | The identity colors of an agent. Never used for state. |
| **Look-alike** | Said of an agent of an adapter that is not off when an agent of another adapter that is not off could be taken for it: a name that reads like it, read loosely or one letter off or inside it; a logo that draws the same, the same catalog name or path data that rounds to the same; or close colors together with the same initials, or with two logos of path data; or when its adapter has the same name as another, read loosely. Both are look-alikes, and the request panel says so. |
| **Session** | One run of an agent, from its start until the user dismisses it or closes it. |
| **Dismissed** | Said of a finished session the user took out of the notch. The core remembers the hundred dismissed last and brings one back when it works, waits or asks again. Dismissing never cancels a request. |
| **Status** | Where a session stands: working, waiting, completed or failed. |
| **Waiting** | Said of a session whose agent stopped for the user without raising a request. It needs you and it is not finished. |
| **Closed** | Said of a session the user ended in the agent's own interface. It leaves the notch state at once. |
| **Activity** | What a working session is doing right now, in one line of its agent's words. It may carry a progress. |
| **Progress** | How far a countable step of a session is: how many are done out of a total above zero. |
| **Subagent** | A helper an agent starts inside a session. It belongs to that session and is never a session itself. |
| **Turn** | What a session does between two times it is the user's turn: from working after done or failed to the next done or failed. |
| **Step** | One thing a session does in its turn, in order, with its own status: pending, working, completed or failed, and when it began and ended. |
| **Context** | Short labels a session gives about where it works, such as its folder and its branch. |
| **Output** | The latest lines a session printed in its turn. |
| **Request** | Something a session cannot continue without. Either a permission or a question. |
| **Question** | A request in which the agent asks something only the user knows and offers answers of its own, none of them an allow. The user picks one, or types one where the question takes text. One request may hold up to four questions, answered together. |
| **What a request would do** | What a permission request says its call would do, as the agent's adapter sent it: the change of a file, the text of a command or a plan in Markdown. It exists only while the request waits, only in memory, and only the request panel shows it. The preference "Show what a request would do" turns it off. In code, the content of a request. |
| **What a session changed** | What the repository of the folder of a session holds different from its last commit when a turn ends: the name of each file without its folder, the lines `git` counts added and removed, whether it is new or deleted, and the commits made since the turn began. Never the content of a file, and not only the work of that session. The reply panel, detail and, as a count, the inbox show it; the preference "Show what a session changed" turns it off. In code, the changes of a session. |
| **Not committed** | Said of a file of what a session changed: it differs from the last commit of its repository. |
| **Note** | A text the user types for the agent when they answer a permission request with an option that takes one, such as why a plan should change. |
| **Diff** | How the request panel draws the change of a file: the lines it removes and adds, with a few unchanged lines around them and the rest folded. The core computes it from the text before and after. |
| **Draft** | What the user has answered so far of a request of several questions, or the note being written. The app keeps it while that request stays the one shown, also through later, and drops it when another request is shown. |
| **Terminal** (of a session) | Where a session runs: its terminal device, the processes above it and the identifiers its terminal program and multiplexer give it. Blossom keeps it in memory and never shows it; it uses it to go to that terminal, and to name the agent application of the session. |
| **Agent application** | A desktop app that runs coding agents for the user, such as T3 Code or Orca, and is not an agent itself. Its sessions are sessions of the agents it runs; the core names the app from the terminal of a session, and detail says "In T3 Code" or "In Orca" among the context. |
| **Jump** | Going from the notch to the terminal of a session: to its tab or its pane where the terminal allows it, to the window of its folder in an editor, and otherwise to the application. The core makes the plan, the app runs it. |
| **Option** | One of the answers an agent offers with a request: allow or reject in a permission, the agent's own choices in a question. |
| **Priority** | How strongly something asks for attention: routine, done, failed, needs you. The notch surfaces the highest. |
| **Pipeline** | A CI/CD run, shown as a session with stages. |
| **Stage** | One step of a pipeline, in order, with its own status: pending, working, completed, failed or skipped. |
| **Current stage** | The stage a run is at: the first that works, or else the first that has not started. |
| **Service** | The CI/CD product a pipeline runs on. It has a tile, like an agent, and is announced like one. |
| **Branch** | The branch of a repository a session works on, or a run runs for. An adapter may send it next to the title; peek shows it after the title. |
| **Project** | The repository or folder a session belongs to, as its adapter names it, such as `blossom`. An adapter may send it next to the title; a session named alone reads `blossom · ci`. |
| **Project group** | Two or more sessions of one agent with the same project, stacked in one row of peek and of the command bar that opens in place. One session is never a group. |
| **Folded project** | In peek grouped by project, a project whose sessions are all done, shown as one row, `api · 1 session, done yesterday`, that opens in place. |
| **No project** | In peek grouped by project, the group of the sessions whose adapter named no project. It comes last. |
| **Given title** | A title the user typed for a session in peek. It wins over the title its adapter sends while the session lives, stays in memory and never reaches the adapter; an empty one gives the title of the adapter back. |
| **Web address** | The page of a session in its own service, such as the page of a pipeline. Blossom opens it in the browser and never loads it. Only an `https:` address is kept. |

## Application

| Term | Meaning |
|---|---|
| **Notch state** | The single source of truth: agents, sessions, requests, preferences, adapters and plugins, and what the mode follows from: the toasts that wait, the panel that is open, the request it shows and the step of the introduction. |
| **Event** | Anything that can change the notch state. |
| **Intent** | Something the user asked the notch to do. An intent enters the reducer as an event. |
| **Signal** | Something the app observed and the user did not ask for: a toast was held for its duration, the pointer moved onto a toast or off it, a full screen app came to the front. A signal enters the reducer as an event. |
| **Reducer** | The pure function that turns a state and an event into the next state. The only place state changes. |
| **Outcome** | How a request ended for the adapter that asked: one of its options was selected, with a note or without, its questions were answered, or it was cancelled. |
| **Withdrawn** | Said of a pending request that its adapter takes back. An adapter that cancels it, because the user answered somewhere else, is answered `cancelled`. When the adapter is gone the host drops the request and answers no one. |
| **Projection** | A view of the state shaped for rendering. The ear, the mode and the pending requests are projections. |
| **Concealed** | Said of the notch while a setting hides it and nothing needs you or failed. Its mode is `hidden`. |
| **Preference** | One choice the user makes in settings. The preferences are part of the notch state and change only through an intent. |
| **Scheme** | Whether the settings window is light or dark: what the system says, light, or dark. The row that sets it is labeled Theme. |
| **Screen** | Which display the notch lives on: the built-in one or the main one. The row that sets it is labeled Show on. |
| **Accent** | The color the user picks for focus, selection and a switch that is on. The core knows its name; the theme knows its color. |
| **Shortcut** | A key and the modifiers held with it. The command shortcut is the global one that opens the command bar, and the only one the user can change. |
| **Acting** | Blossom asking an agent of the user to continue a session, stop its turn, start a session or close one Blossom started. Per agent, off until the user turns it on; see [../decisions/acting.md](../decisions/acting.md). |
| **Owned session** | A session Blossom started, with `session/new`. Only an owned session can be closed from Blossom. |
| **Observed session** | A session Blossom did not start, such as one the user began in a terminal. Blossom may reply to one or cancel its turn when the agent allows it, and never closes it. |
| **Prompt** | The text the user sends to an agent from Blossom, by a reply or a new session. It leaves only from an intent of the user. |
| **Reply** | The intent that sends a prompt to a session. It leaves at once when the session finished its turn and waits in the queue otherwise. |
| **Queue** | The prompts that wait for a session to stop, in order, in the core and in memory. Interrupt is a cancel followed by a reply. |
| **Cancel** | The intent that stops the turn a session works on. The session stays. The reply panel calls it Stop, and asks for it twice. |
| **Interrupt** | A cancel followed by a reply: the turn stops and what the user typed is sent once the session stops, after what already waited in the queue. |
| **Reply panel** | The panel where the user writes to one session: a reply to a session that finished, or, while it works, a prompt to queue, an interrupt or a stop. It opens from detail or from the toast of done, only for an agent the user turned acting on for. |
| **Quick reply** | A fixed sentence of the app, such as "Run the tests", that the user can put in the field of the reply panel. It is sent only with `↩`, like what the user types. |
| **Approval preset** | How a session Blossom starts asks before acting: before commands, or before every edit. There is none that asks nothing. |
| **New session** | The panel where the user starts an owned session: what it should do, an agent that can start one, a folder and an approval preset, started with `⌘↩`. It opens from the command bar and with `N` in peek. |
| **Made worktree** | A worktree Blossom made for a new session, `<repository>.worktrees/<name>` on a branch `blossom/<name>`, listed in the new session panel, sixteen at most, kept in `state.json`. Blossom removes one only on a second press and only when nothing would be lost; see [../decisions/worktree.md](../decisions/worktree.md). |
| **Nothing to lose** | What a made worktree must hold for Blossom to remove it: it is listed by git and not locked, it has no submodules, its status is empty, no stash was made on its branch, and every commit of it is on another branch, a tag or a remote-tracking branch. Ignored files do not count. |
| **Remembered folder** | A folder a session was started in from the new session panel, listed there again, the latest first, eight at most. Kept in `state.json` until the user forgets it. Not the chosen folder of a plugin. |
| **Action** | A request Blossom sent to an adapter on a session, a start, a prompt or a close, while it waits for the answer. Not something the user does: that is an intent. |
| **Port** | A trait the application defines for something it needs from outside. |
| **Composition root** | The one place per side where implementations are chosen and wired. |

## Integration

| Term | Meaning |
|---|---|
| **Adapter** | A separate process that translates one or more agents into the Blossom protocol. |
| **Package** | An adapter ready to run without a clone: its code in one file of JavaScript, a manifest that names the size and the hash of every file, and the templates of its hooks. The hash of the manifest is the digest of the package. |
| **Origin** | Where an adapter comes from: included with Blossom, installed from the catalog, both as packages, or the user's own command. |
| **Runtime** | The Bun executable the app brings, inside it, in which every package runs. Not the engine, which runs scripts. |
| **Hook template** | A file of hooks a package carries for one file of one tool, merged into that file when its hooks are installed. |
| **Hook** | A command an agent runs by itself at one of its events. The adapters of Claude Code, Codex, Gemini CLI, the Cursor CLI, GitHub Copilot CLI, Antigravity CLI, Grok Build, Kiro CLI, Kimi Code, Mistral Vibe, Qoder CLI, Qwen Code, ZCode, Devin CLI, CodeBuddy Code, Droid, Codewhale, Hermes Agent, Trae, QoderWork and QwenWork install hooks that post each event to a socket in the user's folder, where the adapter listens. |
| **Included adapter** | An adapter that ships with Blossom, for Claude Code, Codex, Gemini CLI, the Cursor CLI, OpenCode, GitHub Copilot CLI, Antigravity CLI, Grok Build, Kiro CLI, Kimi Code, Mistral Vibe, Qoder CLI, Qwen Code, ZCode, Devin CLI, CodeBuddy Code, Droid, Codewhale, Hermes Agent, Trae, QoderWork, QwenWork, Pi, Oh My Pi, Gajae-Code, Amp, MiMoCode or GitHub Actions. Its entry in the configuration names it as `package`, and settings say "Included with Blossom" under its name. |
| **Module** | A file of TypeScript an agent loads to extend it, which Gajae-Code also calls an extension and Amp and MiMoCode a plugin. For Pi, Oh My Pi, Gajae-Code, Amp and MiMoCode, which have no hooks, Blossom installs one module of its own, `blossom.ts` in their folder of extensions or of plugins, which posts a few fields of each event to the socket of the adapter; see [../decisions/module.md](../decisions/module.md). |
| **Own adapter** | An adapter the user adds by its command. Blossom downloads nothing for it. |
| **Connect** | What the user does to have Blossom watch an agent: Blossom adds the included adapter, starts it and puts its hooks in the agent's configuration. Only an action of the user connects. |
| **Disconnect** | Taking out exactly what connecting put in: the adapter from Blossom's configuration and Blossom's hooks from the agent's file. |
| **Repair** | Connecting an agent again whose hooks are missing, partial or not the ones this Blossom installs. |
| **Backup** | The copy of an agent's file Blossom keeps, under `backups` in `~/Library/Application Support/Blossom`, shared by every build, before it writes over it. |
| **Launch** | One run of the process of an adapter, from the moment the host starts it. The host ends a launch; an adapter that is started again gets a new one. |
| **Off** | Said of an adapter the user turned off. It stays in the configuration and has no process. |
| **Stopped** | Said of an adapter that should run and does not. It carries one stop reason. |
| **Stop reason** | Why an adapter stopped: its command was not found, its package was not found or not what its manifest says, it could not be started, it speaks another protocol version, its manifest could not be used, it brought more than 16 agents, it did not introduce itself in time, it stopped running, it passed its sessions or its pending requests, it stopped reading what Blossom sends it, or its package was revoked. |
| **Agent capability** | What an adapter declares in its manifest that it can do for one of its agents: start a session, continue one, cancel a turn. Not the capability of a plugin. |
| **Host** | Blossom, seen from an adapter or a plugin. |
| **Manifest** | What an adapter or a plugin says about itself when it connects. |
| **Protocol** | The versioned JSON-RPC contract between host and adapters. |
| **Plugin** | A WASM module, or a script of JavaScript, that runs inside Blossom, in a sandbox. |
| **Script** | A plugin written in JavaScript: one file Blossom runs in its engine, with the same contract, permissions and limits as a module. |
| **Engine** | The interpreter of JavaScript Blossom brings, QuickJS-NG compiled to WebAssembly and pinned by its hash, in which every script runs; the only module the host inspects with a profile of its own. |
| **Contribution** | What a plugin adds: an indicator, commands or a panel. |
| **Indicator** | A label and a value from a plugin, shown as a chip at the foot of peek. |
| **Timer** | A moment a plugin sends with an indicator or a row, counted down to or up from by Blossom every second without asking the plugin again. |
| **Alarm** | The one moment a plugin of version 2 asks to be woken at, with the user's grant of Alerts. |
| **Wake** | The call Blossom makes to a plugin when its alarm is due, which may answer with an alert. |
| **Alert** | A title and a detail a woken plugin answers with, shown as a toast of the plugin. |
| **Kept text** | The one text of 4096 bytes at most a plugin of version 2 keeps across restarts, in `state.json`. |
| **Block** | One part of the panel of a plugin: rows, chips, a code block, buttons, meters or links. A row may carry a state, one of the five of a stage. |
| **Meter** | An amount in the panel of a plugin: a label, a value in words, and how much of a total is done, or nothing when the amount is not known. |
| **Link** | A page the panel of a plugin offers to open in the browser: a label and an address on a host the plugin was granted. Only the user opens it, and sees the whole address first. |
| **Capability** | Something a plugin may reach once granted: the network or files. |
| **Scope** | The hosts or the paths of one capability: what a manifest asks for, what the user granted, or what a plugin has, which is both. |
| **Moment** | What `now` tells a plugin: the seconds since 1970 in UTC and the offset of the local time. It needs no permission. |
| **Chosen folder** | A folder a plugin names in its manifest and the user picks in settings. Picking it is its grant; the plugin reads inside it by its name, and the host never tells it where the folder is. |
| **Setting** | A line of text a plugin declares and the user fills in, in settings. It is not a grant: it never widens what the plugin may reach. |
| **Sending host** | A host a plugin declares it posts data to, granted with the network. A plugin only reads from the others. |
| **Credential** | A token a plugin declares for one host and the user keeps in the Keychain; Blossom adds it to the requests of that plugin to that host, and the plugin never sees it. |
| **Sending with its token** | The grant that lets a credential go in a `POST`, off until the user turns it on. Without it a credential only goes in a `GET`. |
| **Grant** | The scope of a capability the user gave one plugin. Revoking empties it. |
| **Unavailable** | Said of a plugin whose last call failed or was cut off, until it answers again. |
| **Round** | One time the indicators were asked. The app times a round and reports that it aged. |
| **Stale** | Said of an indicator that is asked again the next time the user opens peek: its round aged, one of its commands ran, or one of its capabilities was granted or revoked. The opposite is fresh. |
| **Generation** | A number of a plugin that the registry raises each time the plugin is found, described, added, turned on or off, or granted or revoked a capability. An answer of another generation is dropped. |
| **Index** | The signed list the catalog publishes: the plugins and the adapters of this repository, each with the hash of what Blossom downloads, and the revocations. Blossom reads nothing of it before its signature. |
| **Revocation** | A hash the index withdraws, of a module or of a package, with the reason. What has that hash is turned off, or stops, and does not come back, after a restart too. |
| **Trial** | The time a new version of an adapter from the catalog runs while the version before is kept beside it: it ends when the new version introduces itself, and the one before is deleted, or when it stops first, and the one before comes back. |
| **Rejection** | A file the user tried to add as a plugin and could not be, with the failure. |
| **Plugin contract** | The versioned shapes a plugin and its host exchange: the manifest, the indicator, a command and the panel; version 2 adds timers, the alarm, the wake and the kept text. |
| **Plugin command** | An entry a plugin adds to the command bar. The user picks it and the plugin runs it. |
| **Plugin panel** | The panel a plugin describes with a title and blocks. Blossom draws it in the frame of every panel. |
| **Core** | Everything written in Rust. Shared by every platform. |
| **Bridge** | The UniFFI facade that exposes the core to a native app. |
| **Snapshot** | What the bridge delivers to a native app on every change: the projections of one notch state, its preferences, its adapters and its plugins, together. |
| **Theme** | The only place visual values live. |

## Words to avoid

| Do not say | Say | Why |
|---|---|---|
| island, pill | notch, ear | One name per thing. |
| bot, assistant, model | agent | An agent is the tool the user runs. |
| task, job, run | session | A session is the unit Blossom tracks. |
| prompt, approval (for what an agent asks) | request | Permission and question are the two kinds of request. A prompt is what the user sends to an agent. |
| integration, connector, provider | adapter | A plugin is something else. |
| extension, add-on | plugin | An adapter is something else. |
| action, command (for user input) | intent | A command is what a result of the command bar runs, and running it sends an intent. A plugin can add one to the bar. |
