memory-journal-mcp 6.1.2 → 6.2.1

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 (372) hide show
  1. package/README.md +44 -28
  2. package/dist/{chunk-X4SWFATC.js → chunk-BI4ZNSKA.js} +38 -24
  3. package/dist/{chunk-HCEWINSB.js → chunk-N6EBIDN7.js} +99 -102
  4. package/dist/cli.js +2 -2
  5. package/dist/index.js +2 -2
  6. package/dist/tools-WPRY5MJ6.js +2 -0
  7. package/package.json +10 -1
  8. package/skills/github-commander/SKILL.md +151 -0
  9. package/skills/github-commander/config/project-config.example.md +125 -0
  10. package/skills/github-commander/workflows/code-quality-audit.md +80 -0
  11. package/skills/github-commander/workflows/full-audit.md +134 -0
  12. package/skills/github-commander/workflows/issue-triage.md +239 -0
  13. package/skills/github-commander/workflows/milestone-sprint.md +81 -0
  14. package/skills/github-commander/workflows/perf-audit.md +142 -0
  15. package/skills/github-commander/workflows/pr-review.md +123 -0
  16. package/skills/github-commander/workflows/security-audit.md +170 -0
  17. package/skills/github-commander/workflows/update-deps.md +109 -0
  18. package/.dockerignore +0 -139
  19. package/.gitattributes +0 -20
  20. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -95
  21. package/.github/ISSUE_TEMPLATE/config.yml +0 -11
  22. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -110
  23. package/.github/ISSUE_TEMPLATE/question.md +0 -78
  24. package/.github/aw/actions-lock.json +0 -14
  25. package/.github/copilot-instructions.md +0 -122
  26. package/.github/dependabot.yml +0 -93
  27. package/.github/pull_request_template.md +0 -135
  28. package/.github/workflows/README.md +0 -133
  29. package/.github/workflows/agentics-maintenance.yml +0 -141
  30. package/.github/workflows/auto-release.yml +0 -68
  31. package/.github/workflows/ci-health-monitor.lock.yml +0 -1121
  32. package/.github/workflows/ci-health-monitor.md +0 -87
  33. package/.github/workflows/codeql.yml +0 -41
  34. package/.github/workflows/dependabot-auto-merge.yml +0 -42
  35. package/.github/workflows/dependency-maintenance.lock.yml +0 -1182
  36. package/.github/workflows/dependency-maintenance.md +0 -147
  37. package/.github/workflows/docker-publish.yml +0 -254
  38. package/.github/workflows/docs-drift-detector.lock.yml +0 -1142
  39. package/.github/workflows/docs-drift-detector.md +0 -115
  40. package/.github/workflows/lint-and-test.yml +0 -60
  41. package/.github/workflows/publish-npm.yml +0 -85
  42. package/.github/workflows/secrets-scanning.yml +0 -32
  43. package/.github/workflows/security-update.yml +0 -127
  44. package/.gitleaks.toml +0 -9
  45. package/.prettierignore +0 -21
  46. package/.prettierrc +0 -33
  47. package/.scout-ignore +0 -12
  48. package/.trivyignore +0 -21
  49. package/CHANGELOG.md +0 -1814
  50. package/CODE_OF_CONDUCT.md +0 -133
  51. package/CONTRIBUTING.md +0 -263
  52. package/DOCKER_README.md +0 -331
  53. package/Dockerfile +0 -128
  54. package/SECURITY.md +0 -227
  55. package/UNRELEASED.md +0 -1
  56. package/dist/tools-T4U5A3X4.js +0 -2
  57. package/docker-compose.yml +0 -71
  58. package/docs/README.md +0 -18
  59. package/docs/agentic-journal-synergy.md +0 -175
  60. package/docs/copilot-setup.md +0 -72
  61. package/eslint.config.js +0 -110
  62. package/mcp-config-example.json +0 -21
  63. package/playwright.config.ts +0 -35
  64. package/releases/v2.1.0.md +0 -220
  65. package/releases/v2.2.0.md +0 -168
  66. package/releases/v3.0.0.md +0 -237
  67. package/releases/v3.1.0.md +0 -104
  68. package/releases/v3.1.1.md +0 -42
  69. package/releases/v3.1.2.md +0 -40
  70. package/releases/v3.1.3.md +0 -64
  71. package/releases/v3.1.4.md +0 -32
  72. package/releases/v3.1.5.md +0 -44
  73. package/releases/v4.0.0.md +0 -71
  74. package/releases/v4.1.0.md +0 -88
  75. package/releases/v4.2.0.md +0 -90
  76. package/releases/v4.3.0.md +0 -92
  77. package/releases/v4.3.1.md +0 -69
  78. package/releases/v4.4.0.md +0 -120
  79. package/releases/v4.4.1.md +0 -33
  80. package/releases/v4.4.2.md +0 -31
  81. package/releases/v4.5.0.md +0 -116
  82. package/releases/v5.0.0.md +0 -105
  83. package/releases/v5.0.1.md +0 -25
  84. package/releases/v5.1.0.md +0 -83
  85. package/releases/v5.1.1.md +0 -10
  86. package/releases/v6.0.0.md +0 -48
  87. package/releases/v6.0.1.md +0 -36
  88. package/releases/v6.1.0.md +0 -68
  89. package/releases/v6.1.1.md +0 -30
  90. package/releases/v6.1.2.md +0 -23
  91. package/scripts/generate-server-instructions.ts +0 -306
  92. package/scripts/server-instructions-function-body.ts +0 -107
  93. package/scripts/server-instructions-gotchas.ts +0 -45
  94. package/server.json +0 -42
  95. package/social-preview.png +0 -0
  96. package/src/auth/auth-context.ts +0 -78
  97. package/src/auth/authorization-server-discovery.ts +0 -263
  98. package/src/auth/errors.ts +0 -215
  99. package/src/auth/index.ts +0 -58
  100. package/src/auth/middleware.ts +0 -392
  101. package/src/auth/oauth-resource-server.ts +0 -170
  102. package/src/auth/scope-map.ts +0 -46
  103. package/src/auth/scopes.ts +0 -256
  104. package/src/auth/token-validator.ts +0 -293
  105. package/src/auth/transport-agnostic.ts +0 -164
  106. package/src/auth/types.ts +0 -372
  107. package/src/cli.ts +0 -279
  108. package/src/codemode/api-constants.ts +0 -263
  109. package/src/codemode/api.ts +0 -302
  110. package/src/codemode/auto-return.ts +0 -65
  111. package/src/codemode/index.ts +0 -47
  112. package/src/codemode/sandbox-factory.ts +0 -144
  113. package/src/codemode/sandbox.ts +0 -220
  114. package/src/codemode/security.ts +0 -155
  115. package/src/codemode/types.ts +0 -228
  116. package/src/codemode/worker-sandbox.ts +0 -277
  117. package/src/codemode/worker-script.ts +0 -239
  118. package/src/constants/icons.ts +0 -183
  119. package/src/constants/server-instructions.md +0 -166
  120. package/src/constants/server-instructions.ts +0 -514
  121. package/src/database/adapter-factory.ts +0 -16
  122. package/src/database/core/entry-columns.ts +0 -10
  123. package/src/database/core/interfaces.ts +0 -188
  124. package/src/database/core/schema.ts +0 -152
  125. package/src/database/sqlite-adapter/backup.ts +0 -167
  126. package/src/database/sqlite-adapter/entries/crud.ts +0 -233
  127. package/src/database/sqlite-adapter/entries/importance.ts +0 -76
  128. package/src/database/sqlite-adapter/entries/index.ts +0 -142
  129. package/src/database/sqlite-adapter/entries/search.ts +0 -294
  130. package/src/database/sqlite-adapter/entries/shared.ts +0 -102
  131. package/src/database/sqlite-adapter/entries/statistics.ts +0 -162
  132. package/src/database/sqlite-adapter/index.ts +0 -265
  133. package/src/database/sqlite-adapter/native-connection.ts +0 -301
  134. package/src/database/sqlite-adapter/relationships.ts +0 -70
  135. package/src/database/sqlite-adapter/tags.ts +0 -182
  136. package/src/filtering/tool-filter.ts +0 -312
  137. package/src/github/github-integration/client.ts +0 -114
  138. package/src/github/github-integration/index.ts +0 -297
  139. package/src/github/github-integration/insights.ts +0 -155
  140. package/src/github/github-integration/issues.ts +0 -213
  141. package/src/github/github-integration/milestones.ts +0 -262
  142. package/src/github/github-integration/projects.ts +0 -414
  143. package/src/github/github-integration/pull-requests.ts +0 -235
  144. package/src/github/github-integration/repository.ts +0 -110
  145. package/src/github/github-integration/types.ts +0 -43
  146. package/src/handlers/prompts/github.ts +0 -210
  147. package/src/handlers/prompts/index.ts +0 -97
  148. package/src/handlers/prompts/workflow.ts +0 -361
  149. package/src/handlers/resources/core/briefing/context-section.ts +0 -182
  150. package/src/handlers/resources/core/briefing/github-section.ts +0 -354
  151. package/src/handlers/resources/core/briefing/index.ts +0 -106
  152. package/src/handlers/resources/core/briefing/user-message.ts +0 -114
  153. package/src/handlers/resources/core/health.ts +0 -75
  154. package/src/handlers/resources/core/index.ts +0 -31
  155. package/src/handlers/resources/core/instructions.ts +0 -45
  156. package/src/handlers/resources/core/utilities.ts +0 -310
  157. package/src/handlers/resources/github.ts +0 -340
  158. package/src/handlers/resources/graph.ts +0 -218
  159. package/src/handlers/resources/help.ts +0 -410
  160. package/src/handlers/resources/index.ts +0 -143
  161. package/src/handlers/resources/shared.ts +0 -219
  162. package/src/handlers/resources/team.ts +0 -134
  163. package/src/handlers/resources/templates.ts +0 -334
  164. package/src/handlers/tools/admin.ts +0 -351
  165. package/src/handlers/tools/analytics.ts +0 -346
  166. package/src/handlers/tools/backup.ts +0 -272
  167. package/src/handlers/tools/codemode.ts +0 -188
  168. package/src/handlers/tools/core.ts +0 -359
  169. package/src/handlers/tools/error-fields-mixin.ts +0 -10
  170. package/src/handlers/tools/export.ts +0 -150
  171. package/src/handlers/tools/github/copilot-tools.ts +0 -72
  172. package/src/handlers/tools/github/helpers.ts +0 -125
  173. package/src/handlers/tools/github/insights-tools.ts +0 -112
  174. package/src/handlers/tools/github/issue-tools.ts +0 -442
  175. package/src/handlers/tools/github/kanban-tools.ts +0 -153
  176. package/src/handlers/tools/github/milestone-tools.ts +0 -371
  177. package/src/handlers/tools/github/mutation-tools.ts +0 -17
  178. package/src/handlers/tools/github/read-tools.ts +0 -302
  179. package/src/handlers/tools/github/schemas.ts +0 -435
  180. package/src/handlers/tools/github.ts +0 -39
  181. package/src/handlers/tools/index.ts +0 -255
  182. package/src/handlers/tools/relationships.ts +0 -390
  183. package/src/handlers/tools/schemas.ts +0 -165
  184. package/src/handlers/tools/search.ts +0 -448
  185. package/src/handlers/tools/team/admin-tools.ts +0 -164
  186. package/src/handlers/tools/team/analytics-tools.ts +0 -233
  187. package/src/handlers/tools/team/backup-tools.ts +0 -83
  188. package/src/handlers/tools/team/core-tools.ts +0 -197
  189. package/src/handlers/tools/team/export-tools.ts +0 -130
  190. package/src/handlers/tools/team/helpers.ts +0 -66
  191. package/src/handlers/tools/team/index.ts +0 -45
  192. package/src/handlers/tools/team/relationship-tools.ts +0 -219
  193. package/src/handlers/tools/team/schemas.ts +0 -558
  194. package/src/handlers/tools/team/search-tools.ts +0 -145
  195. package/src/handlers/tools/team/vector-tools.ts +0 -261
  196. package/src/index.ts +0 -57
  197. package/src/server/mcp-server.ts +0 -446
  198. package/src/server/registration.ts +0 -141
  199. package/src/server/scheduler.ts +0 -283
  200. package/src/transports/http/handlers.ts +0 -78
  201. package/src/transports/http/index.ts +0 -8
  202. package/src/transports/http/security.ts +0 -147
  203. package/src/transports/http/server/index.ts +0 -397
  204. package/src/transports/http/server/legacy-sse.ts +0 -87
  205. package/src/transports/http/server/stateful.ts +0 -222
  206. package/src/transports/http/server/stateless.ts +0 -42
  207. package/src/transports/http/types.ts +0 -132
  208. package/src/types/entities.ts +0 -145
  209. package/src/types/error-types.ts +0 -92
  210. package/src/types/errors.ts +0 -200
  211. package/src/types/filtering.ts +0 -55
  212. package/src/types/github.ts +0 -216
  213. package/src/types/index.ts +0 -348
  214. package/src/utils/error-helpers.ts +0 -78
  215. package/src/utils/errors/error-response-fields.ts +0 -29
  216. package/src/utils/errors/suggestions.ts +0 -94
  217. package/src/utils/github-helpers.ts +0 -33
  218. package/src/utils/logger.ts +0 -107
  219. package/src/utils/mcp-logger.ts +0 -155
  220. package/src/utils/progress-utils.ts +0 -100
  221. package/src/utils/query-helpers.ts +0 -78
  222. package/src/utils/resource-annotations.ts +0 -75
  223. package/src/utils/security-utils.ts +0 -198
  224. package/src/utils/vector-index-helpers.ts +0 -24
  225. package/src/vector/vector-search-manager.ts +0 -409
  226. package/src/version.ts +0 -15
  227. package/test-server/README.md +0 -193
  228. package/test-server/code-map.md +0 -399
  229. package/test-server/test-agent-experience.md +0 -213
  230. package/test-server/test-filter-instructions.mjs +0 -295
  231. package/test-server/test-instruction-levels.mjs +0 -102
  232. package/test-server/test-preflight.md +0 -55
  233. package/test-server/test-prompts.mjs +0 -185
  234. package/test-server/test-scheduler.mjs +0 -174
  235. package/test-server/test-tool-annotations.mjs +0 -115
  236. package/test-server/test-tools-codemode.md +0 -632
  237. package/test-server/test-tools-codemode2.md +0 -1218
  238. package/test-server/test-tools-team.md +0 -215
  239. package/test-server/test-tools.md +0 -429
  240. package/test-server/test-tools2.md +0 -361
  241. package/test-server/test-tools3.md +0 -396
  242. package/test-server/tool-reference.md +0 -231
  243. package/tests/README.md +0 -54
  244. package/tests/auth/auth-context.test.ts +0 -162
  245. package/tests/auth/authorization-server-discovery.test.ts +0 -265
  246. package/tests/auth/errors.test.ts +0 -170
  247. package/tests/auth/middleware.test.ts +0 -585
  248. package/tests/auth/oauth-resource-server.test.ts +0 -173
  249. package/tests/auth/scope-map.test.ts +0 -66
  250. package/tests/auth/scopes.test.ts +0 -347
  251. package/tests/auth/token-validator.test.ts +0 -271
  252. package/tests/codemode/api.test.ts +0 -396
  253. package/tests/codemode/auto-return.test.ts +0 -167
  254. package/tests/codemode/codemode-tool-handlers.test.ts +0 -197
  255. package/tests/codemode/sandbox-factory.test.ts +0 -152
  256. package/tests/codemode/sandbox.test.ts +0 -190
  257. package/tests/codemode/security.test.ts +0 -242
  258. package/tests/codemode/worker-sandbox.test.ts +0 -106
  259. package/tests/constants/icons.test.ts +0 -101
  260. package/tests/constants/server-instructions.test.ts +0 -514
  261. package/tests/database/crud-workflow-branches.test.ts +0 -418
  262. package/tests/database/database-branches.test.ts +0 -132
  263. package/tests/database/entries-auth-branches.test.ts +0 -390
  264. package/tests/database/native-connection.test.ts +0 -249
  265. package/tests/database/shared-helpers.test.ts +0 -103
  266. package/tests/database/sqlite-adapter.bench.ts +0 -63
  267. package/tests/database/sqlite-adapter.test.ts +0 -690
  268. package/tests/database/tags.test.ts +0 -134
  269. package/tests/e2e/README.md +0 -39
  270. package/tests/e2e/auth.spec.ts +0 -106
  271. package/tests/e2e/codemode-abuse.spec.ts +0 -75
  272. package/tests/e2e/health.spec.ts +0 -63
  273. package/tests/e2e/helpers.ts +0 -139
  274. package/tests/e2e/oauth-discovery.spec.ts +0 -102
  275. package/tests/e2e/oauth-scopes.spec.ts +0 -222
  276. package/tests/e2e/payloads-admin.spec.ts +0 -76
  277. package/tests/e2e/payloads-analytics.spec.ts +0 -37
  278. package/tests/e2e/payloads-backup-restore.spec.ts +0 -102
  279. package/tests/e2e/payloads-backup.spec.ts +0 -44
  280. package/tests/e2e/payloads-codemode-api.spec.ts +0 -131
  281. package/tests/e2e/payloads-codemode-readonly.spec.ts +0 -116
  282. package/tests/e2e/payloads-codemode.spec.ts +0 -116
  283. package/tests/e2e/payloads-core.spec.ts +0 -82
  284. package/tests/e2e/payloads-error-contracts.spec.ts +0 -159
  285. package/tests/e2e/payloads-export.spec.ts +0 -46
  286. package/tests/e2e/payloads-github-degradation.spec.ts +0 -73
  287. package/tests/e2e/payloads-github.spec.ts +0 -176
  288. package/tests/e2e/payloads-relationships.spec.ts +0 -56
  289. package/tests/e2e/payloads-search.spec.ts +0 -64
  290. package/tests/e2e/payloads-team-happy.spec.ts +0 -231
  291. package/tests/e2e/payloads-team.spec.ts +0 -174
  292. package/tests/e2e/prompts-expanded.spec.ts +0 -137
  293. package/tests/e2e/prompts.spec.ts +0 -62
  294. package/tests/e2e/protocols.spec.ts +0 -134
  295. package/tests/e2e/rate-limiting.spec.ts +0 -291
  296. package/tests/e2e/resources-briefing-env.spec.ts +0 -106
  297. package/tests/e2e/resources-complete.spec.ts +0 -180
  298. package/tests/e2e/resources-expanded.spec.ts +0 -83
  299. package/tests/e2e/resources-instructions-levels.spec.ts +0 -145
  300. package/tests/e2e/resources-templates.spec.ts +0 -123
  301. package/tests/e2e/resources.spec.ts +0 -103
  302. package/tests/e2e/scheduler.spec.ts +0 -79
  303. package/tests/e2e/security.spec.ts +0 -112
  304. package/tests/e2e/session-advanced.spec.ts +0 -152
  305. package/tests/e2e/sessions.spec.ts +0 -95
  306. package/tests/e2e/stateless.spec.ts +0 -79
  307. package/tests/e2e/streaming.spec.ts +0 -176
  308. package/tests/e2e/tool-filtering-presets.spec.ts +0 -192
  309. package/tests/e2e/tool-filtering.spec.ts +0 -77
  310. package/tests/e2e/tools.spec.ts +0 -111
  311. package/tests/filtering/tool-filter.test.ts +0 -314
  312. package/tests/github/client-issues-errors.test.ts +0 -433
  313. package/tests/github/github-integration-branches.test.ts +0 -490
  314. package/tests/github/github-integration.test.ts +0 -1015
  315. package/tests/github/github-managers-branches.test.ts +0 -907
  316. package/tests/github/pull-requests.test.ts +0 -334
  317. package/tests/handlers/analytics-branches.test.ts +0 -222
  318. package/tests/handlers/backup-branches.test.ts +0 -270
  319. package/tests/handlers/briefing-context-section.test.ts +0 -388
  320. package/tests/handlers/briefing-github-section.test.ts +0 -392
  321. package/tests/handlers/briefing-user-message.test.ts +0 -405
  322. package/tests/handlers/codemode-tools.test.ts +0 -85
  323. package/tests/handlers/copilot-tools.test.ts +0 -126
  324. package/tests/handlers/error-path-coverage.test.ts +0 -324
  325. package/tests/handlers/export-tools.test.ts +0 -203
  326. package/tests/handlers/github-resource-handlers.test.ts +0 -929
  327. package/tests/handlers/github-tool-handlers.test.ts +0 -1452
  328. package/tests/handlers/handler-error-branches.test.ts +0 -346
  329. package/tests/handlers/help-resource.test.ts +0 -92
  330. package/tests/handlers/prompt-handler-coverage.test.ts +0 -108
  331. package/tests/handlers/prompt-handlers.test.ts +0 -131
  332. package/tests/handlers/resource-handler-coverage.test.ts +0 -281
  333. package/tests/handlers/resource-handlers.test.ts +0 -357
  334. package/tests/handlers/resource-prompt-branches.test.ts +0 -495
  335. package/tests/handlers/search-tool-handlers.test.ts +0 -379
  336. package/tests/handlers/targeted-gap-closure.test.ts +0 -387
  337. package/tests/handlers/team-admin.test.ts +0 -291
  338. package/tests/handlers/team-analytics.test.ts +0 -220
  339. package/tests/handlers/team-core.test.ts +0 -148
  340. package/tests/handlers/team-data.test.ts +0 -198
  341. package/tests/handlers/team-relationships.test.ts +0 -271
  342. package/tests/handlers/team-resource-handlers.test.ts +0 -161
  343. package/tests/handlers/team-search.test.ts +0 -134
  344. package/tests/handlers/team-tool-handlers.test.ts +0 -301
  345. package/tests/handlers/team-vector.test.ts +0 -213
  346. package/tests/handlers/template-github-branches.test.ts +0 -676
  347. package/tests/handlers/tool-annotations.test.ts +0 -90
  348. package/tests/handlers/tool-handler-coverage.test.ts +0 -514
  349. package/tests/handlers/tool-handlers.test.ts +0 -510
  350. package/tests/handlers/tool-output-schemas.test.ts +0 -116
  351. package/tests/handlers/vector-tool-handlers.test.ts +0 -238
  352. package/tests/security/sql-injection.test.ts +0 -284
  353. package/tests/server/mcp-server.bench.ts +0 -55
  354. package/tests/server/mcp-server.test.ts +0 -1326
  355. package/tests/server/scheduler.test.ts +0 -400
  356. package/tests/transports/http-legacy-sse.test.ts +0 -275
  357. package/tests/transports/http-security.test.ts +0 -322
  358. package/tests/transports/http-stateful.test.ts +0 -487
  359. package/tests/transports/http-transport-server.test.ts +0 -301
  360. package/tests/transports/http-transport.test.ts +0 -771
  361. package/tests/utils/github-helpers.test.ts +0 -58
  362. package/tests/utils/logger.test.ts +0 -180
  363. package/tests/utils/mcp-logger.test.ts +0 -211
  364. package/tests/utils/progress-utils.test.ts +0 -156
  365. package/tests/utils/query-helpers.test.ts +0 -80
  366. package/tests/utils/security-utils.test.ts +0 -82
  367. package/tests/vector/vector-search-branches.test.ts +0 -111
  368. package/tests/vector/vector-search-manager.test.ts +0 -375
  369. package/tests/vector/vector-search.bench.ts +0 -48
  370. package/tsconfig.json +0 -42
  371. package/tsup.config.ts +0 -19
  372. package/vitest.config.ts +0 -25
@@ -1,110 +0,0 @@
1
- ---
2
- name: Feature Request
3
- about: Suggest an idea for the Memory Journal MCP Server
4
- title: '[FEATURE] '
5
- labels: ['enhancement']
6
- assignees: ''
7
- ---
8
-
9
- ## 🚀 Feature Summary
10
-
11
- A clear and concise description of the feature you'd like to see.
12
-
13
- ## 💡 Problem Statement
14
-
15
- **Is your feature request related to a problem? Please describe.**
16
- A clear description of what the problem is. Ex. I'm always frustrated when [...]
17
-
18
- ## 🎯 Proposed Solution
19
-
20
- **Describe the solution you'd like**
21
- A clear and concise description of what you want to happen.
22
-
23
- ## 🔄 Developer Workflow
24
-
25
- **How would this fit into developer workflows?**
26
- Describe how this feature would be used in day-to-day development work:
27
-
28
- - When would developers use this?
29
- - What problem does it solve in their workflow?
30
- - How does it integrate with existing tools/processes?
31
-
32
- ## 📋 Detailed Requirements
33
-
34
- **Specific functionality needed:**
35
-
36
- - [ ] Requirement 1
37
- - [ ] Requirement 2
38
- - [ ] Requirement 3
39
-
40
- ## 🛠️ Technical Considerations
41
-
42
- **Implementation thoughts:**
43
-
44
- - Database schema changes needed?
45
- - New MCP tools required?
46
- - Docker image impact?
47
- - Performance considerations?
48
- - Breaking changes?
49
-
50
- ## 📊 Example Usage
51
-
52
- **Show how this would work:**
53
-
54
- ```javascript
55
- // Example MCP tool usage
56
- create_entry({
57
- content: 'Example of how the new feature would work',
58
- new_feature_param: 'value',
59
- })
60
- ```
61
-
62
- **Or command examples:**
63
-
64
- ```bash
65
- # Example command or configuration
66
- docker run memory-journal-mcp --new-feature
67
- ```
68
-
69
- ## 🔀 Alternatives Considered
70
-
71
- **Describe alternatives you've considered**
72
- A clear description of any alternative solutions or features you've considered.
73
-
74
- ## 🎨 User Experience
75
-
76
- **How should this feel to use?**
77
-
78
- - Should it be automatic or manual?
79
- - What feedback should users get?
80
- - How should errors be handled?
81
- - Integration with existing UI/prompts?
82
-
83
- ## 📈 Success Criteria
84
-
85
- **How will we know this feature is successful?**
86
-
87
- - [ ] Criteria 1
88
- - [ ] Criteria 2
89
- - [ ] Criteria 3
90
-
91
- ## 🔗 Related Issues
92
-
93
- **Link any related issues or discussions:**
94
-
95
- - Fixes #123
96
- - Related to #456
97
- - Depends on #789
98
-
99
- ## 📝 Additional Context
100
-
101
- Add any other context, mockups, or screenshots about the feature request here.
102
-
103
- ## 🏆 Implementation Interest
104
-
105
- **Are you interested in implementing this feature?**
106
-
107
- - [ ] I'd like to work on this
108
- - [ ] I can help with testing
109
- - [ ] I can help with documentation
110
- - [ ] I'm just suggesting the idea
@@ -1,78 +0,0 @@
1
- ---
2
- name: Question
3
- about: Ask a question about using the Memory Journal MCP Server
4
- title: '[QUESTION] '
5
- labels: ['question']
6
- assignees: ''
7
- ---
8
-
9
- ## ❓ Question
10
-
11
- A clear and concise question about the Memory Journal MCP Server.
12
-
13
- ## 🎯 What I'm Trying to Do
14
-
15
- Describe what you're trying to accomplish:
16
-
17
- - What's your use case?
18
- - What workflow are you trying to implement?
19
- - What's the end goal?
20
-
21
- ## 🔄 What I've Tried
22
-
23
- **Steps I've already taken:**
24
-
25
- 1. Checked the README documentation
26
- 2. Searched existing issues
27
- 3. Tried these approaches:
28
- - Approach 1
29
- - Approach 2
30
-
31
- ## 📱 Environment
32
-
33
- **System:**
34
-
35
- - OS: [e.g. Windows 11, macOS 14, Ubuntu 22.04]
36
- - MCP Client: [e.g. Cursor 0.42.3]
37
- - Installation: [Docker Hub :lite, local build, etc.]
38
-
39
- ## 📋 Configuration
40
-
41
- **Current MCP Configuration:**
42
-
43
- ```json
44
- {
45
- "mcpServers": {
46
- "memory-journal": {
47
- // Your configuration here
48
- }
49
- }
50
- }
51
- ```
52
-
53
- ## 📊 Current Behavior
54
-
55
- **What's happening now:**
56
- Describe the current behavior you're seeing.
57
-
58
- ## ✅ Expected/Desired Behavior
59
-
60
- **What I want to happen:**
61
- Describe what you'd like to see happen instead.
62
-
63
- ## 🔍 Specific Questions
64
-
65
- **Specific things I need help with:**
66
-
67
- 1. Question 1?
68
- 2. Question 2?
69
- 3. Question 3?
70
-
71
- ## 📝 Additional Context
72
-
73
- Add any other context that might be helpful:
74
-
75
- - Error messages
76
- - Screenshots
77
- - Related documentation you've read
78
- - Similar tools you've used
@@ -1,14 +0,0 @@
1
- {
2
- "entries": {
3
- "actions/github-script@v8": {
4
- "repo": "actions/github-script",
5
- "version": "v8",
6
- "sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
7
- },
8
- "github/gh-aw/actions/setup@v0.57.2": {
9
- "repo": "github/gh-aw/actions/setup",
10
- "version": "v0.57.2",
11
- "sha": "32b3a711a9ee97d38e3989c90af0385aff0066a7"
12
- }
13
- }
14
- }
@@ -1,122 +0,0 @@
1
- # Memory Journal MCP — Copilot Code Review Context
2
-
3
- ## Project Overview
4
-
5
- Memory Journal MCP is a TypeScript MCP (Model Context Protocol) server providing persistent memory for AI agents. It has **44 tools** across **10 groups** (core, search, analytics, relationships, export, admin, github, backup, team, codemode), **22 resources**, and **15 prompts**.
6
-
7
- **Stack**: TypeScript, Vitest, Zod schemas, better-sqlite3 (SQLite), sqlite-vec (vector search), @huggingface/transformers (embeddings), @octokit/rest (GitHub API).
8
-
9
- ## Session Context
10
-
11
- Before starting work on this project, read `memory://briefing` from the `memory-journal-mcp` server for real-time context:
12
-
13
- - **Recent journal entries** — what was just worked on by the development agent
14
- - **GitHub status** — open issues, PRs, CI status, milestones
15
- - **Workflow runs** — recent CI/CD results
16
- - **Copilot review summaries** — your own recent review findings
17
-
18
- For detailed session handoff context, search for entries tagged `session-summary` — these contain end-of-session notes from the development agent.
19
-
20
- If you find issues during code review, use `create_entry` with tag `copilot-finding` to record them for the development agent to see in their next session briefing.
21
-
22
- ## Coding Standards
23
-
24
- ### Naming
25
-
26
- - **Files and folders**: Always kebab-case (`database-adapter.ts`, `tool-filter.ts`, `copilot-tools.ts`)
27
- - **Never** PascalCase or camelCase for filenames
28
-
29
- ### Modularity
30
-
31
- - **File size limit**: Source files stay under ~500 lines
32
- - **Split pattern**: `foo.ts` → `foo/` directory with sub-modules + `foo/index.ts` barrel re-export
33
- - **Logical grouping**: Split by functional cohesion, not arbitrary line counts
34
-
35
- ### Type Safety
36
-
37
- - **Strict TypeScript** — `tsconfig.json` enforces strict mode
38
- - **Never use `eslint-disable`** to evade standards
39
- - **Zod schemas** for all tool input validation
40
- - **Output schemas** — All tools have Zod output schemas; error responses must pass validation
41
- - **Dual-schema pattern** — Relaxed schemas for SDK registration (to handle MCP client coercion), strict schemas inside handlers
42
-
43
- ### Error Handling
44
-
45
- All tool handlers return structured error responses — never raw exceptions:
46
-
47
- ```typescript
48
- {
49
- success: false,
50
- error: string, // Human-readable message
51
- code: string, // Module-prefixed code (e.g., "ENTRY_NOT_FOUND")
52
- category: string, // ErrorCategory enum (validation, connection, query, etc.)
53
- suggestion: string, // Actionable fix for the agent
54
- recoverable: boolean // true = user can fix, false = server error
55
- }
56
- ```
57
-
58
- - Use `formatHandlerErrorResponse()` from `src/utils/error-helpers.ts` for enriched errors
59
- - Use `MemoryJournalMcpError` subclasses (`ValidationError`, `ResourceNotFoundError`, etc.) for typed errors
60
- - Existing `formatHandlerError()` preserved for backward compatibility
61
-
62
- ### Database
63
-
64
- - Schema migrations in `src/database/schema.ts` via `migrateSchema()`
65
- - Backward compatible — never break existing data
66
- - Consider index implications for new queries
67
-
68
- ## Architecture
69
-
70
- ```
71
- src/
72
- ├── cli.ts # CLI entry point (Commander)
73
- ├── index.ts # Library entry point
74
- ├── auth/ # OAuth 2.1 authentication
75
- ├── codemode/ # Sandboxed JS execution engine
76
- ├── constants/
77
- │ ├── server-instructions.md # Source for server instructions
78
- │ └── server-instructions.ts # Auto-generated (npm run generate:instructions)
79
- ├── database/
80
- │ ├── adapter-factory.ts # Database adapter factory
81
- │ ├── core/ # Core database types and interfaces
82
- │ └── sqlite-adapter/ # SQLite operations via better-sqlite3
83
- ├── filtering/
84
- │ └── tool-filter.ts # Tool filtering (groups, meta-groups)
85
- ├── github/
86
- │ └── github-integration/ # GitHub API (@octokit/rest + GraphQL)
87
- ├── handlers/
88
- │ ├── tools/ # 44 tool handlers (10 groups)
89
- │ ├── resources/ # 22 resource handlers
90
- │ └── prompts/ # 15 prompt handlers
91
- ├── server/
92
- │ ├── mcp-server.ts # MCP server setup
93
- │ ├── registration.ts # Tool/resource/prompt registration
94
- │ └── scheduler.ts # Recurring task scheduler
95
- ├── transports/
96
- │ └── http/ # HTTP/SSE transport (modularized)
97
- ├── types/ # Type definitions + barrel
98
- ├── utils/ # Logger, error helpers, progress
99
- └── vector/ # Semantic search (sqlite-vec + transformers)
100
- ```
101
-
102
- ## Key Reference Files
103
-
104
- | File | Purpose |
105
- | -------------------------------------- | ----------------------------------------------------- |
106
- | `src/constants/server-instructions.md` | Full tool parameter reference and behavioral guidance |
107
- | `docs/code-map.md` | File → tool/handler mapping |
108
- | `docs/tool-reference.md` | Categorized 44-tool inventory |
109
- | `CONTRIBUTING.md` | Development setup and PR guidelines |
110
-
111
- ## Review Checklist
112
-
113
- When reviewing PRs, check for:
114
-
115
- - [ ] Hardcoded tool/group counts — should be dynamic or use `getAllToolNames().length`
116
- - [ ] Missing barrel exports in `src/types/index.ts` when new types are added
117
- - [ ] `eslint-disable` usage — always forbidden
118
- - [ ] Raw exceptions from tool handlers — must use `formatHandlerErrorResponse()`
119
- - [ ] Files approaching 500 lines — flag for splitting
120
- - [ ] New tools missing from `src/filtering/ToolFilter.ts` TOOL_GROUPS
121
- - [ ] Missing Zod output schemas on new tools
122
- - [ ] Kebab-case violations in new filenames
@@ -1,93 +0,0 @@
1
- # Dependabot configuration for Memory Journal MCP Server
2
- # TypeScript/Node.js project — npm, github-actions, and docker ecosystems only
3
-
4
- version: 2
5
- updates:
6
- # NPM dependencies (TypeScript/Node.js - v3.0.0+)
7
- - package-ecosystem: 'npm'
8
- directory: '/'
9
- schedule:
10
- interval: 'weekly'
11
- day: 'monday'
12
- time: '09:00'
13
- timezone: 'America/New_York'
14
- open-pull-requests-limit: 10
15
- reviewers:
16
- - 'neverinfamous'
17
- labels:
18
- - 'dependencies'
19
- - 'npm'
20
- groups:
21
- mcp-core:
22
- patterns:
23
- - '@modelcontextprotocol/*'
24
- - 'zod*'
25
- update-types:
26
- - 'minor'
27
- - 'patch'
28
- ml-packages:
29
- patterns:
30
- - '@huggingface/*'
31
- - 'sqlite-vec*'
32
- update-types:
33
- - 'minor'
34
- - 'patch'
35
- database:
36
- patterns:
37
- - 'better-sqlite3*'
38
- update-types:
39
- - 'minor'
40
- - 'patch'
41
- build-tools:
42
- patterns:
43
- - 'typescript*'
44
- - 'tsup*'
45
- - '@types/*'
46
- update-types:
47
- - 'minor'
48
- - 'patch'
49
- linting:
50
- patterns:
51
- - 'eslint*'
52
- - '@eslint/*'
53
- - 'typescript-eslint*'
54
- update-types:
55
- - 'minor'
56
- - 'patch'
57
-
58
- # GitHub Actions
59
- - package-ecosystem: 'github-actions'
60
- directory: '/'
61
- schedule:
62
- interval: 'weekly'
63
- day: 'monday'
64
- time: '10:00'
65
- timezone: 'America/New_York'
66
- open-pull-requests-limit: 5
67
- reviewers:
68
- - 'neverinfamous'
69
- labels:
70
- - 'dependencies'
71
- - 'github-actions'
72
- groups:
73
- actions:
74
- patterns:
75
- - 'actions/*'
76
- update-types:
77
- - 'minor'
78
- - 'patch'
79
-
80
- # Docker dependencies
81
- - package-ecosystem: 'docker'
82
- directory: '/'
83
- schedule:
84
- interval: 'weekly'
85
- day: 'tuesday'
86
- time: '09:00'
87
- timezone: 'America/New_York'
88
- open-pull-requests-limit: 3
89
- reviewers:
90
- - 'neverinfamous'
91
- labels:
92
- - 'dependencies'
93
- - 'docker'
@@ -1,135 +0,0 @@
1
- ## 📋 Summary
2
-
3
- Brief description of the changes in this PR.
4
-
5
- ## 🎯 Type of Change
6
-
7
- - [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
8
- - [ ] ✨ New feature (non-breaking change which adds functionality)
9
- - [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
10
- - [ ] 📚 Documentation update
11
- - [ ] 🔧 Refactoring (no functional changes)
12
- - [ ] ⚡ Performance improvement
13
- - [ ] 🧪 Test addition or improvement
14
-
15
- ## 🔗 Related Issues
16
-
17
- - Fixes #(issue number)
18
- - Addresses #(issue number)
19
- - Related to #(issue number)
20
-
21
- ## 🔄 Changes Made
22
-
23
- **Detailed description of changes:**
24
-
25
- - Change 1: Description
26
- - Change 2: Description
27
- - Change 3: Description
28
-
29
- ## 🧪 Testing Performed
30
-
31
- **How did you test these changes?**
32
-
33
- - [ ] Manual testing in Cursor
34
- - [ ] Docker lite build tested
35
- - [ ] Docker full build tested
36
- - [ ] Database migration tested
37
- - [ ] Existing functionality verified
38
- - [ ] New functionality tested
39
-
40
- **Test scenarios covered:**
41
-
42
- 1. Scenario 1: Description and result
43
- 2. Scenario 2: Description and result
44
- 3. Scenario 3: Description and result
45
-
46
- ## 📱 Environment Tested
47
-
48
- - **OS:** [e.g. Windows 11, macOS 14, Ubuntu 22.04]
49
- - **Python:** [e.g. 3.11.5]
50
- - **Docker:** [e.g. 24.0.6]
51
- - **MCP Client:** [e.g. Cursor 0.42.3]
52
-
53
- ## 🔄 Breaking Changes
54
-
55
- **Are there any breaking changes?**
56
-
57
- - [ ] No breaking changes
58
- - [ ] Yes, breaking changes (describe below)
59
-
60
- **If yes, describe the breaking changes:**
61
-
62
- - What will break?
63
- - How should users migrate?
64
- - What's the impact?
65
-
66
- ## 📊 Database Changes
67
-
68
- - [ ] No database schema changes
69
- - [ ] Schema changes included (describe below)
70
- - [ ] Migration script provided
71
- - [ ] Backward compatibility maintained
72
-
73
- **If schema changes, describe:**
74
-
75
- - What tables/columns are affected?
76
- - Is there a migration path?
77
- - Any data loss potential?
78
-
79
- ## 🐳 Docker Impact
80
-
81
- - [ ] No Docker changes
82
- - [ ] Dockerfile.lite updated
83
- - [ ] Dockerfile updated
84
- - [ ] New dependencies added
85
- - [ ] Image size impact: [increase/decrease by X MB]
86
-
87
- ## 📚 Documentation
88
-
89
- - [ ] No documentation changes needed
90
- - [ ] README.md updated
91
- - [ ] CONTRIBUTING.md updated
92
- - [ ] New documentation added
93
- - [ ] Examples updated
94
-
95
- ## ✅ Checklist
96
-
97
- **Before submitting this PR:**
98
-
99
- - [ ] Code follows the project's coding standards
100
- - [ ] Self-review of the code completed
101
- - [ ] Comments added to hard-to-understand areas
102
- - [ ] Tests pass locally
103
- - [ ] No new warnings or errors introduced
104
- - [ ] Relevant documentation updated
105
- - [ ] Changes work in both lite and full Docker variants
106
-
107
- ## 🖼️ Screenshots
108
-
109
- **If applicable, add screenshots to help explain your changes:**
110
- [Add screenshots here]
111
-
112
- ## 🚀 Deployment Notes
113
-
114
- **Anything special needed for deployment?**
115
-
116
- - Special configuration required?
117
- - Migration steps needed?
118
- - Rollback considerations?
119
-
120
- ## 📝 Additional Notes
121
-
122
- **Any other information that reviewers should know:**
123
-
124
- - Implementation decisions made
125
- - Trade-offs considered
126
- - Future improvements planned
127
- - Known limitations
128
-
129
- ## 🙋 Questions for Reviewers
130
-
131
- **Specific areas where you'd like feedback:**
132
-
133
- 1. Question 1?
134
- 2. Question 2?
135
- 3. Question 3?
@@ -1,133 +0,0 @@
1
- # CI/CD Workflows
2
-
3
- This directory contains all GitHub Actions workflows for the **memory-journal-mcp** project. The pipeline is organized into three layers: continuous integration, security scanning, and automated release/publishing.
4
-
5
- ## Workflow Map
6
-
7
- ```mermaid
8
- flowchart LR
9
- subgraph Triggers["Triggers"]
10
- Push["push to main"]
11
- PR["pull_request"]
12
- Tag["release published"]
13
- Sched["schedule (cron)"]
14
- Manual["workflow_dispatch"]
15
- end
16
-
17
- subgraph CI["CI"]
18
- LT["lint-and-test"]
19
- end
20
-
21
- subgraph Security["Security"]
22
- CQL["codeql"]
23
- SS["secrets-scanning"]
24
- SU["security-update"]
25
- end
26
-
27
- subgraph Release["Release"]
28
- AR["auto-release"]
29
- NPM["publish-npm"]
30
- DP["docker-publish"]
31
- end
32
-
33
- subgraph Agentic["Agentic Workflows (Copilot)"]
34
- DM["dependency-maintenance"]
35
- CHM["ci-health-monitor"]
36
- DDD["docs-drift-detector"]
37
- AM["agentics-maintenance"]
38
- end
39
-
40
- Push --> LT
41
- PR --> LT
42
- Push --> CQL
43
- Push --> SS
44
- Push --> SU
45
- LT -->|workflow_run success| DP
46
- Push -->|commit contains '[deps]'| AR
47
- AR -->|creates release| NPM
48
- Tag --> NPM
49
- Sched --> CQL
50
- Sched --> SU
51
- Sched --> DM
52
- Sched --> CHM
53
- Sched --> AM
54
- PR --> DDD
55
- Manual --> SU
56
- Manual --> DM
57
- Manual --> CHM
58
- Manual --> AM
59
- ```
60
-
61
- ---
62
-
63
- ## Workflows
64
-
65
- ### CI
66
-
67
- | File | Trigger | Purpose |
68
- | -------------------------------------- | ------------------- | ----------------------------------------------------------------------- |
69
- | [lint-and-test.yml](lint-and-test.yml) | push / PR to `main` | Lint, typecheck, build, unit tests (Node 24.x + 25.x matrix), npm audit |
70
-
71
- ### Security
72
-
73
- | File | Trigger | Purpose |
74
- | -------------------------------------------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
75
- | [codeql.yml](codeql.yml) | push / PR / weekly (Mon 02:23 UTC) | CodeQL static analysis for `javascript-typescript` and `actions` |
76
- | [secrets-scanning.yml](secrets-scanning.yml) | push / PR | TruffleHog (verified secrets) + Gitleaks scanning |
77
- | [security-update.yml](security-update.yml) | push (Dockerfile/package changes) / weekly (Sun 02:00 UTC) / manual | Docker image Trivy scan (CRITICAL/HIGH/MEDIUM), SARIF upload, auto-creates GitHub issue on failure |
78
-
79
- ### Release & Publishing
80
-
81
- | File | Trigger | Purpose |
82
- | ---------------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
83
- | [auto-release.yml](auto-release.yml) | push to `main` with `[deps]` in commit message | Creates git tag + GitHub release for dependency-maintenance patch bumps |
84
- | [publish-npm.yml](publish-npm.yml) | release published / manual | Publishes to npm with version verification |
85
- | [docker-publish.yml](docker-publish.yml) | `lint-and-test` workflow_run success on `main` | Multi-arch Docker build (amd64 + arm64), Docker Scout scan, manifest merge, Docker Hub description update |
86
-
87
- ### Agentic Workflows (GitHub Copilot)
88
-
89
- These are AI-powered workflows using [GitHub Copilot Coding Agent](https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot). Each `.md` file contains the agent prompt; the corresponding `.lock.yml` is the auto-generated compiled workflow (**do not edit `.lock.yml` files**).
90
-
91
- | Prompt | Lock File | Schedule | Purpose |
92
- | ------------------------------------------------------ | ------------------------------------------------------------------ | -------------------- | -------------------------------------------------------------------------------------------------- |
93
- | [dependency-maintenance.md](dependency-maintenance.md) | [dependency-maintenance.lock.yml](dependency-maintenance.lock.yml) | Mon 14:00 UTC | Batch-updates npm, Dockerfile patches, Alpine packages; validates, bumps patch version, creates PR |
94
- | [ci-health-monitor.md](ci-health-monitor.md) | [ci-health-monitor.lock.yml](ci-health-monitor.lock.yml) | Wed 14:00 UTC | Audits workflows for deprecated actions, Node.js runtime issues, stale Dependabot config |
95
- | [docs-drift-detector.md](docs-drift-detector.md) | [docs-drift-detector.lock.yml](docs-drift-detector.lock.yml) | PR (on code changes) | Audits README, DOCKER_README, CONTRIBUTING for drift against code changes |
96
- | [agentics-maintenance.yml](agentics-maintenance.yml) | — | Daily 00:37 UTC | Auto-closes expired discussions, issues, and PRs created by agentic workflows |
97
-
98
- ---
99
-
100
- ## Release Pipeline
101
-
102
- The full release flow for dependency updates:
103
-
104
- ```
105
- dependency-maintenance (Copilot)
106
- → creates PR with [deps] prefix
107
- → lint-and-test runs on PR
108
- → Copilot reviews + human merge
109
- → auto-release (creates tag + GitHub release)
110
- → publish-npm (triggered by release event)
111
- → docker-publish (triggered by lint-and-test on main)
112
- ```
113
-
114
- For manual releases (feature/breaking changes), the maintainer runs `/bump-deploy` locally which pushes a tag and creates a GitHub release, triggering npm and Docker publish.
115
-
116
- ---
117
-
118
- ## Secrets Required
119
-
120
- | Secret | Used By | Purpose |
121
- | ----------------- | --------------------------------------------------- | ------------------------------ |
122
- | `GITHUB_TOKEN` | auto-release, security-update, agentics-maintenance | Git operations, issue creation |
123
- | `NPM_TOKEN` | publish-npm | npm registry authentication |
124
- | `DOCKER_USERNAME` | docker-publish | Docker Hub login |
125
- | `DOCKER_PASSWORD` | docker-publish | Docker Hub login |
126
-
127
- ---
128
-
129
- ## Editing Guidelines
130
-
131
- - **YAML workflows** — edit directly, commit to `main` or via PR
132
- - **Agentic `.md` prompts** — edit the `.md` file, then run `gh aw compile` to regenerate the `.lock.yml`
133
- - **`.lock.yml` files** — **never edit manually**; always regenerate via `gh aw compile`