Expand description
Sync state tracking for incremental subconscious retrieval.
Tracks the last-processed position per session so retrieval hooks only
surface new information. Persisted as JSON in .nexus/sessions/{id}/sync_state.json.
Structs§
- Sync
State - Incremental sync position for a single session.
Functions§
- hot_
cache_ hash - Compute a quick hash of hot cache entry IDs for change detection. Uses an FxHash-style approach similar to soul_content_hash.
- soul_
content_ hash - Compute a quick hash of soul.md content for change detection. Uses a simple rolling hash (FxHash-style) instead of pulling in a full crypto hash — we only need to detect change, not verify integrity.