How samueljacksongrim/resonance-journal-blind works
Resonance is a local weighted semantic-memory library with CLI and MCP interfaces. Users add notes and asserted word relations; the system normalizes text, stores notes and learned co-occurrences in SQLite, then follows weighted links to rank related terms and notes or produce prompt-ready context. The graph includes the documented import/export, deletion, and maintenance capabilities under the memory API. Edges are limited to calls or relationships visible in excerpts or the README; unsampled CLI and memory internals are not inferred.
Main entry points: memory.py Memory API · store.py SQLite store · recall.py Recall and neighbors · cli.py Command-line interface
Components 9
User interfaces
- Command-line interface
resonance/cli.py - MCP stdio server
resonance/mcp_server.py
Memory operations
- Memory API
resonance/memory.py
Text and retrieval
- Text normalization and analysis
resonance/text.py - Recall and neighbors
resonance/recall.py - Relationship weights
resonance/weights.py
Persistence
- SQLite store
resonance/store.py
Other components
- Operator
- AI client
Connections 10
- Operator → Command-line interface: runs commands
README.md - AI client → MCP stdio server: uses tools
README.md - Command-line interface → Memory API: invokes operations
resonance/cli.py - MCP stdio server → Memory API: dispatches tools
resonance/mcp_server.py - Memory API → Text normalization and analysis: analyzes text
resonance/memory.py - Memory API → Recall and neighbors: requests retrieval
resonance/memory.py - Memory API → SQLite store: reads and writes
resonance/memory.py - Recall and neighbors → SQLite store: queries data
resonance/recall.py - Recall and neighbors → Relationship weights: uses calculations
resonance/recall.py - SQLite store → SQLite store: persists in SQLite
resonance/store.py