get-claudia 1.42.3 → 1.43.0

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.
Files changed (41) hide show
  1. package/memory-daemon/claudia_memory/config.py +1 -0
  2. package/memory-daemon/claudia_memory/database.py +1 -1
  3. package/memory-daemon/claudia_memory/mcp/server.py +1670 -2063
  4. package/memory-daemon/claudia_memory/services/consolidate.py +38 -37
  5. package/memory-daemon/claudia_memory/services/recall.py +6 -4
  6. package/memory-daemon/tests/test_daemon_lifecycle.py +235 -0
  7. package/memory-daemon/tests/test_deep_recall.py +27 -0
  8. package/memory-daemon/tests/test_entity_lifecycle.py +521 -0
  9. package/memory-daemon/tests/test_graph_operations.py +1401 -0
  10. package/memory-daemon/tests/test_invalidated_filter.py +1 -0
  11. package/memory-daemon/tests/test_temporal_recall.py +1 -0
  12. package/memory-daemon/tests/test_validation_guards.py +166 -0
  13. package/memory-daemon/tests/{test_vault_sync.py → test_vault_operations.py} +253 -55
  14. package/package.json +1 -1
  15. package/template-v2/.claude/rules/claudia-principles.md +26 -170
  16. package/template-v2/.claude/skills/README.md +1 -2
  17. package/template-v2/.claude/skills/archetypes/_base-structure.md +111 -0
  18. package/template-v2/.claude/skills/archetypes/consultant.md +24 -562
  19. package/template-v2/.claude/skills/archetypes/creator.md +42 -685
  20. package/template-v2/.claude/skills/archetypes/executive.md +30 -602
  21. package/template-v2/.claude/skills/archetypes/founder.md +45 -684
  22. package/template-v2/.claude/skills/archetypes/solo.md +46 -587
  23. package/template-v2/.claude/skills/memory-manager.md +24 -470
  24. package/template-v2/.claude/skills/skill-index.json +0 -8
  25. package/template-v2/.claude/skills/structure-evolution.md +2 -2
  26. package/template-v2/.claude/skills/structure-generator.md +1 -1
  27. package/template-v2/.claude/skills/what-am-i-missing/SKILL.md +30 -7
  28. package/template-v2/CLAUDE.md +12 -106
  29. package/memory-daemon/tests/test_backup.py +0 -72
  30. package/memory-daemon/tests/test_corrections.py +0 -222
  31. package/memory-daemon/tests/test_entity_management.py +0 -336
  32. package/memory-daemon/tests/test_graph.py +0 -200
  33. package/memory-daemon/tests/test_graph_analytics.py +0 -633
  34. package/memory-daemon/tests/test_graph_retrieval.py +0 -746
  35. package/memory-daemon/tests/test_guards.py +0 -76
  36. package/memory-daemon/tests/test_health.py +0 -36
  37. package/memory-daemon/tests/test_relationship_guards.py +0 -79
  38. package/memory-daemon/tests/test_scheduler.py +0 -58
  39. package/memory-daemon/tests/test_startup.py +0 -62
  40. package/memory-daemon/tests/test_vault_sync_v2.py +0 -186
  41. package/template-v2/.claude/skills/accountability-check/SKILL.md +0 -149
@@ -37,6 +37,7 @@ class MemoryConfig:
37
37
  pattern_detection_interval_hours: int = 24
38
38
 
39
39
  # Search settings
40
+ recency_half_life_days: int = 30
40
41
  max_recall_results: int = 50
41
42
  vector_weight: float = 0.50 # Weight for vector similarity in ranking
42
43
  importance_weight: float = 0.25 # Weight for importance score
@@ -49,7 +49,7 @@ class Database:
49
49
  conn.execute("PRAGMA synchronous = NORMAL")
50
50
  conn.execute("PRAGMA foreign_keys = ON")
51
51
  # Recover any uncommitted WAL writes from a previous crashed daemon
52
- conn.execute("PRAGMA wal_checkpoint(PASSIVE)")
52
+ conn.execute("PRAGMA wal_checkpoint(TRUNCATE)")
53
53
 
54
54
  # Try to load sqlite-vec for vector search
55
55
  # Priority: sqlite_vec Python package first (works on Python 3.13+),