universal-agent-memory 1.5.0 → 1.6.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.
- package/package.json +1 -1
- package/templates/CLAUDE.template.md +31 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-agent-memory",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Universal AI agent memory system - CLAUDE.md templates, memory, worktrees for Claude Code, Factory.AI, VSCode, OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
{{/if}}
|
|
9
9
|
|
|
10
10
|
## DIRECTIVE HIERARCHY
|
|
11
|
+
|
|
11
12
|
| Priority | Source | Override |
|
|
12
13
|
|----------|--------|----------|
|
|
13
14
|
| 1 | This CLAUDE.md | Never |
|
|
@@ -17,6 +18,8 @@
|
|
|
17
18
|
|
|
18
19
|
---
|
|
19
20
|
|
|
21
|
+
---
|
|
22
|
+
|
|
20
23
|
## CODE FIELD
|
|
21
24
|
|
|
22
25
|
**Before writing code:** State assumptions, bound scope, identify edge cases.
|
|
@@ -31,6 +34,8 @@ Do not handle only the happy path.
|
|
|
31
34
|
|
|
32
35
|
---
|
|
33
36
|
|
|
37
|
+
---
|
|
38
|
+
|
|
34
39
|
## PATTERN ROUTER (MANDATORY FIRST)
|
|
35
40
|
|
|
36
41
|
Before ANY work, print:
|
|
@@ -45,6 +50,8 @@ ACTIVE: [list YES only]
|
|
|
45
50
|
|
|
46
51
|
---
|
|
47
52
|
|
|
53
|
+
---
|
|
54
|
+
|
|
48
55
|
## PATTERNS REFERENCE
|
|
49
56
|
|
|
50
57
|
### Core (P1-P11)
|
|
@@ -109,6 +116,8 @@ ACTIVE: [list YES only]
|
|
|
109
116
|
|
|
110
117
|
---
|
|
111
118
|
|
|
119
|
+
---
|
|
120
|
+
|
|
112
121
|
## COMPLETION GATES (MANDATORY)
|
|
113
122
|
|
|
114
123
|
**Cannot say "done" until ALL pass:**
|
|
@@ -126,6 +135,8 @@ ACTIVE: [list YES only]
|
|
|
126
135
|
|
|
127
136
|
---
|
|
128
137
|
|
|
138
|
+
---
|
|
139
|
+
|
|
129
140
|
## NEAR-MISS ITERATION PROTOCOL (P26 ENFORCED)
|
|
130
141
|
|
|
131
142
|
When >50% of tests pass but not all:
|
|
@@ -138,6 +149,8 @@ When >50% of tests pass but not all:
|
|
|
138
149
|
|
|
139
150
|
---
|
|
140
151
|
|
|
152
|
+
---
|
|
153
|
+
|
|
141
154
|
## DECODER-FIRST PROTOCOL (P35 ENFORCED)
|
|
142
155
|
|
|
143
156
|
When a task provides a decoder, validator, or expected output format:
|
|
@@ -149,6 +162,8 @@ When a task provides a decoder, validator, or expected output format:
|
|
|
149
162
|
|
|
150
163
|
---
|
|
151
164
|
|
|
165
|
+
---
|
|
166
|
+
|
|
152
167
|
## ERROR RECOVERY ESCALATION
|
|
153
168
|
|
|
154
169
|
On any test failure or error:
|
|
@@ -161,6 +176,8 @@ On any test failure or error:
|
|
|
161
176
|
|
|
162
177
|
---
|
|
163
178
|
|
|
179
|
+
---
|
|
180
|
+
|
|
164
181
|
## TIME BUDGET ALLOCATION
|
|
165
182
|
|
|
166
183
|
For complex tasks (compilation, VM, multi-service):
|
|
@@ -172,6 +189,8 @@ If timeout approaching: submit best partial solution rather than nothing.
|
|
|
172
189
|
|
|
173
190
|
---
|
|
174
191
|
|
|
192
|
+
---
|
|
193
|
+
|
|
175
194
|
## MEMORY SYSTEM
|
|
176
195
|
|
|
177
196
|
```
|
|
@@ -188,6 +207,10 @@ sqlite3 {{MEMORY_DB_PATH}} "SELECT * FROM memories ORDER BY id DESC LIMIT 10;"
|
|
|
188
207
|
{{MEMORY_STORE_CMD}} "lesson" --importance 8
|
|
189
208
|
```
|
|
190
209
|
|
|
210
|
+
**Schema columns:** id, timestamp, type, content, project_id, importance (1-10)
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
191
214
|
---
|
|
192
215
|
|
|
193
216
|
## WORKTREE WORKFLOW
|
|
@@ -204,6 +227,8 @@ git add -A && git commit -m "type: description"
|
|
|
204
227
|
|
|
205
228
|
---
|
|
206
229
|
|
|
230
|
+
---
|
|
231
|
+
|
|
207
232
|
## MULTI-AGENT
|
|
208
233
|
|
|
209
234
|
**Before claiming work:**
|
|
@@ -219,6 +244,8 @@ uam agent overlaps --resource "<files>"
|
|
|
219
244
|
|
|
220
245
|
---
|
|
221
246
|
|
|
247
|
+
---
|
|
248
|
+
|
|
222
249
|
## DECISION LOOP
|
|
223
250
|
|
|
224
251
|
```
|
|
@@ -233,6 +260,8 @@ uam agent overlaps --resource "<files>"
|
|
|
233
260
|
|
|
234
261
|
---
|
|
235
262
|
|
|
263
|
+
---
|
|
264
|
+
|
|
236
265
|
## DROIDS
|
|
237
266
|
|
|
238
267
|
| Droid | Use For |
|
|
@@ -319,6 +348,8 @@ uam agent overlaps --resource "<files>"
|
|
|
319
348
|
|
|
320
349
|
---
|
|
321
350
|
|
|
351
|
+
---
|
|
352
|
+
|
|
322
353
|
## COMPLETION PROTOCOL
|
|
323
354
|
|
|
324
355
|
```
|