Skip to main content

memstead_base/
filesystem.rs

1//! filesystem-mem surfaces — single-mem, history-free, filesystem-backed
2//! workspaces.
3//!
4//! Holds the helper modules consumed by the unified
5//! [`crate::Engine`] when it routes through a folder-backed mem:
6//! [`changelog`] (the JSONL provenance log), [`config`]
7//! (`.memstead/config.json` reader / writer) and [`publish`] (the
8//! `.mem` archive assembler — engine-free).
9//!
10//! filesystem-mem `.memstead/config.json` is a different shape from the archive's
11//! `.memstead/config.json` (which lives inside a published `.mem` zip):
12//! the workspace shape carries workspace-local fields the archive
13//! never publishes, while the archive shape is the strict
14//! whitelist projection enforced by [`super::validator::config`]. Both
15//! validators live in this crate.
16//!
17//! [`super::validator::config`]: super::validator::config
18
19pub mod changelog;
20pub mod config;
21pub mod publish;