You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Vendor name normalization across all subsystems — `bitrefill.com`, `www.bitrefill.com`, `BITREFILL.COM` now match consistently in reputation, budget, trust, and anomaly detection
21
+
- Intelligence engine double-scan — `vendor_report()` now counts failures in a single pass instead of scanning all memories twice
22
+
- Relay sync batching — `push_memories()` uses single event loop instead of per-memory `asyncio.run()`
23
+
-`pull_trust_assertions()` now fetches all vendors concurrently instead of sequentially
24
+
25
+
### Changed
26
+
-`GatewayClient` reuses persistent `httpx.Client` with connection pooling
27
+
-`PhoenixdClient` reuses persistent `httpx.AsyncClient` with connection pooling
- Relays with a circuit breaker tripped are automatically skipped until they recover
517
+
432
518
## How It Works
433
519
434
520
1.**First run**: A Nostr keypair is generated and stored at `~/.lightning-memory/keys/`
435
521
2.**Storing**: Memories go to local SQLite with FTS5 indexing. Each memory is tagged with your agent's public key.
436
-
3.**Querying**: Full-text search with BM25 ranking returns the most relevant memories.
522
+
3.**Querying**: Full-text search with BM25 ranking returns the most relevant memories. With `pip install lightning-memory[semantic]`, queries also use ONNX-based semantic similarity for concept matching.
437
523
4.**Identity**: Your agent's public key is a globally unique, cryptographically verifiable identifier. No accounts needed.
438
524
439
525
## Data Storage
@@ -458,6 +544,7 @@ All data is stored locally:
458
544
-[x] Phase 5.1: Community reputation — live NIP-85 trust attestation sync
0 commit comments