claude-memory-agent 3.0.2 → 3.0.3

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": "claude-memory-agent",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Persistent semantic memory system for Claude Code sessions with anti-hallucination grounding",
5
5
  "keywords": [
6
6
  "claude",
@@ -603,7 +603,7 @@ class DatabaseService:
603
603
  cursor.execute("CREATE INDEX IF NOT EXISTS idx_memories_agent ON memories(agent_type)")
604
604
  cursor.execute("CREATE INDEX IF NOT EXISTS idx_memories_success ON memories(success)")
605
605
  cursor.execute("CREATE INDEX IF NOT EXISTS idx_memories_importance ON memories(importance)")
606
- cursor.execute("CREATE INDEX IF NOT EXISTS idx_memories_outcome_status ON memories(outcome_status)")
606
+ # NOTE: outcome_status index is created AFTER the migration adds the column (see below)
607
607
  cursor.execute("CREATE INDEX IF NOT EXISTS idx_patterns_problem ON patterns(problem_type)")
608
608
 
609
609
  # Migration helper function
@@ -658,6 +658,7 @@ class DatabaseService:
658
658
  safe_add_column("memories", "did_not_fix", "TEXT") # JSON array of remaining issues
659
659
  safe_add_column("memories", "caused", "TEXT") # JSON array of side effects
660
660
  safe_add_column("memories", "superseded_by", "INTEGER") # FK to memories.id
661
+ cursor.execute("CREATE INDEX IF NOT EXISTS idx_memories_outcome_status ON memories(outcome_status)")
661
662
 
662
663
  # Migration: Add self-correcting confidence columns (v2.2.1)
663
664
  # Track solution outcomes for automatic confidence adjustment