Auny in a hood
On this page

How it works

Generated from steps/steps.yaml. Change the registry, then run npm run docs.

Collector

  1. Lock: Acquire the collector lock.
  2. Load config: Load settings and keys from the environment.
  3. Discover: Discover memory through source profiles.
  4. Read: Read source files without modifying them.
  5. Normalize: Normalize encoding and frontmatter.
  6. Chunk: Split text at headings or paragraphs.
  7. Fingerprint: Fingerprint each source file.
  8. Diff: Find files changed since acknowledgment.
  9. Inventory: Build the full inventory for every AI.
  10. Reconcile: Rebuild a source missing from the store.
  11. Pack: Pack batches within the byte and chunk caps.
  12. Send: Send batches with the write key.
  13. Save: Save only acknowledged fingerprints.
  14. Log: Log counts only.

Server

  1. Authorize write: Check the write key.
  2. Validate: Validate the batch schema and limits.
  3. Scan: Scan every chunk and path for secrets.
  4. Guard: Guard empty inventories and mass deletion.
  5. Dedupe: Dedupe exact chunk copies.
  6. Embed: Embed new chunks.
  7. Link: Link copies held by different AIs.
  8. Privacy: Apply privacy tags.
  9. Write: Write the batch in one transaction.
  10. Remove: Remove files missing from the inventory.
  11. Ack: Reply with acknowledged files.
  1. Authorize read: Check the read key.
  2. Embed query: Embed the search query.
  3. Filter: Filter by scope and privacy tags.
  4. Rank: Rank by cosine distance.
  5. Frame: Frame each hit as stored data.

Ops

  1. Freshness: Measure freshness for each device.
  2. Alert: Report stale or unavailable collection.
  3. Rebuild: Rebuild the full store safely.