Glossary
Canonical product language. Prefer these terms in UI copy, ADRs, and this wiki. Source: monorepo CONTEXT.md.
| Term | Meaning | Avoid saying |
|---|---|---|
| Trigger | Tenant-scoped source of events that starts work without a human: schedule, app Event, integration event, or a person pressing “run”. One system serves Workflows and Agents (separate quotas). | hook, cron job, subscription (those are wiring) |
| Event | Record that one document in a workspace changed (created/updated/deleted), written with the change, carrying who caused it (user, builder, Agent, or Workflow Run). App-event Triggers fire on Events. | change, mutation, message, notification |
| Workflow | Tenant-owned, chat-built definition that runs deterministically when a Trigger fires — same steps every run; no model deciding next. Reaches data/integrations only through Grants. Remembers origin workspace without belonging to it. | automation, flow, pipeline, job |
| Grant | Permission for an Agent or Workflow to reach one workspace’s data or one Connection, at a stated access level. Agent Grants approved by owner/admin; Workflow Grants given by creator from access the creator already holds. | permission, binding, scope |
| Enable | Creator puts a Workflow live: fixes Grants; Triggers start Runs. Created disabled; disable stops new Runs, in-flight finish. | activate, publish, deploy, turn on |
| Connection | Tenant’s authorised link to one external provider. Owned by an app, app user, workspace, or Workflow (Workflow-owned = that Workflow alone). | integration (the provider), credential, account |
| Agent | Model-driven participant in threads that decides actions at run time. An Agent started by a Trigger is still an Agent, not a Workflow. | — |
| Run | One execution of a Workflow, started by one Trigger firing, with a readable Timeline. | execution, instance, job |
| Version | Immutable compiled form of a Workflow definition. Every edit → new Version; a Run pins the Version it started on. | revision, snapshot (compiled artefact inside a Version), draft |
| Variable | Named user-editable Workflow setting (string/number/boolean) on the Workflow (not Version); frozen into a Run at start. | setting, parameter, config, input (Trigger payload) |
| Timeline | Per-Step record of a Run: start/end, status, capped I/O previews. What users and the builder read — never raw engine history. | log, history, trace |
| Canvas | Studio picture of a Workflow from its definition (Trigger + Step nodes). Run Timeline shown on same nodes. Structure changed by talking to the builder, not dragging. | editor, diagram, flow builder, graph |
| Fixture | Named Step input saved from a Timeline row so a Step can be re-run alone after an edit. No expected output. | test case, mock, snapshot |
| Step | One node of a Workflow: action, set, if, forEach, wait, or try. Timeline unit; failure boundary. | task, activity, node |
| Function | Short TypeScript inside a Workflow, called by an action Step. Computes / reads / writes via tenant data & integrations; never waits or orchestrates other Functions. | code block, script, handler, lambda |
Related platform terms (architecture)
| Term | Rough meaning |
|---|---|
| Workspace | Build session / container identity for studio coding (DO + container). |
| Project (product) | Folder of apps that share access and data; maps to a conductor workspace/container. One-app projects hide as the app; 2+ apps or “New project” shows a folder. Studio UI non-prod via #445 (open). See Share & Invite / Projects. |
| Project after #516 | On main (not deployed yet), a project holds apps and one logical dataset of shared and app-specific collections. It is no longer one shared container: each app has its own app environment. See Permissions & app data. |
| Collection | One platform-owned SQLite Durable Object holding one set of app records, owned by a source app and reached only through the PlatformData gateway (#516). See Permissions & app data. |
| Source app | The app that owns a collection's policy and structure. Other apps consume it through a Read or Read/write grant that acts as a ceiling. |
| App environment | One build environment per app (#516, P04). Each conductor turn is pinned to the builder directing it; a second builder gets 409 busy-builder. |
| Runtime data role | A person's data access in an app: View only (default), Add only, Add and edit their own, or Edit all data. See Permissions & app data. |
| Builder/manager role | The single combined role for building and managing an app (code, agent, publish, invite, sharing, collection approvals). Build and manage are not separate roles. See Permissions & app data. |
| Workspace sync | One-way DO→container sync; DO Workspace store is sole source authority (Conductor). Native path uses createNativeIo / ctx.container.exec. |
| Sandbox / native containers | Legacy: @cloudflare/sandbox + root /sandbox entrypoint (staging/prod until cutover). Native (#239): durable_object scheduling, NativeContainerHost, no /sandbox server; side envs only for now. |
| Pi Durable / PiHarness | The coding agent since #546: Pi Durable (@earendil-works/pi-durable) hosted by the Agents SDK PiHarness inside the WorkspaceDO. Owns transcript, inbox, tool calls and recovery in its own pi_* tables. See Conductor. |
| Agent wire | /w/:ws/agent/* (packages/rpc): what studio, MCP, e2e and evals speak to the coding agent. Pi events plus Brilliant frames. Replaced /w/:id/oc. |
| Alarm mux | do/alarm-mux.ts: gives the Pi Lifecycle and the workspace heartbeat each their own alarm slot; the physical alarm is the earliest. |
| Capability token | Short-lived scoped JWT (ws:…, app:…) minted by the control plane. |
| Thinking level | How long / hard the model thinks for a turn. Picker UI stops: Quick · Balanced · Brilliant (landing + chat). Copy: apps/control-plane/web/src/components/landing/model-picker-copy.ts. |
| Brilliant (thinking) | Top picker stop. Maps to internal high / deep. Longer think uses more credits. Shared formatThinkingLevelLabel still says Deep — UI chrome must say Brilliant. |
| BrilliantContext | Per-request signed identity JWT injected for published/preview apps (x-brilliant-context). |
| Side-env | Ephemeral full-stack cloud environment for a feature branch: Pulumi stack side-<name> via bun run env:up / env:down. |
| Branch env / branch routing | Only the changed control-plane, dispatch or agents Workers, uploaded as <branch>--<service> into staging's brilliant-branches namespace with bun run branch:deploy, and picked per request with the x-brilliant-branch header; responses say who ran in x-brilliant-served-by. Staging only, staging data. Branch routing (#561). Removed by #606 (merged 2026-10-07); use env:up. |
| Connected agents (MCP) | External agents (Claude Code, Cursor, …) OAuth into Brilliant as a signed-in user; consent at /oauth/authorize. |
| Flagship / feature flag | Platform flag evaluated via Flagship; catalog keys in PLATFORM_FLAGS (@brilliant/capabilities). Staff manage rollout and targeting in Admin (Admin Feature Flags). |
| Template | Shareable, installable snapshot of a published workspace (immutable versions). Try = 30-minute demo; Install = new workspace from the archive. Landed #345; Template & app data. Plan: docs/plans/templates.md. |
| Template demo | Anonymous 30-minute Try-it session on demo.<studio domain> with sample data in a per-session DO (Template demos, #358). |
See also: Workflows, MCP server, Template & app data, Template demos, Architecture overview.