Expand description
Filesystem and environment foundation for LeanCTX | OSS.
Policy-free building blocks the engine composes: crash-atomic writes,
bounded advisory file locks, BLAKE3 hashing, the stable store-name hasher, JSONC parsing, home and Codex
directory resolution, the managed-configuration carrier readers, the
engine’s error types, a process liveness probe
and the process-wide test environment lock. The engine reaches each module
through a facade at its old core:: path; this crate never depends on the
engine.
Modules§
- atomic_
fs - Shared, policy-free atomic-write mechanics.
- confined_
write - Writes that stay below a trusted root and never follow a symlink on the way.
- env_
lock - The process-wide test environment lock.
- error
- file_
lock - hasher
- Central hashing utility using BLAKE3.
- home
- jsonc
- managed
- Reads the machine’s managed configuration from its MDM carrier.
- process
- Process liveness probe shared by the atomic-write orphan sweep and the
engine’s process management (
ipc::processre-exports it). - stable_
hash - A hasher whose output never changes between Rust releases, for names that are stored: the project directories under the data dir are keyed by it.