Skip to main content

Workbench Lexicon

Basalt enforces a strict one concept, one word vocabulary rule (CONVENTIONS §1.6). We avoid synonyms ("strip", "bar", "group", "session") for concepts that already have established names in the architecture.


Core UI & Layout Terms​

TermMeaningCanonical Code Examples
viewA side-dock panel hosted in the left or right dock.viewRegistry, FileExplorerView, BacklinksView
leafThe visual content type rendered inside an active tab.leafRegistry, MarkdownLeaf, tab.leafType
tabA single open document item in a pane's tab strip.TabModel, useTabsStore, WorkspaceTabsBar
paneA container node in the split-layout tree hosting one or more tabs.PaneId, LayoutNode, ROOT_PANE_ID
ribbonThe narrow, far-left quick-access action icon bar.Ribbon, RibbonItem
dockThe collapsible side panel container (left or right).SideDock, dockCommands
header bandThe top 40px workspace row containing window controls and title.HeaderBandRule
active noteThe note currently open in the focused tab and pane.useActiveNoteStore

Plugin Architecture Terms (ADR-054 – ADR-058)​

TermMeaningCanonical Code Examples
pluginA compiled WebAssembly component located in .basalt/plugins/<id>/.PluginId, manifest.json
plugin hostThe Rust module orchestrating plugin discovery, compilation, and sandbox execution.PluginHost::boot(), PluginHost
WIT worldThe versioned WebAssembly Interface Type contract defining guest imports and exports.basalt:plugin@0.2.0, plugin.wit
capabilityA permission token declared in the plugin manifest and enforced at the host seam."vault:read", "editor:cm6", "net:http"
guest SDKThe Rust crate providing bindings and macros for authoring plugins.basalt-plugin-sdk, generate_plugin!
plugin portHost-side Rust trait seam decoupling plugin capabilities from the concrete app.VaultPort, StoragePort, NetPort
plugin adapterConcrete implementation connecting a plugin port to actual app state.AppVaultPort, AppStoragePort

Benchmark & Performance Terms​

TermMeaningCanonical Code Examples
surfaceA measurable UI surface (modal, view, note leaf, or direct function).SurfaceSpec, SurfaceKind
tierA dataset scale evaluated during benchmarks (e.g. 1k, 5k, 25k notes).tiers: [{ id: "vault-25k", ... }]
phaseA measured execution step (e.g. mount, keystroke, drag).{ id: "mount", run(ctx) }
repOne repetition of a measured phase for statistical p50/p95 gathering.reps: 20