memstead-schema
Install expertise into your agent. memstead-schema holds the schema
types of Memstead: entity
definitions, the relationship vocabulary and the validation rules.
memstead-schema is a dependency of the two Memstead products, the
memstead-cli binary and the
memstead-mcp server, and not a supported library.
It is on crates.io because cargo publishes a crate only when every path
dependency is on the registry at the same version; nothing else about it
is a product.
Stability: none promised. The Rust API is pre-1.0 and changes without deprecation cycles whenever the products need it. For a stable contract, consume the binaries or the MCP surface instead.
This crate defines what a schema is: entity type definitions (sections,
metadata fields, required/optional shape), the controlled relationship
vocabulary, validation rules, and the loading pipeline that resolves a
schema reference (default@1.3.0) from workspace-installed files or the
embedded built-ins. Every write the engine accepts is validated against
these types, so a mem never drifts away from its pinned schema.
It is the leaf crate of the Memstead workspace: everything else
(memstead-base, memstead-git-branch, the CLI and
MCP server) depends on it.
Use
Install the memstead-cli binary or the
memstead-mcp server. A direct dependency on this
crate is unsupported: it may build today and break at the next release.
License
MIT OR Apache-2.0, at your option.