@hanna84/mcp-writing 1.4.1 → 1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +157 -67
  2. package/README.md +12 -3
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,127 +4,217 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- #### [v1.4.1](https://github.com/hannasdev/mcp-writing/compare/v1.4.0...v1.4.1)
7
+ #### [v1.4.3](https://github.com/hannasdev/mcp-writing.git
8
+ /compare/v1.4.2...v1.4.3)
8
9
 
9
- - fix: correct release increment regex quoting on main [`#32`](https://github.com/hannasdev/mcp-writing/pull/32)
10
- - fix: support legacy release token secret name [`#31`](https://github.com/hannasdev/mcp-writing/pull/31)
11
- - chore: migrate release automation from Release Please to release-it [`#30`](https://github.com/hannasdev/mcp-writing/pull/30)
10
+ - docs: add AGENT.md with operational conventions [`#36`](https://github.com/hannasdev/mcp-writing.git
11
+ /pull/36)
12
12
 
13
- #### [v1.4.0](https://github.com/hannasdev/mcp-writing/compare/v1.3.8...v1.4.0)
13
+ #### [v1.4.2](https://github.com/hannasdev/mcp-writing.git
14
+ /compare/v1.4.1...v1.4.2)
15
+
16
+ > 19 April 2026
17
+
18
+ - fix: correct node argument handling in release version guard [`#35`](https://github.com/hannasdev/mcp-writing.git
19
+ /pull/35)
20
+ - fix: prevent stale release reruns from republishing tags [`#34`](https://github.com/hannasdev/mcp-writing.git
21
+ /pull/34)
22
+ - Release 1.4.2 [`4e465d3`](https://github.com/hannasdev/mcp-writing.git
23
+ /commit/4e465d37de7ef108f28bd7beb15e2abc1a2077e0)
24
+
25
+ #### [v1.4.1](https://github.com/hannasdev/mcp-writing.git
26
+ /compare/v1.4.0...v1.4.1)
27
+
28
+ > 19 April 2026
29
+
30
+ - chore: switch release workflow to deploy-key SSH auth [`#33`](https://github.com/hannasdev/mcp-writing.git
31
+ /pull/33)
32
+ - fix: correct release increment regex quoting on main [`#32`](https://github.com/hannasdev/mcp-writing.git
33
+ /pull/32)
34
+ - fix: support legacy release token secret name [`#31`](https://github.com/hannasdev/mcp-writing.git
35
+ /pull/31)
36
+ - chore: migrate release automation from Release Please to release-it [`#30`](https://github.com/hannasdev/mcp-writing.git
37
+ /pull/30)
38
+ - Release 1.4.1 [`aa88a29`](https://github.com/hannasdev/mcp-writing.git
39
+ /commit/aa88a29899cc2b81ef2d62b2024b73fa8dddcd8e)
40
+
41
+ #### [v1.4.0](https://github.com/hannasdev/mcp-writing.git
42
+ /compare/v1.3.8...v1.4.0)
14
43
 
15
44
  > 18 April 2026
16
45
 
17
- - chore(main): release 1.4.0 [`#29`](https://github.com/hannasdev/mcp-writing/pull/29)
18
- - docs: streamline README for first-time onboarding [`#28`](https://github.com/hannasdev/mcp-writing/pull/28)
19
- - docs: streamline README for first-time onboarding [`#27`](https://github.com/hannasdev/mcp-writing/pull/27)
20
- - docs: streamline README for first-time onboarding [`#26`](https://github.com/hannasdev/mcp-writing/pull/26)
21
- - feat: add runtime write-access diagnostics for onboarding [`434c453`](https://github.com/hannasdev/mcp-writing/commit/434c45323b7662312cff8cc24e2c8ee2c0fd8745)
46
+ - chore(main): release 1.4.0 [`#29`](https://github.com/hannasdev/mcp-writing.git
47
+ /pull/29)
48
+ - docs: streamline README for first-time onboarding [`#28`](https://github.com/hannasdev/mcp-writing.git
49
+ /pull/28)
50
+ - docs: streamline README for first-time onboarding [`#27`](https://github.com/hannasdev/mcp-writing.git
51
+ /pull/27)
52
+ - docs: streamline README for first-time onboarding [`#26`](https://github.com/hannasdev/mcp-writing.git
53
+ /pull/26)
54
+ - feat: add runtime write-access diagnostics for onboarding [`434c453`](https://github.com/hannasdev/mcp-writing.git
55
+ /commit/434c45323b7662312cff8cc24e2c8ee2c0fd8745)
22
56
 
23
- #### [v1.3.8](https://github.com/hannasdev/mcp-writing/compare/v1.3.7...v1.3.8)
57
+ #### [v1.3.8](https://github.com/hannasdev/mcp-writing.git
58
+ /compare/v1.3.7...v1.3.8)
24
59
 
25
60
  > 18 April 2026
26
61
 
27
- - chore(main): release 1.3.8 [`#25`](https://github.com/hannasdev/mcp-writing/pull/25)
28
- - chore: enable auto-merge for Release Please version PRs [`#24`](https://github.com/hannasdev/mcp-writing/pull/24)
62
+ - chore(main): release 1.3.8 [`#25`](https://github.com/hannasdev/mcp-writing.git
63
+ /pull/25)
64
+ - chore: enable auto-merge for Release Please version PRs [`#24`](https://github.com/hannasdev/mcp-writing.git
65
+ /pull/24)
29
66
 
30
- #### [v1.3.7](https://github.com/hannasdev/mcp-writing/compare/v1.3.6...v1.3.7)
67
+ #### [v1.3.7](https://github.com/hannasdev/mcp-writing.git
68
+ /compare/v1.3.6...v1.3.7)
31
69
 
32
70
  > 18 April 2026
33
71
 
34
- - chore(main): release 1.3.7 [`#22`](https://github.com/hannasdev/mcp-writing/pull/22)
35
- - docs: add prerequisites, setup verification, and troubleshooting guide [`#23`](https://github.com/hannasdev/mcp-writing/pull/23)
36
- - chore(ci): remove npm whoami diagnostic step [`65435e9`](https://github.com/hannasdev/mcp-writing/commit/65435e9c8cfa829ceb6937904250c46afc45b54c)
72
+ - chore(main): release 1.3.7 [`#22`](https://github.com/hannasdev/mcp-writing.git
73
+ /pull/22)
74
+ - docs: add prerequisites, setup verification, and troubleshooting guide [`#23`](https://github.com/hannasdev/mcp-writing.git
75
+ /pull/23)
76
+ - chore(ci): remove npm whoami diagnostic step [`65435e9`](https://github.com/hannasdev/mcp-writing.git
77
+ /commit/65435e9c8cfa829ceb6937904250c46afc45b54c)
37
78
 
38
- #### [v1.3.6](https://github.com/hannasdev/mcp-writing/compare/v1.3.5...v1.3.6)
79
+ #### [v1.3.6](https://github.com/hannasdev/mcp-writing.git
80
+ /compare/v1.3.5...v1.3.6)
39
81
 
40
82
  > 18 April 2026
41
83
 
42
- - chore(main): release 1.3.6 [`#21`](https://github.com/hannasdev/mcp-writing/pull/21)
43
- - fix(ci): add npm whoami diagnostic step [`9d6b13e`](https://github.com/hannasdev/mcp-writing/commit/9d6b13e924e802df25099b42a178a772153e66c3)
44
- - fix: add repository url for npm provenance [`50c2d21`](https://github.com/hannasdev/mcp-writing/commit/50c2d216776cb3117e67b3ff1cc65f1192fb0955)
45
- - fix(ci): restore npm trusted publishing auth config [`f043368`](https://github.com/hannasdev/mcp-writing/commit/f0433681e984e34d1c38725f2d85dc3d14031626)
84
+ - chore(main): release 1.3.6 [`#21`](https://github.com/hannasdev/mcp-writing.git
85
+ /pull/21)
86
+ - fix(ci): add npm whoami diagnostic step [`9d6b13e`](https://github.com/hannasdev/mcp-writing.git
87
+ /commit/9d6b13e924e802df25099b42a178a772153e66c3)
88
+ - fix: add repository url for npm provenance [`50c2d21`](https://github.com/hannasdev/mcp-writing.git
89
+ /commit/50c2d216776cb3117e67b3ff1cc65f1192fb0955)
90
+ - fix(ci): restore npm trusted publishing auth config [`f043368`](https://github.com/hannasdev/mcp-writing.git
91
+ /commit/f0433681e984e34d1c38725f2d85dc3d14031626)
46
92
 
47
- #### [v1.3.5](https://github.com/hannasdev/mcp-writing/compare/v1.3.4...v1.3.5)
93
+ #### [v1.3.5](https://github.com/hannasdev/mcp-writing.git
94
+ /compare/v1.3.4...v1.3.5)
48
95
 
49
96
  > 18 April 2026
50
97
 
51
- - chore(main): release 1.3.5 [`#20`](https://github.com/hannasdev/mcp-writing/pull/20)
52
- - fix(ci): force OIDC-only npm publish auth [`c9f1216`](https://github.com/hannasdev/mcp-writing/commit/c9f1216f2d3aa49fcc2aad5e6c4032962ad843d1)
98
+ - chore(main): release 1.3.5 [`#20`](https://github.com/hannasdev/mcp-writing.git
99
+ /pull/20)
100
+ - fix(ci): force OIDC-only npm publish auth [`c9f1216`](https://github.com/hannasdev/mcp-writing.git
101
+ /commit/c9f1216f2d3aa49fcc2aad5e6c4032962ad843d1)
53
102
 
54
- #### [v1.3.4](https://github.com/hannasdev/mcp-writing/compare/v1.3.3...v1.3.4)
103
+ #### [v1.3.4](https://github.com/hannasdev/mcp-writing.git
104
+ /compare/v1.3.3...v1.3.4)
55
105
 
56
106
  > 18 April 2026
57
107
 
58
- - chore(main): release 1.3.4 [`#19`](https://github.com/hannasdev/mcp-writing/pull/19)
59
- - fix(ci): use tag trigger for npm publish (matches n8n pattern) [`#18`](https://github.com/hannasdev/mcp-writing/pull/18)
108
+ - chore(main): release 1.3.4 [`#19`](https://github.com/hannasdev/mcp-writing.git
109
+ /pull/19)
110
+ - fix(ci): use tag trigger for npm publish (matches n8n pattern) [`#18`](https://github.com/hannasdev/mcp-writing.git
111
+ /pull/18)
60
112
 
61
- #### [v1.3.3](https://github.com/hannasdev/mcp-writing/compare/v1.3.2...v1.3.3)
113
+ #### [v1.3.3](https://github.com/hannasdev/mcp-writing.git
114
+ /compare/v1.3.2...v1.3.3)
62
115
 
63
116
  > 18 April 2026
64
117
 
65
- - chore(main): release 1.3.3 [`#17`](https://github.com/hannasdev/mcp-writing/pull/17)
66
- - fix(ci): use tag trigger for npm publish (matches n8n pattern) [`6841de7`](https://github.com/hannasdev/mcp-writing/commit/6841de78a90c3b4c121761d28a09b02f9d360a96)
118
+ - chore(main): release 1.3.3 [`#17`](https://github.com/hannasdev/mcp-writing.git
119
+ /pull/17)
120
+ - fix(ci): use tag trigger for npm publish (matches n8n pattern) [`6841de7`](https://github.com/hannasdev/mcp-writing.git
121
+ /commit/6841de78a90c3b4c121761d28a09b02f9d360a96)
67
122
 
68
- #### [v1.3.2](https://github.com/hannasdev/mcp-writing/compare/v1.3.1...v1.3.2)
123
+ #### [v1.3.2](https://github.com/hannasdev/mcp-writing.git
124
+ /compare/v1.3.1...v1.3.2)
69
125
 
70
126
  > 18 April 2026
71
127
 
72
- - chore(main): release 1.3.2 [`#16`](https://github.com/hannasdev/mcp-writing/pull/16)
73
- - docs(readme): add real-world scenarios; fix publish workflow yaml [`3566905`](https://github.com/hannasdev/mcp-writing/commit/3566905d6f060eed5c35be29f73560bc4d74af27)
74
- - fix(ci): publish from main release commits for npm trusted publishing [`135ab25`](https://github.com/hannasdev/mcp-writing/commit/135ab254fb91ee6427a79cdecdc5b9bf55cfb4d1)
128
+ - chore(main): release 1.3.2 [`#16`](https://github.com/hannasdev/mcp-writing.git
129
+ /pull/16)
130
+ - docs(readme): add real-world scenarios; fix publish workflow yaml [`3566905`](https://github.com/hannasdev/mcp-writing.git
131
+ /commit/3566905d6f060eed5c35be29f73560bc4d74af27)
132
+ - fix(ci): publish from main release commits for npm trusted publishing [`135ab25`](https://github.com/hannasdev/mcp-writing.git
133
+ /commit/135ab254fb91ee6427a79cdecdc5b9bf55cfb4d1)
75
134
 
76
- #### [v1.3.1](https://github.com/hannasdev/mcp-writing/compare/v1.3.0...v1.3.1)
135
+ #### [v1.3.1](https://github.com/hannasdev/mcp-writing.git
136
+ /compare/v1.3.0...v1.3.1)
77
137
 
78
138
  > 18 April 2026
79
139
 
80
- - chore(main): release 1.3.1 [`#15`](https://github.com/hannasdev/mcp-writing/pull/15)
81
- - chore: generate integration fixtures at runtime and remove test-sync [`#14`](https://github.com/hannasdev/mcp-writing/pull/14)
82
- - fix(ci): set npm environment for trusted publishing [`b75fb08`](https://github.com/hannasdev/mcp-writing/commit/b75fb0897dbbbd9df2d136cbb78a06218f0c0b50)
140
+ - chore(main): release 1.3.1 [`#15`](https://github.com/hannasdev/mcp-writing.git
141
+ /pull/15)
142
+ - chore: generate integration fixtures at runtime and remove test-sync [`#14`](https://github.com/hannasdev/mcp-writing.git
143
+ /pull/14)
144
+ - fix(ci): set npm environment for trusted publishing [`b75fb08`](https://github.com/hannasdev/mcp-writing.git
145
+ /commit/b75fb0897dbbbd9df2d136cbb78a06218f0c0b50)
83
146
 
84
- #### [v1.3.0](https://github.com/hannasdev/mcp-writing/compare/v1.2.0...v1.3.0)
147
+ #### [v1.3.0](https://github.com/hannasdev/mcp-writing.git
148
+ /compare/v1.2.0...v1.3.0)
85
149
 
86
150
  > 18 April 2026
87
151
 
88
- - chore(main): release 1.3.0 [`#13`](https://github.com/hannasdev/mcp-writing/pull/13)
89
- - feat: formalize non-draft content and stable Scrivener imports [`#12`](https://github.com/hannasdev/mcp-writing/pull/12)
152
+ - chore(main): release 1.3.0 [`#13`](https://github.com/hannasdev/mcp-writing.git
153
+ /pull/13)
154
+ - feat: formalize non-draft content and stable Scrivener imports [`#12`](https://github.com/hannasdev/mcp-writing.git
155
+ /pull/12)
90
156
 
91
- #### [v1.2.0](https://github.com/hannasdev/mcp-writing/compare/v1.1.1...v1.2.0)
157
+ #### [v1.2.0](https://github.com/hannasdev/mcp-writing.git
158
+ /compare/v1.1.1...v1.2.0)
92
159
 
93
160
  > 17 April 2026
94
161
 
95
- - chore(main): release 1.2.0 [`#11`](https://github.com/hannasdev/mcp-writing/pull/11)
96
- - feat: Phase 3 git-backed prose editing, runtime config tool, startup path logging [`f30a7c8`](https://github.com/hannasdev/mcp-writing/commit/f30a7c8b5e5aaf070b0b6cfaec38479141c5f60b)
162
+ - chore(main): release 1.2.0 [`#11`](https://github.com/hannasdev/mcp-writing.git
163
+ /pull/11)
164
+ - feat: Phase 3 git-backed prose editing, runtime config tool, startup path logging [`f30a7c8`](https://github.com/hannasdev/mcp-writing.git
165
+ /commit/f30a7c8b5e5aaf070b0b6cfaec38479141c5f60b)
97
166
 
98
- #### [v1.1.1](https://github.com/hannasdev/mcp-writing/compare/v1.1.0...v1.1.1)
167
+ #### [v1.1.1](https://github.com/hannasdev/mcp-writing.git
168
+ /compare/v1.1.0...v1.1.1)
99
169
 
100
170
  > 16 April 2026
101
171
 
102
- - chore(main): release 1.1.1 [`#9`](https://github.com/hannasdev/mcp-writing/pull/9)
103
- - fix: use dedicated token for release-please workflow [`#10`](https://github.com/hannasdev/mcp-writing/pull/10)
104
- - chore: include chore commits in release automation [`#8`](https://github.com/hannasdev/mcp-writing/pull/8)
105
- - chore: keep reusable MCP validation scripts [`#7`](https://github.com/hannasdev/mcp-writing/pull/7)
106
- - chore: trigger CI for release-please branches [`#6`](https://github.com/hannasdev/mcp-writing/pull/6)
107
- - chore: include chore commits in release-please [`c437850`](https://github.com/hannasdev/mcp-writing/commit/c4378501ee7dc29d582ce78bc1d227927e719810)
108
- - chore: fix lint in MCP validation scripts [`2b2385e`](https://github.com/hannasdev/mcp-writing/commit/2b2385e3eddd8fd30716d0f72dfa6346ec2d6e5f)
109
- - chore: run CI on release-please branch pushes [`856063c`](https://github.com/hannasdev/mcp-writing/commit/856063c85047c164f857f598520f57dffe215d4a)
110
-
111
- #### [v1.1.0](https://github.com/hannasdev/mcp-writing/compare/v1.0.0...v1.1.0)
172
+ - chore(main): release 1.1.1 [`#9`](https://github.com/hannasdev/mcp-writing.git
173
+ /pull/9)
174
+ - fix: use dedicated token for release-please workflow [`#10`](https://github.com/hannasdev/mcp-writing.git
175
+ /pull/10)
176
+ - chore: include chore commits in release automation [`#8`](https://github.com/hannasdev/mcp-writing.git
177
+ /pull/8)
178
+ - chore: keep reusable MCP validation scripts [`#7`](https://github.com/hannasdev/mcp-writing.git
179
+ /pull/7)
180
+ - chore: trigger CI for release-please branches [`#6`](https://github.com/hannasdev/mcp-writing.git
181
+ /pull/6)
182
+ - chore: include chore commits in release-please [`c437850`](https://github.com/hannasdev/mcp-writing.git
183
+ /commit/c4378501ee7dc29d582ce78bc1d227927e719810)
184
+ - chore: fix lint in MCP validation scripts [`2b2385e`](https://github.com/hannasdev/mcp-writing.git
185
+ /commit/2b2385e3eddd8fd30716d0f72dfa6346ec2d6e5f)
186
+ - chore: run CI on release-please branch pushes [`856063c`](https://github.com/hannasdev/mcp-writing.git
187
+ /commit/856063c85047c164f857f598520f57dffe215d4a)
188
+
189
+ #### [v1.1.0](https://github.com/hannasdev/mcp-writing.git
190
+ /compare/v1.0.0...v1.1.0)
112
191
 
113
192
  > 16 April 2026
114
193
 
115
- - chore(main): release 1.1.0 [`#5`](https://github.com/hannasdev/mcp-writing/pull/5)
116
- - feat: stable Scrivener identity and reorder reconciliation [`#4`](https://github.com/hannasdev/mcp-writing/pull/4)
117
- - chore: add ESLint, release-please, and automated npm publish [`#3`](https://github.com/hannasdev/mcp-writing/pull/3)
118
- - Publish to npm as @hanna84/mcp-writing [`#2`](https://github.com/hannasdev/mcp-writing/pull/2)
119
- - Mark package as private [`#1`](https://github.com/hannasdev/mcp-writing/pull/1)
120
- - chore: trigger CI checks for release PR [`5191fcc`](https://github.com/hannasdev/mcp-writing/commit/5191fccc7c9643a7d7ac32da3a407a0e512fa287)
121
- - Track package-lock.json; remove from gitignore [`090b0af`](https://github.com/hannasdev/mcp-writing/commit/090b0af5b8e532dc88013ae46d5cd6237221cb26)
122
- - chore: add ESLint, release-please, and automated npm publish workflow [`9e8f8d7`](https://github.com/hannasdev/mcp-writing/commit/9e8f8d7d4832cb1f1f0710351f9c53cf008850bb)
194
+ - chore(main): release 1.1.0 [`#5`](https://github.com/hannasdev/mcp-writing.git
195
+ /pull/5)
196
+ - feat: stable Scrivener identity and reorder reconciliation [`#4`](https://github.com/hannasdev/mcp-writing.git
197
+ /pull/4)
198
+ - chore: add ESLint, release-please, and automated npm publish [`#3`](https://github.com/hannasdev/mcp-writing.git
199
+ /pull/3)
200
+ - Publish to npm as @hanna84/mcp-writing [`#2`](https://github.com/hannasdev/mcp-writing.git
201
+ /pull/2)
202
+ - Mark package as private [`#1`](https://github.com/hannasdev/mcp-writing.git
203
+ /pull/1)
204
+ - chore: trigger CI checks for release PR [`5191fcc`](https://github.com/hannasdev/mcp-writing.git
205
+ /commit/5191fccc7c9643a7d7ac32da3a407a0e512fa287)
206
+ - Track package-lock.json; remove from gitignore [`090b0af`](https://github.com/hannasdev/mcp-writing.git
207
+ /commit/090b0af5b8e532dc88013ae46d5cd6237221cb26)
208
+ - chore: add ESLint, release-please, and automated npm publish workflow [`9e8f8d7`](https://github.com/hannasdev/mcp-writing.git
209
+ /commit/9e8f8d7d4832cb1f1f0710351f9c53cf008850bb)
123
210
 
124
211
  #### v1.0.0
125
212
 
126
213
  > 16 April 2026
127
214
 
128
- - feat: Phase 1 scaffold — core retrieval tools, SQLite index, SSE transport [`e8bdfa0`](https://github.com/hannasdev/mcp-writing/commit/e8bdfa0001696f6bb8b10f4c69917a833ad4bc4d)
129
- - Extract db.js + sync.js; add unit + integration tests (40/40 pass) [`e129c0b`](https://github.com/hannasdev/mcp-writing/commit/e129c0be6208f731f0f9405133e9f5d88f171951)
130
- - Add thread link writes and standardize error envelopes [`4f59904`](https://github.com/hannasdev/mcp-writing/commit/4f599044a85dd740cdbc3f9f884e29c1018af4a0)
215
+ - feat: Phase 1 scaffold — core retrieval tools, SQLite index, SSE transport [`e8bdfa0`](https://github.com/hannasdev/mcp-writing.git
216
+ /commit/e8bdfa0001696f6bb8b10f4c69917a833ad4bc4d)
217
+ - Extract db.js + sync.js; add unit + integration tests (40/40 pass) [`e129c0b`](https://github.com/hannasdev/mcp-writing.git
218
+ /commit/e129c0be6208f731f0f9405133e9f5d88f171951)
219
+ - Add thread link writes and standardize error envelopes [`4f59904`](https://github.com/hannasdev/mcp-writing.git
220
+ /commit/4f599044a85dd740cdbc3f9f884e29c1018af4a0)
package/README.md CHANGED
@@ -445,6 +445,8 @@ Unit tests use an in-memory SQLite database and temporary directories — no ser
445
445
 
446
446
  For real projects, keep your manuscript sync folder outside this tool repository and point `WRITING_SYNC_DIR` at that external path.
447
447
 
448
+ Maintainers: see `AGENT.md` for persistent project conventions and release/recovery operational notes.
449
+
448
450
  ## Release automation
449
451
 
450
452
  This repository uses a `release-it` workflow (modeled after `n8n-nodes-bambulab`) instead of Release Please.
@@ -453,7 +455,7 @@ How it works:
453
455
 
454
456
  1. A PR is merged into `main`.
455
457
  2. `.github/workflows/release.yml` runs on that push.
456
- 3. The workflow infers version bump type from commits since last tag:
458
+ 3. The workflow fetches tags and infers version bump type from commits since last tag:
457
459
  - `BREAKING CHANGE` or `!:` -> major
458
460
  - `feat:` -> minor
459
461
  - everything else -> patch
@@ -462,8 +464,9 @@ How it works:
462
464
 
463
465
  Required setup:
464
466
 
465
- - Repository secret: `RELEASE_TOKEN` (PAT with repository write access)
466
- - Branch rules must allow this actor to push release commit/tag (for PR-only protection, configure a bypass actor for the token owner)
467
+ - Repository secret: `RELEASE_DEPLOY_KEY` (private SSH key for a repo deploy key with write access)
468
+ - Optional secret: `RELEASE_DEPLOY_KNOWN_HOSTS` (additional strict host keys; GitHub host key is already handled)
469
+ - Branch rules must allow the **Deploy Key** actor to bypass PR-only rule for release commit/tag push
467
470
  - Repository URL in `package.json` must remain valid for npm provenance
468
471
 
469
472
  Local dry-run (optional):
@@ -472,6 +475,12 @@ Local dry-run (optional):
472
475
  npm run release -- --ci --dry-run
473
476
  ```
474
477
 
478
+ Operational note:
479
+
480
+ - If a release job partially succeeds by pushing a tag before failing later, do not rerun that old workflow run.
481
+ - The workflow now fails fast when `package.json` is behind the latest tag, which indicates a stale rerun.
482
+ - In that case, trigger the next release from current `main` instead of retrying the old run.
483
+
475
484
  ## Troubleshooting
476
485
 
477
486
  ### "Module not found: sqlite" or "Database support not available"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanna84/mcp-writing",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "MCP service for AI-assisted reasoning and editing on long-form fiction projects",
5
5
  "type": "module",
6
6
  "main": "index.js",