@danielmarbach/mnemonic-mcp 0.25.4 → 0.25.5

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/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ The format is loosely based on Keep a Changelog and uses semver-style version he
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.25.5] - 2026-04-25
10
+
11
+ ### Changed
12
+
13
+ - `mnemonic-rpi-workflow` skill revised for conciseness (112 lines, down from 149): removed redundant "When to Use" section, consolidated relationship guidance, tightened commit discipline into a script-like sequence, and moved closeout templates to a separate `closeout-templates.md` for progressive disclosure.
14
+ - Skill now requires verification evidence in review notes and includes dirty worktree safety rules, closeout templates (decision + summary), and explicit commit-class separation.
15
+
9
16
  ## [0.25.4] - 2026-04-25
10
17
 
11
18
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielmarbach/mnemonic-mcp",
3
- "version": "0.25.4",
3
+ "version": "0.25.5",
4
4
  "description": "A local MCP memory server backed by markdown + JSON files, synced via git",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,151 +1,113 @@
1
1
  ---
2
2
  name: mnemonic-rpi-workflow
3
- description: Use when executing multi-step research-plan-implement-review workflows, especially when you need explicit handoffs, one current plan note, and consistent role/relationship conventions.
3
+ description: Executes multi-step research-plan-implement-review workflows using mnemonic for workflow artifacts. Triggers on multi-step feature or bugfix work, subagent handoffs, plan-heavy tasks, or any work needing structured RPIR artifacts with explicit handoffs and consistent role/relationship conventions.
4
4
  ---
5
5
 
6
- # Skill: mnemonic-rpi-workflow
6
+ # RPIR Workflow: Research → Plan → Implement → Review
7
7
 
8
- # RPIR Workflow: Research -> Plan -> Implement -> Review
9
-
10
- Use this skill when work needs structured workflow artifacts.
8
+ ## Core Principle
11
9
 
12
- ## When to Use
10
+ mnemonic stores workflow artifacts; it does not run the workflow.
13
11
 
14
- - Multi-step feature or bugfix work where you need research, plan, execution, and review artifacts.
15
- - Work delegated to subagents that needs explicit handoff and continuity.
16
- - Tasks where plan drift risk is high and you want one current plan note.
12
+ ## Relationship Conventions
17
13
 
18
- ## Core Principle
19
-
20
- mnemonic is the canonical store for workflow artifacts, not the workflow runtime.
14
+ Use `derives-from` for lineage and `follows` for sequence by default. Fall back to `related-to` only when direction is unclear. Keep relationships sparse — link only to immediate upstream artifacts.
21
15
 
22
16
  ## Stage Checklists
23
17
 
24
18
  ### 1. Research
25
19
 
26
- - Create or update one request root note with `role: context`, `lifecycle: temporary`, `tags: ["workflow", "request"]`.
27
- - Before creating new notes, call `recall` for related prior work.
28
- - Create research notes with `role: research`, `lifecycle: temporary`.
29
- - Distill a short research summary when findings are scattered.
30
- - Link research notes to request root. Prefer `derives-from` when lineage is explicit; otherwise use `related-to`.
20
+ - Create or update one request root: `role: context`, `lifecycle: temporary`, `tags: ["workflow", "request"]`.
21
+ - Call `recall` before creating notes to avoid duplicates.
22
+ - Create research notes: `role: research`, `lifecycle: temporary`.
23
+ - Distill when findings are scattered.
24
+ - Link research to request root (`derives-from` preferred).
31
25
 
32
26
  ### 2. Plan
33
27
 
34
- - Create or update one current plan note with `role: plan`, `lifecycle: temporary`.
35
- - Link plan note to request root and key research notes. Prefer `derives-from` for lineage and `follows` for sequence; fallback to `related-to` when direction is unclear.
36
- - Keep the plan concise, executable, and scoped to the current request.
37
- - Prefer one current plan per request; update or supersede as needed.
38
- - If the plan changes materially, update the plan note before continuing implementation.
39
-
40
- Material plan changes include architecture direction, file/module scope, ordering/dependencies, validation strategy, and key assumptions.
28
+ - Create or update one current plan note: `role: plan`, `lifecycle: temporary`.
29
+ - Link to request root and key research notes (`derives-from` for lineage, `follows` for sequence).
30
+ - Keep the plan concise and executable.
31
+ - One current plan per request; update or supersede as needed.
32
+ - Update plan note before continuing if scope, architecture, dependencies, or assumptions change materially.
41
33
 
42
34
  ### 3. Implement
43
35
 
44
- - Create apply/task notes as `lifecycle: temporary`, tagged with `apply`.
45
- - Use `role: plan` for intended executable steps.
46
- - Use `role: context` for observations, checkpoints, and execution notes.
47
- - Link apply/task notes to the plan note. Prefer `follows` for ordered execution steps.
48
- - For non-trivial work, dispatch a subagent with narrow scope and explicit handoff context.
36
+ - Create apply/task notes: `lifecycle: temporary`, tagged `apply`.
37
+ - `role: plan` for executable steps; `role: context` for observations and checkpoints.
38
+ - Link to plan note (`follows` for ordered steps).
39
+ - For non-trivial work, dispatch a subagent with narrow scope (see [handoff template](#subagent-handoff-template)).
49
40
 
50
41
  ### 4. Review
51
42
 
52
- - Create review notes with `role: review`, `lifecycle: temporary`.
53
- - Link review notes to apply/task notes or plan. Use `derives-from` when review conclusions derive from specific artifacts.
54
- - Record outcomes: continue, block, or update plan.
43
+ - Create review notes: `role: review`, `lifecycle: temporary`.
44
+ - Link to apply/task notes or plan (`derives-from` when conclusions derive from specific artifacts).
45
+ - Record outcome: continue, block, or update plan.
55
46
  - If review causes a material plan change, update plan note first.
47
+ - Every review note must include verification evidence:
48
+
49
+ ```text
50
+ - Command: <run command>
51
+ - Result: pass | fail | partial
52
+ - Details: <counts, errors>
53
+ ```
56
54
 
57
55
  ### 5. Consolidate
58
56
 
59
- - Create permanent decision note(s) for resolved approaches.
60
- - Create permanent summary note(s) for outcomes and verification.
57
+ - Create permanent decision note(s) and summary note(s).
61
58
  - Promote reusable patterns into permanent reference notes.
62
- - Let pure temporary scaffolding expire when no longer useful.
59
+ - Let temporary scaffolding expire.
63
60
 
64
- ## Subagent Handoff Template
61
+ Use the templates in [closeout-templates.md](closeout-templates.md).
65
62
 
66
- Use this template for subagent delegation:
63
+ ## Subagent Handoff Template
67
64
 
68
65
  ```text
69
- Request note:
70
- - <note-id/title>
71
-
72
- Current plan note (or relevant slice):
73
- - <note-id/title>
74
-
75
- Relevant research notes:
76
- - <note-id/title>
77
- - <note-id/title>
78
-
79
- Durable recalled context:
80
- - <note-id/title>
81
- - <note-id/title>
66
+ Request note: <note-id/title>
67
+ Plan note: <note-id/title>
68
+ Research notes: <note-id/title>, ...
69
+ Durable context: <note-id/title>, ...
82
70
 
83
71
  Task scope:
84
72
  - Files/modules: <paths>
85
73
  - Goal: <what to change>
86
74
  - Validation: <tests/checks>
87
75
 
88
- Subagent must return:
89
- 1) Updated apply note content
90
- 2) Optional review note content
91
- 3) Recommendation: continue | block | update plan
76
+ Must return: apply note content, optional review note, recommendation (continue | block | update plan)
92
77
  ```
93
78
 
94
- ## Note Conventions
95
-
96
- - Request root: one per workflow, `role: context`, `lifecycle: temporary`, `tags: workflow/request`.
97
- - Apply/task split: no new role; use existing `plan` and `context` roles plus `apply` tag.
98
- - Relationship density: keep sparse; link only to immediate upstream artifacts.
99
- - Plan currency: one current plan note per request.
100
-
101
- Relationship preference order:
102
-
103
- 1. `derives-from` for explicit lineage.
104
- 2. `follows` for explicit sequence.
105
- 3. `related-to` only when direction is unknown or intentionally generic.
106
-
107
- Canonical graph:
79
+ ## Canonical Graph
108
80
 
109
81
  ```text
110
82
  request root (context, temporary)
111
- -> research (temporary)
112
- -> plan (temporary)
113
- -> apply/task (temporary; plan for steps, context for observations)
114
- -> review (temporary)
115
- -> outcome/decision/summary (permanent)
83
+ research (temporary)
84
+ plan (temporary)
85
+ apply/task (temporary; plan for steps, context for observations)
86
+ review (temporary)
87
+ outcome/decision/summary (permanent)
116
88
  ```
117
89
 
118
90
  ## Commit Discipline
119
91
 
120
- Use three commit classes through the workflow:
92
+ Three commit classes:
121
93
 
122
- 1. Memory commit: research/plan/review artifacts.
123
- 2. Work commit: code/test/docs implementation.
124
- 3. Memory commit: consolidation and promotion of durable knowledge.
94
+ 1. **Memory** research/plan/review artifacts
95
+ 2. **Work** code/test/docs implementation
96
+ 3. **Memory** consolidation of durable knowledge
125
97
 
126
- If plan changes materially during implementation, do memory update first, then continue work.
98
+ Never mix classes. Before every commit, run this sequence:
127
99
 
128
- ## Examples
100
+ 1. `git status --short`
101
+ 2. Stage only intended paths (never `git add .` or `git add -A`)
102
+ 3. If unsure whether dirty files belong together, ask before committing
103
+ 4. `git status --short` after commit to confirm
129
104
 
130
- ### Example 1: Research-heavy bug investigation
105
+ Material plan changes during implementation: commit the memory update first.
131
106
 
132
- - Create request root + two research notes.
133
- - Link research to request.
134
- - Write one plan note with validation steps.
135
- - Execute with apply notes and one review note.
136
- - Consolidate into permanent decision + summary notes.
137
-
138
- ### Example 2: Multi-file refactor with subagent
107
+ ## Examples
139
108
 
140
- - Create request root and concise plan note.
141
- - Hand subagent request/plan/research plus narrow file list.
142
- - Receive updated apply note + recommendation.
143
- - Add review note, update plan if material drift occurred.
144
- - Promote reusable patterns into reference note.
109
+ **Research-heavy bug:** request root + research notes → plan with validation → apply + review → permanent decision + summary.
145
110
 
146
- ### Example 3: Small task with no iteration
111
+ **Multi-file refactor:** request root + concise plan → subagent handoff → apply note + recommendation → review, consolidate.
147
112
 
148
- - Create/update request root and one plan note.
149
- - Implement directly with one apply note.
150
- - Review note says continue and close.
151
- - Consolidate to one permanent summary note.
113
+ **Small task:** request root + plan → one apply note → review says continue → one permanent summary.
@@ -0,0 +1,19 @@
1
+ # Closeout Templates
2
+
3
+ ## Decision Note (`role: decision`)
4
+
5
+ ```text
6
+ **Decision:** <one-line ruling>
7
+ **Rationale:** <why, not what>
8
+ **Alternatives considered:** <brief list>
9
+ **Consequences:** <what this enables or prevents>
10
+ ```
11
+
12
+ ## Summary Note (`role: summary`)
13
+
14
+ ```text
15
+ **What shipped:** <change list>
16
+ **Verification:** <test counts, commands run, outcomes>
17
+ **Status:** complete | partial | blocked
18
+ **Open items:** <remaining work or known gaps>
19
+ ```