musememory 2.3.0 → 3.0.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 (35) hide show
  1. package/.agents/artifacts/2026-10-20-lifeos-memory-distillation-plan.md +865 -0
  2. package/.agents/artifacts/HANDOFF.md +22 -0
  3. package/.agents/artifacts/audit-and-realigned-roadmap-20261015.md +152 -0
  4. package/.agents/artifacts/bench-graph-baseline.json +519 -0
  5. package/.agents/artifacts/bench-graph-baseline.md +139 -0
  6. package/.agents/artifacts/brief-dayos-inspired-site-redo.md +89 -0
  7. package/.agents/artifacts/handoff-20261015-143202.md +109 -0
  8. package/.agents/artifacts/plan-competitor-adaptation-dashboard-graph.md +99 -0
  9. package/.agents/artifacts/session-report-2026-10-01-memory-gaps-and-website.md +94 -0
  10. package/.agents/artifacts/wave-3-sdd-ledger.md +18 -0
  11. package/.agents/artifacts/wave-4-sdd-ledger.md +18 -0
  12. package/.agents/context/architecture.md +1 -0
  13. package/.agents/context/current.md +166 -3
  14. package/.agents/context/decisions.md +4 -0
  15. package/.agents/context/deep-research-agentic-memory-evolution.md +261 -0
  16. package/.agents/context/deep-research-memory-adaptation-2026-10.md +107 -0
  17. package/.agents/context/deep-research-memory-improvement-2026-10.md +420 -0
  18. package/.agents/context/deep-research-memory-mechanisms-2026-09.md +334 -0
  19. package/.agents/context/index.md +5 -0
  20. package/.agents/context/roadmap.md +361 -7
  21. package/.agents/context/ticket-plan.md +553 -0
  22. package/.agents/plans/2026-10-20-wave-22-failure-attribution-negative-mining-design.md +198 -0
  23. package/.agents/plans/2026-10-20-wave-22-failure-attribution-negative-mining-plan.md +274 -0
  24. package/.agents/plans/EVOLUTION_PLAN.md +351 -0
  25. package/.agents/plans/local-embeddings-llama-cpp.md +37 -0
  26. package/.agents/plans/recall-eval-harness.md +31 -0
  27. package/.agents/research/ecosystem-teardown-2026-10.md +289 -0
  28. package/.agents/research/research-brief-walrus-memory-architecture.md +189 -0
  29. package/.agents/research/retirement-audit-2026-10.md +45 -0
  30. package/.agents/standards/git-workflow.md +5 -0
  31. package/.agents/standards/workflows.md +13 -0
  32. package/README.md +137 -56
  33. package/dist/index.js +20579 -9092
  34. package/package.json +20 -10
  35. package/schema.json +39 -2
package/package.json CHANGED
@@ -1,9 +1,27 @@
1
1
  {
2
2
  "name": "musememory",
3
- "version": "2.3.0",
3
+ "version": "3.0.0",
4
4
  "description": "Autonomous, self-organizing cognitive memory system for AI agents and agency networks",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
+ "workspaces": [
8
+ "apps/*",
9
+ "packages/*"
10
+ ],
11
+ "scripts": {
12
+ "bench:graph": "bun scripts/bench-graph.ts",
13
+ "build": "bun build bin/musememory.ts --outfile dist/index.js --target node",
14
+ "site:dev": "bun run --cwd apps/website dev",
15
+ "site:build": "bun run --cwd apps/website build",
16
+ "site:preview": "bun run --cwd apps/website preview",
17
+ "site:showreel": "bun run --cwd apps/website scripts/build-showreel.ts",
18
+ "build:gif": "bun run --cwd apps/website scripts/build-readme-gif.ts",
19
+ "test": "bun test",
20
+ "typecheck": "tsc --noEmit",
21
+ "validate": "bun run dist/index.js validate --dry-run",
22
+ "start": "bun run dist/index.js mcp",
23
+ "prepublishOnly": "bun run build && bun test"
24
+ },
7
25
  "bin": {
8
26
  "memory": "dist/index.js",
9
27
  "musememory": "dist/index.js"
@@ -17,14 +35,6 @@
17
35
  "LICENSE",
18
36
  "package.json"
19
37
  ],
20
- "scripts": {
21
- "build": "bun build bin/musememory.ts --outfile dist/index.js --target node",
22
- "test": "bun test",
23
- "typecheck": "tsc --noEmit",
24
- "validate": "bun run dist/index.js validate --dry-run",
25
- "start": "bun run dist/index.js mcp",
26
- "prepublishOnly": "bun run build && bun test"
27
- },
28
38
  "keywords": [
29
39
  "ai",
30
40
  "agent",
@@ -36,7 +46,7 @@
36
46
  "vibeguard",
37
47
  "agency"
38
48
  ],
39
- "author": "Harsh",
49
+ "author": "Harsh Singh",
40
50
  "repository": {
41
51
  "type": "git",
42
52
  "url": "git+ssh://git@github.com/harshsinghmp/musememory.git"
package/schema.json CHANGED
@@ -6,23 +6,59 @@
6
6
  "required": ["id", "title", "content", "project", "status", "created_at", "updated_at", "source", "tags"],
7
7
  "properties": {
8
8
  "id": { "type": "string", "pattern": "^m_[0-9]+_[a-z0-9_-]+$" },
9
- "title": { "type": "string", "maxLength": 120 },
9
+ "title": { "type": "string", "maxLength": 140 },
10
10
  "content": { "type": "string", "minLength": 1 },
11
11
  "project": { "type": "string", "minLength": 1 },
12
- "status": { "type": "string", "enum": ["candidate", "active", "confirmed", "superseded", "stale", "disputed", "rejected", "conflicted", "cold", "dormant", "archived"] },
12
+ "status": { "type": "string", "enum": ["candidate", "active", "confirmed", "superseded", "stale", "disputed", "rejected", "conflicted", "cold", "dormant", "archived", "expired"] },
13
13
  "type": { "type": "string", "enum": ["session", "decision", "fix", "failure", "architecture", "operation", "constraint", "preference", "discovery", "negative", "adr"] },
14
+ "draft": { "type": "boolean" },
14
15
  "salience": { "type": "number", "minimum": 0, "maximum": 1 },
15
16
  "created_at": { "type": "string", "format": "date-time" },
16
17
  "updated_at": { "type": "string", "format": "date-time" },
17
18
  "valid_from": { "type": "string", "format": "date-time" },
18
19
  "valid_to": { "type": "string", "format": "date-time" },
20
+ "valid_to_exact": { "type": "boolean" },
21
+ "src_ts": { "type": "string", "format": "date-time" },
22
+ "corrected_at": { "type": "string", "format": "date-time" },
23
+ "correction_reason": { "type": "string" },
24
+ "ended_at": { "type": "string", "format": "date-time" },
25
+ "reverted_at": { "type": "string", "format": "date-time" },
26
+ "mem_path": { "type": "string" },
27
+ "triples": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "object",
31
+ "properties": {
32
+ "entity": { "type": "string" },
33
+ "relation": { "type": "string" },
34
+ "target": { "type": "string" },
35
+ "scope": { "type": "string" }
36
+ },
37
+ "required": ["entity", "relation", "target"]
38
+ }
39
+ },
40
+ "last_accessed_at": { "type": ["string", "null"], "format": "date-time" },
41
+ "access_count": { "type": "number", "minimum": 0 },
42
+ "idempotency_key": { "type": ["string", "null"] },
43
+ "content_hash": { "type": ["string", "null"] },
44
+ "trust": { "type": "string", "enum": ["trusted", "candidate", "untrusted", "T1", "T2", "T3", "T4"] },
45
+ "score_retain": { "type": "number", "minimum": 0, "maximum": 1 },
46
+ "decay_score": { "type": "number", "minimum": 0, "maximum": 1 },
47
+ "confidence": { "type": "number", "minimum": 0, "maximum": 1 },
48
+ "source_ids": { "type": "array", "items": { "type": "string" } },
19
49
  "due_at": { "type": "string", "format": "date-time" },
20
50
  "expires_at": { "type": "string", "format": "date-time" },
51
+ "expired_at": { "type": "string", "format": "date-time" },
52
+ "expired_by": { "type": "string" },
53
+ "pinned": { "type": "boolean" },
54
+ "decay_model": { "type": "string", "enum": ["exponential", "weibull"] },
21
55
  "reinforcement": { "type": "integer" },
22
56
  "source": { "type": "string" },
23
57
  "tags": { "type": "array", "items": { "type": "string" }, "maxItems": 8 },
24
58
  "supersedes": { "type": ["string", "array", "null"], "items": { "type": "string" } },
25
59
  "superseded_by": { "type": ["string", "array", "null"], "items": { "type": "string" } },
60
+ "supersedes_id": { "type": ["string", "null"] },
61
+ "conflicts_with_id": { "type": ["string", "null"] },
26
62
  "disputed_by": { "type": "array", "items": { "type": "string" } },
27
63
  "verification": {
28
64
  "type": "object",
@@ -39,6 +75,7 @@
39
75
  },
40
76
  "last_confirmed_at": { "type": ["string", "null"], "format": "date-time" },
41
77
  "related_memory_ids": { "type": "array", "items": { "type": "string" } },
78
+ "linked_memory_ids": { "type": "array", "items": { "type": "string" } },
42
79
  "session_id": { "type": "string" },
43
80
  "test_command": { "type": "string" },
44
81
  "graph": {