Repository navigation
LayerFS 2.0 runs your agents' Workspaces on your host, in Docker, or in Apple container and Lima VMs; keeps their history in SQLite or PostgreSQL; compacts it; and backs it up to Cloudflare R2 or MinIO, all through one call table in the native layerfs command, Node, Python and MCP.
This is a pre-release of a new major version, and it breaks 1.1.0 code, homes and Stores. Nothing is converted: a 1.1.0 home is refused with a fix, and a 1.x Store is refused at open. Not every release gate has run; see what was verified.
What's new since v1.1.0
- Machines: your host, Docker, Apple container and Lima. Sandboxes run on this host with no VM, in Docker, or in Apple container and Lima VMs that LayerFS creates, starts and stops by name, each with its own CPUs, memory and disk (macOS). Firecracker, Microsandbox and SSH machines are removed.
- A control plane with no server. Machines, Stores, projects, Sandboxes and backups are records in one home, and every call routes itself from them: Store calls in your process or the right machine's worker, Workspace calls to the right daemon, started when a call needs them.
- Two Store backends: SQLite and PostgreSQL. One file opened in-process, or one shared database every attached machine works on, with a Workspace Commit in 3 round trips instead of 54.
- Compaction.
store compactrebuilds a Store from its live history and gives back its dead bytes, on both backends, in bounded memory, without changing the Store format. - Backups to Cloudflare R2 and MinIO. Back up a SQLite Store from whichever machine holds it and restore it on this host, verified before install.
- Host mode.
layerfs workspace mount <project> <branch> --hostmounts a full writable Workspace on this host as you: loopback NFS on macOS, FUSE on Linux. - Sandboxes as named environments, bound to no project, with CPU, memory and pids per Workspace,
workspace cancel, and a network of their own outsidemacos-host. - One call table, every language. 85 calls in ten families, the same in the
layerfscommand, Node, the new Python package and MCP. Projects are<store>/<project>; a refusal comes with its fix where there is one; six doctors check a home without changing it. - Normal profile. SQLite Stores open with WAL and
synchronous=NORMAL; FUSE kernel writeback can be turned on per mount (--writeback). store upgradeconverts Stores from earlier 2.0 development builds; 1.x Stores are refused.
Compatibility
- Code.
@layerfs/agent,@layerfs/backendand@layerfs/runtimeare gone; old call names are refused with no alias. The migration guide maps every package, constructor and call. - Homes. A 1.1.0 home is not converted; move it aside and run
layerfs home init. - Stores. 1.x Stores are refused; nothing converts them.
- Platforms. macOS and Linux run Sandboxes. Windows runs Store calls through a WSL2 worker and has no Sandbox yet.
- Durability. The Normal profile was enabled before its safety gate ran, so no power-loss guarantee is claimed. Use LayerFS for agent work and its history, not as the only copy of data you cannot rebuild.
- Version matching. The command, the Node addon, the Python module, the daemon bundle and the Sandbox image must come from this release.
Verification
This is a pre-release: the 2.0.0 release gates have not been run on this commit.
- Tag:
v2.0.0-rc.2points at the merge of #869 intomain(ae1fa30241, treea59d47e61c81). - Not run on this commit:
- the full build and test pass, Clippy and the Linux FUSE mount tests
- the Node, Python and MCP suites
- the Sandbox cells on each machine kind
- CI is off on every branch (owner, 2026-12-02), so no CI lane ran either.
- Earlier evidence:
- Each merged pull request was checked against its own base.
- The #533 terminal pass (2026-11-02, debug builds, one Mac) passed the twelve cells on every machine kind of that time. It predates most of 2.0, including PostgreSQL attach, compaction, host mode and the FUSE changes.
- Source-only: no package is published with this tag.
@layerfs/node@2.0.0-rc.1on npm was built from older source (2026-11-08). The workspace's own version strings read2.0.0.
The release record lists each requirement and its status.
This pre-release makes no new performance claim; the results on layerfs.ai were measured on 1.0.0 source.
Links
- 2.0.0 manual and its limitations
- Release record, with the checks and open items
- Docs on layerfs.ai
- Community: Discord