How it works
Generated from steps/steps.yaml. Change the registry, then run npm run docs.
Collector
- Lock: Acquire the collector lock.
- Load config: Load settings and keys from the environment.
- Discover: Discover memory through source profiles.
- Read: Read source files without modifying them.
- Normalize: Normalize encoding and frontmatter.
- Chunk: Split text at headings or paragraphs.
- Fingerprint: Fingerprint each source file.
- Diff: Find files changed since acknowledgment.
- Inventory: Build the full inventory for every AI.
- Reconcile: Rebuild a source missing from the store.
- Pack: Pack batches within the byte and chunk caps.
- Send: Send batches with the write key.
- Save: Save only acknowledged fingerprints.
- Log: Log counts only.
Server
- Authorize write: Check the write key.
- Validate: Validate the batch schema and limits.
- Scan: Scan every chunk and path for secrets.
- Guard: Guard empty inventories and mass deletion.
- Dedupe: Dedupe exact chunk copies.
- Embed: Embed new chunks.
- Link: Link copies held by different AIs.
- Privacy: Apply privacy tags.
- Write: Write the batch in one transaction.
- Remove: Remove files missing from the inventory.
- Ack: Reply with acknowledged files.
Search
- Authorize read: Check the read key.
- Embed query: Embed the search query.
- Filter: Filter by scope and privacy tags.
- Rank: Rank by cosine distance.
- Frame: Frame each hit as stored data.