Skip to content

Releases

v3.2.1 (2026-11-10): additive-doc

Choose a tag to compare

@github-actions github-actions released this 11 Nov 09:49
e3c4824

The deny guard now reads supported Bash quoting, comments, heredocs and command boundaries together,
then checks both the written command and its normalized command word. It checks paths, listed
wrappers, supported conditionals and shell command strings for matching denies. It remains deny-only,
with no new settings or dependencies. A guard error with configured deny patterns now fails closed.
With deny patterns configured, a command with unterminated syntax, a never-closed heredoc, a NUL
byte or a carriage return is now denied with a reason naming what could not be parsed.
Also not analyzed: parentheses in arithmetic parameter expansions, process substitution text in arithmetic, expansions in heredoc delimiters, unsupported backslash-newlines touching operators, and extended glob operators outside arithmetic and conditional regex operands.
An unquoted extended glob opener is denied even after $ or $$; special parameters without an adjacent (, double-quoted text and heredoc body text keep their existing handling.
Commands that turn extglob on, including computed option names or BASHOPTS values that could enable it, are denied as not analyzed.
Known over-denials: backslash-newlines touching operator characters inside double quotes or directly after ;; in a case body are denied although Bash runs nothing denied; put the line break elsewhere.
Also denied: $$ directly before an extended-glob opener in arithmetic or a =~ operand.
The cap is set an order of magnitude above ordinary long heredoc writes. A write of about
31,000 characters is analyzed in milliseconds and is not denied by the cap.
With Bash deny patterns configured, a command over 300,000 characters, or one the parser cannot
finish in 3 seconds, is denied even when Bash would run nothing denied.
Conditional regex groups preserve word boundaries; quoted substitutions in parameters, arithmetic and subscripted words are checked as code.

Two checks run in order: an unchanged copy of the previous release's matcher first, then the
parser if the first check stays silent. Either check can deny. Denials from the first start with
Legacy check: ; parser denials keep the parser's reasons. If either check fails to complete,
the command is denied. Every command the previous release denied is still denied.
The parser does not scan the command before a denial from the first check.
The legacy check runs with no time limit, as in the previous release.
This is unchanged from that release, so an input that made its matcher slow (for example a single
run of tens of thousands of digits) is at least as slow here, and the parser's time is added
after it when the first check stays silent.
With Bash deny patterns configured, a command longer than 300,000 characters that the first
check leaves silent is denied without running the parser. A command the parser has not finished
within 3 seconds is also denied.
On the development machine, a 4,816-character input that previously kept the parser busy for
about 13 seconds is now denied after about 3.00 seconds.
With the cap at 300,000, 228 measured rows up to 299,990 characters all returned from the parser
within about 3.8 seconds on the development machine. The deadline is checked between parsing
steps, so this is a measured figure, not a guarantee against the hook timeout.
Two measured cases exceed that timeout. Neither is a regression: the previous release was
silent on both. First, the two checks add up: a run of 85,000 digits followed by a shape the
parser cannot finish took the first check about 8 seconds and the parser its 3 seconds, about
12 seconds in total, where the previous release was silent after about 8 seconds. Second, the
deadline cannot interrupt a single pattern match: with a deny pattern 150,000 characters long
and a 299,599-character command, one match took about 35 seconds. With deny patterns of 200 and
2,000 characters the same command returned in 0.7 and 1.8 seconds. The 228 rows above used a
short deny pattern.
The property test checked 1,457 rows: 1,455 must-deny rows (0 silent), one timed row at the length
cap that may stay silent or receive the deadline denial, and one ordinary long heredoc write
that stays silent.
The sample sets "timeout": 10; a timed-out PreToolUse command hook lets the call through
unless "onFailure": "block" is set (Claude Code v2.1.295 or later), an effect inferred from the
configuration and hooks documentation, not observed.
Without a timeout field, the documented default is 600 seconds; add "onFailure": "block"
if a stalled guard should block.

Accepted over-denials inherited from the previous matcher are pinned in ten test rows.
Bash runs nothing denied in these cases: command substitution text inside single quotes in
plain words, array elements, let arguments and [[ =~ ]] operands; bodies of heredocs with
quoted or escaped delimiters and of several heredocs on one line; text after # following a
redirection operator; and a deny-listed word alone on a line inside a multi-line case pattern.

Known open: 13 review rows reach denied commands that neither check denies.
The previous release also missed them, so they are not regressions.
They cover for NAME without in and for (( ... )) followed directly by do or { (3);
xargs long options with optional arguments, such as --replace and --max-lines, followed
by a command (2); GNU env -S strings using the \_ escape (1); # comments inside array
initializers, quoted variants (2); array subscript variants, including an indexed assignment
used as a prefix to a command (2); the $'\c\'' ANSI-C control escape followed by a quote (1);
and $$' inside $(( )) (2).

In every version up to v3.2, grep "a<<b" notes.txt followed by a denied command,
python3 -c "print(1 << 2)" followed by a denied command, and /bin/rm -rf /important were not
denied by Bash(rm:*). Quoted text could falsely open a heredoc, hiding later commands, and paths
were not normalized. Existing installs remain affected until their installed hook is replaced.

The guard is a backstop, not a sandbox or a security boundary. A hand-written scanner cannot model
all of Bash, and each review round of this change found further shapes that reached a denied
command. Fixed shapes are pinned by tests, and the limits that remain are listed in
section i of hooks/README.md. Pair the guard with real isolation, such as lab/, for untrusted
input.

To adopt: copy hooks/reference/bash-deny-guard.py over the installed copy and read section i
of hooks/README.md for the remaining static-inspection limits. Updating the template alone does
not update your installed copy. No interview or npm update is needed.


v3.2 (2026-11-05): additive-doc

Choose a tag to compare

@github-actions github-actions released this 06 Nov 07:40
2fc0f5e

The lead with no hands. agents/defs/lead.md is an optional Claude Code dispatcher for running
more than one piece of work at once. It answers first, sends every job to a background worker,
and relays proof when the worker returns. No shell, edit or MCP tools: doing the work itself is
ruled out by what it cannot do.

INSTALL.md Phase 4 offers the lead first, with its token cost, then the existing three defs.
The default stays one assistant in one loop. Run the install interview in a normal claude
session first, then start the lead with claude --agent lead.

To adopt, if the owner wants it: copy agents/defs/lead.md into your agent config, with researcher.md and
reviewer.md beside it, because the lead sends reads and reviews to them. Nothing else changes;
existing stacks need no migration.


v3.1.1 (2026-11-05): additive-doc

Choose a tag to compare

@github-actions github-actions released this 05 Nov 11:16
f22f644

Memory that can disagree. A new card can explicitly supersede an older claim or contest it, and
both states stay visible in the files. Without a relation, near matches are returned for the caller
to judge before anything is written. No model judges the claim inside the server.

npx lararium serve (npm package 0.3.1). remember gains relations, caller-declared origin,
evidence, idempotent refs and pins. Agent and third-party proposals against user-origin cards wait
in _held/ without changing the user's card. The new write-tier resolve tool records the owner's
choice and reason. Superseded cards leave the index for DEMOTED.md; contested cards keep their
pointers. Frontmatter edits preserve body bytes and renew existing journal provenance. Search and
list surface states, pins remain above new index lines, and stale_days offers read-driven review
without automatic eviction. Reads record timestamps in a sidecar, never in a card; read-tier callers
write nothing.

Explicit relations and resolution can rewrite hand-edited cards' frontmatter, preserving body bytes; the hold requires origin: user.

To adopt: update the server package and copy the card-state documentation from
memory/README.md and npx/README.md. Existing v3.1 cards with no status remain active, with no
migration. The files stay canonical, with no database and no new dependency.


v3.1 (2026-10-28): additive-doc

Choose a tag to compare

@github-actions github-actions released this 29 Oct 06:57
bc1121e

Memory for the apps that cannot read your folder. v3.0 pointed every coding CLI at the same files;
the Claude app, Claude Desktop and ChatGPT could not follow. v3.1 adds a small local MCP server over
the memory folder, so they search, read and add to the same cards.

npx lararium serve (npm package 0.3.0). Four tools: search, read, list, remember.
remember writes exactly the v3 card format, one fact per file plus its index line. Stdio and
streamable HTTP; HTTP always needs a bearer token, with a read tier that has no remember and a write
tier. A small OAuth 2.1 sign-in covers ChatGPT (OAuth only) and the Claude app. Node 20+, the official
MCP SDK, no database. Optional semantic search with a local EmbeddingGemma 2, off by default, falling
back to full-text whenever the model is missing. Details in npx/README.md. Rotating the tokens
revokes on a server that is already running, the index and vector cache refuse symbolic links, the
vector cache carries a model fingerprint, and several servers on one folder take turns on the index;
if a race still drops an index line, the card is safe and the server tries to restore the line on its next write or when a writable server starts
(best effort: --read-only never repairs, repair stops at an unclosed <!-- comment, an edited card is never re-adopted, and a crash between creating a card and journaling it leaves a card repair cannot adopt).
Journal records are self-checking (L1 <name>.md <id> <sha256> <check>, each append opening with a
#) and each card carries the matching lararium-id; the record holds the hash of the card's exact
bytes, so a torn or failed append can never become a record later, and a hand-written or edited card
of the same name is never adopted, even one that copied the id. If cleanup after a failed remember cannot remove the card, the
error names it. The pointer rules in hooks/memory-check.mjs now match the server's, and C1 control
characters are refused in descriptions. A remember is flushed to disk (card, journal, index and the
folder entry) before it is acknowledged, a failed flush counts as a failed write, and repeating a
remember for a card the server already made and indexed succeeds instead of asking for a new name.
Reserved names such as pointer-block are refused, and an unavailable-model message never shows the
model, path or endpoint to the caller (the local log keeps them).

INSTALL.md Phase 5 is rewritten. It used to describe the Postgres index. It is now the guided,
local-first setup: start the server, add it to each tool, prove a round trip, then optionally add
local semantic search and, last, a public HTTPS address for cloud apps (Tailscale Funnel or
Cloudflare Tunnel), with a dated "where it is right now" box for the Claude app and ChatGPT. The
database index is now a closing pointer inside Phase 5 and still lives in clocktower/README.md.

To adopt: copy the new Phase 5 from INSTALL.md and the one-line invitation at the end of the
"What your assistant does after that" section of starter/README.md (plus its matching row in the
"When you outgrow the starter" table), then ask your assistant to run Phase 5. Nothing else in your
stack changes. If you maintain your own copy of the scaffolder: npx lararium serve used to scaffold
a folder named serve; write npx lararium ./serve for that.


v3.0 (2026-10-28): structural

Choose a tag to compare

@github-actions github-actions released this 29 Oct 03:03
aad373d

Memory that follows you across agents. The one problem people keep naming is that memory lives in
one tool and the next tool starts blank. v3 makes the answer the headline: files are the memory,
every agent CLI is pointed at the same files, and the memory fills from hooks and streams instead
of depending on the agent to remember to save.

Start here in five minutes. A new starter/ tier: a root map file (CLAUDE.md, built from
starter/CLAUDE.template.md), three folders (notes/, people/, projects/), the memory index,
one topic per file, lowercase-hyphen names. The README and INSTALL open with it. Everything else
is labelled "when you outgrow the starter" and is optional.

Cross-agent memory. memory/pointer-block.md is a short block that names the map, says how to
search, and tells the agent to write a card when corrected. hooks/memory-pointers.mjs installs it
into ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md and ~/.gemini/GEMINI.md (or, with --project,
into CLAUDE.md, AGENTS.md and GEMINI.md inside the stack only). It appends outside any block another tool
manages, is idempotent, refuses rather than guessing on unbalanced markers, writes through
symlinks, and has a read-only --check. A search miss is stated as "not found in X", never "it
does not exist".

Memory cards. memory/ holds one fact per file with name, description and type
(user, feedback, project, reference) frontmatter, a one-line-per-card MEMORY.md index
(newest first, because loaders cut long indexes), and a DEMOTED.md convention for cards kept on
purpose without a pointer. hooks/reference/session-start.js now injects the index lines into
the session, and says nothing when there are none. hooks/memory-check.mjs reports dangling
pointers, orphaned cards and bad frontmatter, and never edits the index.

Operating shape, all optional. governance/ (the eviction rule, a constitution template with
its reasoning, a gates registry that demands proof, a rule ledger, a graveyard), forge/ (the brief
doctrine and compare-and-swap claiming, lanes empty), workspaces/ (a map-only root, workspaces
earned not scaffolded, a docket), and docs/ops-guards.md (the disk-full watchdog and the unpushed
work report, doctrine only). All of it ships empty or as marked templates.

Plain agent defaults. The default install no longer ships a themed roster. agents/defs/ now
holds three plain definitions (reviewer, researcher, verifier), each with where to look,
what done looks like and a self-check. The reviewer and verifier carry only Read, Grep and Glob,
so read-only is enforced by the tool list, not by a sentence; running tests is the builder's job.
The reviewer holds every fix it recommends to the intended case, so review rounds do not grow the
change.
The dispatch doctrine is inline by default, procedures live in skills, and a subagent has to earn
its place. The themed roster, its workflow chains and the re-theming interview moved to
agents/examples/, opt-in. The /muninn skill is now /curate. npx lararium leaves out the
contributor files, the blog, the themed roster (unless --with-examples) and the tests, so a
scaffolded stack carries none of them. hooks/memory-pointers.mjs --project refuses a stack that
still holds the contributor AGENTS.md. New tests under tests/ fail CI if a persona name or
private data reaches the scaffolded stack, if an agent def has invalid frontmatter, or if the
scaffold path changes.

Honest limits: the shipped capture hooks are wired for Claude Code only. Codex and Gemini CLI share
the files and the pointer block; whether they save anything on their own is for you to verify.

Upgrading: copy memory/, starter/, governance/, forge/, workspaces/, docs/ops-guards.md,
hooks/memory-pointers.mjs and its test, plus the changed hooks/memory-check.mjs and
hooks/reference/session-start.js, into your stack, then follow the v2.18 to v3.0 steps in
UPGRADING.md. Nothing here overwrites a file you own.

v2.18 (2026-09-22): structural

Choose a tag to compare

@github-actions github-actions released this 22 Sep 17:42

Memory is on from the first conversation. A stranger-path test found the promise behind an
optional step: a new user finished the interview without it, and turning it on meant approving a
settings write full of absolute paths that broke the day the folder moved.

The template now ships .claude/settings.json, which registers the startup and session-end memory
hooks as project hooks with commands relative to $CLAUDE_PROJECT_DIR. The memory hooks and the
update checker find their stack from their own location (hooks/reference/ inside it), so moving
or renaming the folder keeps memory working. LARARIUM_ROOT still wins when set and is now only
for global wiring. A soul/core.md or brain/now.md still holding the blank template is announced
in one line instead of injected as if it were yours. soul/heartbeat.md and handoff.md are
gitignored.

INSTALL: memory is explained in Phase 0 as the point, not offered later. Phase 1 ends with an
honest statement of how deep memory goes (the last conversation plus now.md) and an exit-and-
reopen test. A new interview rule bans shell walls: file tools for edits, one short relative
command at a time for renames and deletes, never a chain or a loop.
hooks/memory-check.mjs now reports whether .claude/settings.json registers both memory hooks.

Upgrading: copy .claude/settings.json and the three changed hooks (session-start.js,
session-end-heartbeat.js, update-check.js) into your stack, merging with any project settings
you already have there. If you wired the memory hooks globally in v2.17, remove that global copy
or keep it and skip the project file; both at once run each hook twice. Then run the automatic
loop test in docs/memory-check.md, including the new move-the-folder step.

v2.17 (2026-09-15): structural

Choose a tag to compare

@github-actions github-actions released this 16 Sep 01:46

Automatic memory: the startup and session-end reference hooks now share an optional absolute
LARARIUM_ROOT. Configure it through the settings env block to use your installed stack's
soul/heartbeat.md and brain/now.md. Existing defaults remain when it is unset; other hooks
retain their own path configuration. Merge the settings change rather than replacing your settings.

The writer saves even one completed exchange, accepts text-array prompts and transcripts without
userType, ignores API-error replies, and replaces the heartbeat atomically. Missing transcripts or transcripts with no completed exchange preserve the previous useful heartbeat. Excerpts retain user/assistant labels and are
not verified facts. This is a short latest-session summary, not a transcript archive. Concurrent
sessions sharing a root are last-writer-wins; a hard kill can skip SessionEnd.

Upgrade both hooks/reference/session-start.js and session-end-heartbeat.js, review
hooks/settings.example.json, and run the automatic-loop test in docs/memory-check.md.
hooks/memory-check.mjs now reports root mismatches and heartbeat availability.
hooks/memory-loop.test.mjs covers capture, corrections, partial input, and failure preservation.
INSTALL also requires the top-level brain map to match any sphere changes.

v2.16 (2026-09-15): additive-doc

Choose a tag to compare

@github-actions github-actions released this 15 Sep 15:53

Memory verification: docs/memory-check.md walks through saving a synthetic preference,
retrieving it in a fresh conversation, correcting it, and checking uncertainty. The optional
zero-dependency hooks/memory-check.mjs reports standard file readiness without printing contents
or changing files. Its tests live in hooks/memory-check.test.mjs.

README, INSTALL, and hooks/README now distinguish readable files, explicit recall, and automatic
capture. Copy in the new check and guide if useful; no hook registration or existing memory paths
change. The check uses standard template paths, so adapted layouts need their own path inspection.

v2.15: model-fusion, plus the v2.9-v2.14 catch-up

Choose a tag to compare

@kylnor kylnor released this 01 Aug 12:08

This release covers seven versions. v2.9 through v2.14 shipped to CHANGELOG.md without releases being cut, so watchers heard nothing since v2.8 (July 11). That process hole is now closed mechanically (releases are cut by CI from STACK_VERSION as of this version). If your stack is on v2.8, read every CHANGELOG entry from v2.9 up; all are additive-doc, no structural upgrades in the run.

The jump, one line each:

  • v2.9: machine-owned done-verdicts; a feature is passing only when a verification command exits zero.
  • v2.10: the Judge, adversarial re-proving for non-code deliverables that grade their own homework.
  • v2.11: verification moves inside the dispatch itself.
  • v2.12: prose and review-report drift guards, plus a missing organ.
  • v2.13: no quiet failures; a broken search must never answer like an empty one.
  • v2.14: the PreToolUse guard as the enforcement point for personal working rules, shipped empty on purpose.
  • v2.15: optional model-fusion skill, multi-model routing across subscription CLIs with your assistant as the one spine that synthesizes. Copy skills/defs/model-fusion/ if you hold more than one model subscription.

Full detail for every entry in CHANGELOG.md.

v2.8: the untrusted-code sandbox

Choose a tag to compare

@kylnor kylnor released this 11 Jul 10:35

The stack could clone and run other people's code but had nowhere safe to do it. This release adds the missing surface: a disposable sandbox so untrusted repos never touch the host, plus the skill and the reflex that make your assistant use it by default. Opt-in, requires a Docker daemon.

New

  • lab/ — the untrusted-code sandbox. Dockerfile + a lab wrapper (portable to macOS bash 3.2). Every run is offline by default, mounts nothing of yours (code enters by in-container clone or docker cp, never a bind mount), disposable (--rm + volume cleanup), and de-fanged (all Linux capabilities dropped + no-new-privileges + memory/pid caps). lab <url|dir|zip> for an interactive offline shell; lab --analyze <source> for a non-interactive read-only recon report.
  • /in-the-lab — the skill. Resolves a repo/dir/zip, runs the offline recon in the box, reports what the code reaches for (install hooks, network/shell/eval, obfuscation, dependency count), and never runs the code on the host to triage.
  • Steering rule — untrusted code runs in the lab, not on the host.

Upgrade (additive-doc): copy lab/ and skills/defs/in-the-lab/ into your stack, add the one steering rule to your rules/CLAUDE.md. No interview. Needs Docker (Docker Desktop, OrbStack, or colima).

Adversarially reviewed before release: two sandbox-guarantee breaks (clone-step command injection, interactive volume leak) were found and fixed, each re-verified live against the real image.