12 Glossary

Domain Terms

TermDefinition
NebuShort for Nebuchadnezzar, the ship of the free in The Matrix. The name of this chat server.
MatrixAn open standard and communication protocol for real-time communication (https://matrix.org)
HomeserverA Matrix server that stores user accounts, rooms, and events for a domain
RoomA Matrix concept: a named, persistent channel where users exchange messages and state events
EventThe fundamental unit in Matrix: a JSON object representing a message, state change, or reaction
ThreadA Matrix concept (spec §11.12) for grouping related replies under a parent event using m.relates_to with rel_type: "m.thread"
Bundled AggregationsInline relation metadata (e.g. thread reply count, latest reply) delivered in unsigned.m.relations of a parent event during /sync to avoid extra HTTP round-trips
m.relates_toA Matrix event content key that links a reply or reaction to its parent event via event_id + rel_type
SyncMatrix's long-polling endpoint (GET /sync) that delivers new events and room state to clients
since-tokenAn opaque cursor used with /sync to retrieve only events after a given point in time
Content-Hash Event IDEvent ID format $<base64url(SHA-256(canonical_json(event)))> - tamper-evident, deterministic
Server-Server APIThe Matrix federation protocol - deliberately excluded from Nebu
Power LevelA numeric value (0–100) controlling what a room member can do in a room
EDU / PDUEphemeral Data Unit (typing, presence) / Persistent Data Unit (messages, state) in Matrix terminology

Technical Terms

TermDefinition
Go Gateway(Historical, removed ADR-021) The stateless Go binary that formerly handled all HTTP traffic, TLS termination, OIDC validation, and Admin UI serving. Replaced by Nebu.Web + Nebu.Matrix.Http* in the single Elixir application.
Elixir Core(Historical label) The Elixir/OTP application managing stateful chat logic. Now the whole stack — see Nebu application.
gRPC(Historical, removed grpc-removal epic 2026-06-22) Google Remote Procedure Call — was the protocol for Go Gateway ↔ Elixir Core communication. All gRPC dependencies removed; in-process calls use plain Elixir functions.
EventBus(Historical, removed) A gRPC server-streaming service from Elixir Core to Go Gateway for real-time event delivery. Removed with the Go gateway; sync wakeups now use :pg Process Groups.
message_buffer(Historical, removed) A PostgreSQL table that held outgoing events when the Elixir Core was temporarily unavailable (ROT status). No longer needed — the HTTP layer and domain are in-process.
Drain Worker(Historical, removed) A Go goroutine that processed buffered messages from message_buffer. Removed with the Go gateway.
GRÜN/GELB/ROT(Historical, removed) German for Green/Yellow/Red — the three-state health model for the gRPC connection status between Go Gateway and Elixir Core.
HordeAn Elixir library providing CRDT-based distributed process registry and supervision (https://hexdocs.pm/horde)
ETSErlang Term Storage - an in-memory key-value store built into the Erlang/OTP runtime (no Redis needed)
libclusterElixir library for automatic cluster node discovery (Phase 2)
golang-migrate(Historical, removed ADR-021/ADR-018) Go library for PostgreSQL schema migrations that the Go Gateway formerly ran. Replaced by Nebu.Release.migrate/0 (raw SQL, applied at app startup).
MinIOS3-compatible object storage server used as the local-dev media backend (Epic 12). Apache 2.0 licensed.
nebu-mediaThe MinIO bucket (created by the createbuckets init container) where all media uploads are stored
StorerGo interface (Put / Get / Delete) in media/internal/storage that abstracts file-system and S3 backends. LocalStorer implements it for the local filesystem; MinIOStorer for MinIO. Both handlers depend on Storer via injection (Story 12.2).
ClamAVSelf-hosted, open-source malware scanner daemon (clamd). Nebu.Media.ClamAV (a GenServer) speaks its INSTREAM protocol over :gen_tcp; chosen (ADR-024) over commercial/cloud alternatives because no file content or hash ever leaves the deployment — a DSGVO hard requirement (epic media-security-admin-control)
Collapsed client addressEvery client behind a load balancer / reverse proxy resolves to the proxy's address (empty or wrong NEBU_TRUSTED_PROXY_CIDRS / lb_real_ip_cidrs): all per-IP buckets and per-source caps become global. Safe against spoofing, NOT safe for availability (one source can lock all users out of login). Warned about (never blocked) by W1 / W2 / W3; the manual POSITIVE client-IP test is the gate (story client-ip-misconfiguration-warnings, G3-2)
Media State MachineThe media_files.media_state lifecycle every upload passes through: quarantined → scanning → released | infected | scan_failed. No file is served to a Matrix client before reaching released (epic media-security-admin-control, ADR-031)
Scan Kill-SwitchAdmin-configurable fail_open / fail_closed policy for what happens to in-flight uploads when ClamAV is unreachable. Nebu defaults to fail_closed — uploads queue/retry rather than being released unscanned (Story 10d-scan-kill-switch)
oapi-codegen(Historical, removed ADR-021) A Go code generator that produced types and a ServerInterface from an OpenAPI 3.1 YAML spec. Removed with the Go gateway.
PSKPre-Shared Key - used for node registration security in the MVP (Docker Compose secrets)
mTLSMutual TLS - ephemeral certificate-based authentication planned for Phase 2 node registration
AIMDAdditive Increase Multiplicative Decrease - the adaptive drain rate algorithm for Phase 2
OIDCOpenID Connect - the authentication protocol used for all user logins (Keycloak, Azure AD, Dex, Google)
PKCEProof Key for Code Exchange - OIDC extension required for public clients
Bootstrap ModeFirst-run state where the first OIDC login automatically receives instance_admin role
Four-Eyes PrincipleCompliance access requires approval from two instance_admin users
Ed25519A fast elliptic-curve signing algorithm used for message non-repudiation
X25519An elliptic-curve Diffie-Hellman key exchange algorithm used for PII encryption
Canonical JSONDeterministic JSON serialization (keys sorted alphabetically) used for event hashing
GDPR / DSGVOGeneral Data Protection Regulation (EU) / Datenschutz-Grundverordnung (German)
arc42A lean architecture documentation framework - see https://arc42.org
BMADBuild More Architect Dreams - the agent-driven development method used for Nebu development
Trace Map LeitstandThe radial SVG "control room" visualization at /admin/logs/trace-map — nebu at center, domain circles (Matrix/Admin/Media/Health) on a compass layout around it, satellite endpoint nodes fanned around each domain, health-status color coding (epic enhanced-logging)
War Room ModeA bounded, tagged, self-terminating diagnostic logging session (max entries / max duration), distinct from the persistent global DEBUG-collection toggle
Temporary CaptureA fine-grained, one-click, fixed 5-minute per-endpoint DEBUG/INFO logging override, for endpoints normally off by default (e.g. /sync)
OIDC Scopes LawThe base OIDC scope is always openid; extra scopes (profile/email/groups/etc.) are requested ONLY when an operator explicitly configures them — never a hardcoded default (bugfix-remove-default-scopes, centralized in Nebu.Web.OidcScopes)
SSO redirect confirmationPage of the legacy m.login.sso flow (GET/POST /_matrix/client/v3/login/sso/confirm) shown after the IdP login when the client's https redirectUrl origin is not trusted; only Continue mints the loginToken. Trusted origins: https://<server_name>, the OAuth issuer, approved OAuth clients' registered redirect URIs and the Admin list sso_redirect_allowed_origins

Roles

RoleDefinition
instance_adminCan manage users, rooms, and configuration; can approve compliance requests
compliance_officerCan request and access compliance exports (four-eyes approval required)
userRegular chat user; no administrative privileges
OperatorThe organization or individual who deploys and runs a Nebu instance
HosterAn IT service provider who runs Nebu as a managed service for customers

Source: CLAUDE.md, §Tech Stack, §Matrix API Scope; _bmad-output/planning-artifacts/architecture.md, §Naming Conventions; _bmad-output/planning-artifacts/prd.md, §User Journeys; Story 9-28 (Thread, Bundled Aggregations, m.relates_to); epic media-security-admin-control, Stories 3 (ClamAV GenServer) and 10d (Scan Kill-Switch)