@rlabs-inc/memory 0.4.2 → 0.4.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/dist/index.js +237 -28
- package/dist/index.mjs +237 -28
- package/dist/server/index.js +283 -28
- package/dist/server/index.mjs +283 -28
- package/package.json +1 -1
- package/src/core/curator.ts +41 -63
package/src/core/curator.ts
CHANGED
|
@@ -260,89 +260,67 @@ The content should answer: "How do I actually use/apply this knowledge?"
|
|
|
260
260
|
Use these templates based on context_type. Not rigid - adapt as needed, but include the key fields.
|
|
261
261
|
|
|
262
262
|
**TECHNICAL** (how things work):
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
GOTCHA: [non-obvious caveat, if any]
|
|
269
|
-
```
|
|
263
|
+
WHAT: [mechanism/feature in 1 sentence]
|
|
264
|
+
WHERE: [file:line or module path]
|
|
265
|
+
HOW: [usage - actual code/command if relevant]
|
|
266
|
+
WHY: [design choice, trade-off]
|
|
267
|
+
GOTCHA: [non-obvious caveat, if any]
|
|
270
268
|
|
|
271
269
|
**DEBUG** (problems and solutions):
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
PREVENT: [how to avoid in future]
|
|
277
|
-
```
|
|
270
|
+
SYMPTOM: [what went wrong - error message, behavior]
|
|
271
|
+
CAUSE: [why it happened]
|
|
272
|
+
FIX: [what solved it - specific code/config]
|
|
273
|
+
PREVENT: [how to avoid in future]
|
|
278
274
|
|
|
279
275
|
**ARCHITECTURE** (system design):
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
REJECTED: [alternatives we didn't choose and why]
|
|
285
|
-
```
|
|
276
|
+
PATTERN: [what we chose]
|
|
277
|
+
COMPONENTS: [how pieces connect]
|
|
278
|
+
WHY: [reasoning, trade-offs]
|
|
279
|
+
REJECTED: [alternatives we didn't choose and why]
|
|
286
280
|
|
|
287
281
|
**DECISION** (choices made):
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
REVISIT WHEN: [conditions that would change this]
|
|
293
|
-
```
|
|
282
|
+
DECISION: [what we chose]
|
|
283
|
+
OPTIONS: [what we considered]
|
|
284
|
+
REASONING: [why this one]
|
|
285
|
+
REVISIT WHEN: [conditions that would change this]
|
|
294
286
|
|
|
295
287
|
**PERSONAL** (relationship context):
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
AFFECTS: [how this should change behavior]
|
|
300
|
-
```
|
|
288
|
+
FACT: [the information]
|
|
289
|
+
CONTEXT: [why it matters to our work]
|
|
290
|
+
AFFECTS: [how this should change behavior]
|
|
301
291
|
|
|
302
292
|
**PHILOSOPHY** (beliefs/principles):
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
APPLICATION: [how it manifests in our work]
|
|
307
|
-
```
|
|
293
|
+
PRINCIPLE: [core belief]
|
|
294
|
+
SOURCE: [where this comes from]
|
|
295
|
+
APPLICATION: [how it manifests in our work]
|
|
308
296
|
|
|
309
297
|
**WORKFLOW** (how we work):
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
WHY: [why it works for us]
|
|
314
|
-
```
|
|
298
|
+
PATTERN: [what we do]
|
|
299
|
+
WHEN: [trigger/context for this pattern]
|
|
300
|
+
WHY: [why it works for us]
|
|
315
301
|
|
|
316
302
|
**MILESTONE** (achievements):
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
ENABLES: [what this unlocks]
|
|
321
|
-
```
|
|
303
|
+
SHIPPED: [what we completed]
|
|
304
|
+
SIGNIFICANCE: [why it mattered]
|
|
305
|
+
ENABLES: [what this unlocks]
|
|
322
306
|
|
|
323
307
|
**BREAKTHROUGH** (key insights):
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
IMPLICATIONS: [what this enables going forward]
|
|
329
|
-
```
|
|
308
|
+
INSIGHT: [the aha moment]
|
|
309
|
+
BEFORE: [what we thought/did before]
|
|
310
|
+
AFTER: [what changed]
|
|
311
|
+
IMPLICATIONS: [what this enables going forward]
|
|
330
312
|
|
|
331
313
|
**UNRESOLVED** (open questions):
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
OPTIONS: [approaches we're considering]
|
|
337
|
-
```
|
|
314
|
+
QUESTION: [what's unresolved]
|
|
315
|
+
CONTEXT: [why it matters]
|
|
316
|
+
BLOCKERS: [what's preventing resolution]
|
|
317
|
+
OPTIONS: [approaches we're considering]
|
|
338
318
|
|
|
339
319
|
**STATE** (current status):
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
BLOCKED BY: [if anything]
|
|
345
|
-
```
|
|
320
|
+
WORKING: [what's functional]
|
|
321
|
+
BROKEN: [what's not working]
|
|
322
|
+
NEXT: [immediate next steps]
|
|
323
|
+
BLOCKED BY: [if anything]
|
|
346
324
|
|
|
347
325
|
**HEADLINE EXAMPLES**:
|
|
348
326
|
|