musememory 1.6.0 → 1.6.1
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/README.md +93 -273
- package/dist/index.js +762 -587
- package/package.json +2 -1
- package/schema.json +60 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musememory",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
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",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"schema.json",
|
|
13
14
|
"README.md",
|
|
14
15
|
"LICENSE",
|
|
15
16
|
"package.json"
|
package/schema.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "memory-entry",
|
|
4
|
+
"title": "MemoryEntry",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["id", "title", "content", "project", "status", "created_at", "updated_at", "source", "tags"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": { "type": "string", "pattern": "^m_[0-9]+_[a-z0-9_-]+$" },
|
|
9
|
+
"title": { "type": "string", "maxLength": 120 },
|
|
10
|
+
"content": { "type": "string", "minLength": 1 },
|
|
11
|
+
"project": { "type": "string", "minLength": 1 },
|
|
12
|
+
"status": { "type": "string", "enum": ["candidate", "active", "confirmed", "superseded", "stale", "disputed", "rejected"] },
|
|
13
|
+
"type": { "type": "string", "enum": ["session", "decision", "fix", "failure", "architecture", "operation", "constraint", "preference", "discovery"] },
|
|
14
|
+
"salience": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
15
|
+
"created_at": { "type": "string", "format": "date-time" },
|
|
16
|
+
"updated_at": { "type": "string", "format": "date-time" },
|
|
17
|
+
"valid_from": { "type": "string", "format": "date-time" },
|
|
18
|
+
"valid_to": { "type": "string", "format": "date-time" },
|
|
19
|
+
"due_at": { "type": "string", "format": "date-time" },
|
|
20
|
+
"expires_at": { "type": "string", "format": "date-time" },
|
|
21
|
+
"reinforcement": { "type": "integer" },
|
|
22
|
+
"source": { "type": "string" },
|
|
23
|
+
"tags": { "type": "array", "items": { "type": "string" }, "maxItems": 8 },
|
|
24
|
+
"supersedes": { "type": ["string", "array", "null"], "items": { "type": "string" } },
|
|
25
|
+
"superseded_by": { "type": ["string", "array", "null"], "items": { "type": "string" } },
|
|
26
|
+
"disputed_by": { "type": "array", "items": { "type": "string" } },
|
|
27
|
+
"verification": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"required": ["level"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"level": { "type": "string", "enum": ["unverified", "observed", "reproducible", "user-confirmed", "authoritative", "independently-verified"] },
|
|
32
|
+
"method": { "type": "string" },
|
|
33
|
+
"verified_by": { "type": "string" },
|
|
34
|
+
"verified_at": { "type": "string", "format": "date-time" },
|
|
35
|
+
"test_command": { "type": "string" },
|
|
36
|
+
"test_result": { "type": "string" }
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
},
|
|
40
|
+
"last_confirmed_at": { "type": ["string", "null"], "format": "date-time" },
|
|
41
|
+
"related_memory_ids": { "type": "array", "items": { "type": "string" } },
|
|
42
|
+
"session_id": { "type": "string" },
|
|
43
|
+
"test_command": { "type": "string" },
|
|
44
|
+
"graph": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"required": ["provider"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"provider": { "type": "string" },
|
|
49
|
+
"graph_revision": { "type": "string" },
|
|
50
|
+
"node_ids": { "type": "array", "items": { "type": "string" } },
|
|
51
|
+
"symbol_names": { "type": "array", "items": { "type": "string" } },
|
|
52
|
+
"affected_paths": { "type": "array", "items": { "type": "string" } },
|
|
53
|
+
"impact_query": { "type": "string" },
|
|
54
|
+
"graph_verified_at": { "type": "string", "format": "date-time" }
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
}
|