Skip to main content

Glossary

Rendered from corpus/wiki/glossary.md · updated 2026-11-02

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

One canonical name per concept, with the synonyms it displaces. Definitions only — what a thing is, never how it works; mechanism lives on the concept page each entry links to. Only terms this project uses in a specific way earn an entry; general programming words do not.

A term used against its definition here is a finding, not a typo — fix one side rather than quietly widening the definition. Two live meanings for one word are two terms; the three that exist are called out under Terms that split.

The app layer​

Add-on: A windowed application, shipped as its own npm workspace package under apps/add-ons/<app> (@imbatranim/<app>) and exporting exactly one manifest. Adding one to the OS is a new package plus one line in the composition root — nothing else in core changes. Avoid: plugin, extension, module, "an app" when the package is meant.

Manifest: The AddonManifest object an add-on exports — its whole registration contract (apps/core/src/contract.ts): id, name, icon, component, sizes, opens, and the optional desktopLayer / background / widgets / commandSources seams. Avoid: config, descriptor, plugin definition. Do not call apps/core/src/manifest.ts "the manifest" — that file is the composition root.

Composition root: apps/core/src/manifest.ts — the one file in core permitted to import add-on packages (eslint-enforced), which aggregates their manifests into APP_REGISTRY and registers their command sources. Avoid: the manifest, the registry file, the barrel.

Registry: APP_REGISTRY — the ordered list of registered AppConfigs, marketplace apps last. Order is load-bearing: the first app claiming a file extension wins when the user has not chosen. Avoid: app list, catalog, app store.

Apps from outside the repo (marketplace catalog, descriptor, suite descriptor, marketplace app, kit app, shared kit, URL app, imbatranim-office): defined in glossary-marketplace.md.

Widget: A small, always-visible desktop panel an app contributes via widgets. It is hosted — core owns placement, drag, clamping and persistence — and is fixed size in v1. Avoid: gadget, tile, applet, panel.

Desktop layer: One free-form surface an app paints itself on the desktop beneath every window (desktopLayer), mounted whether or not the app has a window open. Sticky Notes is the worked example. Avoid: overlay, backdrop, canvas, widget (a widget is hosted; a layer is not).

Background service: A headless, desktop-lifetime component (background) mounted from login to tab close, rendering nothing and existing purely for effects — alarms, reminders, due dates. Avoid: daemon, worker, cron, agent. (Real daemons are on the standing rejection list in real-os-gaps.md.)

The seam​

system handle (SystemHandle): The capability object the compositor mints per app and injects at mount — the app↔OS protocol seam. An app receives it; it imports nothing from core to get it. The TypeScript interface at packages/ui/src/system.ts is the protocol spec. Design: os-layering.md. Avoid: context, bridge, API object, SDK client, "the core API".

Capability: Anything reachable on the system handle — a data call or an effect that crosses the seam (fs, http, window, intents, shortcuts, appearance, schedule, notify, on). The test is the bisection rule: can it travel over postMessage? If yes, it is a capability. Avoid: permission, service, core function.

Library: The other half of the bisection rule — a component or a pure-client hook, which cannot travel over postMessage and is therefore a build-time import from @imbatranim/ui, never a capability. Linking it is like linking GTK, not like making a syscall. Avoid: kit (see below), utils, shared code.

Kit: The house component surface exported by @imbatranim/ui — Button, Input, Checkbox, Dialog, Select, ScrollArea, Tooltip, ContextMenu, ConfirmDialog, PromptDialog, cn, plus the pure-client hooks. A "kit" component is a library in the bisection sense; the two words are not rivals, kit names the set and library names the category. What a kit app receives at runtime is the shared kit (glossary-marketplace.md). Avoid: design system, component library, ui package (when the set is meant).

Syscall bridge: The NestJS backend — the only path to the real system (FS, PTY, /proc, HTTP proxy), and the layer-1 half of the three-layer model. It streams data, never pixels, except a Linux app's window images, which it relays from the Wayland host (2026-10-23). Avoid: the server, the API (both are true but say less), the host.

Compositor: Core's window manager — window chrome, z-order, focus, input routing, taskbar. Client-side by physical necessity. "The shell" is the informal name for the same thing plus the desktop chrome around it; prefer compositor when the seam or window management is what's at stake. Avoid: window manager (in prose — the code's windowStore/window-manager keep the name), desktop environment.

Intent: A payload handed to an app when it is launched or focused — the thing openApp(appId, payload) sends and system.intents.consume() drains. Pending intents survive until the target window mounts (redelivery). Avoid: message, event, args, deep link.

Association: The extension → app mapping an add-on declares itself via opens, plus the user's "always open this type with…" override. The .desktop MimeType= analogue. Avoid: file handler, mime map, default app table.

State and identity​

Dotfile: Durable, server-side user config — appearance, wallpaper, desktop icon positions, disabled add-ons, association overrides — stored in the backend prefs table inside the $HOME volume and shared across every session, the way .bashrc is shared across SSH logins. Owner-only; never @Public(). Avoid: setting, preference, localStorage value, profile.

Session: One browser tab — an ephemeral, in-memory desktop whose window layout is born at open and dies at close, with nothing shared between tabs. There is deliberately no reattach and no server-side session state. Avoid: tab state, workspace, layout. See Terms that split.

Accent: The single user-chosen colour on top of a theme's neutrals, stamped on <html> as the --accent CSS var at runtime. Each theme has its own presets: Apricot's five pastels and Classic's four, crimson first. A hex literal is not an accent — it does not track the choice. Avoid: primary colour (the token is primary; the concept is the accent), theme colour, brand colour.

Token: A semantic colour class (surface-container-low, on-surface-variant, outline-variant, primary) — the only permitted way to name a colour. Light mode is the same token names swapped, which is why a dark: variant is always wrong. Full list: ui-conventions.md. Avoid: palette colour, variable, theme value.

Friend-run bar: The finish line: a tech-tolerant friend with Docker runs one documented command, opens a browser, logs in, and uses the OS — with no help from the author. It replaced the ISO era's friend-install bar. Avoid: MVP, v1 criteria, done.

Real, not simulated: The project's load-bearing soul rule — the terminal is a real PTY, the file manager is the real filesystem, the monitor reads real /proc. Anything that fakes the system is off-soul and gets rejected on those grounds alone, before any feature argument. Avoid: authentic, native, "actually works".

Terms that split​

Three words carry two live meanings here. Each pair is genuinely two concepts — say which one you mean.

  • core — the package @imbatranim/core is type-only after the system-handle seam (2026-08-06): the add-on contract and nothing else, so importing it can never couple an app bundle to the OS. The directory apps/core/ is the desktop shell itself (compositor, taskbar, settings, auth, command palette). Values live in @imbatranim/ui. Say "core the package" or "the shell".
  • session — a desktop session is one browser tab (above). A sign-in session says who you are: the imb_session cookie of the machine's own sign-in, 30 days (2026-10-04). The lifetimes are unrelated: closing a tab ends the desktop session, not the sign-in session. (Until 2026-10-07 a sign-in session could also be a Ward session; the move off Ward (2026-10-07) removed that.)
  • Cover screen — the Start menu's Cover screen (was "Lock"): it hides the desktop and keeps everything running, and anyone at the machine can uncover it. Not a lock; Log off ends the session.
  • manifest — an add-on's exported AddonManifest object vs the composition root file apps/core/src/manifest.ts. Use manifest for the object and composition root for the file.

Where the rest lives​

Linux apps in OS windows (Linux app, Wayland host): glossary-linux-apps.md. Themes (theme, mode, Apricot, Classic): glossary-themes.md.

Locked calls and their reasons: decisions.md (plus pivot-era and iso-era). The seam's design: os-layering.md. Style rules that use this vocabulary: ui-conventions.md. Corpus-side vocabulary (brief, todo, log, wiki) is defined in CLAUDE.md, not here.