engram-sdk 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engram-sdk",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Universal memory layer for AI agents. Remember, recall, consolidate.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,23 @@
1
+ # Signal Quality Plan — More Memories, Better Organization
2
+
3
+ Philosophy: More memories is GOOD. The graph handles scale. The problem isn't quantity — it's classification accuracy in the features that scan broadly (alerts, briefing, consolidation).
4
+
5
+ ## Fix 1: Smarter Status Classification at Intake
6
+ **Problem:** Auto-ingest marks too many things as "pending" — descriptions of future plans in conversation get flagged as commitments even when they're just discussed possibilities.
7
+ **Fix:** Tighten the prompt to distinguish "committed to doing X" from "discussed doing X". Add a post-intake validation in remember() that checks if the content actually represents a real commitment.
8
+
9
+ ## Fix 2: Salience Calibration
10
+ **Problem:** 84% of memories have salience ≥ 0.6, making the signal useless for differentiation.
11
+ **Fix:** Recalibrate extract.ts salience estimation. Most memories should be 0.3-0.5 (normal), with only truly important ones (decisions, preferences, corrections) at 0.7+.
12
+
13
+ ## Fix 3: Briefing as MEMORY.md Replacement
14
+ **Problem:** Briefing dumps a flat list of facts. MEMORY.md is curated with sections and narrative. Agents prefer MEMORY.md.
15
+ **Fix:** Make briefing() cluster memories by entity/topic and present them as organized sections. Add a "what changed since last session" section.
16
+
17
+ ## Fix 4: Alerts Precision
18
+ **Problem:** 238 pending items, most are completed tasks or discussed-but-not-committed plans. False positive rate is too high.
19
+ **Fix:** Add a "fulfilled" detection sweep — if a pending memory's content matches a later completed action, auto-mark it fulfilled. Also add confidence threshold for pending alerts.
20
+
21
+ ## Fix 5: Consolidation Quality Gate
22
+ **Problem:** Consolidation processes all episodes including low-value ones, wasting LLM tokens.
23
+ **Fix:** Filter episodes by salience before consolidation. Only consolidate episodes with salience ≥ 0.3.