dsh-engramory 0.2.2 → 0.2.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/index.js +25 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -97,11 +97,14 @@ export function apply(ctx, config = {}) {
|
|
|
97
97
|
name: 'engramory',
|
|
98
98
|
description:
|
|
99
99
|
'Curated file-based long-term memory: recall through MEMORY.md at the start of ' +
|
|
100
|
-
'a task, save durable user/feedback/project/reference facts,
|
|
101
|
-
'compacting or opening a
|
|
100
|
+
'a task, save durable user/feedback/project/reference facts, run a curation ' +
|
|
101
|
+
'checkpoint when a task finishes, and sync before compacting or opening a ' +
|
|
102
|
+
'fresh thread.',
|
|
102
103
|
whenToUse:
|
|
103
104
|
'Starting or resuming work, learning something durable worth a future session, ' +
|
|
104
|
-
'
|
|
105
|
+
'finishing a task — including one that leaves nothing worth saving, since the ' +
|
|
106
|
+
'checkpoint is still a decision to make — or approaching a ' +
|
|
107
|
+
'compact/clear/new-thread boundary.',
|
|
105
108
|
source: 'runtime',
|
|
106
109
|
content: skill,
|
|
107
110
|
}))
|
|
@@ -364,7 +367,10 @@ function builtinSkillBody() {
|
|
|
364
367
|
'',
|
|
365
368
|
'One canonical store: `MEMORY.md` is an index of pointers, one line per memory;',
|
|
366
369
|
'each fact lives in its own small markdown file beside it. Never put content in',
|
|
367
|
-
'the index, and never keep a second parallel store for handoffs.',
|
|
370
|
+
'the index, and never keep a second parallel store for handoffs. The ACTIVE',
|
|
371
|
+
'store is flat — the four type names are values of the `type:` field, not',
|
|
372
|
+
'subdirectories to create; `archive/` is the one reserved subdirectory, for',
|
|
373
|
+
'notes retired out of the index.',
|
|
368
374
|
'',
|
|
369
375
|
'## Recall',
|
|
370
376
|
'',
|
|
@@ -398,6 +404,21 @@ function builtinSkillBody() {
|
|
|
398
404
|
'"the current version is X", the tip commit, or a passing test count will rot —',
|
|
399
405
|
'record where to read those instead.',
|
|
400
406
|
'',
|
|
407
|
+
'An unfinished task may keep AT MOST ONE live `project` note holding its goal,',
|
|
408
|
+
'status, decisions, constraints, blockers, and next step together — the single',
|
|
409
|
+
'exception to one-file-one-fact, and a ceiling rather than a quota: a task that',
|
|
410
|
+
'needs no resumable state keeps no note. Update it IN PLACE. Never a dated',
|
|
411
|
+
'series (`state-2026-01-15.md`, `state-2026-01-16.md`, …), never a second',
|
|
412
|
+
'handoff log indexed beside it, and retire its transient state once it ends.',
|
|
413
|
+
'',
|
|
414
|
+
'## When a task finishes',
|
|
415
|
+
'',
|
|
416
|
+
'Run one curation checkpoint. It is a judgement, not a write: promote what is',
|
|
417
|
+
'durable, retire the transient state the CURRENT task left on its own live',
|
|
418
|
+
'`project` note if it has one, and when nothing is worth keeping, write',
|
|
419
|
+
'nothing and say so. Never append a per-turn log TO THE STORE, and never touch',
|
|
420
|
+
'a file just to mark it fresh — a timestamp is not a memory.',
|
|
421
|
+
'',
|
|
401
422
|
'## Sync',
|
|
402
423
|
'',
|
|
403
424
|
'Before a deliberate compact, clear, or new thread: scan the task, dedup and update,',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-engramory",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Curated file-based long-term memory for DeepSeek Harness — human-readable markdown notes, one plain-file store shared across hosts (git-ignored when it lives inside a project repo), and a deterministic index cap enforced by ctx.tools.guard()",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh-plugin",
|