Repository navigation
Releases
v1.0.0-beta.14
Erasure accounting for the session-start hook, signed build provenance for the hosted binaries, a
SQLite open fix found by a TLA+ model, faster session starts and CI, and a lighter landing page.
The export format, the SQLite and Postgres schemas, and the CLI exit codes are unchanged.
Security
- CLI hook:
relembra hookrecords each wake it prints as an exposure under the carrier
hook:session-start(kindhook) before printing it, so a later redaction lists the
session-start hook as a pending carrier inrelembra check. It used to record nothing, so
checkreported no pending erasure while every session since held the text (audit
RLM-2026-11-01). A session start writes only when its wake carries a memory not yet recorded;
if that write cannot happen (a busy or read-only store), the hook prints no wake (with--json,
dataisnull), where it used to print the wake. - CLI scope: the
.gitfile of a linked worktree or submodule, and itscommondir, are read only
when they are regular files, through an open that never waits and is checked on the open
descriptor. A FIFO there used to block every command run below that folder, the session-start
hook included, before git's 2 s timeout could apply (K-35, from the beta.13 review); a FIFO or a
device is now passed over, as an unreadable file was. - Release: the
cipush tomainsigns SLSA build provenance for every CLI binary it builds (a
separateattestjob withactions/attest), andscripts/deploy.sh hmorefuses a Linux or
Windows binary whosegh attestation verifyfails for this repository'sci.yml, the release
commit andmain. Check a download withgh attestation verify <file> --repo mneves75/relembra(README). The macOS binary is built on the release machine and has no
attestation (audit RLM-2026-11-02). - Audit:
docs/security/AUDIT-2026-11.md, the 2026-11 audit of every layer, with both findings'
resolution.
Changed
- CLI scope: asks git for the origin first (
remote get-url origin) and runs
rev-parse --git-common-dironly when the key or name needs it (no origin, or an origin with no
last segment) or to classify a failure, so a session start in a repository with
an origin runs one git instead of two. With no.gitabove the folder,rev-parsegoes first,
so a session start outside any repository still runs one git. Keys, names and error codes are unchanged; a repository
whose path git prints with a control character is now refused only when that path is used, not
when the origin alone keys the scope. Measuredrelembra hookwall time at heavy load: min
145→113 ms with Homebrew git, 353→238 ms with/usr/bin/gitfirst on PATH. - Wake: orders the scope in one pass, skips the coverage map when no summary is live, and checks
id and scope bounds without encoding short values; the same rendering, about 10% fewer
instructions for a 20,000-memory scope. A differential test pins both against the earlier
implementation. - CI:
bun-nativeno longer repeats the build toolchain tests thatbun-toolchainalready runs
(RELEMBRA_SKIP_BUILD_TOOLCHAIN=1);node-windowsinstalls no Bun and no dev dependencies; the
Windows store tests and the SQLite round-trip seeds get headroom for slow hosted runners
(60 s). - Landing page: the first visit is 9.5% smaller (137 KB to 124 KB with gzip). Martian Mono ships
without its unused weights under 400, and the page loads a minified build of its script
(site/assets/site.min.js, frombun run build:site). A test holds the first-load bytes to a
budget; full-page screenshots differ by at most 0.01% of pixels, each by 1/255.
Fixed
- SQLite: an open that fails for any reason other than a newer schema (the migration lock busy, a
pragma failing) closes keeping the WAL. A newer relembra can commit its schema after our last
version read and exit; the plain close was then the last connection and checkpointed that newer
WAL into the main file. A failed owner-only check still closes normally, removing the sidecars
SQLite created with the file's loose mode. Found bydocs/specs/formal/SqliteOpen.tla.
Added
test/properties/: seeded, replayable property tests for 28 fixed bugs whose fix an in-process
property can express (27 properties; each of 37 mutations that reintroduce a bug fails one).
docs/specs/bug-properties.mdmaps each bug to its property and lists the fixes left to example,
backend and platform tests.docs/specs/formal/: TLA+ models of the MCP session, the memory lifecycle, erasure delivery on
SQLite and Postgres, and the SQLite open, checked with everystate, with each run's state count,
the mutations each catches, and what is left unmodeled.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.14.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2, RLM-02-R). Evidence: docs/eval/release-1.0.0-beta.14.md (follows by PR).
v1.0.0-beta.13
Security-audit hardening across the CLI, core guard and transfer, SQLite and Postgres stores, and
CI workflow, plus configurable wake budgets on relembra hook. The export format, SQLite and
Postgres schemas, and CLI exit codes are unchanged.
Added
- CLI hook:
relembra hookaccepts--budgetandRELEMBRA_WAKE_BUDGETto cap the emitted
additionalContextUTF-8 bytes (#37).
Fixed
- CLI output and scope: escapes every stored field printed by
relembra zoomandrelembra redact
(provenance, ids, scope, origin, sources, redacted and derived lists); refuses bare repositories
andHEAD+commondirlayouts before invokinggit(bare-repository) and passes
-c safe.bareRepository=explicit(deliberate bare repositories now requireRELEMBRA_SCOPE);
fences every enclosing checkout, bare layout, and linked worktree's main checkout (preserving
trailing spaces in gitfiles andcommondir) fromhostGit'sPATH; enforcesRELEMBRA_HOME
directory type, owner-only mode, and UID checks oninitand every store command (#43). - Core transfer and guard: validates file cap, line 1 header, scope ownership/write rights, and
bounds inimportJsonlbefore openingstore.transactionand checks event scopes against a
Set; replaces backtracking assignment regex and recursive compound-token rescanning in
guard.tswith a linear scanner (#43). - SQLite and Postgres: verifies POSIX
st_uidon SQLite store files and-wal/-shm/-journal
sidecars (StoreFileOwnerError, CLIstore-file/owner); verifies Postgres schema and relation
ownership (pg_namespace.nspownerandpg_class.relownervia
pg_has_role(current_user, owner, 'MEMBER')) in one atomicpg_catalogquery before reading
schema_versionand again under the migration lock (SchemaOwnershipError) (#43). - CI and tests: excludes the informational
pi-durable@latestprobe frompushruns inci.yml
(if: github.event_name != 'push'), prunes duplicate/implementation-bound tests (#43), and bumps
zizmor-action(#28) and dev dependencies (#29).
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.13.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2). Evidence: docs/eval/release-1.0.0-beta.13.md (follows by PR).
v1.0.0-beta.12
Repository-wide hardening across the core library, SQLite and Postgres adapters, CLI, MCP server,
pi-durable integration, and release/CI tooling. The export format, SQLite and Postgres schemas,
and CLI exit codes are unchanged.
Fixed
- Guard: assignment scanning now handles unclosed and embedded quotes explicitly and inspects URL
query parameters and colon-delimited identifiers by component (case-insensitive URL schemes),
reducing false positives on ordinary URLs and store names while closing quoted-assignment bypasses. - Core & transfer: rejects host clock readings outside valid epoch milliseconds, guards generated
memory-id collisions, enforces current pin rights onsupersedereplay (including when the
superseded original was later redacted), rejects sparse source arrays, boundsmaxAgeDays,
closes theawaitingTombstonelive overwrite gap, compares sources/origin order-independently on
idempotent replay, floors summarize/promote trust viatrustOf, fixes export byte-cap boundary
without a trailing newline, clamps import skew toMAX_EPOCH_MS, and preservesprincipalId: null
on tombstone-only retention-cascade source redacts. - OptMem import: pre-screens plain and dated store sources before writes, skips trailing zero blocks
in one pass while preserving crash-cut tails, rejects misaligned or embedded-newline chunks as
not-optmem, and checksMAX_IMPORT_EVENTSbefore scanning. - SQLite & Postgres: resolves parent directories via
realpathSync.nativewhile keeping leaf
symlink checks, opens every SQLite handle viapathToFileURL, validates-journalsidecars,
fixes read-only WAL schema-version retries andswitchToWalVerifiederror rollback, prepares
statements underbusyTimeoutMs, memoizes concurrentclose(), checks full WAL truncation
counters, locksstore_lockbefore Postgres upgrade backfills, and treats SQLSTATE40003as
commit-unknown. - CLI, MCP &
pi-durable: fails closed on git errors, broken worktrees, and damaged bare repos
underLC_ALL=C; validatescheckhome directories before opening; surfacesWalScrubErroron
redact,sweep,import, andhookwithout hiding committed outputs of non-redacting
commands; rejects--json/--inside value-flag slots; handles short writes,EAGAIN, and
hangup on/dev/tty; scopes2025-03-26MCP batch cancellations to negotiated sessions and
prior pending keys; and skipspi-durableexposure recording whenrelembra_memoryis absent. - Release, build & CI: strips ANSI codes in
build/cli.tsflag detection (FORCE_COLOR=1), binds
deploy.sh hmotomanifest.candidate.digest, hardens security-gate record selection and
timestamp sorting, exempts the informationalpi-durableCI job, enforces prerelease/stable
npm dist-tag policy and rejects SemVer-range or malformed tags, includessite/in input
identity, isolates implicit eval runs in temporary directories, and hardensassemble.sh,
bun-toolchain.sh,init.sh,install.sh,with-postgres.sh,pack-check.ts,
gate-manifest.ts, and.githooks/pre-push.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.12.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2). Evidence: docs/eval/release-1.0.0-beta.12.md (follows by PR).
v1.0.0-beta.11
Documentation and a new latency record. The library, the CLI, the export format and the SQLite
and Postgres schemas are unchanged from 1.0.0-beta.10.
Fixed
- Docs:
docs/CLI.mdgivesinvalid-argument's rule as<field>:<rule>for every identifier
(memory-id:ill-formedincluded), not for memory ids only;docs/ARCHITECTURE.mdlists every
CLI command, the MCP server's five protocol revisions and the Windows binaries; the site and
PRODUCT.mdstate the Node floor aspackage.jsondoes;GLOSSARY.md,docs/FORMAT.mdand
docs/ARCHITECTURE.mddrop stale v0.1/v0.3 qualifiers (there is no un-retract and no
pruning); the site's MCP row lists the revisions served throughinitialize(2025-11-25 back
to 2024-11-05).
Added
docs/eval/bench-2026-11-17-v1.0.0-beta.10.md: the strict latency benchmark on 1.0.0-beta.10's
inputs, passed (warm find p95 Bun 5.04 ms, Node 20.59 ms). The site quotes this release's own
strict run instead (Bun 5.92 ms, Node 11.35 ms;docs/eval/release-1.0.0-beta.11.md).
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.11.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2). Evidence: docs/eval/release-1.0.0-beta.11.md (follows by PR).
v1.0.0-beta.9
Closes the items 1.0.0-beta.8 left open. The export format, the SQLite and Postgres schemas and
the CLI's exit codes are unchanged.
Fixed
- Postgres: hosts sharing one connection pool can open a new schema at the same moment. A pooled
connection that had already looked the schema up could still see it as absent after waiting
for the migration lock, and failed with a duplicate-key error (23505). - Import: a second retract of a memory the file holds only in redacted form is skipped, as it is
for a stored memory; before, it wrote a second retract event. - Import: a redacted-form note, summarize or promote line over a stored memory that still has its
text must be followed by its redact line, as it must when the store lacks the memory. A file
cut between the two is refusedmalformedinstead of importing with the text kept. - Import: a retract, supersede or redact naming an id that only another scope holds is refused
as an unknown id (malformed), notconflict, so it no longer tells that the id exists.
Added
- CLI:
relembra <command> --help,-handrelembra help [command]print one command's help
or the full help;relembra --versionprints the version. The help ends with the link to this
version'sdocs/CLI.mdon GitHub instead of a repository path.
Changed
- Windows: a new store is refused when another account holds more than read and execute on the
deepest existing folder above it (docs/specs/w-nv1/spec.md, rule 3). Write access there is
enough to turn that empty folder into a junction. After creating the folders, the helper also
checks again that this folder is not a reparse point. - Windows: if the security step reports a store created but left no store file, the store is
refused, instead of a file being created with the folder's own permissions. - CLI:
-hanywhere before--now prints help, as--helpalready did. So
relembra note x --agent -hprints help;--agent=-hstill passes the value.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.9.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2). Evidence: docs/eval/release-1.0.0-beta.9.md (follows by PR).
v1.0.0-beta.10
Raises the Node floor. The export format, the SQLite and Postgres schemas and the CLI are unchanged.
Changed
- The library now requires Node 24.16 or later in 24, or 26.1 or later (
engines:
>=24.16 <25 || >=26.1; it was>=24.14). Those are the first releases whosenode:sqlitehas
DatabaseSync#deserialize, which reading a store left with a WAL and no-shmneeds; Node
24.14–24.15, 25 and 26.0 lack it. Bun 1.4 and the CLI binary are unaffected.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.10.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, C9.3-K2). Evidence: docs/eval/release-1.0.0-beta.10.md (follows by PR).
v1.0.0-beta.8
Fixes from a second full read of the repository, and a pass over its comments: about 100 of
2,560 comment blocks were wrong, stale or restated the code, and were rewritten or removed. The
export format, the SQLite schema and the CLI's exit codes are unchanged.
Fixed
- Windows: a new store under a path with non-ASCII characters (such as
C:\Users\João) is
created. The request to the PowerShell helper is now pure ASCII; before, the console code page
garbled the path. exportJsonl: a principal whoseownedlists a scope twice exports a fileimportJsonl
accepts. The header used to repeat the scope, and the import refused the file.- Postgres: the schema identifier is quoted, so reserved words such as
userorselectwork as
schema names; a name starting withpg_is refused with the name check'sRangeErrorinstead
of a Postgres error. - Postgres:
recordExposurethrowsStoreRetryErroraftermaxAttempts, as a transaction does,
instead of the driver's serialization error. - SQLite: a WAL header that names page size 1 is refused as malformed (the WAL header holds 65536
literally; only the database header encodes 64 KiB as 1). relembra/testing: the in-memory store'serasures()returns rows in seq order, as the store
port promises.- MCP: the server instructions and the
findtool's description say that reads also cover the
global scope when the host sets one. - Docs:
docs/FORMAT.mdsays where an import checks its file (inside the transaction, before the
first write);docs/CLI.mdlists thedenied:promote,malformed:copy-replacementand
malformed:summary-promoteimport rules; thesweep,sweepPreviewandpendingdocs name
promoted copies and the trust condition.
Changed
- A wake renders memories only as far as its byte budget holds, so a large scope costs no more
than the budget; the output is byte-identical. relembra/testing: the conformance suite runs theeventsand import-checkpoint cases on
non-durable adapters too, requireserasures()in seq order, requires every scanned surface to
hold the text before a promote/redact, and requires a transaction handle to accept writes while
its transaction is open. A third-party adapter can newly fail these cases.- The latency benchmark's ten queries alternate pt-BR and English (they were all pt-BR); the
corpus is unchanged. - A sealed eval set kept in
eval/sealed/, whereeval/README.mdsays to keep it, no longer
stops the release gate. - Hosted Windows CI no longer runs six diagnostic PowerShell probes whose results were ignored.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.8.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, SEC-18, SEC-11/W-1). Evidence: docs/eval/release-1.0.0-beta.8.md (follows by PR).
v1.0.0-beta.7
One MCP hardening and four landing-page fixes. The library API, the store schemas, the export
format and the CLI's exit codes are unchanged.
Fixed
- MCP server: when the client cancels a queued
initialize, a JSON-RPC batch that arrives before
negotiation is judged against the nextinitializestill queued, not the cancelled one. A batch
is accepted early only when thatinitializeasks for2025-03-26. - Landing page: saving the same fact twice in the demo keeps one memory and says it was already
saved (the demo now passes an op id, as an integration would). - Landing page: the erase demo keeps its state (retracted, redacted, delivered) across a language
switch; Restart still resets it. - Landing page: at 320 px the header bar fits inside the content margins.
- Landing page: the ruler ticks and hatches draw the same in Firefox and WebKit as in Chromium.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.7.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20). Evidence: docs/eval/release-1.0.0-beta.7.md (follows by PR).
v1.0.0-beta.6
Fixes from a full read of the repository, a rebuilt landing page and a smaller npm package. The
store schemas and the export format are unchanged. The CLI gains one refusal code,
summary-supersede; a script that treated exit 3 from supersede on a summary as a store error
now sees exit 1.
Changed
relembra --helpopens with a Commands table, one line per command saying what it does, before
the usage lines.- The landing page is rebuilt as a measuring instrument: dark only, the live note line with a byte
ruler in the first viewport, the scope, wake-budget and erasure demos in one row, one proof table,
Instrument Sans and Martian Mono self-hosted (PRODUCT.md,DESIGN.md). .claude/settings.json(new) makes two contributor rules code for agents: the retired OptMem checkout is never
read, and merging a pull request asks first. A Stop hook runstypecheck,lintandbun test(Postgres
skipped) when the tree changed since the last green run.
Removed
- The npm package no longer ships
dist/cli/(20 files): no export pointed at it, and the CLI
ships as a native binary.
Fixed
relembra supersedeon a summary is refused with the new codesummary-supersede(exit 1); it
was reported asinternal(exit 3).- A memory id holding a lone surrogate is refused as
invalid-argument(memory-id:ill-formed);
over MCP it was an Internal error (-32603). relembra zoomlists a summary's source as not visible only when the principal may not see it;
a store failure while reading one is now reported instead of hidden.- Opening a SQLite store reads the 20-byte header to check for WAL instead of the whole file,
which Node refused outright for a store of 2 GiB or more. - pi-durable:
memory_note's description states the 280-byte limit. relembra mcpnegotiates initialize-based versions 2025-11-25, 2025-06-18, 2025-03-26 and
2024-11-05 alongside stateless 2026-07-28 requests, falling back to 2025-11-25 for unknown
initialize versions. Fields and input-validation errors follow the selected revision;
JSON-RPC batching is supported only for 2025-03-26. Scope and principal still come only from
the launch environment.scripts/deploy.sh hmono longer leaves a temporary file behind when it refuses while reading
the CI run.scripts/deploy.sh prdfinds therelease.ymlandpages.ymlruns from GitHub's clock (the
Dateheader) instead of the local one, so a local clock ahead of GitHub's no longer misses them
after publication; a header it cannot read is refused before publishing.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.6.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, W-NV1). Evidence: docs/eval/release-1.0.0-beta.6.md (follows by PR).
v1.0.0-beta.5
Release tooling only. The library, the CLI, the store schemas and the export format are unchanged.
Added
scripts/deploy.sh: the publication section ofdocs/RELEASE.mdas a program.hmobinds HEAD
to the release check, the hosted CI run and the security gate record, downloads and checks the
hosted binaries and lays out the release assets withSHA256SUMSand notes, writing nothing
outside.scratch/deploy/<version>/;prdtags, publishes, follows the npm stage and Pages
runs, and checks what was published.scripts/init.sh: a fresh checkout's setup (tools and versions,bun install --frozen-lockfile,
bun run build:cli);--checkonly reports.scripts/check-release.shwritesrelease-check.jsonafter its last check, naming the pinned
gate manifest and the benchmark record, so a later step can tell a finished run from an
interrupted one.docs/agents/notes.md: working notes on the tooling and releases, linked fromAGENTS.md.
Assets
relembra-darwin-arm64, relembra-linux-x64, relembra-linux-arm64, relembra-windows-x64.exe,
relembra-windows-arm64.exe, SHA256SUMS and relembra-1.0.0-beta.5.tgz (the archive the release gate
tested; npm staging publishes these bytes). Verify with shasum -a 256 -c SHA256SUMS. Install on macOS
arm64 with sh install.sh relembra-darwin-arm64 SHA256SUMS from a checkout of this tag.
Security gate: WAIVED (SEC-20, W-NV1). Evidence: docs/eval/release-1.0.0-beta.5.md (follows by PR).