Skip to content
CAI
Software that uses CAICheck a score

barrel-db/barrel

53.2

Adequate · 15 November 2026

85k

lines of production code

Erlang

with TypeScript

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added agent layer example demonstrating multi-agent handoffs

A new \agent\_layer.erl\ example has been added to the \examples\ directory, illustrating an end-to-end workflow where two agents (Alice and Bob) share a space using capability tokens and session management. The example demonstrates creating a space, writing documents, managing agent sessions, and performing a handoff where Bob accepts a task via a capability token to access the shared context. The \examples/README.md\ has been updated to document this new example and provide instructions on how to compile and run it.

examples · high confidence

Added cosine similarity calculation and embedding synchronization logic

The client now includes a dedicated cosine similarity implementation in \cosine.ts\ that matches the server's ranking logic by dividing by vector norms at comparison time, and introduces an embedding pull mechanism in \emb-sync.ts\ to fetch per-document vectors via \\_bulk\_get\. This synchronization pass ensures vectors are retrieved for documents that lack them or have been refetched, while also cleaning up vectors for deleted or tombstoned documents.

clients/barrel-lite/src/vectors · high confidence

Added scripts to generate golden fixtures and start a test server for barrel-lite

New scripts have been added to the barrel-lite client to support integration testing and fixture generation. The \gen\_fixtures.escript\ generates golden JSON fixtures for HLC, version token, version vector, BQL, and vector embedding codecs, ensuring the TypeScript client's assertions match the Erlang backend's behavior. The \start-server.sh\ script boots a headless \barrel\_server\ instance with configurable authentication and CORS settings, enabling integration tests against a real server environment.

clients/barrel-lite/scripts · high confidence

Barrel 1.11.0: Read-only databases, context export/import, and federated queries

The barrel library introduces several capabilities for data portability and multi-database querying. You can now open databases in read-only mode or import exported database snapshots that are served read-only across multiple nodes, ensuring data integrity via checksums. The library also adds a contexts facade allowing federated BQL queries across local, imported, and remote databases, along with working sets for offline coverage. Additionally, \open/2\ supports a \vectordb =\> none\ option to create plain document-only databases, and \embedder\_info/1\ provides embedding fingerprints to ensure vector compatibility across databases.

apps/barrel · high confidence

Introduce agent spaces with capability-based access, session management, and handoffs

The barrel\_spaces application (v1.3.0) introduces a new agent layer that manages shared context containers called spaces. It provides capability tokens (barrel\_caps) for secure, revocable access control with a rights ladder (read, write, admin), and manages agent sessions with sliding TTLs and automatic garbage collection of orphaned messages via a background janitor. Additionally, it supports handoffs, allowing agents to transfer work and context between each other using shared spaces and capability tokens.

_apps/barrel\spaces/src · high confidence

Introduce barrel-lite TypeScript client with offline sync and local vector search

This change adds the barrel-lite package, a TypeScript protocol client that provides an offline-first local document store syncing with the barrel\_server. Users can now persist data locally (using OPFS in browsers or memory in Node), perform local BQL queries, and sync documents and attachments via continuous SSE or polling. It also introduces local vector search capabilities, allowing users to pull document embeddings to the browser and run brute-force cosine ranking on the synced set, alongside standard server-delegated vector and text search. The release includes a multi-tab leader election mechanism, integration and browser E2E test suites, and example demos.

clients/barrel-lite · high confidence

Introduce barrel-lite TypeScript client with offline-first sync and multi-tab support

This change adds the barrel-lite client library (version 0.1.0), providing an offline-first local document cache that synchronizes with a remote server over a custom wire protocol. The client supports local vector search using cosine similarity, attachment storage, and a live sync mode that can use either adaptive polling or a continuous Server-Sent Events (SSE) stream. For browser environments, it includes a multi-tab coordination system that uses Web Locks and BroadcastChannel to ensure a single leader manages the store and sync, while other tabs proxy operations via RPC.

clients/barrel-lite/src · high confidence

Introduce barrel\_crypto encryption primitives and key providers

The new barrel\_crypto application provides encryption-at-rest capabilities, including an AES-256-GCM envelope, offset-addressable AES-256-CTR for sector-encrypted flat files, and HKDF-SHA256 key derivation. It introduces the barrel\_keyprovider behaviour to map database keyspace to 256-bit keys, allowing users to opt in to encryption at database open time using a default key or a custom provider (such as a KMS). The library also supports key-check tokens for fail-closed wrong-key detection and ensures safe decryption of unencrypted data.

_apps/barrel\crypto · high confidence

Introduce local document and blob storage with OPFS and memory adapters

The client now includes a local store layer that caches documents, attachment references, and vector embeddings in a local cache, persisting state via a snapshot-based flush mechanism. This change introduces a content-addressed blob store for deduplicating and storing large binary attachments separately from document JSON, and provides two storage backends: an Origin Private File System (OPFS) adapter for browser environments and an in-memory adapter for Node.js and tests. The local store manages document versions using Hybrid Logical Clocks (HLC) and vector clocks (VV) to support conflict resolution and ensures monotonicity of local writes across reloads.

clients/barrel-lite/src/store · high confidence

Introduces encryption primitives and key providers for data at rest

Adds the \barrel\_crypto\ application, providing AES-256-GCM envelope encryption for database values and offset-addressable AES-256-CTR sector encryption for mmap'd flat files (such as BM25 and DiskANN indexes). The module includes a key provider abstraction that defaults to deriving per-database keys from the \BARREL\_ENCRYPTION\_KEY\ environment variable using HKDF-SHA256, and supports custom providers for KMS integration. Encryption is disabled by default and can be enabled via configuration, with fail-closed key-check tokens to detect wrong keys at database open.

_apps/barrel\crypto/src · high confidence

Introduction of Barrel 1.11.0 with live BQL queries and federated context support

This release introduces the Barrel 1.11.0 application, an embeddable edge-AI database that composes document and vector layers. Key additions include live BQL queries that push real-time add/change/remove deltas to subscribers, and a federated query system allowing BQL statements to run across multiple named contexts or working sets. The update also adds a local context catalog for managing these datasets, supports record mode for asynchronous vector indexing, and enables pluggable attachment backends.

apps/barrel/src · high confidence

Local BQL query execution in Barrel Lite

Barrel Lite now includes a local BQL engine that allows queries to be executed directly on cached documents without contacting the server. This change introduces a full TypeScript implementation of the BQL pipeline—lexer, parser, AST, lowering, and evaluator—mirroring the server's behavior for standard collection queries. Users benefit from faster, offline-capable query results for supported operations, while server-only features like table functions (e.g., vector search) and live subscriptions are explicitly handled by raising errors to ensure correct delegation.

clients/barrel-lite/src/bql · high confidence

Local attachment storage with content-addressed blobs and last-write-wins sync

The client now supports local attachment management, storing files as content-addressed blobs identified by SHA-256 digests and indexing them by document ID and name. This change introduces a last-write-wins (LWW) conflict resolution strategy for attachment synchronization, where newer timestamps override older ones, with digest byte order serving as a tie-breaker. Users benefit from reliable local attachment persistence, efficient garbage collection of unreferenced blobs, and consistent sync behavior when multiple devices modify the same attachment.

clients/barrel-lite/src/attachments · high confidence

New Barrel-Lite wire-format codecs for replication and synchronization

The Barrel-Lite client now includes a complete set of TypeScript codecs for the wire protocol, enabling correct serialization and deserialization of replication data. This adds support for Hybrid Logical Clocks (HLC) with a stateful clock implementation for causal ordering, version vectors for conflict detection and merging, and document version tokens. It also provides platform-neutral utilities for Base64 (standard and URL-safe), byte comparison, hex encoding, and 32-bit float vector encoding, ensuring byte-exact compatibility with the server's Erlang codecs.

clients/barrel-lite/src/codec · high confidence

New benchmarking harnesses for context ranking and read-only performance

Added three new benchmark suites in the bench directory to evaluate system performance. The ctx\_ranking suite builds a corpus from OTP source code and measures cross-context ranking quality using vector embeddings and reranking. The ctx\_remote suite measures the latency and cost of federated queries across multiple remote database contexts with varying network delays. The rocksdb\_readonly suite compares the startup time and memory usage of read-only database opens against a standard read-write baseline.

bench · high confidence

New client-side sync engine with live updates and conflict resolution

The \clients/barrel-lite/src/sync\ module introduces a complete synchronization engine for the Barrel Lite client. It implements a pull loop that applies remote documents with idempotent skip, fast-forward, and deterministic last-write-wins conflict resolution, alongside a push loop that batches dirty records and handles server-side conflicts. Live synchronization is provided via an adaptive polling scheduler that adjusts intervals based on activity and errors, while a continuous changes stream client enables real-time wake signals for live sync. The engine also includes an SSE frame parser for handling server-sent events, a checkpoint system for resuming pulls, and exposes status and change events to the application layer.

clients/barrel-lite/src/sync · high confidence

New sync wire transport layer for Barrel Lite

The Barrel Lite client now includes a dedicated sync wire transport layer that handles communication with the server's sync endpoints. This introduces structured error handling via a \SyncError\ class with specific error codes (such as network, unauthorized, clock\_skew) to allow callers to branch logic without string-matching messages. It also adds support for server-side sync filters, allowing clients to specify path patterns, channels, and complex query conditions to limit the data pulled during replication. The transport manages the handshake with the server's hybrid logical clock (HLC) to ensure consistent conflict resolution and provides methods for fetching changes, diffing document versions, and retrieving or storing documents and local checkpoints.

clients/barrel-lite/src/wire · high confidence

New vector store capabilities: encryption, read-only mode, and external document backends

The vector store now supports encryption at rest via RocksDB EncryptedEnv, requiring a 256-bit key and enforcing a fail-closed policy if the key is wrong or if attempting to encrypt an existing plaintext store. A new read-only mode allows stores to be opened for search and stats without creating or rewriting any files, failing if the store is missing or requires a column-family upgrade. Additionally, an optional document backend seam (barrel\_vectordb\_docdb\_backend) lets users route vector text and metadata to an external barrel\_docdb instance, keeping the vector index local while sharing a source of truth for documents.

_apps/barrel\vectordb · high confidence

Pluggable attachment storage and BQL query engine

The database now supports pluggable attachment backends, allowing storage to be configured via \att\_opts.backend\ (defaulting to a RocksDB BlobDB instance, with a \none\ backend available to skip the \~74MB RocksDB WAL/MANIFEST floor for databases that never store attachments). Additionally, a new BQL (Barrel Query Language) engine is introduced, providing a PartiQL-like SQL dialect for querying documents, including support for table functions (vector, BM25, hybrid), UNNEST, and streaming execution.

_apps/barrel\docdb/src · high confidence

barrel\_server 1.11.0: embeddable REST API with multi-protocol serving and MCP integration

The barrel\_server application (version 1.11.0) introduces an embeddable route table (\barrel\_server\api\) that allows host applications to mount the Barrel REST/JSON surface under a custom sub-path with their own middleware. The standalone server now supports multi-protocol serving (HTTP/1.1, HTTP/2, and HTTP/3) with configurable TLS and mutual TLS (mTLS) listeners. Security is enhanced with a new bearer-token authentication middleware supporting global tokens, capability tokens (\bsp\...\), and signed requests, alongside CORS support. The server also exposes a new \/mcp\ endpoint for Model Context Protocol integration, providing tools for agent-layer operations (spaces, sessions, handoffs) and contexts.

_apps/barrel\server/src · high confidence

Behavioural changes

1 commit (0 fixes) modifying rel

A change to existing behaviour in rel — 1 commit, 1 file: “Add a Docker image for the HTTP node”.

rel · medium confidence · unverified

11 commits (1 fix) modifying scripts

A change to existing behaviour in scripts — 11 commits (1 fix), 7 files: “Export a database and import it read only elsewhere (\#54)”; “Release barrel\_ngram 0.11.1, barrel 1.10.0 and barrel\_server 1.10.0, docs for contexts (\#63)”; “barrel\_docdb: port the guides to ex\_doc, retire MkDocs”; and 8 more (refs \#54, \#63, \#59).

scripts · medium confidence · unverified

17 commits (3 fixes) modifying apps/barrel\_att\_s3/src

A change to existing behaviour in apps/barrel\_att\_s3/src — 17 commits (3 fixs), 6 files: “Attachments: staged uploads, snapshot reads, writer-serialized commits”; “Count attachments exactly”; “barrel\_docdb 2.4.0, barrel\_att\_s3 0.2.1”; and 14 more (refs \#27, \#30, \#80, \#83, \#78).

_apps/barrel\_att\s3/src · medium confidence · unverified

19 commits (2 fixes) modifying apps/barrel\_att\_s3

A change to existing behaviour in apps/barrel\_att\_s3 — 19 commits (2 fixs), 4 files: “Attachments: staged uploads, snapshot reads, writer-serialized commits”; “Require rocksdb 3.2.1”; “Release barrel\_ngram 0.11.1, barrel 1.10.0 and barrel\_server 1.10.0, docs for contexts (\#63)”; and 16 more (refs \#63, \#27, \#30, \#80, \#83, …).

_apps/barrel\_att\s3 · medium confidence · unverified

5 commits (0 fixes) modifying apps/barrel\_docdb/bench

A change to existing behaviour in apps/barrel\_docdb/bench — 5 commits, 6 files: “Import barrel\_docdb and barrel\_vectordb and their dependencies into barrel umbrella repository”; “Stop recompacting every database each hour”; “barrel\_docdb: a faster writer per database (\#61)”; and 2 more (refs \#61).

_apps/barrel\docdb/bench · medium confidence · unverified

62 commits (4 fixes) modifying apps/barrel\_server

A change to existing behaviour in apps/barrel\_server — 62 commits (4 fixs), 4 files: “ci: run the dormant suites (all server suites, FAISS, embed request)”; “apps: point the READMEs at barrel-db.eu/docs/lib”; “Release barrel\_ngram 0.11.1, barrel 1.10.0 and barrel\_server 1.10.0, docs for contexts (\#63)”; and 59 more (refs \#63, \#71, \#49, \#58, \#70, …).

_apps/barrel\server · medium confidence · unverified

69 commits (5 fixes) modifying apps/barrel\_docdb

A change to existing behaviour in apps/barrel\_docdb — 69 commits (5 fixs), 7 files: “Attachments: staged uploads, snapshot reads, writer-serialized commits”; “Require rocksdb 3.2.1”; “apps: point the READMEs at barrel-db.eu/docs/lib”; and 66 more (refs \#63, \#3, \#50, \#48, \#5, …).

_apps/barrel\docdb · medium confidence · unverified

Barrel FAISS app version bump and Hex package configuration update

The barrel\_faiss application version has been updated from 0.2.1 to 1.0.1. Additionally, the Hex package configuration has been refined to explicitly include build inputs (such as c\_src, do\_cmake.sh, and do\_faiss.sh) that are otherwise omitted by default, ensuring the NIF is built correctly when published. The GitHub link has also been updated to point to the main barrel umbrella repository.

_apps/barrel\faiss/src · high confidence

Hardened vector NIFs against malformed input and improved upgrade stability

The Faiss NIFs now reject invalid metric types instead of silently defaulting to L2, preventing incorrect search results. Search operations guard against excessively large 'k' values to avoid memory overflows or unreasonable allocations, returning a clear error if the request is too large. Additionally, string construction for index descriptions and paths is moved inside try blocks to ensure exceptions do not escape the NIF boundary, and the 'close' operation is marked as CPU-bound to prevent VM blocking. Finally, the resource type is re-initialized on upgrade to ensure post-upgrade operations resolve correctly.

_apps/barrel\_faiss/c\src · high confidence

Improved Python sidecar startup reliability and port command isolation

The reranker now fails fast if the Python sidecar process exits unexpectedly during startup (e.g., due to import errors or OOM), rather than waiting for a full timeout. Additionally, shell commands executed within the virtual environment are now run in a dedicated owner process to prevent port messages from cluttering the caller's mailbox, and the \decode\_response\ function is exposed for unit testing.

_apps/barrel\rerank/src · high confidence

Shared model processes and enhanced model identity

barrel\_embed now shares a single local model process across all databases using the same model, reducing resource usage and startup time. The library also exposes model identity (name and revision) via the new describe/2 and release/1 functions, and improves reliability by replacing deprecated error handling with try/catch and increasing timeouts for Python port commands.

_apps/barrel\embed/src · high confidence

barrel\_embed documentation migrated from MkDocs to ExDoc

The barrel\_embed documentation system has switched from MkDocs to ExDoc. This change removes the MkDocs configuration and custom theme overrides, and updates the build configuration to generate documentation via ExDoc. The documentation source files have been reorganized, with the changelog moved to the project root, and the README updated to reflect the new documentation URL and version. Users should now access the documentation via the HexDocs page or the new barrel-db.eu/docs/lib/embed/ path.

_apps/barrel\embed · high confidence

barrel\_rerank 1.0.0: Python port process isolation and documentation overhaul

The barrel\_rerank library has been updated to version 1.0.0, introducing a critical behavioral change where Python venv shell commands now run in a short-lived owner process rather than the caller's process. This prevents orphaned port messages from cluttering the caller's mailbox and resolves hanging issues during Python startup failures. Additionally, the package includes a comprehensive documentation overhaul with new branding, dark mode support, and an API reference, while the dependency version in the README has been updated to 1.0.0.

_apps/barrel\rerank · high confidence

barrel\_spaces 1.3.0: record-mode embeddings, vector-store-free spaces, and JSON-compatible replication

The barrel\_spaces app now supports creating spaces in 'record mode' via the \embedding\ option in \create\_space/1\ and \open\_space/2\, which stores embedding policy details (provider, model, dimensions, distance, fingerprint) in the space document rather than the embedder configuration, allowing spaces to reopen in record mode on any node with a matching fingerprint. Additionally, spaces can now be created without a vector store by passing \vectordb =\> none\, enabling plain database usage. The app also ensures replication compatibility by storing \token\_hash\ as lowercase hex in grant documents, making them valid JSON for HTTP replication, and requires barrel \~\> 1.11.

_apps/barrel\spaces · high confidence

Fixes

barrel\_faiss 1.0.1: Fixes for search stability and index upgrade safety

This release addresses two critical stability issues in the FAISS NIF bindings. First, the \search\ function now validates the \k\ parameter and allocates result buffers within a protected try block, preventing Virtual Machine crashes when an oversized \k\ is requested. Second, the \on\_upgrade\ callback has been updated to properly re-open index resource types, ensuring that unknown metric atoms are rejected rather than silently defaulting to L2, and that the \close\ operation executes on a dirty scheduler to maintain data integrity during upgrades.

_apps/barrel\faiss · high confidence

barrel\_ngram 0.11.2: safe shard restart when database closes

When the bound database closes, a shard now waits for its subscription retry instead of immediately resubscribing, and it correctly re-follows the database once it is reopened. This prevents noisy or premature reconnection attempts during database downtime. This fix requires barrel\_docdb 1.7.1 or later to function correctly.

_apps/barrel\ngram · high confidence

Test coverage

12 commits adding/updating tests in test/e2e; 8 commits adding/updating tests in apps/barrel\_att\_s3/test; Added browser-based smoke tests for OPFS persistence and multi-tab coordination; Added comprehensive test suites for the Barrel database facade; Added test coverage for Barrel-Lite core components; Added test suites for BQL, attachment storage, and backend selection; Added test suites for barrel\_spaces capabilities, handoffs, sessions, and lifecycle; Added test suites for server REST API, authentication, audit, and context features; Added tests for embedding provider configuration, request building, and process pooling; Added tests for encryption primitives and file-sector cipher; Added tests for response decoding and port isolation in barrel\_rerank; Integration test suite for Barrel-Lite client against real server; Test configuration to disable Python venv management.

Dependencies

Barrel umbrella restructured with new apps, profiles, and dependency updates

The Barrel repository has been reorganized into a comprehensive umbrella project. New applications have been added to the default build: \barrel\ (the main embeddable database facade), \barrel\_crypto\ (encryption primitives), and \barrel\_ngram\ (substring search). Two new opt-in profiles, \server\ and \s3\, allow building \barrel\_server\ (HTTP/MCP interface) and \barrel\_att\_s3\ (S3 attachments) respectively. The default build now includes \barrel\_spaces\ (agent layer). Dependency versions have been updated in \rebar.lock\, including \hackney\ (4.4.0→4.8.4), \rocksdb\ (3.0.0→3.1.2), \quic\ (1.6.5→2.0.3), and \h2\ (0.10.1→0.12.3). The \gen\_batch\_server\ dependency has been removed. The \rebar.config\ now configures umbrella-level xref and dialyzer checks, and the root release version is set to 1.11.0.

(repo-wide) · high confidence

Bootstrap barrel-lite client and retire MkDocs for barrel\_docdb

The barrel-lite TypeScript client is introduced with a new package manifest and lockfile, establishing a Node.js \>=20 environment and adding development dependencies for TypeScript (^6.0.3), Vitest (^4.1.10), Playwright (^1.61.1), and Node types (^26.1.0) to support local builds and browser-based testing. Concurrently, the barrel\_docdb application removes its MkDocs documentation stack (mkdocs, mkdocs-material, pymdown-extensions) from requirements.txt, indicating a shift away from the previous static site generation tooling.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 52 → 53 (+1.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 56 → 70 (+14.4)
  • Architecture 98 → 98 (-0.3)
  • Maturity 71 → 74 (+2.4)
  • Readiness 77 → 68 (-9.6)
  • Security 69 → 62 (-6.9)
  • Event-Driven 35 → 35 (+0.0)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 85 → 100 (+15.0)

Resolved (30)

  • Duplicated block (10–11 lines × 7) (apps/barrel_docdb/src/barrel_ars_index.erl)
  • Duplicated block (11 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (11 lines × 3) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (13 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (13 lines × 5) (apps/barrel_docdb/src/barrel_ars_index.erl)
  • Duplicated block (16–22 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (18–26 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (34–37 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (6 lines × 2) (apps/barrel_spaces/src/barrel_session.erl)
  • Duplicated block (8–10 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (8–16 lines × 3) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (9 lines × 4) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (9–11 lines × 2) (apps/barrel_server/src/barrel_server_http.erl)
  • Edited copy of a member (18 corresponding lines) (apps/barrel_embed/src/barrel_embed_port_server.erl)
  • Hotspot: apps/barrel_ngram/src/barrel_ngram_segment.erl (apps/barrel_ngram/src/barrel_ngram_segment.erl)
  • Hotspot: apps/barrel_ngram/src/barrel_ngram_shard.erl (apps/barrel_ngram/src/barrel_ngram_shard.erl)
  • Hotspot: apps/barrel_server/src/barrel_server_http.erl (apps/barrel_server/src/barrel_server_http.erl)
  • Members sharing a duplicated core (4 members, 50+ identical tokens) (apps/barrel_docdb/src/barrel_db_server.erl)
  • No ADRs found
  • TooManyFunctions: barrel_session (apps/barrel_spaces/src/barrel_session.erl)
  • …and 10 more

New (218)

  • Duplicated block (10–11 lines × 7) (apps/barrel_docdb/src/barrel_ars_index.erl)
  • Duplicated block (13 lines × 5) (apps/barrel_docdb/src/barrel_ars_index.erl)
  • Duplicated block (14–17 lines × 2) (apps/barrel_docdb/src/barrel_rep_att.erl)
  • Duplicated block (5 lines × 2) (apps/barrel_att_s3/src/barrel_att_s3_store.erl)
  • Duplicated block (57–60 lines × 2) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (6 lines × 2) (apps/barrel_docdb/src/barrel_rep.erl)
  • Duplicated block (8–10 lines × 3) (apps/barrel_docdb/src/barrel_db_server.erl)
  • Duplicated block (9 lines × 2) (apps/barrel_att_s3/src/barrel_att_s3_store.erl)
  • Duplicated block (9–11 lines × 3) (apps/barrel_server/src/barrel_server_auth.erl)
  • Edited copies of one member (3 members, 12+ corresponding lines) (apps/barrel/src/barrel_ctx_shape.erl)
  • Edited copies of one member (3 members, 12+ corresponding lines) (apps/barrel_docdb/src/barrel_query.erl)
  • Edited copies of one member (3 members, 13+ corresponding lines) (apps/barrel_docdb/bench/src/barrel_bench.erl)
  • Edited copies of one member (3 members, 23+ corresponding lines) (apps/barrel_docdb/src/barrel_query.erl)
  • Edited copies of one member (3 members, 3+ corresponding lines) (apps/barrel_ngram/src/barrel_ngram_corpus_config.erl)
  • Edited copies of one member (3 members, 4+ corresponding lines) (apps/barrel_docdb/src/barrel_db_watch.erl)
  • Edited copies of one member (3 members, 4+ corresponding lines) (apps/barrel_docdb/src/barrel_parallel.erl)
  • Edited copies of one member (3 members, 4+ corresponding lines) (apps/barrel_embed/src/barrel_embed_clip.erl)
  • Edited copies of one member (3 members, 5+ corresponding lines) (apps/barrel_embed/priv/barrel_embed/providers/clip.py)
  • Edited copies of one member (3 members, 6+ corresponding lines) (apps/barrel/src/barrel_ctx_remote.erl)
  • Edited copies of one member (3 members, 6+ corresponding lines) (apps/barrel_docdb/src/barrel_store_rocksdb.erl)
  • …and 198 more

Changes since last survey

  • 76 commits — 73 feature/other, 3 fixes

By area

  • apps/barrel_docdb — 37 commits
  • apps/barrel_att_s3 — 9 commits
  • apps/barrel_server — 9 commits
  • .github/workflows — 4 commits
  • apps/barrel — 3 commits
  • test/e2e — 3 commits
  • (root) — 2 commits
  • apps/barrel_spaces — 2 commits
  • clients/barrel-lite — 2 commits
  • docs/architecture — 2 commits
  • apps/barrel_rerank — 1 commit
  • apps/barrel_vectordb — 1 commit
  • docs/guides — 1 commit

Notable commits

  • fix: Fix the S3 fork copy and streamed reads under load
  • fix: barrel_docdb 2.1.0, barrel_server 1.13.0, barrel_att_s3 0.1.4: review fixes (#83)
  • fix: barrel_docdb: fix the doc build
  • change: Accept the find continuation it hands out
  • change: Add a Docker image for the HTTP node
  • change: Add a readiness route
  • change: Answer 400 to database names the store refuses
  • change: Apply the store tuning to every column family
  • change: Attachment replication: checkpoints only past what landed, durable, filtered
  • change: Attachments: staged uploads, snapshot reads, writer-serialized commits
  • change: Bring the REST docs and OpenAPI file in line with the server
  • change: Build the macOS tarball on macos-15
  • change: Check client vectors end to end across real peers
  • change: Close every conflict on spaces documents, keep early arrivals
  • change: Compress with zstd, on every column family
  • change: Count attachments exactly
  • change: Count live documents exactly
  • change: Create the rerank venv in priv/.venv, not ./undefined
  • change: Drop the bitmap column family nothing writes
  • change: Encrypt S3 attachment objects of encrypted databases
  • …and 56 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

barrel-db/barrel was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 794415d73ca798b9b0fa87808a14c5c9401dccea — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.