Repository navigation
Releases
Releases · Stellenbosch-Technologies/rhebok
v0.2.2
0.2.2 — 2026-11-25
MCP
- Every tool returns structured output. All seven tools declare an
output schema and return their answer asstructuredContentbeside the
text reply. An agent that reads only the text sees what it saw before. - New
rhebok_memoriestool. It lists saved memories by kind and scope,
newest first, with their ids. It reads only the memory pack, so it works
while the embedding server is down. rhebok_searchsays why it could not search. A missing index, an empty
index, an embedding server that is not reachable and a timeout each get
their own reply and next step. Before, every one of them read "No matching
notes found", which told the agent the user had no notes on the subject.
rhebok_relatedis fixed the same way.- Tool descriptions say when to use each tool and when not to, and
rhebok_contextno longer opens with "Call this FIRST".
Native dashboard (macOS, build from source)
rhebok-appis a native macOS dashboard with every tab of the web
dashboard: Health, Search, Memories, Integrations, Settings, Graph and
first-run setup. It looks and works like the web one, and the web
dashboard is unchanged. Both now run on one shared core.- The release archives do not include it yet. Build it from
app/with
cargo build --release(Rust 1.98 or newer) and run
app/target/release/rhebok-app.
rhebok appstarts it only whenrhebok-appsits beside therhebok
binary or in rhebok'sbin/folder.
Distribution
- Each release ships an MCP bundle,
rhebok-mcp.mcpb, and publishes
rhebok to the official MCP registry as
io.github.Stellenbosch-Technologies/rhebok. The bundle runs an installed
rhebok when there is one. - The plugin has an icon (512 pixels square) and links to the docs and
the issues. rhebok installcopies binary plugin files unchanged. It used to read
every plugin file as text, which corrupted the icon.
Security
urlis 2.5.9, which fixes RUSTSEC-2026-0592, a stack overflow on
nestedblob:URLs.- Dependency updates for cargo, the dashboard, the e2e suite and the
release workflow's cosign installer.
v0.2.1
0.2.1 — 2026-11-20
Install
- Homebrew.
brew install stellenbosch-technologies/tap/rhebok, then
rhebok install. Under Homebrew,rhebok updaterunsbrew upgradeand
rhebok uninstallleaves the keg alone. - Pick the embedding model. A first interactive install asks which model
to use: Qwen3-Embedding 0.6B (the default) or EmbeddingGemma 2.
--embed-model qwen3|gemmachooses without asking, and the dashboard's
Settings tab has the same picker. Each model carries its own relevance
gates. EmbeddingGemma 2 needs Ollama 0.40 or newer, and install and
rhebok statussay so on an older Ollama. - Or paste a link. The same question, and
--embed-model, take an Ollama
library link (https://ollama.com/library/nomic-embed-text), a Hugging
Face link (pulled ashf.co/<org>/<repo>, GGUF repositories only), a bare
Ollama model name, or the URL of an OpenAI-compatible embedding server such
as LM Studio. For a server, install lists the models it serves and asks for
a token, which is now optional. The vector length is read from the model
itself. - Gates for a model with no preset. Install embeds 24 built-in sentence
pairs with the chosen model and sets the hook and MCP gates from how it
scores unrelated text. They are never set looser than Qwen3's 0.66 and
0.55. Install says the estimate is coarse and thatrhebok benchwith a
golden set is the real calibration. A model that barely tells related text
from unrelated text gets a warning. - EmbeddingGemma 2's hook gate is 0.82, up from 0.76, which let unrelated
notes into the prompt. - The required model download defaults to yes (
[Y/n]). The optional
model, connecting an agent and purging data still default to no. - Claude Code is found where its installer puts it, in
~/.local/bin,
when that folder is not onPATHyet. - The summary points at the warnings. An install that printed warnings
ends with "Installed, but read the N lines marked ! above". A declined
optional model is advice, not a warning. - Re-installing reports the gates
config.tomlholds, not the preset's. - The install guide names
curlandzstd, which Ollama's Linux
installer needs and a minimal Linux does not have.
Retrieval
- Tier 4 keeps its answers in the top five.
exhaustive, the tier MCP
andrhebok searchuse, diversifies atmmr_lambda0.7 instead of 0.5. At
0.5 it pushed the right answer from the top five to positions six to nine
in 7 of 179 measured questions.
Dashboard
- The Rhebok brand. New palette, type and icon.
- The Health tab shows what the index holds, recall and search time per
tier, and why each skipped file was skipped. Index now starts an index
and shows its progress. - The status line no longer repeats "rhebok".
[prehook] statuspicks
counts(the default),glyphorwords.
Fixes
- Claude Desktop's config is left alone while Claude Desktop runs. The
running app saves its config back over any change, so connect, disconnect
and uninstall now refuse and say to quit it first. - Two backups in the same millisecond no longer share a name, so the
second no longer overwrites the first. rhebok statussays Ollama is reachable when only the optional model
is missing.
Known issue
- EmbeddingGemma 2 (
embeddinggemma-2:270m-bf16-text) cannot be pulled on
Linux, where Ollama says it needs MLX. Use Qwen3 on Linux.
Community
- Questions and ideas go to
Discussions,
bugs to issues.
v0.2.0
0.2.0 — 2026-11-12
br8n is now rhebok, and lives at Stellenbosch-Technologies/rhebok. This
is the first release under the new name. It covers everything since br8n
0.1.0.
Moving from br8n
- One command moves an existing install.
rhebok installmoves the br8n
data and config directories (index, memories, config, env file) to their
rhebok names, renamesBR8N_*keys in the env file toRHEBOK_*, removes
thebr8n@br8nClaude Code plugin and marketplace, removes the oldbr8n
link on PATH, moves every connected agent'sbr8nMCP server and Codex
guidance block torhebok, and rewrites a scheduled br8n backup. It refuses
while a br8n index is running, and it never overwrites a rhebok directory
that already exists. - Old files still read. Backups written by br8n restore, a repo's
.br8n/project.tomlis still found and stays trusted, andrhebok audit-injectionsstill counts<br8n-context>blocks. - Renamed for you: the binary, the
RHEBOK_*environment variables, the
rhebok_*MCP tools, the/rhebok-*commands and skills, and the
<rhebok-context>and<rhebok-lessons>tags. - A br8n binary cannot update itself to rhebok. Install rhebok once with the
one-line installer, then runrhebok install.
Projects, the prehook mod and Claude Desktop Chat
- Projects. A project in
config.toml, or a trusted
.rhebok/project.tomlin a repository, limits the prompts written in its
directories to its own part of the index. Memories belong to the project
they were saved in;rhebok memory promotemakes one global. A project or
slice can be exported as a read-only pack and mounted on another machine.
rhebok project show,explain,rescopeandbench --projectexplain
and measure it. - The prehook mod. The Claude Code plugin carries a
rhebok-prehookmod
that injects context through the running MCP server, so a prompt skips the
process start the command hook pays.[prehook] injector(or
/rhebok-prehook) picks the mod, the command hook, or neither. - Context in Claude Desktop Chat.
rhebok contextand the new
rhebok_contextMCP tool return exactly what the prompt hook would inject.
rhebok project instructions <name>prints text for a Chat Project that
asks Claude to call it before each answer.
Install and update
- The plugin installs from a marketplace.
/plugin marketplace add Stellenbosch-Technologies/rhebokoffers rhebok
inside Claude Code. Until the program is installed, the plugin says so and
does nothing else. - Models.
rhebok installasks once to pull the embedding model
(qwen3-embedding:0.6b, about 640 MB). The session distillation model
(qwen3:4b-instruct, about 2.5 GB) is optional and gets its own question,
only in an interactive install.--yes,--quietandrhebok updatenever
pull it; they print how to pull it, or how to turn distillation off.
rhebok statusreports a missing distillation model as optional. - OCR is optional and says so. OCR needs PDFium and ONNX Runtime, which
rhebok does not bundle. On Linux, rhebok now looks for.sofiles in the
usual library directories, including versioned ones. When the libraries are
missing,rhebok statussays text PDFs are indexed as usual and only
scanned pages are skipped. - A missing vector extension is named. If LadybugDB's
vectorextension
was never downloaded (it needs network access on the firstrhebok index),
rhebok status, the dashboard and search say so and how to fix it, instead
of reporting a busy index. - Update messages. When no release has been published,
rhebok update
andrhebok update --checksay so and exit 0. When GitHub refuses the
request, the message names its rate limit for anonymous requests.
RHEBOK_GITHUB_TOKENis optional and only raises that limit. - Licence notices ship with the binary. Every release archive holds
rhebok,LICENSEandTHIRD-PARTY-NOTICES.md, the licences of the Rust
crates, LadybugDB's bundled libraries, OpenSSL, the dashboard's packages and
its fonts. A rhebok binary built before this change cannot unpack such an
archive, sorhebok updatefails with "must contain exactly one file named
rhebok". Reinstall once with the one-line installer. From 0.2.0 on, the
updater takes the file namedrhebokand ignores any other file at the
archive root, so a later release can add a file without that break. - Homebrew-aware. A rhebok that runs from a Homebrew keg leaves the
program to Homebrew:rhebok updaterunsbrew upgrade, andrhebok uninstallleaves the keg alone. No Homebrew tap is published yet.
Security
- The dashboard refuses a foreign
Host. Every request must name
127.0.0.1,localhostor[::1]with the dashboard's own port, or it
gets421 Misdirected Request. This blocks DNS rebinding, which could
otherwise read the dashboard's search, memories and settings from a web
page. A reverse proxy in front of the dashboard must keepHostas
127.0.0.1:<port>. - Retrieved text stays inside its block. The
<rhebok-context>block,
andrhebok_searchandrhebok_relatedresults, start with a fixed line
saying the excerpts are data, not instructions, and may be outdated. Every
line of excerpt text starts with>. A tag in retrieved text whose name
starts withrhebok-,br8n-orsystem-reminderhas its<escaped as
<, so a note cannot close the block early, even with invisible
characters such as a zero-width space inside the tag. The same applies to
thehitslist ofrhebok_contextand torhebok searchoutput, which the
/rhebok-searchcommand reads. - Lessons no longer claim your authority. The
<rhebok-lessons>block
says lessons are guidance and that your current instructions take
precedence. Each lesson, and each memory line in the context block, says
who saved it: you, Claude, or session distillation. - The confidence floor applies when memories are read. A memory Claude
saved below[memory] min_confidenceis no longer shown or retrieved, even
if it was saved before the floor was raised.rhebok memory liststill
shows it. - Mounted packs cannot pose as memories. Hits from a mounted pack never
carry a memory line. - Security model describes what can reach your
prompts and how to limit it, and SECURITY.md says how to
report a vulnerability. - Release builds use a pinned LadybugDB library checked against a
recorded checksum, and every workflow pins its actions to a commit.
cargo auditandnpm auditrun on every pull request and weekly.
Backups
- Memories are backed up. Every backup now includes the memory store.
rhebok restorerestores it when there is no local one;--memories
replaces an existing one, which is kept beside it as
memory/db.before-restore-<time>.--forcestill only overwrites
config.tomlandgolden.toml. If the backup's embedding model or
dimensions differ from your config, the memories are skipped with a warning
that says how to restore them. - Manifests are authenticated. With a backup key, each manifest carries
an HMAC-SHA256 tag, and a restore refuses a manifest that was altered,
renamed, has no tag, or claims to be unencrypted. Every restore prints the
date and host the backup was written on.--allow-unencrypted-manifest
accepts a manifest that says it is unencrypted while a backup key is set;
use it only for a target nobody else can write to. - Upgrade note: a restore of an encrypted backup made by an earlier
version needs--allow-unauthenticated-manifestonce, or run one new
rhebok backupfirst. The manifest version is now 2, so an older rhebok
refuses to restore backups this version writes. - Restore writes only
config.tomlandgolden.tomlfrom a backup's config
files, never any other file a manifest names. rhebok backup schedulewrites a quoted command that runs the
installed program, so a path with a space (the default on macOS) works.
A schedule that is not five cron fields or an@macro is refused.
rhebok install, whichrhebok updateruns, quotes a schedule an earlier
version wrote unquoted, keeping its time, program and config. A
commented-out line is left alone. A live line it cannot read is left alone
with a warning to runrhebok backup scheduleagain.
Search, indexing and memory
- Claude's own searches can find past sessions.
rhebok_searchnow
weighs transcripts at 0.85 by default, so a strong match from a past
session can clear its gate. The prompt hook keeps transcripts out by
default, because it fires without being asked. - An edit to a note's frontmatter alone is re-indexed. Tags,
titleand
statuschanges used to be skipped until a full--reindex. - Keyword-only search ranks by keyword score. On an index built with
--no-embed, results came back in chunk-id order; they now follow the
BM25 ranking. - Faster, lighter indexing. Each document is written in one transaction,
and every write path commits in batches, so a full index and--compact
spend far less time waiting on the disk. A pack build reads each document
once, which cuts its memory peak by about 40%. - Readers no longer write. Search, status and the dashboard open the
index read-only, so a prompt hook killed mid-search can no longer leave the
index unopenable. - The index summary counts removed documents.
- Distillation defaults to
qwen3:4b-instructand refuses a summary the
model did not finish. If the model is missing, the background run stops
with a message that names the fix. - The MCP server reports its own name and version and annotates each
tool, so a client can tell the read-only searches fromrhebok_forget. - The dashboard bundles its fonts (cont...