Weave Core
Storage Runtime
The core storage wrappers expose separate Strand, Lens, Locus, and Nexus types.
Workflow and current contract
The core storage wrappers expose separate Strand, Lens, Locus, and Nexus types. They are not interchangeable with the models re-exported by weave-sdk. Locus::create(owner, adapter) constructs a writable facade and enable_write_access explicitly enables mutation on opened state; write_file accepts a path, byte vector, and MIME type.
Read the specific wrapper's return values and persistence implementation before selecting it for an application. Missing backing Strand data is surfaced as an unsupported/error path, not as a successfully read empty file. Use the SDK/model guides for persistent node-backed store composition.
Source reference
storage::stranddeclarations —libs/weave-core/src/storage/strand.rs.storage::lensdeclarations —libs/weave-core/src/storage/lens.rs.storage::locusdeclarations —libs/weave-core/src/storage/locus.rs.storage::nexusdeclarations —libs/weave-core/src/storage/nexus.rs.