Official CefasDB website

Plugins Core Boundaries - CefasDB Docs

The plugin contract separates core behavior from indexes, sketches, distance operators, and workflows.

Documentation excerpt

CefasDB keeps plugin code away from engine internals. This is enforced by tests, not convention.

Core code does not import concrete plugin packages.

Plugin packages live under pkg/plugin/<name>. They can depend on core packages and shared helpers under pkg/plugin/internal, but they must not import internal/storage, pkg/api, pkg/client, or the SQL executor directly.

The server wires built-in plugins through blank imports in pkg/plugin/builtins.