Skip to content

03 — Shared drives

Locus

Locus turns the Strand + Lens stack into something that looks like a filesystem: files, directories, mounts, watchers, journal-backed governance, and permission modes. Lens stores directory metadata; Strand-Blobs stores file content. Together they provide the drive abstraction for personal files, shared workspaces and sync targets.

A closer lookA place for work to live.

Records and content live in a drive. The agent keeps a local working copy and shares deliberately.

  1. 01Keep a local copy
  2. 02Organize the working set
  3. 03Share what you choose
01 — Concepts
01

Files, directories, mounts on top of Strand.

02

Watchers + journal-backed governance.

03

Permission modes per path.

04

Sync targets — local-first, replicate where you choose.

02 — Code

A handful of lines.

// Given an authorized drive already opened on this WeaveNode.
node.locus_write_file("research", "/finding.txt", b"finding").await?;
let bytes = node.locus_read_file("research", "/finding.txt").await?;