@vheins/local-memory-mcp 0.18.11 → 0.18.13
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/{chunk-4RFYQ345.js → chunk-BK2QIQXS.js} +1479 -980
- package/dist/dashboard/public/assets/index-DWRMdSsg.js +150 -0
- package/dist/dashboard/public/index.html +1 -1
- package/dist/dashboard/server.js +25 -2
- package/dist/mcp/server.js +1031 -1020
- package/dist/prompts/learning-retrospective.md +1 -1
- package/dist/prompts/memory-agent-core.md +3 -1
- package/dist/prompts/memory-index-policy.md +2 -2
- package/dist/prompts/review-and-audit.md +1 -1
- package/dist/prompts/scrum-master.md +2 -2
- package/dist/prompts/task-memory-executor.md +1 -1
- package/dist/prompts/tool-usage-guidelines.md +4 -4
- package/package.json +1 -1
- package/dist/dashboard/public/assets/index-BA3gfiDm.js +0 -149
|
@@ -17,7 +17,7 @@ Entry=S0 → S1 → S2 Exit=stored
|
|
|
17
17
|
Guard: S(N) req S(N-1)✅
|
|
18
18
|
|
|
19
19
|
S0 | identify: mistakes (bugs/quirks), decisions (trade-offs/pivots), patterns (conventions) | task_id? | knowledge items | —
|
|
20
|
-
S1 | store via memory-store (type=mistake|decision|pattern, include tech tags, concise) | S0✅ | durable memories | —
|
|
20
|
+
S1 | store via memory-store (type+title+content+importance+agent+model+scope, type=mistake|decision|pattern, include tech tags, concise) | S0✅ | durable memories | —
|
|
21
21
|
S2 | verify: confirm stored count matches identified items, check type correctness | S1✅ | verified | —
|
|
22
22
|
|
|
23
23
|
## Directives
|
|
@@ -40,5 +40,7 @@ Entry=S0 → S1 → S2 Exit=stored
|
|
|
40
40
|
Guard: store ONLY if durable + affects future behavior; use supersedes for overrides
|
|
41
41
|
|
|
42
42
|
S0 | categorize: type + tech tags; NEVER store coordination state (claims, file ownership) as memory | is durable? | classified | —
|
|
43
|
-
S1 | store: memory-store(
|
|
43
|
+
S1 | store: memory-store(type+title+content+importance+agent+model+scope) or standard-store(normative rules) or handoff-create(transfer ctx) | S0✅ | stored | —
|
|
44
44
|
S2 | verify: confirm stored entity matches category, no forbidden types mixed in | S1✅ | verified | —
|
|
45
|
+
|
|
46
|
+
**⚠️ `memory-store` requires ALL 7 fields**: `type`, `title`, `content`, `importance`, `agent`, `model`, `scope` (with `scope.owner` + `scope.repo`). Or use `memories[]` array for bulk.
|
|
@@ -10,13 +10,13 @@ tags: [memory, indexing, policy, mcp]
|
|
|
10
10
|
|
|
11
11
|
## Memory Index Policy
|
|
12
12
|
|
|
13
|
-
Entry=G0 → S0 → S1 → S2 → S3
|
|
13
|
+
Entry=G0 → S0 → S1 → S2 → S3 Exit=stored|rejected
|
|
14
14
|
Guard: S(N) req S(N-1)✅
|
|
15
15
|
|
|
16
16
|
G0 | is durable + project-specific? NOT forbidden types? | content provided? | → S0 / reject | —
|
|
17
17
|
S0 | classify type (code_fact|decision|mistake|pattern|task_archive) + tech tags | G0✅ | classified | —
|
|
18
18
|
S1 | scope: is_global ONLY if cross-repo applicable | S0✅ | scoped | —
|
|
19
|
-
S2 | store via memory-store | S1✅ | memory created | —
|
|
19
|
+
S2 | store via memory-store(type, title, content, importance, agent, model, scope.owner, scope.repo) | S1✅ | memory created | —
|
|
20
20
|
S3 | verify: confirm type matches content, scope is correct, tags are accurate | S2✅ | verified | —
|
|
21
21
|
|
|
22
22
|
## Forbidden (G0→reject)
|
|
@@ -19,7 +19,7 @@ Guard: S(N) req S(N-1)✅; NO code/edit/delete — read+MCP tools ONLY
|
|
|
19
19
|
S0 | sequential discovery: docs → code → UI (chrome-dev-tools) | — | findings | —
|
|
20
20
|
S1 | pre-task analysis: memory-search (0.55 threshold) + standard-search + handoff-list + task-list dedup | S0✅ | context | —
|
|
21
21
|
S2 | design tasks: atomic, attributes (task_code optional — auto-generated as TASK-xxx, phase, priority, agent, model), strict description format | S1✅ | task specs | —
|
|
22
|
-
S3 | create via task-create + log decisions via memory-store + standard-store for coding rules | S2✅ | MCP tasks | —
|
|
22
|
+
S3 | create via task-create + log decisions via memory-store(type+title+content+importance+agent+model+scope) + standard-store for coding rules | S2✅ | MCP tasks | —
|
|
23
23
|
S4 | verify: confirm task count matches gap count, description format compliance, parent/child linkage | S3✅ | verified | —
|
|
24
24
|
|
|
25
25
|
## FORBIDDEN: NON-EXECUTION
|
|
@@ -16,12 +16,12 @@ tags: [workflow, agile, scrum, ceremonies, facilitation]
|
|
|
16
16
|
|
|
17
17
|
## Scrum Master
|
|
18
18
|
|
|
19
|
-
Entry=S0 → S1 → S2 → S3
|
|
19
|
+
Entry=S0 → S1 → S2 → S3 Exit=done
|
|
20
20
|
Guard: S(N) req S(N-1)✅
|
|
21
21
|
|
|
22
22
|
S0 | orient: identify ceremony type + load sprint context (task-list, backlog items, blockers) | objective provided? | context | —
|
|
23
23
|
S1 | facilitate: run ceremony (sprint planning → decompose + estimate; daily standup → sync + unblock; retrospective → reflect + action items; backlog grooming → refine + re-prioritize; blocker resolution → diagnose + escalate) | S0✅ | ceremony output | —
|
|
24
|
-
S2 | document: record action items, decisions, impediments via task-create + memory-store | S1✅ | artifacts | —
|
|
24
|
+
S2 | document: record action items, decisions, impediments via task-create + memory-store(type+title+content+importance+agent+model+scope) | S1✅ | artifacts | —
|
|
25
25
|
S3 | verify: confirm all action items captured, blockers documented with owners, ceremony objectives met | S2✅ | verified | —
|
|
26
26
|
|
|
27
27
|
## Ceremony Guides
|
|
@@ -24,7 +24,7 @@ G0.5 | skill readiness: check task.metadata.required_skills — if present, load
|
|
|
24
24
|
S3 | research: memory-search + standard-search(MANDATORY per task — even sub-agents/decomposed) + hydrate relevant | G0.5✅ | context | —
|
|
25
25
|
S4 | execute: trace logic+callsites+docs — DO NOT infer from file presence; decompose if too broad | S3✅ | changes | —
|
|
26
26
|
S5 | validate: tests + linters + type-check + browser(if UI — MANDATORY: console errors, overflow, responsive, core interactions) + logic audit all paths | S4✅ | verification | —
|
|
27
|
-
S6 | finalize: task-update→completed(evidence
|
|
27
|
+
S6 | finalize: task-update→completed(evidence) + memory-store(type+title+content+importance+agent+model+scope, insights) + standard-store(rules) + handoff(if work remains) + retrospective + report | S5✅ | completion | —
|
|
28
28
|
S7 | commit: `type(scope): msg — {{task_title}} {{summary_task}} {{keyword}} #N` (fix|closes|resolve, extract N from metadata/URL) | S6✅ | git commit | —
|
|
29
29
|
S8 | repeat → S0 | queue not empty | next task | —
|
|
30
30
|
S9 | verify: confirm commit format compliance, task updated completed, no stale handoffs remain | S8✅ | verified | —
|
|
@@ -10,19 +10,19 @@ tags: [workflow, tooling, memory, policy, mcp]
|
|
|
10
10
|
|
|
11
11
|
## Memory Flow
|
|
12
12
|
|
|
13
|
-
Entry=S0 → S1 → S2 → S3 → S4 → S5
|
|
13
|
+
Entry=S0 → S1 → S2 → S3 → S4 → S5 Exit=maintained
|
|
14
14
|
Guard: S(N) req S(N-1)✅
|
|
15
15
|
|
|
16
16
|
S0 | navigate: memory-recap (overview) / memory-search (targeted) | — | pointer rows | —
|
|
17
17
|
S1 | hydrate: memory-detail (id or code) before relying on content | S0✅ | full entry | —
|
|
18
|
-
S2 | store: memory-store
|
|
18
|
+
S2 | store: memory-store(type+title+content+importance+agent+model+scope, durable only, tech tags, human title, aux in metadata) | — | stored | —
|
|
19
19
|
S3 | maintain: memory-update / supersedes for changes; avoid duplicates | — | updated | —
|
|
20
20
|
S4 | acknowledge: memory-acknowledge (used|irrelevant|contradictory) after code gen | code generated? | feedback | —
|
|
21
21
|
S5 | verify: confirm acknowledge called after code gen, no duplicate memories created | S4✅ | verified | —
|
|
22
22
|
|
|
23
23
|
## Standards Flow
|
|
24
24
|
|
|
25
|
-
Entry=S0 → S1 → S2 → S3
|
|
25
|
+
Entry=S0 → S1 → S2 → S3 Exit=done
|
|
26
26
|
Guard: S(N) req S(N-1)✅
|
|
27
27
|
|
|
28
28
|
S0 | search: standard-search mandatory before code edit/test/refactor/migrate (query, lang, stack, repo) | — | applicable | —
|
|
@@ -32,7 +32,7 @@ S3 | verify: confirm standard-search was called, scope and tags correct | S2✅
|
|
|
32
32
|
|
|
33
33
|
## Handoff & Claim Flow
|
|
34
34
|
|
|
35
|
-
Entry=S0 → S1 → S2 → S3 → S4
|
|
35
|
+
Entry=S0 → S1 → S2 → S3 → S4 Exit=resolved
|
|
36
36
|
Guard: S(N) req S(N-1)✅
|
|
37
37
|
|
|
38
38
|
S0 | check: handoff-list (status, from/to agent) + claim-list | — | active state | —
|