motte

module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT

README

motte

motte is a version control store and a set of virtual workspaces for coding agents. It is built on jj.

Status: early. The repository holds milestone M1: the specification, the grant format, the wire types and the store primitives. The store service, the client, the workspace daemon and the jj backend follow.

Read docs/architecture.md for the design. Read AGENTS.md before you change the repository.

License: MIT. The jj/ crate is Apache-2.0, because it adapts code from jj-lib.

Directories

Path Synopsis
Package api holds the wire types and error codes of the /v1 routes.
Package api holds the wire types and error codes of the /v1 routes.
Package client is the typed Go client of the motte store and control planes.
Package client is the typed Go client of the motte store and control planes.
cmd
motte command
Command motte is the store service.
Command motte is the store service.
motte-vfsd command
Command motte-vfsd is the node daemon of the virtual workspace.
Command motte-vfsd is the node daemon of the virtual workspace.
Package grant signs and verifies the bearer grants of the store.
Package grant signs and verifies the bearer grants of the store.
internal
clock
Package clock aliases the quartz Clock and adds Real, Or and Wait.
Package clock aliases the quartz Clock and adds Real, Or and Wait.
gitpack
Package gitpack reads git pack files and v2 pack indexes by ranged reads.
Package gitpack reads git pack files and v2 pack indexes by ranged reads.
leaklint command
Command leaklint fails when a tracked file or a commit message holds a term of the denylist.
Command leaklint fails when a tracked file or a commit message holds a term of the denylist.
objstore
Package objstore is the object store seam of the store service.
Package objstore is the object store seam of the store service.
objstore/fs
Package fs backs the objstore seam with a directory.
Package fs backs the objstore seam with a directory.
objstore/gcs
Package gcs backs the objstore seam with Google Cloud Storage.
Package gcs backs the objstore seam with Google Cloud Storage.
pg
Package pg is the PostgreSQL index of the store: repositories, packs, refs, workspaces and op heads.
Package pg is the PostgreSQL index of the store: repositories, packs, refs, workspaces and op heads.
pgtest
Package pgtest gives a test a pool on a private migrated schema.
Package pgtest gives a test a pool on a private migrated schema.
refname
Package refname holds the ref name rule of the store.
Package refname holds the ref name rule of the store.
repos
Package repos holds the rules of a repository that the store keeps.
Package repos holds the rules of a repository that the store keeps.
server
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller.
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller.
store
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store.
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store.
vfs/ctl
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket.
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket.
vfs/lower
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory.
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory.
vfs/nodegrant
Package nodegrant mints the node grants of the CSI plugin.
Package nodegrant mints the node grants of the CSI plugin.
vfs/tel
Package tel carries the correlation attributes, spans and log records of the node daemon.
Package tel carries the correlation attributes, spans and log records of the node daemon.
vfs/upperdir
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves.
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves.
Package testserver starts a real motte server in the process of a caller's test.
Package testserver starts a real motte server in the process of a caller's test.
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace.
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL