Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
0.1.4 - 2026-11-11¶
Highlights:
- Linux arm64 gets prebuilt binaries: the install script, Homebrew and
cargo binstallnow work on Graviton and Ampere servers, Raspberry Pi OS 64-bit and arm64 containers without a Rust toolchain. - Agents reach for the store on their own: the skills and the
AGENTS.md/CLAUDE.mdblock say when to use it and to start each session withagent-store ctx. Re-runagent-store initafter upgrading to refresh unedited copies.
Added¶
- Prebuilt Linux arm64 binaries: releases now ship
aarch64-unknown-linux-gnuandaarch64-unknown-linux-muslarchives, each with a SHA-256 checksum and a build-provenance attestation, so Graviton and Ampere servers, Raspberry Pi OS 64-bit and arm64 containers install without a Rust toolchain. The install script picks the musl build on Linuxaarch64/arm64, andcargo binstallfinds it too.
Changed¶
- Skills and the
AGENTS.md/CLAUDE.mdblock now tell agents when to use the store: skill descriptions name remembering decisions and tasks across sessions, session start and handoff, so Claude Code uses the store from the skills alone in a fresh repo; the block says to runagent-store ctxat session start instead of re-runninginit; the skills coverunset,rm,link/unlink/links, a handoff recipe, onearea/choice/reasondecision convention, and not retrying a mutation whose hook failed after it committed. Re-runninginitrefreshes unedited copies.
0.1.3 - 2026-10-24¶
Highlights:
- Upgrading keeps agents current: re-running
agent-store initrefreshes skill files and theAGENTS.md/CLAUDE.mdblock that are unedited copies from an earlier release (v0.1.0 projects gain the schedules section), and keeps the ones you edited. - Schedules are safer:
schedule enableno longer touches another project's crontab entry and keeps working across Homebrew and Nix upgrades, andschedule add atrejects impossible times and fires offset times on time. - Installing is fixed and documented end to end: Windows has a PowerShell download-verify-install block, the checksum and attestation recipes work as written, and the Nix flake builds again.
- A rewritten README and docs site: an agent-first install, the session-to-session memory loop, a Stability section, and a page on what Claude Code, Codex and Cursor each read.
Added¶
- An upgrade test opens stores written by the released v0.1.0, v0.1.1 and v0.1.2 binaries and checks that every record, link, hook run and schedule survives and schema migration 3 is applied.
- Cargo.toml declares
rust-version = "1.78"(minimum supported Rust forcargo install), andhomepage/documentationpoint at the docs site. - Docs: a "Claude Code, Codex and Cursor" page (
docs/agents.md): whatinitwrites, which agent reads which file, and the step for a fresh repo with noAGENTS.md/CLAUDE.mdyet. - Docs:
docs/install.mdwith download verification and attestations, shell completions and the man page, installer options, upgrade and uninstall per install channel, and a Windows PowerShell download-verify-install block. - Docs: the README covers the session-to-session memory loop, "Why not just...?" (MEMORY.md, grep, vector memory, git history) and a Stability section; the FAQ covers git history, sharing a store with a worktree or seeding a clone, and measured 10k-record performance.
- Example
examples/import-memory-md.sh: migrate an existing MEMORY.md into the store. - Brand: a new logo with light/dark variants, a hooks/links demo GIF, and a social preview card with Open Graph/Twitter meta on the docs site.
Changed¶
- Re-running
agent-store initrefreshes builtin skill files and the managedAGENTS.md/CLAUDE.mdblock that are unmodified copies from an earlier release, so upgraded projects get current skills such as the schedules section. Edited files are kept and reported with how to replace them.init --jsonaddsskills_refreshedandskills_modified, and an instruction status may berefreshedormodified. --help, the man page and the crate description use one tagline: "Persistent, queryable memory for coding agents: one binary, one SQLite file in your repo, no server."- Release binaries are built with
--lockedfromCargo.lock, and the release workflow flags a skipped crates.io publish or Homebrew tap bump with a notice instead of skipping silently. - The package manifest ships only an allowlist of files (
src/,Cargo.toml, licenses,README.md,CHANGELOG.md).
Fixed¶
schedule enable/disableno longer touch another project's crontab entry when one project root is a prefix of another, quote project and binary paths (spaces, quotes,%) in the cron line, record the invokedagent-storepath so Homebrew/Nix upgrades keep the entry working, and refuse to rewrite a crontab thatcrontab -lcould not read.schedule add atrejects dates and times that do not exist (2026-02-30,25:99, trailing text) with exit 2 instead of storing a schedule that never fires correctly, stores timestamps with a UTC offset as their UTC instant sotickfires them on time, and no longer panics on a duration ending in a non-ASCII character.schedule add --helplists the offset form.- The Nix flake builds again; it had failed since v0.1.2 (two sandbox-incompatible hook tests are now skipped in the Nix check phase), and the flake's package version comes from Cargo.toml instead of a stale hard-coded 0.1.1.
- Install docs: the README's "Verifying release downloads" snippet
fetched a nonexistent
<archive>.sha256(checksums are named after the target), the uninstall steps namedcargo uninstall agent-storeinstead ofagent-store-cli, and they now cover crontab entries andinitleftovers. The release notes template's verify snippet and binstall crate name are fixed too. - Docs: sample outputs that differed from the binary are re-captured from real runs.
0.1.2 - 2026-07-13¶
Added¶
- Docs: Schedules page (
docs/schedules.md) coveringadd at/add every,tick, crontabenable/disable, per-record execution, run capture, timeouts, and the shared hook/schedule recursion cap — plus a README Schedules section. The feature shipped in v0.1.1 with only--helpdocs. - Docs: the JSON import/export recipe now warns that record JSON carries no
links, so copying a store via
find --json | create --stdindrops edges (recreate them vialinks <id> --json+link). - Docs: the
ctx8192-byte cap is qualified — it applies to text output only (ctx --jsonis uncapped) — and the truncation fallback is documented.
Changed¶
- Hook dispatch is capped at recursion depth 3: hook and schedule commands
run with
AGENT_STORE_HOOK_DEPTHset, and mutations made at the cap skip hook dispatch (with a note on stderr) instead of recursing without bound. - When a post-commit hook fails, the mutation's normal stdout output (record
ID, or the full JSON envelope in
--jsonmode) is still printed; the hook failure goes to stderr and the exit code remains 1. Previously the new record's ID was only visible embedded in the error text. set/unsetthat change nothing now reportUnchanged <id>("status": "unchanged"in--jsonmode) and no longer bumpupdated_ator write a store event, so no-op mutations don't create false activity signals. Hooks still fire.find --countreports the total number of matching records, ignoring--limit, as documented.
Fixed¶
ctxtext output could exceed its own 8192-byte cap by one byte; the truncation notice now fits within the budget.createrejects an empty kind (exit 2) instead of storing a nameless record kind.schedule disablenow fails with exit 1 when thecrontabbinary cannot be run, instead of masking the error as "No crontab entry found".
0.1.1 - 2026-07-04¶
Added¶
- Docs: "Using agent-store with Claude Code" tutorial (
docs/claude-code.md) — setup, CLAUDE.md conventions, session-start context injection via a Claude CodeSessionStarthook, and a worked two-session example. - README "Upgrading and uninstalling" section: per-channel upgrade commands
and a map of everything an install or
initputs on disk. - Docs: Concepts page (
docs/concepts.md) — the mental model behind stores, records, links, queries, hooks, and thectxbudget. - README "Verifying release downloads" section:
sha256sum -c/shasum -a 256 -cagainst the published.sha256assets andgh attestation verifyfor build provenance. - Release archives (for releases tagged after v0.1.0) carry signed GitHub build provenance attestations, generated by the release workflow.
cargo-binstallsupport:[package.metadata.binstall]inCargo.tomlpoints at the prebuilt release archives.- Homebrew install instructions (
brew install av/tap/agent-store) in the README. - Release automation: crates.io publish and Homebrew tap formula bump jobs
in the release workflow (each skipped when its secret is absent; the
secrets were not set, so neither ran for v0.1.1 or v0.1.2 and the tap
formula was not bumped), plus a
release-notes template (
.github/RELEASE_TEMPLATE.md) and categories config for auto-generated release notes (.github/release.yml). - Crate-level rustdoc in
src/lib.rsand fuller Cargo.toml metadata (homepage, documentation, keywords) for registry listings. - Documentation website: MkDocs site built from the README and
docs/, deployed to GitHub Pages by a newdocs.ymlworkflow. examples/memory-graph.sh: linked memory graph across sessions —link.in/link.out/link.out.<rel>=<id>traversal,ctxrelation counts, self-link rejection, and the--jsonerror envelope.
Changed¶
- The package is named
agent-store-cli(the bareagent-storename is taken on crates.io by an unrelated crate); the binary and library keep theagent-storename. It has not been published to crates.io; install from the GitHub release archives or withcargo install --git. --jsonmode now reports runtime errors as a structured{"error":"<message>"}object on stderr with exit codes unchanged; usage errors from argument parsing stay plain text.- Clearer CLI errors: kind and field-name validation errors now list the
disallowed characters and echo the offending name, and queries using
uppercase
AND/OR/NOTget a hint that query keywords are lowercase. - Typo'd commands now get a "did you mean" suggestion
(
agent-store creatsuggestscreate,hook runzsuggestsruns). - The lowercase-keyword hint now also covers uppercase
AND/OR/NOTin the middle of a query expression, not just trailing keywords. linknow rejects linking a record to itself (error: cannot link a record to itself (<id>)) instead of silently creating a self-edge that counted as both an incoming and an outgoing link. Nothing is written on rejection;unlinkcan still remove self-links created by earlier versions.
Fixed¶
install.shdownloads the checksum file under its actual release asset name, so checksum verification runs instead of being skipped.- Example scripts resolve a relative
AGENT_STOREpath to an absolute one before changing into their temp directory, so the documentedAGENT_STORE=target/release/agent-store ./examples/<script>.shinvocation works.
0.1.0 - 2026-07-03¶
First public release.
Added¶
- Nix flake (
flake.nix):nix run github:av/agent-store, a default package with man page and shell completions installed, and anix developshell with the Rust toolchain, clippy, and rustfmt. - Shell completions for bash, zsh, and fish (
completions/) and a man page (man/agent-store.1), bundled into release archives. agent-store initcreates a project-local SQLite store under.agent-store/and installs the agent-facing skills (agent-store,agent-store-patterns,agent-store-pipelines) into.agents/skills/, appending pointers toAGENTS.md/CLAUDE.md. Its output enumerates what happened — installed skill paths, instruction blocks added/present per file, and a hint to createAGENTS.md/CLAUDE.mdand re-run when neither exists — in both text and--jsonmodes.- Clear diagnostics for a stray
.agent-storefile:initand store-opening commands explain that the path exists but is not a directory instead of surfacing a raw OS error or an inaccurate "run 'agent-store init' first" hint. Unknown--flagsonfind/ls,get,rm, andlinksare rejected with an "unknown flag" error pointing at--help(exit 2) instead of falling through to positional parsing. - Default record output is always one line per record: field values containing
newlines or other control characters are rendered with bash ANSI-C quoting
(
multi=$'line1\nline2'), so line-by-line piping offind/lsoutput stays safe and values still round-trip through shelleval. Applies tofind,get,ctxrecent records, and the record snapshot piped to hook stdin;--jsonoutput is unchanged. - Records:
create,get,set,unset,rmwith kind and field-name validation, generated IDs, unique-prefix ID resolution, and created/updated timestamps. - Query language for
find: comparison operators (=,!=,<,<=,>,>=), contains (~=), booleanand/or/not, parentheses, quoted values, typed comparisons (numbers, dates, and timestamps on a common UTC timeline), link-aware predicates, implicitandbetween multiple query arguments, and barefindlisting all records.findflags for sorting and limiting output. - Links:
link,unlink,linksfor typed relations between records, with clear errors when removing a link that does not exist. - Hooks:
hook add/ls/rm/runs— shell commands triggered by store mutations, optionally filtered by query; run in registration order with a snapshot of the record on stdin, mutation context in environment variables, 8192-byte output capture caps, a 30-second timeout enforced on the whole process group, and signal-aware failure reporting. Hook runs are persisted and inspectable viahook runs. ctxquick context: compact project summary (statuses, fields, links, recent records) under a byte cap, suitable for injecting into agent prompts.--jsonoutput mode for all commands, plus JSONL import for bulk loading records.- Robustness: transactional mutations, safe concurrent access (ID-prefix and
hook races covered by tests), graceful handling of broken stdout pipes, and
an explicit error when commands run before
init.