memory-journal-mcp 8.0.1 β†’ 9.1.0

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 (1346) hide show
  1. package/README.md +278 -353
  2. package/dist/audit/audit-logger.d.ts +89 -0
  3. package/dist/audit/audit-logger.d.ts.map +1 -0
  4. package/dist/audit/audit-resource.d.ts +28 -0
  5. package/dist/audit/audit-resource.d.ts.map +1 -0
  6. package/dist/audit/index.d.ts +12 -0
  7. package/dist/audit/index.d.ts.map +1 -0
  8. package/dist/audit/interceptor.d.ts +44 -0
  9. package/dist/audit/interceptor.d.ts.map +1 -0
  10. package/dist/audit/types.d.ts +68 -0
  11. package/dist/audit/types.d.ts.map +1 -0
  12. package/dist/auth/auth-context.d.ts +42 -0
  13. package/dist/auth/auth-context.d.ts.map +1 -0
  14. package/dist/auth/authorization-server-discovery.d.ts +90 -0
  15. package/dist/auth/authorization-server-discovery.d.ts.map +1 -0
  16. package/dist/auth/errors.d.ts +90 -0
  17. package/dist/auth/errors.d.ts.map +1 -0
  18. package/dist/auth/index.d.ts +16 -0
  19. package/dist/auth/index.d.ts.map +1 -0
  20. package/dist/auth/middleware.d.ts +77 -0
  21. package/dist/auth/middleware.d.ts.map +1 -0
  22. package/dist/auth/oauth-resource-server.d.ts +73 -0
  23. package/dist/auth/oauth-resource-server.d.ts.map +1 -0
  24. package/dist/auth/scope-map.d.ts +14 -0
  25. package/dist/auth/scope-map.d.ts.map +1 -0
  26. package/dist/auth/scopes.d.ts +112 -0
  27. package/dist/auth/scopes.d.ts.map +1 -0
  28. package/dist/auth/token-validator.d.ts +64 -0
  29. package/dist/auth/token-validator.d.ts.map +1 -0
  30. package/dist/auth/transport-agnostic.d.ts +47 -0
  31. package/dist/auth/transport-agnostic.d.ts.map +1 -0
  32. package/dist/auth/types.d.ts +256 -0
  33. package/dist/auth/types.d.ts.map +1 -0
  34. package/dist/auth/validation.d.ts +15 -0
  35. package/dist/auth/validation.d.ts.map +1 -0
  36. package/dist/chunk-4FZCHFB5.js +216 -0
  37. package/dist/chunk-D2FY6XS5.js +313 -0
  38. package/dist/chunk-E6IQP6PE.js +252 -0
  39. package/dist/chunk-FZLB6NAV.js +746 -0
  40. package/dist/chunk-LE6ZWUPK.js +2667 -0
  41. package/dist/chunk-SGJU2DHU.js +2102 -0
  42. package/dist/chunk-T7SROBBV.js +34066 -0
  43. package/dist/chunk-Y6MMKR2Z.js +3766 -0
  44. package/dist/cli/commands/admin.d.ts +123 -0
  45. package/dist/cli/commands/admin.d.ts.map +1 -0
  46. package/dist/cli/commands/analytics.d.ts +21 -0
  47. package/dist/cli/commands/analytics.d.ts.map +1 -0
  48. package/dist/cli/commands/entry-payload.d.ts +38 -0
  49. package/dist/cli/commands/entry-payload.d.ts.map +1 -0
  50. package/dist/cli/commands/entry.d.ts +130 -0
  51. package/dist/cli/commands/entry.d.ts.map +1 -0
  52. package/dist/cli/commands/exec.d.ts +31 -0
  53. package/dist/cli/commands/exec.d.ts.map +1 -0
  54. package/dist/cli/commands/io.d.ts +76 -0
  55. package/dist/cli/commands/io.d.ts.map +1 -0
  56. package/dist/cli/commands/project.d.ts +6 -0
  57. package/dist/cli/commands/project.d.ts.map +1 -0
  58. package/dist/cli/commands/search.d.ts +30 -0
  59. package/dist/cli/commands/search.d.ts.map +1 -0
  60. package/dist/cli/commands/serve.d.ts +84 -0
  61. package/dist/cli/commands/serve.d.ts.map +1 -0
  62. package/dist/cli/commands/visualize.d.ts +20 -0
  63. package/dist/cli/commands/visualize.d.ts.map +1 -0
  64. package/dist/cli/index.d.ts +3 -0
  65. package/dist/cli/index.d.ts.map +1 -0
  66. package/dist/cli/index.js +9 -0
  67. package/dist/cli/option-groups.d.ts +18 -0
  68. package/dist/cli/option-groups.d.ts.map +1 -0
  69. package/dist/cli/program.d.ts +7 -0
  70. package/dist/cli/program.d.ts.map +1 -0
  71. package/dist/cli/schemas.d.ts +648 -0
  72. package/dist/cli/schemas.d.ts.map +1 -0
  73. package/dist/cli/server-options-builder.d.ts +13 -0
  74. package/dist/cli/server-options-builder.d.ts.map +1 -0
  75. package/dist/cli.js +9 -433
  76. package/dist/codemode/api/git-api.d.ts +9 -0
  77. package/dist/codemode/api/git-api.d.ts.map +1 -0
  78. package/dist/codemode/api/group-factory.d.ts +30 -0
  79. package/dist/codemode/api/group-factory.d.ts.map +1 -0
  80. package/dist/codemode/api/index.d.ts +10 -0
  81. package/dist/codemode/api/index.d.ts.map +1 -0
  82. package/dist/codemode/api/journal-api.d.ts +39 -0
  83. package/dist/codemode/api/journal-api.d.ts.map +1 -0
  84. package/dist/codemode/api/key-normalizer.d.ts +8 -0
  85. package/dist/codemode/api/key-normalizer.d.ts.map +1 -0
  86. package/dist/codemode/api/param-normalizer.d.ts +15 -0
  87. package/dist/codemode/api/param-normalizer.d.ts.map +1 -0
  88. package/dist/codemode/api/project-registry-ops.d.ts +26 -0
  89. package/dist/codemode/api/project-registry-ops.d.ts.map +1 -0
  90. package/dist/codemode/api/sandbox-bindings.d.ts +25 -0
  91. package/dist/codemode/api/sandbox-bindings.d.ts.map +1 -0
  92. package/dist/codemode/api/types.d.ts +21 -0
  93. package/dist/codemode/api/types.d.ts.map +1 -0
  94. package/dist/codemode/api-constants.d.ts +6 -0
  95. package/dist/codemode/api-constants.d.ts.map +1 -0
  96. package/dist/codemode/auto-return.d.ts +25 -0
  97. package/dist/codemode/auto-return.d.ts.map +1 -0
  98. package/dist/codemode/constants/examples-and-params.d.ts +31 -0
  99. package/dist/codemode/constants/examples-and-params.d.ts.map +1 -0
  100. package/dist/codemode/constants/method-aliases.d.ts +8 -0
  101. package/dist/codemode/constants/method-aliases.d.ts.map +1 -0
  102. package/dist/codemode/index.d.ts +12 -0
  103. package/dist/codemode/index.d.ts.map +1 -0
  104. package/dist/codemode/normalizers/domain-tool-interceptions.d.ts +6 -0
  105. package/dist/codemode/normalizers/domain-tool-interceptions.d.ts.map +1 -0
  106. package/dist/codemode/normalizers/entry-and-search-interceptions.d.ts +6 -0
  107. package/dist/codemode/normalizers/entry-and-search-interceptions.d.ts.map +1 -0
  108. package/dist/codemode/normalizers/generic-interceptions.d.ts +6 -0
  109. package/dist/codemode/normalizers/generic-interceptions.d.ts.map +1 -0
  110. package/dist/codemode/normalizers/github-and-backup-interceptions.d.ts +6 -0
  111. package/dist/codemode/normalizers/github-and-backup-interceptions.d.ts.map +1 -0
  112. package/dist/codemode/normalizers/shared-utils.d.ts +31 -0
  113. package/dist/codemode/normalizers/shared-utils.d.ts.map +1 -0
  114. package/dist/codemode/param-normalizer.d.ts +11 -0
  115. package/dist/codemode/param-normalizer.d.ts.map +1 -0
  116. package/dist/codemode/proxy-helpers.d.ts +34 -0
  117. package/dist/codemode/proxy-helpers.d.ts.map +1 -0
  118. package/dist/codemode/proxy-namespaces.d.ts +30 -0
  119. package/dist/codemode/proxy-namespaces.d.ts.map +1 -0
  120. package/dist/codemode/sandbox-factory.d.ts +52 -0
  121. package/dist/codemode/sandbox-factory.d.ts.map +1 -0
  122. package/dist/codemode/security.d.ts +54 -0
  123. package/dist/codemode/security.d.ts.map +1 -0
  124. package/dist/codemode/type-generator.d.ts +11 -0
  125. package/dist/codemode/type-generator.d.ts.map +1 -0
  126. package/dist/codemode/types.d.ts +165 -0
  127. package/dist/codemode/types.d.ts.map +1 -0
  128. package/dist/codemode/worker/mj-shim-domains.d.ts +15 -0
  129. package/dist/codemode/worker/mj-shim-domains.d.ts.map +1 -0
  130. package/dist/codemode/worker/mj-shim-proxy.d.ts +18 -0
  131. package/dist/codemode/worker/mj-shim-proxy.d.ts.map +1 -0
  132. package/dist/codemode/worker/namespace-shims.d.ts +32 -0
  133. package/dist/codemode/worker/namespace-shims.d.ts.map +1 -0
  134. package/dist/codemode/worker/node-shims.d.ts +65 -0
  135. package/dist/codemode/worker/node-shims.d.ts.map +1 -0
  136. package/dist/codemode/worker/prototype-hardening.d.ts +18 -0
  137. package/dist/codemode/worker/prototype-hardening.d.ts.map +1 -0
  138. package/dist/codemode/worker/result-compactor.d.ts +20 -0
  139. package/dist/codemode/worker/result-compactor.d.ts.map +1 -0
  140. package/dist/codemode/worker/sandbox-globals.d.ts +19 -0
  141. package/dist/codemode/worker/sandbox-globals.d.ts.map +1 -0
  142. package/dist/codemode/worker-api-proxy.d.ts +12 -0
  143. package/dist/codemode/worker-api-proxy.d.ts.map +1 -0
  144. package/dist/codemode/worker-result-proxy.d.ts +12 -0
  145. package/dist/codemode/worker-result-proxy.d.ts.map +1 -0
  146. package/dist/codemode/worker-sandbox.d.ts +58 -0
  147. package/dist/codemode/worker-sandbox.d.ts.map +1 -0
  148. package/dist/codemode/worker-script.d.ts +9 -0
  149. package/dist/codemode/worker-script.d.ts.map +1 -0
  150. package/dist/constants/icons.d.ts +58 -0
  151. package/dist/constants/icons.d.ts.map +1 -0
  152. package/dist/constants/instructions/admin.d.ts +2 -0
  153. package/dist/constants/instructions/admin.d.ts.map +1 -0
  154. package/dist/constants/instructions/analytics.d.ts +2 -0
  155. package/dist/constants/instructions/analytics.d.ts.map +1 -0
  156. package/dist/constants/instructions/backup.d.ts +2 -0
  157. package/dist/constants/instructions/backup.d.ts.map +1 -0
  158. package/dist/constants/instructions/base.d.ts +3 -0
  159. package/dist/constants/instructions/base.d.ts.map +1 -0
  160. package/dist/constants/instructions/codemode.d.ts +2 -0
  161. package/dist/constants/instructions/codemode.d.ts.map +1 -0
  162. package/dist/constants/instructions/core.d.ts +2 -0
  163. package/dist/constants/instructions/core.d.ts.map +1 -0
  164. package/dist/constants/instructions/git.d.ts +2 -0
  165. package/dist/constants/instructions/git.d.ts.map +1 -0
  166. package/dist/constants/instructions/github.d.ts +2 -0
  167. package/dist/constants/instructions/github.d.ts.map +1 -0
  168. package/dist/constants/instructions/gotchas.d.ts +2 -0
  169. package/dist/constants/instructions/gotchas.d.ts.map +1 -0
  170. package/dist/constants/instructions/io.d.ts +2 -0
  171. package/dist/constants/instructions/io.d.ts.map +1 -0
  172. package/dist/constants/instructions/relationships.d.ts +2 -0
  173. package/dist/constants/instructions/relationships.d.ts.map +1 -0
  174. package/dist/constants/instructions/search.d.ts +2 -0
  175. package/dist/constants/instructions/search.d.ts.map +1 -0
  176. package/dist/constants/instructions/team.d.ts +2 -0
  177. package/dist/constants/instructions/team.d.ts.map +1 -0
  178. package/dist/constants/instructions/templates.d.ts +2 -0
  179. package/dist/constants/instructions/templates.d.ts.map +1 -0
  180. package/dist/constants/server-instructions.d.ts +64 -0
  181. package/dist/constants/server-instructions.d.ts.map +1 -0
  182. package/dist/database/adapter-factory.d.ts +9 -0
  183. package/dist/database/adapter-factory.d.ts.map +1 -0
  184. package/dist/database/core/DatabaseAdapterProxy.d.ts +5 -0
  185. package/dist/database/core/DatabaseAdapterProxy.d.ts.map +1 -0
  186. package/dist/database/core/interfaces.d.ts +455 -0
  187. package/dist/database/core/interfaces.d.ts.map +1 -0
  188. package/dist/database/migrations/001-init.d.ts +3 -0
  189. package/dist/database/migrations/001-init.d.ts.map +1 -0
  190. package/dist/database/migrations/002-add-significance-and-context.d.ts +3 -0
  191. package/dist/database/migrations/002-add-significance-and-context.d.ts.map +1 -0
  192. package/dist/database/migrations/003-add-deleted-and-archived.d.ts +3 -0
  193. package/dist/database/migrations/003-add-deleted-and-archived.d.ts.map +1 -0
  194. package/dist/database/migrations/004-add-github-and-workflow-integration.d.ts +3 -0
  195. package/dist/database/migrations/004-add-github-and-workflow-integration.d.ts.map +1 -0
  196. package/dist/database/migrations/005-add-entry-revisions.d.ts +3 -0
  197. package/dist/database/migrations/005-add-entry-revisions.d.ts.map +1 -0
  198. package/dist/database/migrations/006-add-analytics-snapshots.d.ts +3 -0
  199. package/dist/database/migrations/006-add-analytics-snapshots.d.ts.map +1 -0
  200. package/dist/database/migrations/007-add-team-author.d.ts +3 -0
  201. package/dist/database/migrations/007-add-team-author.d.ts.map +1 -0
  202. package/dist/database/migrations/008-add-team-members.d.ts +3 -0
  203. package/dist/database/migrations/008-add-team-members.d.ts.map +1 -0
  204. package/dist/database/migrations/009-add-entry-version.d.ts +3 -0
  205. package/dist/database/migrations/009-add-entry-version.d.ts.map +1 -0
  206. package/dist/database/migrations/010-add-author-aliases.d.ts +3 -0
  207. package/dist/database/migrations/010-add-author-aliases.d.ts.map +1 -0
  208. package/dist/database/migrations/011-add-workspace-id.d.ts +3 -0
  209. package/dist/database/migrations/011-add-workspace-id.d.ts.map +1 -0
  210. package/dist/database/migrations/012-add-trust-and-anchors.d.ts +3 -0
  211. package/dist/database/migrations/012-add-trust-and-anchors.d.ts.map +1 -0
  212. package/dist/database/migrations/013-add-session-id.d.ts +3 -0
  213. package/dist/database/migrations/013-add-session-id.d.ts.map +1 -0
  214. package/dist/database/migrations/migration-list.d.ts +3 -0
  215. package/dist/database/migrations/migration-list.d.ts.map +1 -0
  216. package/dist/database/migrations/migration-manager.d.ts +14 -0
  217. package/dist/database/migrations/migration-manager.d.ts.map +1 -0
  218. package/dist/database/migrations/migration.d.ts +23 -0
  219. package/dist/database/migrations/migration.d.ts.map +1 -0
  220. package/dist/database/sqlite-adapter/adapter-delegates.d.ts +161 -0
  221. package/dist/database/sqlite-adapter/adapter-delegates.d.ts.map +1 -0
  222. package/dist/database/sqlite-adapter/aliases.d.ts +14 -0
  223. package/dist/database/sqlite-adapter/aliases.d.ts.map +1 -0
  224. package/dist/database/sqlite-adapter/backup.d.ts +27 -0
  225. package/dist/database/sqlite-adapter/backup.d.ts.map +1 -0
  226. package/dist/database/sqlite-adapter/database-adapter.d.ts +192 -0
  227. package/dist/database/sqlite-adapter/database-adapter.d.ts.map +1 -0
  228. package/dist/database/sqlite-adapter/entries/anchors.d.ts +9 -0
  229. package/dist/database/sqlite-adapter/entries/anchors.d.ts.map +1 -0
  230. package/dist/database/sqlite-adapter/entries/crud-read.d.ts +16 -0
  231. package/dist/database/sqlite-adapter/entries/crud-read.d.ts.map +1 -0
  232. package/dist/database/sqlite-adapter/entries/crud-write.d.ts +62 -0
  233. package/dist/database/sqlite-adapter/entries/crud-write.d.ts.map +1 -0
  234. package/dist/database/sqlite-adapter/entries/crud.d.ts +4 -0
  235. package/dist/database/sqlite-adapter/entries/crud.d.ts.map +1 -0
  236. package/dist/database/sqlite-adapter/entries/digest.d.ts +60 -0
  237. package/dist/database/sqlite-adapter/entries/digest.d.ts.map +1 -0
  238. package/dist/database/sqlite-adapter/entries/fuzzy-matcher.d.ts +27 -0
  239. package/dist/database/sqlite-adapter/entries/fuzzy-matcher.d.ts.map +1 -0
  240. package/dist/database/sqlite-adapter/entries/importance.d.ts +38 -0
  241. package/dist/database/sqlite-adapter/entries/importance.d.ts.map +1 -0
  242. package/dist/database/sqlite-adapter/entries/index.d.ts +186 -0
  243. package/dist/database/sqlite-adapter/entries/index.d.ts.map +1 -0
  244. package/dist/database/sqlite-adapter/entries/revisions.d.ts +16 -0
  245. package/dist/database/sqlite-adapter/entries/revisions.d.ts.map +1 -0
  246. package/dist/database/sqlite-adapter/entries/search/cursor.d.ts +15 -0
  247. package/dist/database/sqlite-adapter/entries/search/cursor.d.ts.map +1 -0
  248. package/dist/database/sqlite-adapter/entries/search/date-and-pagination.d.ts +37 -0
  249. package/dist/database/sqlite-adapter/entries/search/date-and-pagination.d.ts.map +1 -0
  250. package/dist/database/sqlite-adapter/entries/search/entity-lookups.d.ts +31 -0
  251. package/dist/database/sqlite-adapter/entries/search/entity-lookups.d.ts.map +1 -0
  252. package/dist/database/sqlite-adapter/entries/search/fts-and-hybrid.d.ts +44 -0
  253. package/dist/database/sqlite-adapter/entries/search/fts-and-hybrid.d.ts.map +1 -0
  254. package/dist/database/sqlite-adapter/entries/search/fts-sanitizer.d.ts +15 -0
  255. package/dist/database/sqlite-adapter/entries/search/fts-sanitizer.d.ts.map +1 -0
  256. package/dist/database/sqlite-adapter/entries/search/index.d.ts +8 -0
  257. package/dist/database/sqlite-adapter/entries/search/index.d.ts.map +1 -0
  258. package/dist/database/sqlite-adapter/entries/search/query.d.ts +4 -0
  259. package/dist/database/sqlite-adapter/entries/search/query.d.ts.map +1 -0
  260. package/dist/database/sqlite-adapter/entries/shared.d.ts +39 -0
  261. package/dist/database/sqlite-adapter/entries/shared.d.ts.map +1 -0
  262. package/dist/database/sqlite-adapter/entries/statistics.d.ts +3 -0
  263. package/dist/database/sqlite-adapter/entries/statistics.d.ts.map +1 -0
  264. package/dist/database/sqlite-adapter/health-operations.d.ts +10 -0
  265. package/dist/database/sqlite-adapter/health-operations.d.ts.map +1 -0
  266. package/dist/database/sqlite-adapter/index.d.ts +2 -0
  267. package/dist/database/sqlite-adapter/index.d.ts.map +1 -0
  268. package/dist/database/sqlite-adapter/insights/cross-project.d.ts +42 -0
  269. package/dist/database/sqlite-adapter/insights/cross-project.d.ts.map +1 -0
  270. package/dist/database/sqlite-adapter/insights/entry-digest-queries.d.ts +17 -0
  271. package/dist/database/sqlite-adapter/insights/entry-digest-queries.d.ts.map +1 -0
  272. package/dist/database/sqlite-adapter/insights/team-collaboration.d.ts +29 -0
  273. package/dist/database/sqlite-adapter/insights/team-collaboration.d.ts.map +1 -0
  274. package/dist/database/sqlite-adapter/insights-operations.d.ts +47 -0
  275. package/dist/database/sqlite-adapter/insights-operations.d.ts.map +1 -0
  276. package/dist/database/sqlite-adapter/lifecycle-operations.d.ts +32 -0
  277. package/dist/database/sqlite-adapter/lifecycle-operations.d.ts.map +1 -0
  278. package/dist/database/sqlite-adapter/members.d.ts +23 -0
  279. package/dist/database/sqlite-adapter/members.d.ts.map +1 -0
  280. package/dist/database/sqlite-adapter/native-connection.d.ts +46 -0
  281. package/dist/database/sqlite-adapter/native-connection.d.ts.map +1 -0
  282. package/dist/database/sqlite-adapter/relationships.d.ts +26 -0
  283. package/dist/database/sqlite-adapter/relationships.d.ts.map +1 -0
  284. package/dist/database/sqlite-adapter/tags.d.ts +16 -0
  285. package/dist/database/sqlite-adapter/tags.d.ts.map +1 -0
  286. package/dist/database/sqlite-adapter/vector-operations.d.ts +24 -0
  287. package/dist/database/sqlite-adapter/vector-operations.d.ts.map +1 -0
  288. package/dist/errors-MHAM6AKR.js +1 -0
  289. package/dist/filtering/tool-constants.d.ts +33 -0
  290. package/dist/filtering/tool-constants.d.ts.map +1 -0
  291. package/dist/filtering/tool-filter.d.ts +65 -0
  292. package/dist/filtering/tool-filter.d.ts.map +1 -0
  293. package/dist/fts-YHUVPPYF.js +2 -0
  294. package/dist/github/commit-references/enricher.d.ts +12 -0
  295. package/dist/github/commit-references/enricher.d.ts.map +1 -0
  296. package/dist/github/commit-references/index.d.ts +4 -0
  297. package/dist/github/commit-references/index.d.ts.map +1 -0
  298. package/dist/github/commit-references/parser.d.ts +10 -0
  299. package/dist/github/commit-references/parser.d.ts.map +1 -0
  300. package/dist/github/commit-references/resolver.d.ts +14 -0
  301. package/dist/github/commit-references/resolver.d.ts.map +1 -0
  302. package/dist/github/github-integration/client.d.ts +29 -0
  303. package/dist/github/github-integration/client.d.ts.map +1 -0
  304. package/dist/github/github-integration/index.d.ts +83 -0
  305. package/dist/github/github-integration/index.d.ts.map +1 -0
  306. package/dist/github/github-integration/insights.d.ts +11 -0
  307. package/dist/github/github-integration/insights.d.ts.map +1 -0
  308. package/dist/github/github-integration/issues.d.ts +25 -0
  309. package/dist/github/github-integration/issues.d.ts.map +1 -0
  310. package/dist/github/github-integration/milestones.d.ts +20 -0
  311. package/dist/github/github-integration/milestones.d.ts.map +1 -0
  312. package/dist/github/github-integration/projects.d.ts +21 -0
  313. package/dist/github/github-integration/projects.d.ts.map +1 -0
  314. package/dist/github/github-integration/pull-requests.d.ts +16 -0
  315. package/dist/github/github-integration/pull-requests.d.ts.map +1 -0
  316. package/dist/github/github-integration/repository.d.ts +14 -0
  317. package/dist/github/github-integration/repository.d.ts.map +1 -0
  318. package/dist/github/github-integration/types.d.ts +77 -0
  319. package/dist/github/github-integration/types.d.ts.map +1 -0
  320. package/dist/handlers/prompts/adversarial-helpers.d.ts +75 -0
  321. package/dist/handlers/prompts/adversarial-helpers.d.ts.map +1 -0
  322. package/dist/handlers/prompts/adversarial.d.ts +13 -0
  323. package/dist/handlers/prompts/adversarial.d.ts.map +1 -0
  324. package/dist/handlers/prompts/analytics.d.ts +12 -0
  325. package/dist/handlers/prompts/analytics.d.ts.map +1 -0
  326. package/dist/handlers/prompts/cms-supervisor.d.ts +8 -0
  327. package/dist/handlers/prompts/cms-supervisor.d.ts.map +1 -0
  328. package/dist/handlers/prompts/git.d.ts +8 -0
  329. package/dist/handlers/prompts/git.d.ts.map +1 -0
  330. package/dist/handlers/prompts/github.d.ts +12 -0
  331. package/dist/handlers/prompts/github.d.ts.map +1 -0
  332. package/dist/handlers/prompts/index.d.ts +53 -0
  333. package/dist/handlers/prompts/index.d.ts.map +1 -0
  334. package/dist/handlers/prompts/load-briefing.d.ts +3 -0
  335. package/dist/handlers/prompts/load-briefing.d.ts.map +1 -0
  336. package/dist/handlers/prompts/optimizer.d.ts +8 -0
  337. package/dist/handlers/prompts/optimizer.d.ts.map +1 -0
  338. package/dist/handlers/prompts/workflow.d.ts +15 -0
  339. package/dist/handlers/prompts/workflow.d.ts.map +1 -0
  340. package/dist/handlers/resources/core/agent-context.d.ts +4 -0
  341. package/dist/handlers/resources/core/agent-context.d.ts.map +1 -0
  342. package/dist/handlers/resources/core/briefing/context-section.d.ts +57 -0
  343. package/dist/handlers/resources/core/briefing/context-section.d.ts.map +1 -0
  344. package/dist/handlers/resources/core/briefing/github-repo-and-kanban.d.ts +57 -0
  345. package/dist/handlers/resources/core/briefing/github-repo-and-kanban.d.ts.map +1 -0
  346. package/dist/handlers/resources/core/briefing/github-section.d.ts +88 -0
  347. package/dist/handlers/resources/core/briefing/github-section.d.ts.map +1 -0
  348. package/dist/handlers/resources/core/briefing/index.d.ts +11 -0
  349. package/dist/handlers/resources/core/briefing/index.d.ts.map +1 -0
  350. package/dist/handlers/resources/core/briefing/insights-section.d.ts +35 -0
  351. package/dist/handlers/resources/core/briefing/insights-section.d.ts.map +1 -0
  352. package/dist/handlers/resources/core/briefing/system-section.d.ts +85 -0
  353. package/dist/handlers/resources/core/briefing/system-section.d.ts.map +1 -0
  354. package/dist/handlers/resources/core/briefing/user-message.d.ts +46 -0
  355. package/dist/handlers/resources/core/briefing/user-message.d.ts.map +1 -0
  356. package/dist/handlers/resources/core/health.d.ts +3 -0
  357. package/dist/handlers/resources/core/health.d.ts.map +1 -0
  358. package/dist/handlers/resources/core/index.d.ts +6 -0
  359. package/dist/handlers/resources/core/index.d.ts.map +1 -0
  360. package/dist/handlers/resources/core/instructions.d.ts +3 -0
  361. package/dist/handlers/resources/core/instructions.d.ts.map +1 -0
  362. package/dist/handlers/resources/core/metrics-resource.d.ts +23 -0
  363. package/dist/handlers/resources/core/metrics-resource.d.ts.map +1 -0
  364. package/dist/handlers/resources/core/utilities.d.ts +7 -0
  365. package/dist/handlers/resources/core/utilities.d.ts.map +1 -0
  366. package/dist/handlers/resources/github.d.ts +11 -0
  367. package/dist/handlers/resources/github.d.ts.map +1 -0
  368. package/dist/handlers/resources/graph.d.ts +12 -0
  369. package/dist/handlers/resources/graph.d.ts.map +1 -0
  370. package/dist/handlers/resources/help.d.ts +39 -0
  371. package/dist/handlers/resources/help.d.ts.map +1 -0
  372. package/dist/handlers/resources/index.d.ts +37 -0
  373. package/dist/handlers/resources/index.d.ts.map +1 -0
  374. package/dist/handlers/resources/insights.d.ts +16 -0
  375. package/dist/handlers/resources/insights.d.ts.map +1 -0
  376. package/dist/handlers/resources/shared.d.ts +136 -0
  377. package/dist/handlers/resources/shared.d.ts.map +1 -0
  378. package/dist/handlers/resources/staleness.d.ts +3 -0
  379. package/dist/handlers/resources/staleness.d.ts.map +1 -0
  380. package/dist/handlers/resources/team.d.ts +6 -0
  381. package/dist/handlers/resources/team.d.ts.map +1 -0
  382. package/dist/handlers/resources/templates.d.ts +13 -0
  383. package/dist/handlers/resources/templates.d.ts.map +1 -0
  384. package/dist/handlers/resources/tools-catalog.d.ts +3 -0
  385. package/dist/handlers/resources/tools-catalog.d.ts.map +1 -0
  386. package/dist/handlers/tools/admin/batch-tools.d.ts +3 -0
  387. package/dist/handlers/tools/admin/batch-tools.d.ts.map +1 -0
  388. package/dist/handlers/tools/admin/core-tools.d.ts +3 -0
  389. package/dist/handlers/tools/admin/core-tools.d.ts.map +1 -0
  390. package/dist/handlers/tools/admin/index.d.ts +3 -0
  391. package/dist/handlers/tools/admin/index.d.ts.map +1 -0
  392. package/dist/handlers/tools/admin/lifecycle-tools.d.ts +3 -0
  393. package/dist/handlers/tools/admin/lifecycle-tools.d.ts.map +1 -0
  394. package/dist/handlers/tools/admin/misc-tools.d.ts +3 -0
  395. package/dist/handlers/tools/admin/misc-tools.d.ts.map +1 -0
  396. package/dist/handlers/tools/admin/project-tools.d.ts +3 -0
  397. package/dist/handlers/tools/admin/project-tools.d.ts.map +1 -0
  398. package/dist/handlers/tools/admin/schemas/crud-batch-schemas.d.ts +609 -0
  399. package/dist/handlers/tools/admin/schemas/crud-batch-schemas.d.ts.map +1 -0
  400. package/dist/handlers/tools/admin/schemas/project-and-ops-schemas.d.ts +136 -0
  401. package/dist/handlers/tools/admin/schemas/project-and-ops-schemas.d.ts.map +1 -0
  402. package/dist/handlers/tools/admin/schemas.d.ts +3 -0
  403. package/dist/handlers/tools/admin/schemas.d.ts.map +1 -0
  404. package/dist/handlers/tools/admin/update_configuration.d.ts +36 -0
  405. package/dist/handlers/tools/admin/update_configuration.d.ts.map +1 -0
  406. package/dist/handlers/tools/admin/vector-tools.d.ts +3 -0
  407. package/dist/handlers/tools/admin/vector-tools.d.ts.map +1 -0
  408. package/dist/handlers/tools/analytics.d.ts +8 -0
  409. package/dist/handlers/tools/analytics.d.ts.map +1 -0
  410. package/dist/handlers/tools/arg-interceptions.d.ts +51 -0
  411. package/dist/handlers/tools/arg-interceptions.d.ts.map +1 -0
  412. package/dist/handlers/tools/backup.d.ts +8 -0
  413. package/dist/handlers/tools/backup.d.ts.map +1 -0
  414. package/dist/handlers/tools/codemode/code-healer.d.ts +11 -0
  415. package/dist/handlers/tools/codemode/code-healer.d.ts.map +1 -0
  416. package/dist/handlers/tools/codemode/handler.d.ts +7 -0
  417. package/dist/handlers/tools/codemode/handler.d.ts.map +1 -0
  418. package/dist/handlers/tools/codemode/index.d.ts +2 -0
  419. package/dist/handlers/tools/codemode/index.d.ts.map +1 -0
  420. package/dist/handlers/tools/codemode/json-entry-recovery.d.ts +13 -0
  421. package/dist/handlers/tools/codemode/json-entry-recovery.d.ts.map +1 -0
  422. package/dist/handlers/tools/codemode/payload-synthesizer.d.ts +17 -0
  423. package/dist/handlers/tools/codemode/payload-synthesizer.d.ts.map +1 -0
  424. package/dist/handlers/tools/codemode/schemas.d.ts +77 -0
  425. package/dist/handlers/tools/codemode/schemas.d.ts.map +1 -0
  426. package/dist/handlers/tools/codemode/secure-dispatcher.d.ts +25 -0
  427. package/dist/handlers/tools/codemode/secure-dispatcher.d.ts.map +1 -0
  428. package/dist/handlers/tools/codemode/singleton-state.d.ts +11 -0
  429. package/dist/handlers/tools/codemode/singleton-state.d.ts.map +1 -0
  430. package/dist/handlers/tools/codemode/sql-recovery.d.ts +14 -0
  431. package/dist/handlers/tools/codemode/sql-recovery.d.ts.map +1 -0
  432. package/dist/handlers/tools/core/dummy-healing/alias-catalog.d.ts +21 -0
  433. package/dist/handlers/tools/core/dummy-healing/alias-catalog.d.ts.map +1 -0
  434. package/dist/handlers/tools/core/dummy-healing/entry-fallbacks.d.ts +4 -0
  435. package/dist/handlers/tools/core/dummy-healing/entry-fallbacks.d.ts.map +1 -0
  436. package/dist/handlers/tools/core/dummy-healing/fs-fallbacks.d.ts +19 -0
  437. package/dist/handlers/tools/core/dummy-healing/fs-fallbacks.d.ts.map +1 -0
  438. package/dist/handlers/tools/core/dummy-healing/index.d.ts +7 -0
  439. package/dist/handlers/tools/core/dummy-healing/index.d.ts.map +1 -0
  440. package/dist/handlers/tools/core/dummy-healing/mcp-fallbacks.d.ts +12 -0
  441. package/dist/handlers/tools/core/dummy-healing/mcp-fallbacks.d.ts.map +1 -0
  442. package/dist/handlers/tools/core/dummy-healing.d.ts +2 -0
  443. package/dist/handlers/tools/core/dummy-healing.d.ts.map +1 -0
  444. package/dist/handlers/tools/core/index.d.ts +5 -0
  445. package/dist/handlers/tools/core/index.d.ts.map +1 -0
  446. package/dist/handlers/tools/core/schemas.d.ts +417 -0
  447. package/dist/handlers/tools/core/schemas.d.ts.map +1 -0
  448. package/dist/handlers/tools/core/staleness-tools.d.ts +33 -0
  449. package/dist/handlers/tools/core/staleness-tools.d.ts.map +1 -0
  450. package/dist/handlers/tools/core/tools.d.ts +3 -0
  451. package/dist/handlers/tools/core/tools.d.ts.map +1 -0
  452. package/dist/handlers/tools/error-fields-mixin.d.ts +10 -0
  453. package/dist/handlers/tools/error-fields-mixin.d.ts.map +1 -0
  454. package/dist/handlers/tools/git.d.ts +62 -0
  455. package/dist/handlers/tools/git.d.ts.map +1 -0
  456. package/dist/handlers/tools/github/close-issue-tool.d.ts +6 -0
  457. package/dist/handlers/tools/github/close-issue-tool.d.ts.map +1 -0
  458. package/dist/handlers/tools/github/copilot-tools.d.ts +8 -0
  459. package/dist/handlers/tools/github/copilot-tools.d.ts.map +1 -0
  460. package/dist/handlers/tools/github/create-issue-tool.d.ts +6 -0
  461. package/dist/handlers/tools/github/create-issue-tool.d.ts.map +1 -0
  462. package/dist/handlers/tools/github/helpers.d.ts +38 -0
  463. package/dist/handlers/tools/github/helpers.d.ts.map +1 -0
  464. package/dist/handlers/tools/github/insights-tools.d.ts +8 -0
  465. package/dist/handlers/tools/github/insights-tools.d.ts.map +1 -0
  466. package/dist/handlers/tools/github/issue-tools.d.ts +11 -0
  467. package/dist/handlers/tools/github/issue-tools.d.ts.map +1 -0
  468. package/dist/handlers/tools/github/kanban-tools.d.ts +8 -0
  469. package/dist/handlers/tools/github/kanban-tools.d.ts.map +1 -0
  470. package/dist/handlers/tools/github/milestone-tools.d.ts +9 -0
  471. package/dist/handlers/tools/github/milestone-tools.d.ts.map +1 -0
  472. package/dist/handlers/tools/github/mutation-tools.d.ts +12 -0
  473. package/dist/handlers/tools/github/mutation-tools.d.ts.map +1 -0
  474. package/dist/handlers/tools/github/read-tools.d.ts +8 -0
  475. package/dist/handlers/tools/github/read-tools.d.ts.map +1 -0
  476. package/dist/handlers/tools/github/schemas.d.ts +823 -0
  477. package/dist/handlers/tools/github/schemas.d.ts.map +1 -0
  478. package/dist/handlers/tools/github.d.ts +15 -0
  479. package/dist/handlers/tools/github.d.ts.map +1 -0
  480. package/dist/handlers/tools/index.d.ts +29 -0
  481. package/dist/handlers/tools/index.d.ts.map +1 -0
  482. package/dist/handlers/tools/io/index.d.ts +2 -0
  483. package/dist/handlers/tools/io/index.d.ts.map +1 -0
  484. package/dist/handlers/tools/io/schemas.d.ts +291 -0
  485. package/dist/handlers/tools/io/schemas.d.ts.map +1 -0
  486. package/dist/handlers/tools/io/tools.d.ts +3 -0
  487. package/dist/handlers/tools/io/tools.d.ts.map +1 -0
  488. package/dist/handlers/tools/relationships.d.ts +8 -0
  489. package/dist/handlers/tools/relationships.d.ts.map +1 -0
  490. package/dist/handlers/tools/schemas/constants-and-primitives.d.ts +53 -0
  491. package/dist/handlers/tools/schemas/constants-and-primitives.d.ts.map +1 -0
  492. package/dist/handlers/tools/schemas/hallucination-healer.d.ts +8 -0
  493. package/dist/handlers/tools/schemas/hallucination-healer.d.ts.map +1 -0
  494. package/dist/handlers/tools/schemas/output-schemas.d.ts +247 -0
  495. package/dist/handlers/tools/schemas/output-schemas.d.ts.map +1 -0
  496. package/dist/handlers/tools/schemas.d.ts +7 -0
  497. package/dist/handlers/tools/schemas.d.ts.map +1 -0
  498. package/dist/handlers/tools/search/auto.d.ts +38 -0
  499. package/dist/handlers/tools/search/auto.d.ts.map +1 -0
  500. package/dist/handlers/tools/search/cross-team.d.ts +132 -0
  501. package/dist/handlers/tools/search/cross-team.d.ts.map +1 -0
  502. package/dist/handlers/tools/search/date-range-search.d.ts +3 -0
  503. package/dist/handlers/tools/search/date-range-search.d.ts.map +1 -0
  504. package/dist/handlers/tools/search/fts.d.ts +50 -0
  505. package/dist/handlers/tools/search/fts.d.ts.map +1 -0
  506. package/dist/handlers/tools/search/helpers.d.ts +52 -0
  507. package/dist/handlers/tools/search/helpers.d.ts.map +1 -0
  508. package/dist/handlers/tools/search/hybrid.d.ts +45 -0
  509. package/dist/handlers/tools/search/hybrid.d.ts.map +1 -0
  510. package/dist/handlers/tools/search/index.d.ts +3 -0
  511. package/dist/handlers/tools/search/index.d.ts.map +1 -0
  512. package/dist/handlers/tools/search/misc-tools.d.ts +3 -0
  513. package/dist/handlers/tools/search/misc-tools.d.ts.map +1 -0
  514. package/dist/handlers/tools/search/schemas.d.ts +352 -0
  515. package/dist/handlers/tools/search/schemas.d.ts.map +1 -0
  516. package/dist/handlers/tools/search/search-entries.d.ts +3 -0
  517. package/dist/handlers/tools/search/search-entries.d.ts.map +1 -0
  518. package/dist/handlers/tools/search/semantic-search.d.ts +3 -0
  519. package/dist/handlers/tools/search/semantic-search.d.ts.map +1 -0
  520. package/dist/handlers/tools/team/admin-tools/batch.d.ts +8 -0
  521. package/dist/handlers/tools/team/admin-tools/batch.d.ts.map +1 -0
  522. package/dist/handlers/tools/team/admin-tools/crud.d.ts +8 -0
  523. package/dist/handlers/tools/team/admin-tools/crud.d.ts.map +1 -0
  524. package/dist/handlers/tools/team/admin-tools/index.d.ts +9 -0
  525. package/dist/handlers/tools/team/admin-tools/index.d.ts.map +1 -0
  526. package/dist/handlers/tools/team/alias-tools.d.ts +3 -0
  527. package/dist/handlers/tools/team/alias-tools.d.ts.map +1 -0
  528. package/dist/handlers/tools/team/analytics-tools.d.ts +8 -0
  529. package/dist/handlers/tools/team/analytics-tools.d.ts.map +1 -0
  530. package/dist/handlers/tools/team/backup-tools.d.ts +8 -0
  531. package/dist/handlers/tools/team/backup-tools.d.ts.map +1 -0
  532. package/dist/handlers/tools/team/core-tools.d.ts +8 -0
  533. package/dist/handlers/tools/team/core-tools.d.ts.map +1 -0
  534. package/dist/handlers/tools/team/export-tools.d.ts +8 -0
  535. package/dist/handlers/tools/team/export-tools.d.ts.map +1 -0
  536. package/dist/handlers/tools/team/helpers.d.ts +30 -0
  537. package/dist/handlers/tools/team/helpers.d.ts.map +1 -0
  538. package/dist/handlers/tools/team/index.d.ts +31 -0
  539. package/dist/handlers/tools/team/index.d.ts.map +1 -0
  540. package/dist/handlers/tools/team/io-tools.d.ts +11 -0
  541. package/dist/handlers/tools/team/io-tools.d.ts.map +1 -0
  542. package/dist/handlers/tools/team/member-tools.d.ts +8 -0
  543. package/dist/handlers/tools/team/member-tools.d.ts.map +1 -0
  544. package/dist/handlers/tools/team/rbac.d.ts +28 -0
  545. package/dist/handlers/tools/team/rbac.d.ts.map +1 -0
  546. package/dist/handlers/tools/team/relationship-tools.d.ts +8 -0
  547. package/dist/handlers/tools/team/relationship-tools.d.ts.map +1 -0
  548. package/dist/handlers/tools/team/schemas/admin-batch-schemas.d.ts +618 -0
  549. package/dist/handlers/tools/team/schemas/admin-batch-schemas.d.ts.map +1 -0
  550. package/dist/handlers/tools/team/schemas/analytics-vector-schemas.d.ts +464 -0
  551. package/dist/handlers/tools/team/schemas/analytics-vector-schemas.d.ts.map +1 -0
  552. package/dist/handlers/tools/team/schemas/core-search-schemas.d.ts +525 -0
  553. package/dist/handlers/tools/team/schemas/core-search-schemas.d.ts.map +1 -0
  554. package/dist/handlers/tools/team/schemas/io-backup-schemas.d.ts +419 -0
  555. package/dist/handlers/tools/team/schemas/io-backup-schemas.d.ts.map +1 -0
  556. package/dist/handlers/tools/team/schemas.d.ts +8 -0
  557. package/dist/handlers/tools/team/schemas.d.ts.map +1 -0
  558. package/dist/handlers/tools/team/search-tools.d.ts +8 -0
  559. package/dist/handlers/tools/team/search-tools.d.ts.map +1 -0
  560. package/dist/handlers/tools/team/vector-tools.d.ts +9 -0
  561. package/dist/handlers/tools/team/vector-tools.d.ts.map +1 -0
  562. package/dist/index.d.ts +10 -823
  563. package/dist/index.d.ts.map +1 -0
  564. package/dist/index.js +7 -13
  565. package/dist/markdown/converters/index.d.ts +26 -0
  566. package/dist/markdown/converters/index.d.ts.map +1 -0
  567. package/dist/markdown/converters/logseq.d.ts +14 -0
  568. package/dist/markdown/converters/logseq.d.ts.map +1 -0
  569. package/dist/markdown/converters/notion.d.ts +14 -0
  570. package/dist/markdown/converters/notion.d.ts.map +1 -0
  571. package/dist/markdown/converters/obsidian.d.ts +14 -0
  572. package/dist/markdown/converters/obsidian.d.ts.map +1 -0
  573. package/dist/markdown/converters/utils.d.ts +4 -0
  574. package/dist/markdown/converters/utils.d.ts.map +1 -0
  575. package/dist/markdown/converters/yaml-parser.d.ts +32 -0
  576. package/dist/markdown/converters/yaml-parser.d.ts.map +1 -0
  577. package/dist/markdown/exporter.d.ts +54 -0
  578. package/dist/markdown/exporter.d.ts.map +1 -0
  579. package/dist/markdown/frontmatter.d.ts +47 -0
  580. package/dist/markdown/frontmatter.d.ts.map +1 -0
  581. package/dist/markdown/importer.d.ts +81 -0
  582. package/dist/markdown/importer.d.ts.map +1 -0
  583. package/dist/markdown/index.d.ts +14 -0
  584. package/dist/markdown/index.d.ts.map +1 -0
  585. package/dist/observability/index.d.ts +19 -0
  586. package/dist/observability/index.d.ts.map +1 -0
  587. package/dist/observability/interceptor.d.ts +27 -0
  588. package/dist/observability/interceptor.d.ts.map +1 -0
  589. package/dist/observability/latency-tracker.d.ts +47 -0
  590. package/dist/observability/latency-tracker.d.ts.map +1 -0
  591. package/dist/observability/metrics-server.d.ts +3 -0
  592. package/dist/observability/metrics-server.d.ts.map +1 -0
  593. package/dist/observability/metrics.d.ts +138 -0
  594. package/dist/observability/metrics.d.ts.map +1 -0
  595. package/dist/observability/prometheus-formatter.d.ts +14 -0
  596. package/dist/observability/prometheus-formatter.d.ts.map +1 -0
  597. package/dist/observability/token-estimator.d.ts +44 -0
  598. package/dist/observability/token-estimator.d.ts.map +1 -0
  599. package/dist/security-utils-P4P6A2DG.js +2 -0
  600. package/dist/server/auto-prune.d.ts +48 -0
  601. package/dist/server/auto-prune.d.ts.map +1 -0
  602. package/dist/server/digest-reporter.d.ts +16 -0
  603. package/dist/server/digest-reporter.d.ts.map +1 -0
  604. package/dist/server/mcp-server/core.d.ts +3 -0
  605. package/dist/server/mcp-server/core.d.ts.map +1 -0
  606. package/dist/server/mcp-server/index.d.ts +4 -0
  607. package/dist/server/mcp-server/index.d.ts.map +1 -0
  608. package/dist/server/mcp-server/initialization.d.ts +13 -0
  609. package/dist/server/mcp-server/initialization.d.ts.map +1 -0
  610. package/dist/server/mcp-server/tool-registration/call-interceptor.d.ts +6 -0
  611. package/dist/server/mcp-server/tool-registration/call-interceptor.d.ts.map +1 -0
  612. package/dist/server/mcp-server/tool-registration/index.d.ts +4 -0
  613. package/dist/server/mcp-server/tool-registration/index.d.ts.map +1 -0
  614. package/dist/server/mcp-server/tool-registration/list-interceptor.d.ts +4 -0
  615. package/dist/server/mcp-server/tool-registration/list-interceptor.d.ts.map +1 -0
  616. package/dist/server/mcp-server/tool-registration/register-tools.d.ts +18 -0
  617. package/dist/server/mcp-server/tool-registration/register-tools.d.ts.map +1 -0
  618. package/dist/server/mcp-server/tool-registration.d.ts +2 -0
  619. package/dist/server/mcp-server/tool-registration.d.ts.map +1 -0
  620. package/dist/server/mcp-server/types.d.ts +78 -0
  621. package/dist/server/mcp-server/types.d.ts.map +1 -0
  622. package/dist/server/registration.d.ts +73 -0
  623. package/dist/server/registration.d.ts.map +1 -0
  624. package/dist/server/scheduler.d.ts +129 -0
  625. package/dist/server/scheduler.d.ts.map +1 -0
  626. package/dist/server/subscription-manager.d.ts +46 -0
  627. package/dist/server/subscription-manager.d.ts.map +1 -0
  628. package/dist/tools-BOQV7QD3.js +6 -0
  629. package/dist/transports/http/handlers.d.ts +25 -0
  630. package/dist/transports/http/handlers.d.ts.map +1 -0
  631. package/dist/transports/http/index.d.ts +8 -0
  632. package/dist/transports/http/index.d.ts.map +1 -0
  633. package/dist/transports/http/security.d.ts +43 -0
  634. package/dist/transports/http/security.d.ts.map +1 -0
  635. package/dist/transports/http/server/http-transport.d.ts +25 -0
  636. package/dist/transports/http/server/http-transport.d.ts.map +1 -0
  637. package/dist/transports/http/server/index.d.ts +4 -0
  638. package/dist/transports/http/server/index.d.ts.map +1 -0
  639. package/dist/transports/http/server/legacy-sse.d.ts +30 -0
  640. package/dist/transports/http/server/legacy-sse.d.ts.map +1 -0
  641. package/dist/transports/http/server/protocol-handlers.d.ts +9 -0
  642. package/dist/transports/http/server/protocol-handlers.d.ts.map +1 -0
  643. package/dist/transports/http/types.d.ts +95 -0
  644. package/dist/transports/http/types.d.ts.map +1 -0
  645. package/dist/types/auto-context.d.ts +44 -0
  646. package/dist/types/auto-context.d.ts.map +1 -0
  647. package/dist/types/entities.d.ts +180 -0
  648. package/dist/types/entities.d.ts.map +1 -0
  649. package/dist/types/error-types.d.ts +48 -0
  650. package/dist/types/error-types.d.ts.map +1 -0
  651. package/dist/types/errors.d.ts +108 -0
  652. package/dist/types/errors.d.ts.map +1 -0
  653. package/dist/types/filtering.d.ts +34 -0
  654. package/dist/types/filtering.d.ts.map +1 -0
  655. package/dist/types/github.d.ts +202 -0
  656. package/dist/types/github.d.ts.map +1 -0
  657. package/dist/types/index.d.ts +326 -0
  658. package/dist/types/index.d.ts.map +1 -0
  659. package/dist/utils/config-manager.d.ts +24 -0
  660. package/dist/utils/config-manager.d.ts.map +1 -0
  661. package/dist/utils/config-resolver.d.ts +41 -0
  662. package/dist/utils/config-resolver.d.ts.map +1 -0
  663. package/dist/utils/error-helpers.d.ts +38 -0
  664. package/dist/utils/error-helpers.d.ts.map +1 -0
  665. package/dist/utils/errors/error-response-fields.d.ts +28 -0
  666. package/dist/utils/errors/error-response-fields.d.ts.map +1 -0
  667. package/dist/utils/errors/suggestions.d.ts +29 -0
  668. package/dist/utils/errors/suggestions.d.ts.map +1 -0
  669. package/dist/utils/github-helpers.d.ts +12 -0
  670. package/dist/utils/github-helpers.d.ts.map +1 -0
  671. package/dist/utils/issue-logger.d.ts +10 -0
  672. package/dist/utils/issue-logger.d.ts.map +1 -0
  673. package/dist/utils/logger.d.ts +30 -0
  674. package/dist/utils/logger.d.ts.map +1 -0
  675. package/dist/utils/maintenance-lock.d.ts +34 -0
  676. package/dist/utils/maintenance-lock.d.ts.map +1 -0
  677. package/dist/utils/mcp-logger.d.ts +73 -0
  678. package/dist/utils/mcp-logger.d.ts.map +1 -0
  679. package/dist/utils/progress-utils.d.ts +53 -0
  680. package/dist/utils/progress-utils.d.ts.map +1 -0
  681. package/dist/utils/query-helpers.d.ts +43 -0
  682. package/dist/utils/query-helpers.d.ts.map +1 -0
  683. package/dist/utils/request-context.d.ts +9 -0
  684. package/dist/utils/request-context.d.ts.map +1 -0
  685. package/dist/utils/resource-annotations.d.ts +36 -0
  686. package/dist/utils/resource-annotations.d.ts.map +1 -0
  687. package/dist/utils/security-utils.d.ts +113 -0
  688. package/dist/utils/security-utils.d.ts.map +1 -0
  689. package/dist/utils/vector-index-helpers.d.ts +14 -0
  690. package/dist/utils/vector-index-helpers.d.ts.map +1 -0
  691. package/dist/utils/workspace-resolver.d.ts +40 -0
  692. package/dist/utils/workspace-resolver.d.ts.map +1 -0
  693. package/dist/vector/vector-search-manager/VectorSearchManagerProxy.d.ts +5 -0
  694. package/dist/vector/vector-search-manager/VectorSearchManagerProxy.d.ts.map +1 -0
  695. package/dist/vector/vector-search-manager/index.d.ts +3 -0
  696. package/dist/vector/vector-search-manager/index.d.ts.map +1 -0
  697. package/dist/vector/vector-search-manager/manager.d.ts +75 -0
  698. package/dist/vector/vector-search-manager/manager.d.ts.map +1 -0
  699. package/dist/vector/vector-search-manager/rebuild.d.ts +20 -0
  700. package/dist/vector/vector-search-manager/rebuild.d.ts.map +1 -0
  701. package/dist/vector/vector-search-manager/types.d.ts +12 -0
  702. package/dist/vector/vector-search-manager/types.d.ts.map +1 -0
  703. package/dist/vendor/lib-agent-exec/agent-exec.d.ts +2 -0
  704. package/dist/vendor/lib-agent-exec/agent-exec.d.ts.map +1 -0
  705. package/dist/vendor/lib-agent-exec/command-builder.d.ts +11 -0
  706. package/dist/vendor/lib-agent-exec/command-builder.d.ts.map +1 -0
  707. package/dist/vendor/lib-agent-exec/command-utils.d.ts +29 -0
  708. package/dist/vendor/lib-agent-exec/command-utils.d.ts.map +1 -0
  709. package/dist/vendor/lib-agent-exec/environment.d.ts +4 -0
  710. package/dist/vendor/lib-agent-exec/environment.d.ts.map +1 -0
  711. package/dist/vendor/lib-agent-exec/eval-healer.d.ts +15 -0
  712. package/dist/vendor/lib-agent-exec/eval-healer.d.ts.map +1 -0
  713. package/dist/vendor/lib-agent-exec/execution-engine.d.ts +4 -0
  714. package/dist/vendor/lib-agent-exec/execution-engine.d.ts.map +1 -0
  715. package/dist/vendor/lib-agent-exec/help.d.ts +3 -0
  716. package/dist/vendor/lib-agent-exec/help.d.ts.map +1 -0
  717. package/dist/vendor/lib-agent-exec/interceptors/cloud-cli-interceptor.d.ts +3 -0
  718. package/dist/vendor/lib-agent-exec/interceptors/cloud-cli-interceptor.d.ts.map +1 -0
  719. package/dist/vendor/lib-agent-exec/interceptors/docker-interceptor.d.ts +3 -0
  720. package/dist/vendor/lib-agent-exec/interceptors/docker-interceptor.d.ts.map +1 -0
  721. package/dist/vendor/lib-agent-exec/interceptors/git-interceptor.d.ts +3 -0
  722. package/dist/vendor/lib-agent-exec/interceptors/git-interceptor.d.ts.map +1 -0
  723. package/dist/vendor/lib-agent-exec/interceptors/index.d.ts +9 -0
  724. package/dist/vendor/lib-agent-exec/interceptors/index.d.ts.map +1 -0
  725. package/dist/vendor/lib-agent-exec/interceptors/mutating-interceptors.d.ts +7 -0
  726. package/dist/vendor/lib-agent-exec/interceptors/mutating-interceptors.d.ts.map +1 -0
  727. package/dist/vendor/lib-agent-exec/interceptors/package-manager-interceptor.d.ts +3 -0
  728. package/dist/vendor/lib-agent-exec/interceptors/package-manager-interceptor.d.ts.map +1 -0
  729. package/dist/vendor/lib-agent-exec/interceptors/repl-tui-interceptor.d.ts +3 -0
  730. package/dist/vendor/lib-agent-exec/interceptors/repl-tui-interceptor.d.ts.map +1 -0
  731. package/dist/vendor/lib-agent-exec/interceptors/search-interceptor.d.ts +15 -0
  732. package/dist/vendor/lib-agent-exec/interceptors/search-interceptor.d.ts.map +1 -0
  733. package/dist/vendor/lib-agent-exec/interceptors/structural-interceptors.d.ts +15 -0
  734. package/dist/vendor/lib-agent-exec/interceptors/structural-interceptors.d.ts.map +1 -0
  735. package/dist/vendor/lib-agent-exec/interceptors/system-interceptor.d.ts +3 -0
  736. package/dist/vendor/lib-agent-exec/interceptors/system-interceptor.d.ts.map +1 -0
  737. package/dist/vendor/lib-agent-exec/interceptors/types.d.ts +11 -0
  738. package/dist/vendor/lib-agent-exec/interceptors/types.d.ts.map +1 -0
  739. package/dist/vendor/lib-agent-exec/interceptors/utils.d.ts +5 -0
  740. package/dist/vendor/lib-agent-exec/interceptors/utils.d.ts.map +1 -0
  741. package/dist/vendor/lib-agent-exec/io-controller.d.ts +48 -0
  742. package/dist/vendor/lib-agent-exec/io-controller.d.ts.map +1 -0
  743. package/dist/vendor/lib-agent-exec/io-utils.d.ts +12 -0
  744. package/dist/vendor/lib-agent-exec/io-utils.d.ts.map +1 -0
  745. package/dist/vendor/lib-agent-exec/path-healer.d.ts +15 -0
  746. package/dist/vendor/lib-agent-exec/path-healer.d.ts.map +1 -0
  747. package/dist/vendor/lib-agent-exec/process-controller.d.ts +38 -0
  748. package/dist/vendor/lib-agent-exec/process-controller.d.ts.map +1 -0
  749. package/dist/vendor/lib-agent-exec/process-manager.d.ts +6 -0
  750. package/dist/vendor/lib-agent-exec/process-manager.d.ts.map +1 -0
  751. package/dist/vendor/lib-agent-exec/prompt-detector.d.ts +2 -0
  752. package/dist/vendor/lib-agent-exec/prompt-detector.d.ts.map +1 -0
  753. package/dist/vendor/lib-agent-exec/schema.d.ts +182 -0
  754. package/dist/vendor/lib-agent-exec/schema.d.ts.map +1 -0
  755. package/dist/vendor/lib-agent-exec/stream-manager.d.ts +20 -0
  756. package/dist/vendor/lib-agent-exec/stream-manager.d.ts.map +1 -0
  757. package/dist/vendor/lib-agent-exec/utils.d.ts +17 -0
  758. package/dist/vendor/lib-agent-exec/utils.d.ts.map +1 -0
  759. package/dist/vendor/lib-agent-exec/webhook-template.d.ts +2 -0
  760. package/dist/vendor/lib-agent-exec/webhook-template.d.ts.map +1 -0
  761. package/dist/vendor/lib-git-history/cache.d.ts +56 -0
  762. package/dist/vendor/lib-git-history/cache.d.ts.map +1 -0
  763. package/dist/vendor/lib-git-history/cli.d.ts +147 -0
  764. package/dist/vendor/lib-git-history/cli.d.ts.map +1 -0
  765. package/dist/vendor/lib-git-history/constants.d.ts +36 -0
  766. package/dist/vendor/lib-git-history/constants.d.ts.map +1 -0
  767. package/dist/vendor/lib-git-history/git-numstat.d.ts +7 -0
  768. package/dist/vendor/lib-git-history/git-numstat.d.ts.map +1 -0
  769. package/dist/vendor/lib-git-history/git-patch.d.ts +3 -0
  770. package/dist/vendor/lib-git-history/git-patch.d.ts.map +1 -0
  771. package/dist/vendor/lib-git-history/git-runner.d.ts +25 -0
  772. package/dist/vendor/lib-git-history/git-runner.d.ts.map +1 -0
  773. package/dist/vendor/lib-git-history/parser-batch.d.ts +5 -0
  774. package/dist/vendor/lib-git-history/parser-batch.d.ts.map +1 -0
  775. package/dist/vendor/lib-git-history/parser-metadata.d.ts +3 -0
  776. package/dist/vendor/lib-git-history/parser-metadata.d.ts.map +1 -0
  777. package/dist/vendor/lib-git-history/parser-record.d.ts +37 -0
  778. package/dist/vendor/lib-git-history/parser-record.d.ts.map +1 -0
  779. package/dist/vendor/lib-git-history/parser-utils.d.ts +22 -0
  780. package/dist/vendor/lib-git-history/parser-utils.d.ts.map +1 -0
  781. package/dist/vendor/lib-git-history/parser.d.ts +4 -0
  782. package/dist/vendor/lib-git-history/parser.d.ts.map +1 -0
  783. package/dist/vendor/lib-git-history/schema.d.ts +131 -0
  784. package/dist/vendor/lib-git-history/schema.d.ts.map +1 -0
  785. package/dist/version.d.ts +10 -0
  786. package/dist/version.d.ts.map +1 -0
  787. package/dist/worker-script.js +2937 -342
  788. package/package.json +130 -106
  789. package/skills/memory-journal-mcp/SKILL.md +41 -0
  790. package/dist/chunk-6OHRCNYW.js +0 -3231
  791. package/dist/chunk-JFMITANR.js +0 -5168
  792. package/dist/chunk-UHSO65A4.js +0 -8937
  793. package/dist/chunk-V3UTFQQK.js +0 -5538
  794. package/dist/cli.d.ts +0 -2
  795. package/dist/resources-IJVKDFGS.js +0 -2
  796. package/dist/tools-44DGXE3V.js +0 -2
  797. package/dist/worker-script.d.ts +0 -2
  798. package/skills/README.md +0 -121
  799. package/skills/adversarial-performance/SKILL.md +0 -139
  800. package/skills/adversarial-performance/references/audit-categories.md +0 -462
  801. package/skills/adversarial-performance/references/copilot-performance-prompts.md +0 -44
  802. package/skills/adversarial-performance/references/copilot-usage.md +0 -16
  803. package/skills/adversarial-performance/references/feedback-loop.md +0 -177
  804. package/skills/adversarial-performance/references/multi-pass-performance-protocol.md +0 -398
  805. package/skills/adversarial-planner/SKILL.md +0 -89
  806. package/skills/adversarial-planner/references/copilot-integration.md +0 -83
  807. package/skills/adversarial-planner/references/copilot-usage.md +0 -16
  808. package/skills/adversarial-planner/references/feedback-loop.md +0 -148
  809. package/skills/adversarial-planner/references/multi-pass-protocol.md +0 -229
  810. package/skills/adversarial-security/SKILL.md +0 -149
  811. package/skills/adversarial-security/references/adversarial-base-protocol.md +0 -44
  812. package/skills/adversarial-security/references/audit-categories.md +0 -723
  813. package/skills/adversarial-security/references/copilot-security-prompts.md +0 -142
  814. package/skills/adversarial-security/references/copilot-usage.md +0 -16
  815. package/skills/adversarial-security/references/feedback-loop.md +0 -206
  816. package/skills/adversarial-security/references/journal-opt-out.md +0 -7
  817. package/skills/adversarial-security/references/multi-pass-security-protocol.md +0 -403
  818. package/skills/adversarial-skill-audit/SKILL.md +0 -118
  819. package/skills/adversarial-skill-audit/references/audit-categories.md +0 -308
  820. package/skills/adversarial-skill-audit/references/copilot-skill-prompts.md +0 -68
  821. package/skills/adversarial-skill-audit/references/copilot-usage.md +0 -16
  822. package/skills/adversarial-skill-audit/references/feedback-loop.md +0 -155
  823. package/skills/adversarial-skill-audit/references/multi-pass-skill-protocol.md +0 -367
  824. package/skills/adversarial-skill-audit/scripts/check-skills.ps1 +0 -48
  825. package/skills/adversarial-skill-audit/scripts/run-copilot.ps1 +0 -52
  826. package/skills/adversarial-workflow-audit/SKILL.md +0 -82
  827. package/skills/adversarial-workflow-audit/references/audit-categories.md +0 -28
  828. package/skills/adversarial-workflow-audit/references/copilot-usage.md +0 -16
  829. package/skills/adversarial-workflow-audit/scripts/check-workflows.ps1 +0 -24
  830. package/skills/agents-sdk/SKILL.md +0 -220
  831. package/skills/agents-sdk/references/callable.md +0 -92
  832. package/skills/agents-sdk/references/codemode.md +0 -209
  833. package/skills/agents-sdk/references/email.md +0 -144
  834. package/skills/agents-sdk/references/mcp/SKILL.md +0 -65
  835. package/skills/agents-sdk/references/mcp/code-mode-reference.md +0 -245
  836. package/skills/agents-sdk/references/mcp/oauth-reference.md +0 -359
  837. package/skills/agents-sdk/references/mcp/references/architecture-reference.md +0 -208
  838. package/skills/agents-sdk/references/mcp/references/cloudflare-quickstart.md +0 -156
  839. package/skills/agents-sdk/references/mcp/references/error-handling.md +0 -343
  840. package/skills/agents-sdk/references/mcp/references/http-security.md +0 -164
  841. package/skills/agents-sdk/references/mcp/references/implementation-guide.md +0 -507
  842. package/skills/agents-sdk/references/mcp/references/testing-reference.md +0 -171
  843. package/skills/agents-sdk/references/mcp.md +0 -157
  844. package/skills/agents-sdk/references/state-scheduling.md +0 -164
  845. package/skills/agents-sdk/references/streaming-chat.md +0 -168
  846. package/skills/agents-sdk/references/workflows.md +0 -136
  847. package/skills/auth-identity/SKILL.md +0 -48
  848. package/skills/autonomous-dev/SKILL.md +0 -79
  849. package/skills/autonomous-dev/references/workflow_orchestration.md +0 -22
  850. package/skills/aws/SKILL.md +0 -39
  851. package/skills/azure/SKILL.md +0 -38
  852. package/skills/bin/sync.js +0 -56
  853. package/skills/biome/SKILL.md +0 -59
  854. package/skills/bun/SKILL.md +0 -162
  855. package/skills/cloudflare/SKILL.md +0 -37
  856. package/skills/cloudflare/references/agents-sdk/README.md +0 -95
  857. package/skills/cloudflare/references/agents-sdk/api.md +0 -195
  858. package/skills/cloudflare/references/agents-sdk/configuration.md +0 -178
  859. package/skills/cloudflare/references/agents-sdk/gotchas.md +0 -173
  860. package/skills/cloudflare/references/agents-sdk/patterns.md +0 -215
  861. package/skills/cloudflare/references/ai-gateway/README.md +0 -176
  862. package/skills/cloudflare/references/ai-gateway/configuration.md +0 -117
  863. package/skills/cloudflare/references/ai-gateway/dynamic-routing.md +0 -88
  864. package/skills/cloudflare/references/ai-gateway/features.md +0 -96
  865. package/skills/cloudflare/references/ai-gateway/sdk-integration.md +0 -110
  866. package/skills/cloudflare/references/ai-gateway/troubleshooting.md +0 -90
  867. package/skills/cloudflare/references/ai-search/README.md +0 -145
  868. package/skills/cloudflare/references/ai-search/api.md +0 -87
  869. package/skills/cloudflare/references/ai-search/configuration.md +0 -91
  870. package/skills/cloudflare/references/ai-search/gotchas.md +0 -92
  871. package/skills/cloudflare/references/ai-search/patterns.md +0 -87
  872. package/skills/cloudflare/references/analytics-engine/README.md +0 -96
  873. package/skills/cloudflare/references/analytics-engine/api.md +0 -112
  874. package/skills/cloudflare/references/analytics-engine/configuration.md +0 -107
  875. package/skills/cloudflare/references/analytics-engine/gotchas.md +0 -87
  876. package/skills/cloudflare/references/analytics-engine/patterns.md +0 -83
  877. package/skills/cloudflare/references/api/README.md +0 -66
  878. package/skills/cloudflare/references/api/api.md +0 -205
  879. package/skills/cloudflare/references/api/configuration.md +0 -158
  880. package/skills/cloudflare/references/api/gotchas.md +0 -231
  881. package/skills/cloudflare/references/api/patterns.md +0 -208
  882. package/skills/cloudflare/references/api-shield/README.md +0 -44
  883. package/skills/cloudflare/references/api-shield/api.md +0 -153
  884. package/skills/cloudflare/references/api-shield/configuration.md +0 -210
  885. package/skills/cloudflare/references/api-shield/gotchas.md +0 -132
  886. package/skills/cloudflare/references/api-shield/patterns.md +0 -185
  887. package/skills/cloudflare/references/argo-smart-routing/README.md +0 -96
  888. package/skills/cloudflare/references/argo-smart-routing/api.md +0 -253
  889. package/skills/cloudflare/references/argo-smart-routing/configuration.md +0 -205
  890. package/skills/cloudflare/references/argo-smart-routing/gotchas.md +0 -115
  891. package/skills/cloudflare/references/argo-smart-routing/patterns.md +0 -107
  892. package/skills/cloudflare/references/bindings/README.md +0 -127
  893. package/skills/cloudflare/references/bindings/api.md +0 -214
  894. package/skills/cloudflare/references/bindings/configuration.md +0 -200
  895. package/skills/cloudflare/references/bindings/gotchas.md +0 -210
  896. package/skills/cloudflare/references/bindings/patterns.md +0 -205
  897. package/skills/cloudflare/references/bot-management/README.md +0 -95
  898. package/skills/cloudflare/references/bot-management/api.md +0 -175
  899. package/skills/cloudflare/references/bot-management/configuration.md +0 -175
  900. package/skills/cloudflare/references/bot-management/gotchas.md +0 -116
  901. package/skills/cloudflare/references/bot-management/patterns.md +0 -181
  902. package/skills/cloudflare/references/browser-rendering/README.md +0 -84
  903. package/skills/cloudflare/references/browser-rendering/api.md +0 -108
  904. package/skills/cloudflare/references/browser-rendering/configuration.md +0 -78
  905. package/skills/cloudflare/references/browser-rendering/gotchas.md +0 -91
  906. package/skills/cloudflare/references/browser-rendering/patterns.md +0 -93
  907. package/skills/cloudflare/references/c3/README.md +0 -111
  908. package/skills/cloudflare/references/c3/api.md +0 -71
  909. package/skills/cloudflare/references/c3/configuration.md +0 -85
  910. package/skills/cloudflare/references/c3/gotchas.md +0 -97
  911. package/skills/cloudflare/references/c3/patterns.md +0 -84
  912. package/skills/cloudflare/references/cache-reserve/README.md +0 -150
  913. package/skills/cloudflare/references/cache-reserve/api.md +0 -184
  914. package/skills/cloudflare/references/cache-reserve/configuration.md +0 -170
  915. package/skills/cloudflare/references/cache-reserve/gotchas.md +0 -136
  916. package/skills/cloudflare/references/cache-reserve/patterns.md +0 -197
  917. package/skills/cloudflare/references/containers/README.md +0 -87
  918. package/skills/cloudflare/references/containers/api.md +0 -197
  919. package/skills/cloudflare/references/containers/configuration.md +0 -191
  920. package/skills/cloudflare/references/containers/gotchas.md +0 -182
  921. package/skills/cloudflare/references/containers/patterns.md +0 -204
  922. package/skills/cloudflare/references/cron-triggers/README.md +0 -101
  923. package/skills/cloudflare/references/cron-triggers/api.md +0 -224
  924. package/skills/cloudflare/references/cron-triggers/configuration.md +0 -190
  925. package/skills/cloudflare/references/cron-triggers/gotchas.md +0 -207
  926. package/skills/cloudflare/references/cron-triggers/patterns.md +0 -274
  927. package/skills/cloudflare/references/d1/README.md +0 -137
  928. package/skills/cloudflare/references/d1/api.md +0 -213
  929. package/skills/cloudflare/references/d1/configuration.md +0 -198
  930. package/skills/cloudflare/references/d1/gotchas.md +0 -98
  931. package/skills/cloudflare/references/d1/patterns.md +0 -240
  932. package/skills/cloudflare/references/ddos/README.md +0 -42
  933. package/skills/cloudflare/references/ddos/api.md +0 -158
  934. package/skills/cloudflare/references/ddos/configuration.md +0 -94
  935. package/skills/cloudflare/references/ddos/gotchas.md +0 -114
  936. package/skills/cloudflare/references/ddos/patterns.md +0 -220
  937. package/skills/cloudflare/references/decision-trees.md +0 -95
  938. package/skills/cloudflare/references/do-storage/README.md +0 -79
  939. package/skills/cloudflare/references/do-storage/api.md +0 -107
  940. package/skills/cloudflare/references/do-storage/configuration.md +0 -114
  941. package/skills/cloudflare/references/do-storage/gotchas.md +0 -153
  942. package/skills/cloudflare/references/do-storage/patterns.md +0 -210
  943. package/skills/cloudflare/references/do-storage/testing.md +0 -186
  944. package/skills/cloudflare/references/durable-objects/README.md +0 -194
  945. package/skills/cloudflare/references/durable-objects/api.md +0 -205
  946. package/skills/cloudflare/references/durable-objects/configuration.md +0 -160
  947. package/skills/cloudflare/references/durable-objects/gotchas.md +0 -200
  948. package/skills/cloudflare/references/durable-objects/patterns.md +0 -205
  949. package/skills/cloudflare/references/email-routing/README.md +0 -89
  950. package/skills/cloudflare/references/email-routing/api.md +0 -192
  951. package/skills/cloudflare/references/email-routing/configuration.md +0 -187
  952. package/skills/cloudflare/references/email-routing/gotchas.md +0 -203
  953. package/skills/cloudflare/references/email-routing/patterns.md +0 -241
  954. package/skills/cloudflare/references/email-workers/README.md +0 -153
  955. package/skills/cloudflare/references/email-workers/api.md +0 -227
  956. package/skills/cloudflare/references/email-workers/configuration.md +0 -115
  957. package/skills/cloudflare/references/email-workers/gotchas.md +0 -133
  958. package/skills/cloudflare/references/email-workers/patterns.md +0 -108
  959. package/skills/cloudflare/references/graphql-api/README.md +0 -147
  960. package/skills/cloudflare/references/graphql-api/api.md +0 -175
  961. package/skills/cloudflare/references/graphql-api/configuration.md +0 -151
  962. package/skills/cloudflare/references/graphql-api/gotchas.md +0 -111
  963. package/skills/cloudflare/references/graphql-api/patterns.md +0 -276
  964. package/skills/cloudflare/references/hyperdrive/README.md +0 -84
  965. package/skills/cloudflare/references/hyperdrive/api.md +0 -149
  966. package/skills/cloudflare/references/hyperdrive/configuration.md +0 -166
  967. package/skills/cloudflare/references/hyperdrive/gotchas.md +0 -77
  968. package/skills/cloudflare/references/hyperdrive/patterns.md +0 -203
  969. package/skills/cloudflare/references/images/README.md +0 -65
  970. package/skills/cloudflare/references/images/api.md +0 -101
  971. package/skills/cloudflare/references/images/configuration.md +0 -206
  972. package/skills/cloudflare/references/images/gotchas.md +0 -106
  973. package/skills/cloudflare/references/images/patterns.md +0 -126
  974. package/skills/cloudflare/references/kv/README.md +0 -90
  975. package/skills/cloudflare/references/kv/api.md +0 -163
  976. package/skills/cloudflare/references/kv/configuration.md +0 -148
  977. package/skills/cloudflare/references/kv/gotchas.md +0 -133
  978. package/skills/cloudflare/references/kv/patterns.md +0 -195
  979. package/skills/cloudflare/references/miniflare/README.md +0 -113
  980. package/skills/cloudflare/references/miniflare/api.md +0 -204
  981. package/skills/cloudflare/references/miniflare/configuration.md +0 -174
  982. package/skills/cloudflare/references/miniflare/gotchas.md +0 -179
  983. package/skills/cloudflare/references/miniflare/patterns.md +0 -187
  984. package/skills/cloudflare/references/network-interconnect/README.md +0 -104
  985. package/skills/cloudflare/references/network-interconnect/api.md +0 -220
  986. package/skills/cloudflare/references/network-interconnect/configuration.md +0 -123
  987. package/skills/cloudflare/references/network-interconnect/gotchas.md +0 -175
  988. package/skills/cloudflare/references/network-interconnect/patterns.md +0 -174
  989. package/skills/cloudflare/references/observability/README.md +0 -93
  990. package/skills/cloudflare/references/observability/api.md +0 -168
  991. package/skills/cloudflare/references/observability/configuration.md +0 -178
  992. package/skills/cloudflare/references/observability/gotchas.md +0 -125
  993. package/skills/cloudflare/references/observability/patterns.md +0 -105
  994. package/skills/cloudflare/references/pages/README.md +0 -92
  995. package/skills/cloudflare/references/pages/api.md +0 -205
  996. package/skills/cloudflare/references/pages/configuration.md +0 -216
  997. package/skills/cloudflare/references/pages/gotchas.md +0 -218
  998. package/skills/cloudflare/references/pages/patterns.md +0 -215
  999. package/skills/cloudflare/references/pages-functions/README.md +0 -104
  1000. package/skills/cloudflare/references/pages-functions/api.md +0 -159
  1001. package/skills/cloudflare/references/pages-functions/configuration.md +0 -130
  1002. package/skills/cloudflare/references/pages-functions/gotchas.md +0 -102
  1003. package/skills/cloudflare/references/pages-functions/patterns.md +0 -148
  1004. package/skills/cloudflare/references/pipelines/README.md +0 -109
  1005. package/skills/cloudflare/references/pipelines/api.md +0 -214
  1006. package/skills/cloudflare/references/pipelines/configuration.md +0 -98
  1007. package/skills/cloudflare/references/pipelines/gotchas.md +0 -84
  1008. package/skills/cloudflare/references/pipelines/patterns.md +0 -87
  1009. package/skills/cloudflare/references/product-index.md +0 -112
  1010. package/skills/cloudflare/references/pulumi/README.md +0 -113
  1011. package/skills/cloudflare/references/pulumi/api.md +0 -230
  1012. package/skills/cloudflare/references/pulumi/configuration.md +0 -213
  1013. package/skills/cloudflare/references/pulumi/gotchas.md +0 -205
  1014. package/skills/cloudflare/references/pulumi/patterns.md +0 -260
  1015. package/skills/cloudflare/references/queues/README.md +0 -99
  1016. package/skills/cloudflare/references/queues/api.md +0 -211
  1017. package/skills/cloudflare/references/queues/configuration.md +0 -151
  1018. package/skills/cloudflare/references/queues/gotchas.md +0 -210
  1019. package/skills/cloudflare/references/queues/patterns.md +0 -220
  1020. package/skills/cloudflare/references/r2/README.md +0 -97
  1021. package/skills/cloudflare/references/r2/api.md +0 -235
  1022. package/skills/cloudflare/references/r2/configuration.md +0 -176
  1023. package/skills/cloudflare/references/r2/gotchas.md +0 -190
  1024. package/skills/cloudflare/references/r2/patterns.md +0 -203
  1025. package/skills/cloudflare/references/r2-data-catalog/README.md +0 -157
  1026. package/skills/cloudflare/references/r2-data-catalog/api.md +0 -199
  1027. package/skills/cloudflare/references/r2-data-catalog/configuration.md +0 -205
  1028. package/skills/cloudflare/references/r2-data-catalog/gotchas.md +0 -170
  1029. package/skills/cloudflare/references/r2-data-catalog/patterns.md +0 -191
  1030. package/skills/cloudflare/references/r2-sql/README.md +0 -138
  1031. package/skills/cloudflare/references/r2-sql/SKILL.md.backup +0 -512
  1032. package/skills/cloudflare/references/r2-sql/api.md +0 -159
  1033. package/skills/cloudflare/references/r2-sql/configuration.md +0 -152
  1034. package/skills/cloudflare/references/r2-sql/gotchas.md +0 -228
  1035. package/skills/cloudflare/references/r2-sql/patterns.md +0 -230
  1036. package/skills/cloudflare/references/realtime-sfu/README.md +0 -66
  1037. package/skills/cloudflare/references/realtime-sfu/api.md +0 -164
  1038. package/skills/cloudflare/references/realtime-sfu/configuration.md +0 -141
  1039. package/skills/cloudflare/references/realtime-sfu/gotchas.md +0 -138
  1040. package/skills/cloudflare/references/realtime-sfu/patterns.md +0 -187
  1041. package/skills/cloudflare/references/realtimekit/README.md +0 -118
  1042. package/skills/cloudflare/references/realtimekit/api.md +0 -234
  1043. package/skills/cloudflare/references/realtimekit/configuration.md +0 -226
  1044. package/skills/cloudflare/references/realtimekit/gotchas.md +0 -206
  1045. package/skills/cloudflare/references/realtimekit/patterns.md +0 -240
  1046. package/skills/cloudflare/references/sandbox/README.md +0 -104
  1047. package/skills/cloudflare/references/sandbox/api.md +0 -200
  1048. package/skills/cloudflare/references/sandbox/configuration.md +0 -154
  1049. package/skills/cloudflare/references/sandbox/gotchas.md +0 -201
  1050. package/skills/cloudflare/references/sandbox/patterns.md +0 -195
  1051. package/skills/cloudflare/references/secrets-store/README.md +0 -77
  1052. package/skills/cloudflare/references/secrets-store/api.md +0 -199
  1053. package/skills/cloudflare/references/secrets-store/configuration.md +0 -187
  1054. package/skills/cloudflare/references/secrets-store/gotchas.md +0 -97
  1055. package/skills/cloudflare/references/secrets-store/patterns.md +0 -218
  1056. package/skills/cloudflare/references/smart-placement/README.md +0 -143
  1057. package/skills/cloudflare/references/smart-placement/api.md +0 -192
  1058. package/skills/cloudflare/references/smart-placement/configuration.md +0 -202
  1059. package/skills/cloudflare/references/smart-placement/gotchas.md +0 -180
  1060. package/skills/cloudflare/references/smart-placement/patterns.md +0 -190
  1061. package/skills/cloudflare/references/snippets/README.md +0 -74
  1062. package/skills/cloudflare/references/snippets/api.md +0 -214
  1063. package/skills/cloudflare/references/snippets/configuration.md +0 -239
  1064. package/skills/cloudflare/references/snippets/gotchas.md +0 -104
  1065. package/skills/cloudflare/references/snippets/patterns.md +0 -135
  1066. package/skills/cloudflare/references/spectrum/README.md +0 -52
  1067. package/skills/cloudflare/references/spectrum/api.md +0 -184
  1068. package/skills/cloudflare/references/spectrum/configuration.md +0 -203
  1069. package/skills/cloudflare/references/spectrum/gotchas.md +0 -155
  1070. package/skills/cloudflare/references/spectrum/patterns.md +0 -206
  1071. package/skills/cloudflare/references/static-assets/README.md +0 -65
  1072. package/skills/cloudflare/references/static-assets/api.md +0 -201
  1073. package/skills/cloudflare/references/static-assets/configuration.md +0 -186
  1074. package/skills/cloudflare/references/static-assets/gotchas.md +0 -164
  1075. package/skills/cloudflare/references/static-assets/patterns.md +0 -189
  1076. package/skills/cloudflare/references/stream/README.md +0 -123
  1077. package/skills/cloudflare/references/stream/api-live.md +0 -202
  1078. package/skills/cloudflare/references/stream/api.md +0 -206
  1079. package/skills/cloudflare/references/stream/configuration.md +0 -151
  1080. package/skills/cloudflare/references/stream/gotchas.md +0 -139
  1081. package/skills/cloudflare/references/stream/patterns.md +0 -217
  1082. package/skills/cloudflare/references/tail-workers/README.md +0 -92
  1083. package/skills/cloudflare/references/tail-workers/api.md +0 -203
  1084. package/skills/cloudflare/references/tail-workers/configuration.md +0 -178
  1085. package/skills/cloudflare/references/tail-workers/gotchas.md +0 -206
  1086. package/skills/cloudflare/references/tail-workers/patterns.md +0 -190
  1087. package/skills/cloudflare/references/terraform/README.md +0 -100
  1088. package/skills/cloudflare/references/terraform/api.md +0 -178
  1089. package/skills/cloudflare/references/terraform/configuration.md +0 -197
  1090. package/skills/cloudflare/references/terraform/gotchas.md +0 -150
  1091. package/skills/cloudflare/references/terraform/patterns.md +0 -174
  1092. package/skills/cloudflare/references/tunnel/README.md +0 -137
  1093. package/skills/cloudflare/references/tunnel/api.md +0 -205
  1094. package/skills/cloudflare/references/tunnel/configuration.md +0 -163
  1095. package/skills/cloudflare/references/tunnel/gotchas.md +0 -159
  1096. package/skills/cloudflare/references/tunnel/networking.md +0 -174
  1097. package/skills/cloudflare/references/tunnel/patterns.md +0 -199
  1098. package/skills/cloudflare/references/turn/README.md +0 -86
  1099. package/skills/cloudflare/references/turn/api.md +0 -236
  1100. package/skills/cloudflare/references/turn/configuration.md +0 -181
  1101. package/skills/cloudflare/references/turn/gotchas.md +0 -236
  1102. package/skills/cloudflare/references/turn/patterns.md +0 -228
  1103. package/skills/cloudflare/references/turnstile/README.md +0 -102
  1104. package/skills/cloudflare/references/turnstile/api.md +0 -253
  1105. package/skills/cloudflare/references/turnstile/configuration.md +0 -242
  1106. package/skills/cloudflare/references/turnstile/gotchas.md +0 -253
  1107. package/skills/cloudflare/references/turnstile/patterns.md +0 -195
  1108. package/skills/cloudflare/references/vectorize/README.md +0 -133
  1109. package/skills/cloudflare/references/vectorize/api.md +0 -89
  1110. package/skills/cloudflare/references/vectorize/configuration.md +0 -91
  1111. package/skills/cloudflare/references/vectorize/gotchas.md +0 -83
  1112. package/skills/cloudflare/references/vectorize/patterns.md +0 -92
  1113. package/skills/cloudflare/references/waf/README.md +0 -125
  1114. package/skills/cloudflare/references/waf/api.md +0 -203
  1115. package/skills/cloudflare/references/waf/configuration.md +0 -215
  1116. package/skills/cloudflare/references/waf/gotchas.md +0 -208
  1117. package/skills/cloudflare/references/waf/patterns.md +0 -236
  1118. package/skills/cloudflare/references/web-analytics/README.md +0 -149
  1119. package/skills/cloudflare/references/web-analytics/configuration.md +0 -81
  1120. package/skills/cloudflare/references/web-analytics/gotchas.md +0 -86
  1121. package/skills/cloudflare/references/web-analytics/integration.md +0 -63
  1122. package/skills/cloudflare/references/web-analytics/patterns.md +0 -98
  1123. package/skills/cloudflare/references/workerd/README.md +0 -85
  1124. package/skills/cloudflare/references/workerd/api.md +0 -219
  1125. package/skills/cloudflare/references/workerd/configuration.md +0 -200
  1126. package/skills/cloudflare/references/workerd/gotchas.md +0 -151
  1127. package/skills/cloudflare/references/workerd/patterns.md +0 -205
  1128. package/skills/cloudflare/references/workers/README.md +0 -110
  1129. package/skills/cloudflare/references/workers/api.md +0 -197
  1130. package/skills/cloudflare/references/workers/configuration.md +0 -184
  1131. package/skills/cloudflare/references/workers/frameworks.md +0 -200
  1132. package/skills/cloudflare/references/workers/gotchas.md +0 -145
  1133. package/skills/cloudflare/references/workers/patterns.md +0 -220
  1134. package/skills/cloudflare/references/workers-ai/README.md +0 -206
  1135. package/skills/cloudflare/references/workers-ai/api.md +0 -115
  1136. package/skills/cloudflare/references/workers-ai/configuration.md +0 -98
  1137. package/skills/cloudflare/references/workers-ai/gotchas.md +0 -130
  1138. package/skills/cloudflare/references/workers-ai/patterns.md +0 -122
  1139. package/skills/cloudflare/references/workers-for-platforms/README.md +0 -95
  1140. package/skills/cloudflare/references/workers-for-platforms/api.md +0 -212
  1141. package/skills/cloudflare/references/workers-for-platforms/configuration.md +0 -178
  1142. package/skills/cloudflare/references/workers-for-platforms/gotchas.md +0 -134
  1143. package/skills/cloudflare/references/workers-for-platforms/patterns.md +0 -210
  1144. package/skills/cloudflare/references/workers-playground/README.md +0 -131
  1145. package/skills/cloudflare/references/workers-playground/api.md +0 -101
  1146. package/skills/cloudflare/references/workers-playground/configuration.md +0 -169
  1147. package/skills/cloudflare/references/workers-playground/gotchas.md +0 -88
  1148. package/skills/cloudflare/references/workers-playground/patterns.md +0 -134
  1149. package/skills/cloudflare/references/workers-vpc/README.md +0 -130
  1150. package/skills/cloudflare/references/workers-vpc/api.md +0 -196
  1151. package/skills/cloudflare/references/workers-vpc/configuration.md +0 -151
  1152. package/skills/cloudflare/references/workers-vpc/gotchas.md +0 -171
  1153. package/skills/cloudflare/references/workers-vpc/patterns.md +0 -235
  1154. package/skills/cloudflare/references/workflows/README.md +0 -72
  1155. package/skills/cloudflare/references/workflows/api.md +0 -237
  1156. package/skills/cloudflare/references/workflows/configuration.md +0 -158
  1157. package/skills/cloudflare/references/workflows/gotchas.md +0 -97
  1158. package/skills/cloudflare/references/workflows/patterns.md +0 -245
  1159. package/skills/cloudflare/references/wrangler/README.md +0 -143
  1160. package/skills/cloudflare/references/wrangler/api.md +0 -188
  1161. package/skills/cloudflare/references/wrangler/configuration.md +0 -198
  1162. package/skills/cloudflare/references/wrangler/gotchas.md +0 -212
  1163. package/skills/cloudflare/references/wrangler/patterns.md +0 -211
  1164. package/skills/cloudflare/references/zaraz/IMPLEMENTATION_SUMMARY.md +0 -131
  1165. package/skills/cloudflare/references/zaraz/README.md +0 -114
  1166. package/skills/cloudflare/references/zaraz/api.md +0 -118
  1167. package/skills/cloudflare/references/zaraz/configuration.md +0 -94
  1168. package/skills/cloudflare/references/zaraz/gotchas.md +0 -88
  1169. package/skills/cloudflare/references/zaraz/patterns.md +0 -77
  1170. package/skills/docker/SKILL.md +0 -168
  1171. package/skills/docker/references/advanced-examples.md +0 -71
  1172. package/skills/docker/references/templates.md +0 -34
  1173. package/skills/docs-marketer/SKILL.md +0 -178
  1174. package/skills/docs-marketer/references/audit-categories.md +0 -328
  1175. package/skills/docs-marketer/references/copilot-docs-prompts.md +0 -88
  1176. package/skills/docs-marketer/references/copilot-usage.md +0 -16
  1177. package/skills/docs-marketer/references/feedback-loop.md +0 -155
  1178. package/skills/docs-marketer/references/multi-pass-docs-protocol.md +0 -410
  1179. package/skills/drizzle-orm/SKILL.md +0 -82
  1180. package/skills/durable-objects/SKILL.md +0 -167
  1181. package/skills/durable-objects/references/advanced_features.md +0 -29
  1182. package/skills/durable-objects/references/rules.md +0 -300
  1183. package/skills/durable-objects/references/testing.md +0 -261
  1184. package/skills/durable-objects/references/workers.md +0 -336
  1185. package/skills/gcp/SKILL.md +0 -37
  1186. package/skills/github-actions/SKILL.md +0 -262
  1187. package/skills/github-actions/references/templates.md +0 -65
  1188. package/skills/github-commander/SKILL.md +0 -144
  1189. package/skills/github-commander/config/project-config.example.md +0 -125
  1190. package/skills/github-commander/workflows/code-quality-audit.md +0 -82
  1191. package/skills/github-commander/workflows/copilot-audit.md +0 -50
  1192. package/skills/github-commander/workflows/issue-triage.md +0 -248
  1193. package/skills/github-commander/workflows/milestone-sprint.md +0 -89
  1194. package/skills/github-commander/workflows/perf-audit.md +0 -144
  1195. package/skills/github-commander/workflows/pr-review.md +0 -129
  1196. package/skills/github-commander/workflows/roadmap-kickoff.md +0 -79
  1197. package/skills/github-commander/workflows/security-audit.md +0 -170
  1198. package/skills/github-commander/workflows/update-deps.md +0 -109
  1199. package/skills/github-copilot-cli/SKILL.md +0 -59
  1200. package/skills/github-repo-setup/SKILL.md +0 -136
  1201. package/skills/github-repo-setup/references/community-standards.md +0 -136
  1202. package/skills/github-repo-setup/references/github-automation.md +0 -490
  1203. package/skills/github-repo-setup/references/inline-templates.md +0 -205
  1204. package/skills/github-repo-setup/references/project-config.md +0 -320
  1205. package/skills/gitlab/SKILL.md +0 -120
  1206. package/skills/gitlab/package-lock.json +0 -392
  1207. package/skills/gitlab/package.json +0 -14
  1208. package/skills/gitlab/scripts/gitlab-client.ts +0 -125
  1209. package/skills/gitlab/scripts/gitlab-helper.ts +0 -80
  1210. package/skills/golang/SKILL.md +0 -61
  1211. package/skills/graphql/SKILL.md +0 -30
  1212. package/skills/hono/SKILL.md +0 -82
  1213. package/skills/journal-optimizer/SKILL.md +0 -206
  1214. package/skills/journal-optimizer/references/optimizer-scripts.md +0 -169
  1215. package/skills/llm-app-engineering/SKILL.md +0 -18
  1216. package/skills/monorepo/SKILL.md +0 -56
  1217. package/skills/multi-agent-orchestration/SKILL.md +0 -14
  1218. package/skills/mysql/SKILL.md +0 -34
  1219. package/skills/next-best-practices/README.md +0 -127
  1220. package/skills/next-best-practices/SKILL.md +0 -86
  1221. package/skills/next-best-practices/metadata.json +0 -17
  1222. package/skills/next-best-practices/references/cache-components-examples.md +0 -234
  1223. package/skills/next-best-practices/references/cache-components.md +0 -210
  1224. package/skills/next-best-practices/references/upgrade-decision-tree.md +0 -33
  1225. package/skills/next-best-practices/references/upgrade.md +0 -43
  1226. package/skills/next-best-practices/rules/_sections.md +0 -46
  1227. package/skills/next-best-practices/rules/_template.md +0 -28
  1228. package/skills/next-best-practices/rules/advanced-event-handler-refs.md +0 -55
  1229. package/skills/next-best-practices/rules/advanced-init-once.md +0 -42
  1230. package/skills/next-best-practices/rules/advanced-use-latest.md +0 -39
  1231. package/skills/next-best-practices/rules/async-api-routes.md +0 -35
  1232. package/skills/next-best-practices/rules/async-defer-await.md +0 -80
  1233. package/skills/next-best-practices/rules/async-dependencies.md +0 -48
  1234. package/skills/next-best-practices/rules/async-parallel.md +0 -24
  1235. package/skills/next-best-practices/rules/async-suspense-boundaries.md +0 -99
  1236. package/skills/next-best-practices/rules/bundle-barrel-imports.md +0 -59
  1237. package/skills/next-best-practices/rules/bundle-conditional.md +0 -37
  1238. package/skills/next-best-practices/rules/bundle-defer-third-party.md +0 -48
  1239. package/skills/next-best-practices/rules/bundle-dynamic-imports.md +0 -34
  1240. package/skills/next-best-practices/rules/bundle-preload.md +0 -44
  1241. package/skills/next-best-practices/rules/client-event-listeners.md +0 -78
  1242. package/skills/next-best-practices/rules/client-localstorage-schema.md +0 -74
  1243. package/skills/next-best-practices/rules/client-passive-event-listeners.md +0 -48
  1244. package/skills/next-best-practices/rules/client-swr-dedup.md +0 -56
  1245. package/skills/next-best-practices/rules/js-batch-dom-css.md +0 -110
  1246. package/skills/next-best-practices/rules/js-cache-function-results.md +0 -80
  1247. package/skills/next-best-practices/rules/js-cache-property-access.md +0 -28
  1248. package/skills/next-best-practices/rules/js-cache-storage.md +0 -68
  1249. package/skills/next-best-practices/rules/js-combine-iterations.md +0 -32
  1250. package/skills/next-best-practices/rules/js-early-exit.md +0 -50
  1251. package/skills/next-best-practices/rules/js-hoist-regexp.md +0 -45
  1252. package/skills/next-best-practices/rules/js-index-maps.md +0 -37
  1253. package/skills/next-best-practices/rules/js-length-check-first.md +0 -50
  1254. package/skills/next-best-practices/rules/js-min-max-loop.md +0 -82
  1255. package/skills/next-best-practices/rules/js-set-map-lookups.md +0 -24
  1256. package/skills/next-best-practices/rules/js-tosorted-immutable.md +0 -57
  1257. package/skills/next-best-practices/rules/rendering-activity.md +0 -24
  1258. package/skills/next-best-practices/rules/rendering-animate-svg-wrapper.md +0 -38
  1259. package/skills/next-best-practices/rules/rendering-conditional-render.md +0 -32
  1260. package/skills/next-best-practices/rules/rendering-content-visibility.md +0 -38
  1261. package/skills/next-best-practices/rules/rendering-hoist-jsx.md +0 -36
  1262. package/skills/next-best-practices/rules/rendering-hydration-no-flicker.md +0 -72
  1263. package/skills/next-best-practices/rules/rendering-hydration-suppress-warning.md +0 -26
  1264. package/skills/next-best-practices/rules/rendering-svg-precision.md +0 -28
  1265. package/skills/next-best-practices/rules/rendering-usetransition-loading.md +0 -75
  1266. package/skills/next-best-practices/rules/rerender-defer-reads.md +0 -39
  1267. package/skills/next-best-practices/rules/rerender-dependencies.md +0 -45
  1268. package/skills/next-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
  1269. package/skills/next-best-practices/rules/rerender-derived-state.md +0 -29
  1270. package/skills/next-best-practices/rules/rerender-functional-setstate.md +0 -77
  1271. package/skills/next-best-practices/rules/rerender-lazy-state-init.md +0 -56
  1272. package/skills/next-best-practices/rules/rerender-memo-with-default-value.md +0 -36
  1273. package/skills/next-best-practices/rules/rerender-memo.md +0 -44
  1274. package/skills/next-best-practices/rules/rerender-move-effect-to-event.md +0 -45
  1275. package/skills/next-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
  1276. package/skills/next-best-practices/rules/rerender-transitions.md +0 -40
  1277. package/skills/next-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
  1278. package/skills/next-best-practices/rules/server-after-nonblocking.md +0 -73
  1279. package/skills/next-best-practices/rules/server-auth-actions.md +0 -96
  1280. package/skills/next-best-practices/rules/server-cache-lru.md +0 -41
  1281. package/skills/next-best-practices/rules/server-cache-react.md +0 -76
  1282. package/skills/next-best-practices/rules/server-dedup-props.md +0 -65
  1283. package/skills/next-best-practices/rules/server-parallel-fetching.md +0 -83
  1284. package/skills/next-best-practices/rules/server-serialization.md +0 -38
  1285. package/skills/next-cache-components/SKILL.md +0 -441
  1286. package/skills/next-upgrade/SKILL.md +0 -43
  1287. package/skills/next-upgrade/references/decision-tree.md +0 -33
  1288. package/skills/nodejs/SKILL.md +0 -46
  1289. package/skills/opentelemetry/SKILL.md +0 -62
  1290. package/skills/package.json +0 -89
  1291. package/skills/playwright-standard/SKILL.md +0 -53
  1292. package/skills/playwright-standard/examples/fixtures.ts +0 -66
  1293. package/skills/playwright-standard/examples/type-stubs.d.ts +0 -10
  1294. package/skills/playwright-standard/references/advanced-scenarios.md +0 -59
  1295. package/skills/playwright-standard/references/infrastructure.md +0 -43
  1296. package/skills/playwright-standard/references/locators.md +0 -7
  1297. package/skills/postgres/SKILL.md +0 -38
  1298. package/skills/python/SKILL.md +0 -195
  1299. package/skills/python/references/advanced-patterns.md +0 -37
  1300. package/skills/python/references/config-templates.md +0 -48
  1301. package/skills/rag-pipelines/SKILL.md +0 -14
  1302. package/skills/redis/SKILL.md +0 -31
  1303. package/skills/render/SKILL.md +0 -35
  1304. package/skills/rust/SKILL.md +0 -76
  1305. package/skills/rust/references/borrow-checker.md +0 -13
  1306. package/skills/rust/references/ecosystem.md +0 -11
  1307. package/skills/sandbox-sdk/SKILL.md +0 -186
  1308. package/skills/sandbox-sdk/references/api-quick-ref.md +0 -113
  1309. package/skills/sandbox-sdk/references/examples.md +0 -52
  1310. package/skills/shadcn-ui/SKILL.md +0 -37
  1311. package/skills/skill-builder/SKILL.md +0 -56
  1312. package/skills/skill-builder/checklist.md +0 -65
  1313. package/skills/skill-builder/references/tutorial.md +0 -457
  1314. package/skills/sqlite/SKILL.md +0 -49
  1315. package/skills/table.md +0 -59
  1316. package/skills/tailwind-css/SKILL.md +0 -219
  1317. package/skills/tailwind-css/references/component-patterns.md +0 -52
  1318. package/skills/trpc/SKILL.md +0 -56
  1319. package/skills/typescript/SKILL.md +0 -50
  1320. package/skills/typescript/assets/eslint-template.js +0 -102
  1321. package/skills/typescript/assets/tsconfig-template.json +0 -45
  1322. package/skills/typescript/references/enterprise-patterns.md +0 -531
  1323. package/skills/typescript/references/generics.md +0 -493
  1324. package/skills/typescript/references/nestjs-integration.md +0 -579
  1325. package/skills/typescript/references/react-integration.md +0 -616
  1326. package/skills/typescript/references/toolchain.md +0 -547
  1327. package/skills/typescript/references/tutorial.md +0 -453
  1328. package/skills/typescript/references/type-system.md +0 -481
  1329. package/skills/vercel-ai-sdk/SKILL.md +0 -48
  1330. package/skills/vitest-standard/SKILL.md +0 -76
  1331. package/skills/vitest-standard/examples/service-mock.ts +0 -60
  1332. package/skills/vitest-standard/examples/tdd-calculator.ts +0 -41
  1333. package/skills/vitest-standard/examples/type-stubs.d.ts +0 -18
  1334. package/skills/vitest-standard/references/assertions.md +0 -11
  1335. package/skills/vitest-standard/references/async-and-errors.md +0 -58
  1336. package/skills/vitest-standard/references/coverage-and-config.md +0 -53
  1337. package/skills/vitest-standard/references/mocking.md +0 -61
  1338. package/skills/vitest-standard/references/tdd-patterns.md +0 -60
  1339. package/skills/web-perf/SKILL.md +0 -207
  1340. package/skills/workers-best-practices/SKILL.md +0 -120
  1341. package/skills/workers-best-practices/references/anti-patterns.md +0 -18
  1342. package/skills/workers-best-practices/references/review.md +0 -174
  1343. package/skills/workers-best-practices/references/rules.md +0 -485
  1344. package/skills/wrangler/SKILL.md +0 -43
  1345. package/skills/wrangler/references/cli-commands.md +0 -861
  1346. package/skills/zod/SKILL.md +0 -48
package/README.md CHANGED
@@ -2,78 +2,82 @@
2
2
 
3
3
  <!-- mcp-name: io.github.neverinfamous/memory-journal-mcp -->
4
4
 
5
- [![GitHub](https://img.shields.io/badge/GitHub-neverinfamous/memory--journal--mcp-blue?logo=github)](https://github.com/neverinfamous/memory-journal-mcp)
6
- [![npm](https://img.shields.io/npm/v/memory-journal-mcp)](https://www.npmjs.com/package/memory-journal-mcp)
7
- [![Docker Pulls](https://img.shields.io/docker/pulls/writenotenow/memory-journal-mcp)](https://hub.docker.com/r/writenotenow/memory-journal-mcp)
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
9
- ![Status](https://img.shields.io/badge/status-Production%2FStable-brightgreen)
10
- [![MCP Registry](https://img.shields.io/badge/MCP_Registry-Published-green)](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.neverinfamous/memory-journal-mcp)
11
- [![Security](https://img.shields.io/badge/Security-Enhanced-green.svg)](SECURITY.md)
12
- [![TypeScript](https://img.shields.io/badge/TypeScript-Strict-blue.svg)](https://github.com/neverinfamous/memory-journal-mcp)
13
- ![Coverage](https://img.shields.io/badge/Coverage-90.53%25-green.svg)
14
- ![Tests](https://img.shields.io/badge/Tests-1782_passed-brightgreen.svg)
15
- ![E2E Tests](https://img.shields.io/badge/E2E_Tests-391_passed-brightgreen.svg)
16
- [![CI](https://github.com/neverinfamous/memory-journal-mcp/actions/workflows/gatekeeper.yml/badge.svg)](https://github.com/neverinfamous/memory-journal-mcp/actions/workflows/gatekeeper.yml)
5
+ [![GitHub](https://img.shields.io/badge/GitHub-neverinfamous/memory--journal--mcp-blue?logo=github)](https://github.com/neverinfamous/memory-journal-mcp) [![npm](https://img.shields.io/npm/v/memory-journal-mcp)](https://www.npmjs.com/package/memory-journal-mcp) [![Docker Pulls](https://img.shields.io/docker/pulls/writenotenow/memory-journal-mcp)](https://hub.docker.com/r/writenotenow/memory-journal-mcp)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![Status](https://img.shields.io/badge/status-Production%2FStable-brightgreen)
7
+ [![MCP Registry](https://img.shields.io/badge/MCP_Registry-Published-green)](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.neverinfamous/memory-journal-mcp) [![Security](https://img.shields.io/badge/Security-Enhanced-green.svg)](SECURITY.md) [![TypeScript](https://img.shields.io/badge/TypeScript-Strict-blue.svg)](https://github.com/neverinfamous/memory-journal-mcp)
8
+ ![Coverage](https://img.shields.io/badge/Coverage-85.22%25-green.svg) ![E2E](https://img.shields.io/badge/E2E-450%20passing%20%C2%B7%200%20skipped-blue.svg) ![Tests](https://img.shields.io/badge/Tests-1782_passed-brightgreen.svg) [![Benchmarks](https://img.shields.io/badge/Benchmarks-11_passed-brightgreen.svg)](https://github.com/neverinfamous/memory-journal-mcp/wiki/Performance) [![CI](https://github.com/neverinfamous/memory-journal-mcp/actions/workflows/gatekeeper.yml/badge.svg)](https://github.com/neverinfamous/memory-journal-mcp/actions/workflows/gatekeeper.yml)
17
9
 
18
10
  **[πŸ“š Full Documentation (Wiki)](https://github.com/neverinfamous/memory-journal-mcp/wiki)** β€’ **[Changelog](CHANGELOG.md)** β€’ **[Security](SECURITY.md)** β€’ **[Release Article](https://adamic.tech/articles/memory-journal-mcp-server)**
19
11
 
20
- 🎯 **AI Context + Project Intelligence:** Bridge disconnected AI sessions with persistent project memory and **automatic session handoff** β€” with full GitHub workflow integration.
12
+ > [!TIP]
13
+ > **Value Proposition**
14
+ > Bridge disconnected AI sessions seamlessly. Enable persistent project memory instantly. Automate handoffs with robust GitHub integration. Eliminate AI amnesia today.
21
15
 
22
16
  **πŸš€ Quick Deploy:**
23
17
 
24
- - **[npm Package](https://www.npmjs.com/package/memory-journal-mcp)** - `npm install -g memory-journal-mcp`
18
+ - **[npm Package](https://www.npmjs.com/package/memory-journal-mcp)** - `npm install -g memory-journal-mcp` (or `pnpm add -g memory-journal-mcp`)
25
19
  - **[Docker Hub](https://hub.docker.com/r/writenotenow/memory-journal-mcp)** - Alpine-based with full semantic search
26
20
 
27
- ## 🧠 Stop Experiencing AI Amnesia
21
+ ## 🧠 Eliminate AI Amnesia
28
22
 
29
- When managing large projects with AI assistance, you face a critical challenge:
23
+ Large projects face a critical challenge. You lose context between sessions.
30
24
 
31
- - **Thread Amnesia** - Each new AI conversation starts from zero, unaware of previous work.
32
- - **Lost Context** - Decisions, implementations, and learnings scattered across disconnected threads.
33
- - **Repeated Work** - AI suggests solutions you've already tried or abandoned.
34
- - **Context Overload** - Manually copying project history into every new conversation.
25
+ - **Stop Thread Amnesia** - AI conversations start fresh. They ignore previous work.
26
+ - **Retain Deep Context** - Decisions and code scatter across threads; Memory Journal preserves them automatically.
27
+ - **End Repeated Work** - AI repeats failed solutions; persistent history tracks every prior attempt.
28
+ - **Prevent Context Overload** - Manual history copying wastes tokens; dynamic briefings deliver targeted context automatically.
35
29
 
36
- Memory Journal solves this by acting as your project's **long-term memory**, bridging the gap between fragmented AI sessions.
30
+ Memory Journal builds your project's long-term memory. It acts as a **Project Context Graph** for AI-assisted engineering. It bridges **human workflows** (Issues, PRs, Kanban, Milestones) with **agent execution** (Git, tests, decisions).
37
31
 
38
32
  ---
39
33
 
40
34
  **Experience true context-aware development:**
41
35
 
42
36
  - _"Why did we choose SQLite over Postgres for this service last month?"_ (Semantic search)
43
- - _"Run the `/issue-triage` workflow on the top priority ticket in the Kanban board."_ (GitHub operations)
37
+ - _"Run the `/issue-commander` (`triage` workflow) on the top priority ticket in the Kanban board."_ (GitHub operations)
44
38
  - _"Who has been touching the auth module recently, and what's our team collaboration density?"_ (Team analytics)
45
- - _"I'm stuck on this database error. Raise a 'blocker' flag for @sarah so her agent sees it next session."_ (Hush Protocol)
46
- - _"Close issue #42 and log an entry explaining our architectural fix for the parsing bug."_ (Context lifecycles)
39
+ - _"Commit the changes and automatically generate a structured journal entry using the \`--journal\` wrapper flag."_ (Automated lifecycles)
47
40
  - _"Draw a visual graph showing how my last 10 architectural decisions relate to each other."_ (Knowledge graph)
48
41
 
49
- **[See complete examples & prompts β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Examples)**
42
+ **Comprehensive access to internal state via resources (`memory://briefing`, `memory://workflows`, `memory://rules`, `memory://health`, `memory://help`, `memory://staleness`, GitHub status/milestones, team stats, and metrics/latency). Dynamic repo variants also support cross-repo targeting (like `memory://briefing/{+repo}` or `memory://kanban/{+repo}/{project_number}`).** **[Resources documentation β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Resources)**
50
43
 
51
44
  ---
52
45
 
53
46
  ## 🎯 What Sets Us Apart
54
47
 
55
- **73 MCP Tools** Β· **19 Workflow Prompts** Β· **46 Resources** Β· **10 Tool Groups** Β· **Code Mode** Β· **GitHub Commander** (Issue Triage, PR Review, Milestone Sprints, Security/Quality/Perf Audits) Β· **GitHub Integration** (Issues, PRs, Actions, Kanban, Milestones, Insights) Β· **Team Collaboration** (Shared DB, Vector Search, Cross-Project Insights, Hush Protocol Flags)
56
-
57
- | Feature | Description |
58
- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
59
- | **Session Intelligence** | Agents auto-query project history, create entries at checkpoints, and hand off context between sessions via `/session-summary` and `team-session-summary` |
60
- | **GitHub Integration** | 18 tools for Issues, PRs, Actions, Kanban, Milestones (%), Copilot Reviews, and 14-day Insights |
61
- | **Dynamic Project Routing** | Seamlessly switch contexts and access CI/Issue tracking across multiple repositories using a single server instance via `PROJECT_REGISTRY` |
62
- | **Knowledge Graphs** | 8 relationship types linking specs β†’ implementations β†’ tests β†’ PRs with Mermaid visualization |
63
- | **Hybrid Search** | Reciprocal Rank Fusion combining FTS5 keywords, semantic vector similarity, auto-heuristics, and date-range filters |
64
- | **Code Mode** | Execute multi-step operations in a trusted-admin execution environment β€” up to 90% token savings via `mj.*` API |
65
- | **Adaptive Session Briefing** | `memory://briefing` dynamically adapts to deliver real-time workspace context β€” including live CI health, local Git status, dynamic path routing, and unreleased changes β€” in ~350 optimized tokens |
66
- | **Reports & Analytics** | Standups, retrospectives, PR summaries, digests, period analyses, and milestone tracking |
67
- | **Hush Protocol (Flags)** | Replace Slack/Teams noise with structured, actionable, and searchable AI flags (blockers, reviews) that automatically surface in session briefings |
68
- | **Team Collaboration** | 28 tools with full parity β€” CRUD, vector search, relationship graphs, cross-project insights, author attribution, Hush Protocol flags (list, update, reopen, analytics) |
69
- | **Data Interoperability** | Bidirectional Markdown roundtripping, unified IO namespace, and schema-safe JSON exports with hard bounds-checked path traversal defenses |
70
- | **Backup & Restore** | One-command backup/restore with automated scheduling, retention policies, and safety-net auto-backups |
71
- | **Auto-Pruning** | Smart garbage collection based on significance scores to soft-delete low-value entries and maintain vector relevance over long-running projects |
72
- | **Security & Transport** | OAuth 2.1 (RFC 9728/8414, JWT/JWKS, scopes), Streamable HTTP + SSE, rate limiting, CORS, SQL injection prevention, non-root Docker |
73
- | **Structured Error Handling** | Every tool returns `{success, error, code, category, suggestion, recoverable}` β€” agents get classification, remediation hints, and recoverability signals |
74
- | **Agent Collaboration** | IDE agents and Copilot share context; review findings become searchable knowledge; agents suggest reusable rules and skills ([setup](docs/copilot-setup.md)) |
75
- | **Native Agent Skills** | Bundled foundational coding paradigms (`autonomous-dev`, `python`, `docker`, `tailwind-css`, `golang`, `playwright-standard`, etc.) establishing permanent AI behavior and architecture rules |
76
- | **GitHub Commander** | Pipeline skills for issue triage, PR reviews, sprint milestones, and security/quality/performance audits with journal trails ([docs](skills/github-commander/SKILL.md)) |
48
+ **MCP Tools** Β· **Workflow Prompts** Β· **Resources** Β· **Tool Groups** Β· **Code Mode** Β· **GitHub Commander** (Issue Triage, PR Review, Milestone Sprints, Security/Quality/Perf Audits) Β· **GitHub Integration** (Issues, PRs, Actions, Kanban, Milestones, Insights) Β· **Team Collaboration** (Shared DB, Vector Search, Cross-Project Insights)
49
+
50
+ | Feature | Description |
51
+ | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52
+ | **Session Intelligence** | Auto-query project history, create checkpoints, and hand off context between sessions automatically. |
53
+ | **GitHub Integration** | Manage Issues, PRs, Actions, Kanban boards, and milestones. Access Copilot reviews and repository insights. |
54
+ | **Dynamic Project Routing** | Switch contexts seamlessly and access CI/Issue tracking across multiple repositories from a single server instance. |
55
+ | **Knowledge Graphs** | Link specifications, implementations, tests, and PRs visually using Mermaid diagrams. |
56
+ | **Hybrid Search** | Find entries instantly using a blend of keyword, semantic, and date-range searches. |
57
+ | **Code Mode** | Execute multi-step operations efficiently in a sandboxed environment to reduce token usage. |
58
+ | **Adaptive Session Briefing** | Deliver real-time workspace context dynamically, including live CI health, local Git status, and unreleased changes. |
59
+ | **Reports & Analytics** | Generate standups, retrospectives, PR summaries, digests, and period analyses. |
60
+ | **Heuristic Scoring** | Optimize context delivery by scoring entries based on veracity and impact. |
61
+ | **Team Collaboration** | Share databases across teams with cross-project insights, author attribution, and role-based access control. |
62
+ | **Data Interoperability** | Export schemas safely, sync Markdown directories, and maintain a unified IO namespace. |
63
+ | **Backup & Restore** | Secure data with automated scheduling, retention policies, and one-command restores. |
64
+ | **Auto-Pruning** | Soft-delete low-value entries automatically to maintain search relevance over long-running projects. |
65
+ | **Security & Transport** | Ensure secure connections with OAuth 2.1, Streamable HTTP, rate limiting, and SQL injection prevention. |
66
+ | **Structured Error Handling** | Provide agents with classification, remediation hints, and recoverability signals on every tool call. |
67
+ | **Agent Collaboration** | Share context between IDE agents and Copilot. Search review findings and let agents suggest reusable rules. |
68
+ | **Native Agent Skills** | Establish permanent AI behavior and architecture rules using bundled foundational coding paradigms. |
69
+ | **GitHub Commander** | Audit code, triage issues, review PRs, and run sprint milestones via automated pipeline skills. |
70
+
71
+ ---
72
+
73
+ ### Isolate Environments with Multi-Tenancy
74
+
75
+ Memory Journal supports multi-tenancy out of the box via the `workspace_id` construct, acting as a strict isolation barrier for multiple journals sharing the same SQLite database file.
76
+
77
+ - **Auto-Resolution:** When `workspace_id` is omitted, the server automatically resolves the target workspace. It matches `project_number` against `PROJECT_REGISTRY`, checks content/tag keyword aliases, or inspects `process.cwd()` before falling back to `DEFAULT_WORKSPACE_ID` (default: `default`).
78
+ - **Data Partitioning & Cross-Workspace Queries:** Core CRUD, Soft-Delete/Restore, FTS5 Search, Vector Semantic Search (`semantic_search`), and Analytics tools enforce `workspace_id` isolation end-to-end. Read and search tools accept `workspace_id: "*"` to query across all workspaces. External write and mutation paths reject wildcard overrides.
79
+ - **Immutability & Controlled Migration:** Entries receive a `workspace_id` upon creation that standard updates cannot overwrite directly. To migrate an entry across workspaces, call `update_entry` with `workspace_id: "*"` and `target_workspace_id`.
80
+ - **Server Config:** Set `--default-workspace-id` (or the `DEFAULT_WORKSPACE_ID` environment variable) to configure the default fallback workspace for the server instance. This lets you run multiple isolated journal interfaces on a single physical database.
77
81
 
78
82
  ---
79
83
 
@@ -122,229 +126,129 @@ flowchart TB
122
126
  _Suggested Rule (Add to AGENTS.md, GEMINI.md, system prompts, etc.)_
123
127
 
124
128
  <details>
125
- <summary><strong>View Mandatory Session Start Routine</strong></summary>
126
-
127
- πŸ›‘ MANDATORY SESSION START ROUTINE
129
+ <summary><strong>View Session Initialization Routine</strong></summary>
128
130
 
129
- Before addressing the user's first request in a session/thread, complete these steps:
131
+ πŸ›‘ Session Initialization Routine
130
132
 
131
- 1. Read the briefing using the `read_resource` tool: `memory://briefing/{repo_name}`.
132
- - Infer `repo_name` from context of user's prompt. Use `memory://briefing` as fallback only if necessary.
133
- 2. Your first response MUST begin with the entire briefing content. Use this format:
133
+ When the user initializes the session context by executing the `load-briefing` prompt:
134
134
 
135
+ 1. You will receive the output of the `memory://briefing/{repo_name}` resource.
136
+ 2. Prepend your response EXACTLY as:
135
137
  > **πŸ“‹ Briefing loaded** β€” `{repo_name}`
136
- >
137
- > _{paste **ENTIRE** briefing here}_ (It isn't always easy for users to access in IDEs)
138
-
139
- 3. Then address the user's request below the briefing.
140
- 4. Do NOT autonomously resume work on issues mentioned in the briefing.
138
+ > _{paste ENTIRE briefing here}_
139
+ 3. Address the user's request below the briefing.
140
+ 4. NEVER autonomously execute tasks listed in the briefing.
141
+ 5. Do NOT proactively ask the user to load the briefing. Wait for them to use the prompt.
141
142
  </details>
142
143
 
143
144
  ---
144
145
 
145
- ### Tool Filtering
146
+ ### Control Access with Tool Filtering
146
147
 
147
148
  > [!IMPORTANT]
148
- > All shortcuts and tool groups include **Code Mode** (`mj_execute_code`) by default for token-efficient operations. To exclude it, add `-codemode` to your filter: `--tool-filter starter,-codemode`
149
-
150
- Control which tools are exposed via `MEMORY_JOURNAL_MCP_TOOL_FILTER` (or CLI: `--tool-filter`):
151
-
152
- | Filter | Tools | Use Case |
153
- | -------------------- | ----- | ------------------------ |
154
- | `full` | 73 | All tools (default) |
155
- | `starter` | ~11 | Core + search + codemode |
156
- | `essential` | ~7 | Minimal footprint |
157
- | `readonly` | 17 | Disable all mutations |
158
- | `-github` | 52 | Exclude a group |
159
- | `-github,-analytics` | 50 | Exclude multiple groups |
149
+ > All shortcuts and tool groups always include **Code Mode** (`mj_execute_code`) and **Runtime Configuration** (`update_configuration`) as escape-hatch tools so agents can never lock themselves out of the configuration system or Code Mode.
150
+
151
+ Control which tools are exposed using any of the 3 configuration sources (precedence: CLI flag > environment variable > config file):
152
+ - **CLI flag**: `--tool-filter <filter>`
153
+ - **Environment variable**: `MEMORY_JOURNAL_MCP_TOOL_FILTER` *(Note: `TOOL_FILTER` is only a fallback display variable in the session briefing and does **not** activate tool filtering on its own)*
154
+ - **`memory-journal.config.{yaml,yml,json}` key**: `"toolFilter"`
155
+
156
+ | Filter | Use Case |
157
+ | -------------------- | ----------------------------------- |
158
+ | `full` | All tools (default) |
159
+ | `starter` | Core + search + codemode |
160
+ | `essential` | Minimal footprint |
161
+ | `readonly` | Disable all mutations |
162
+ | `codemode` | `mj_execute_code` + runtime config |
163
+ | `-github` | Exclude a group |
164
+ | `-github,-analytics` | Exclude multiple groups |
160
165
 
161
166
  **Filter Syntax:** `shortcut` or `group` or `tool_name` (whitelist mode) Β· `-group` (disable group) Β· `-tool` (disable tool) Β· `+tool` (re-enable after group disable)
162
167
 
163
168
  **Custom Selection:** List individual tool names to create your own whitelist: `--tool-filter "create_entry,search_entries,semantic_search"`
164
169
 
165
- **Groups:** `core`, `search`, `analytics`, `relationships`, `io`, `admin`, `github`, `backup`, `team`, `codemode`
170
+ **Groups:** `core`, `search`, `analytics`, `relationships`, `io`, `admin`, `github`, `git`, `backup`, `team`, `codemode`
166
171
 
167
172
  **[Complete tool filtering guide β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Tool-Filtering)**
168
173
 
169
174
  ---
170
175
 
171
- ## πŸ“‹ Core Capabilities
176
+ ## πŸ“‹ Unlock Core Capabilities
172
177
 
173
- ### πŸ› οΈ **73 MCP Tools** (10 Groups)
178
+ ### πŸ› οΈ **MCP Tools**
174
179
 
175
- | Group | Tools | Description |
176
- | --------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
177
- | `codemode` | 1 | Code Mode (sandboxed code execution) 🌟 **Recommended** |
178
- | `core` | 6 | Entry CRUD, tags, test |
179
- | `search` | 4 | Text search, date range, semantic, vector stats |
180
- | `analytics` | 2 | Statistics, cross-project insights |
181
- | `relationships` | 2 | Link entries, visualize graphs |
182
- | `io` | 3 | JSON/Markdown export and File-level Markdown Data Integration Interoperability (Import/Export) |
183
- | `admin` | 5 | Update, delete, rebuild/add to vector index, merge tags |
184
- | `github` | 18 | Issues, PRs, context, Kanban, **Milestones**, **Insights**, **issue lifecycle**, **Copilot Reviews** |
185
- | `backup` | 4 | Backup, list, restore, cleanup |
186
- | `team` | 28 | CRUD, search, stats, relationships, IO (Markdown import/export), backup, vector search, cross-project insights, matrix, **Hush Protocol flags** (requires `TEAM_DB_PATH`) |
180
+ | Group | Description |
181
+ | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
182
+ | `codemode` | Code Mode (sandboxed code execution) 🌟 **Recommended** |
183
+ | `core` | Entry creation/read/history, tags, resource & briefing helpers, anchor staleness, test |
184
+ | `search` | Text search, date range, semantic, vector stats, deleted entries, cross-team |
185
+ | `analytics` | Statistics, cross-project insights |
186
+ | `relationships` | Link entries, visualize graphs |
187
+ | `io` | JSON/Markdown export, Markdown directory import/export, and external knowledge base import (Notion, Obsidian, Logseq) |
188
+ | `admin` | Update configuration, project registry management, entry update/delete/restore, rebuild/add to vector index, merge tags, search audit log, auto-prune, bulk operations (batch create/update/delete) |
189
+ | `github` | Issues, PRs, context, Kanban, **Milestones**, **Insights**, **issue lifecycle**, **Copilot Reviews** |
190
+ | `git` | Commit history, search, release info, patterns, staleness checks |
191
+ | `backup` | Backup, list, restore, cleanup |
192
+ | `team` | CRUD, search, stats, relationships, IO (Markdown & external import/export), backup, vector search, cross-project insights, matrix, RBAC member management, author aliases (requires `TEAM_DB_PATH`) |
187
193
 
188
194
  **[Complete tools reference β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Tools)**
189
195
 
190
- ### 🎯 **19 Workflow Prompts**
191
-
192
- - `find-related` - Discover connected entries via semantic similarity
193
- - `prepare-standup` - Daily standup summaries
194
- - `prepare-retro` - Sprint retrospectives
195
- - `weekly-digest` - Day-by-day weekly summaries
196
- - `analyze-period` - Deep period analysis with insights
197
- - `goal-tracker` - Milestone and achievement tracking
198
- - `get-context-bundle` - Project context with Git/GitHub/Kanban
199
- - `get-recent-entries` - Formatted recent entries
200
- - `project-status-summary` - GitHub Project status reports
201
- - `pr-summary` - Pull request journal activity summary
202
- - `code-review-prep` - Comprehensive PR review preparation
203
- - `pr-retrospective` - Completed PR analysis with learnings
204
- - `actions-failure-digest` - CI/CD failure analysis
205
- - `project-milestone-tracker` - Milestone progress tracking
206
- - `confirm-briefing` - Acknowledge session context to user
207
- - `session-summary` - Create a session summary entry with accomplishments, pending items, and next-session context
208
- - `team-session-summary` - Create a retrospective team session summary entry securely isolated to the team database
209
- - `adversarial-plan-review` - Multi-pass adversarial plan review with structured dimensions, scoring rubric, and prior plan context
210
- - `flag-dashboard` - Triage active flags with priority assessment and resolution guidance
211
-
212
- **[Complete prompts guide β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Prompts)**
213
-
214
- ### πŸ“‘ **46 Resources** (29 Static + 17 Template)
215
-
216
- **29 Static Resources** (appear in resource lists):
217
-
218
- - `memory://briefing` - **Session initialization**: compact context for AI agents (~350 tokens) β€” includes server version, surface area (tools/resources/prompts), test health, unreleased changes, analytics, `localTime`, and optional `activeFlags`
219
- - `memory://instructions` - **Behavioral guidance**: complete server instructions for AI agents
220
- - `memory://recent` - 10 most recent entries
221
- - `memory://significant` - Significant milestones and breakthroughs
222
- - `memory://graph/recent` - Live Mermaid diagram of recent relationships
223
- - `memory://health` - Server health & diagnostics
224
- - `memory://graph/actions` - CI/CD narrative graph
225
- - `memory://actions/recent` - Recent workflow runs
226
- - `memory://tags` - All tags with usage counts
227
- - `memory://statistics` - Journal statistics
228
- - `memory://rules` - User rules file content for agent awareness
229
- - `memory://workflows` - Available agent workflows summary
230
- - `memory://skills` - Agent skills index (names, paths, excerpts)
231
- - `memory://github/status` - GitHub repository status overview
232
- - `memory://github/insights` - Repository stars, forks, and 14-day traffic summary
233
- - `memory://github/milestones` - Open milestones with completion percentages
234
- - `memory://team/recent` - Recent team entries with author attribution
235
- - `memory://team/statistics` - Team entry counts, types, and author breakdown
236
- - `memory://help` - Tool group index with descriptions and tool counts
237
- - `memory://metrics/summary` - Aggregate tool call metrics since server start (calls, errors, token estimates, duration) β€” HIGH priority
238
- - `memory://metrics/tokens` - Per-tool token usage breakdown sorted by output token cost β€” MEDIUM priority
239
- - `memory://metrics/system` - Process-level metrics: memory (MB), uptime (s), Node.js version, platform β€” MEDIUM priority
240
- - `memory://metrics/users` - Per-user call counts (populated when OAuth user identifiers are present) β€” LOW priority
241
- - `memory://audit` - Last 50 write/admin tool call entries from the JSONL operational telemetry log (requires `AUDIT_LOG_PATH`)
242
- - `memory://flags` - Active (unresolved) team flags dashboard (requires `TEAM_DB_PATH`)
243
- - `memory://flags/vocabulary` - Configured flag vocabulary terms
244
- - `memory://flags/history` - Recently resolved flags with resolution details and avg time-to-resolution (last 7 days)
245
-
246
- **17 Template Resources** (9 base templates + 8 dynamic `{repo}` variants):
247
-
248
- - `memory://projects/{number}/timeline` - Project activity timeline
249
- - `memory://issues/{issue_number}/entries` - Entries linked to issue
250
- - `memory://prs/{pr_number}/entries` - Entries linked to PR
251
- - `memory://prs/{pr_number}/timeline` - Combined PR + journal timeline
252
- - `memory://kanban/{project_number}` - GitHub Project Kanban board
253
- - `memory://kanban/{project_number}/diagram` - Kanban Mermaid visualization
254
- - `memory://milestones/{number}` - Milestone detail with completion progress
255
- - `memory://help/{group}` - Per-group tool reference with parameters and annotations
256
- - `memory://briefing/{repo}` - Context targeted to a specific repository
257
-
258
- _Note: The `memory://github/status`, `memory://github/insights`, `memory://github/milestones`, and `memory://milestones/{number}` resources also accept an optional `/{repo}` path suffix for cross-repo targeting._
196
+ ### 🎯 **Workflow Prompts**
197
+
198
+ Specialized workflow prompts cover session briefing, standup & retro prep, goal tracking, PR & issue command, session summaries, and journal optimization. Additional prompts support CMS REM supervision, adversarial plan reviews, code & security audits, secure commit workflows, and anti-hallucination healing. **[Complete prompts guide β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Prompts)**
199
+
200
+ ### πŸ“‘ **Resources**
201
+ See the **[Complete resources guide β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Resources)** for the full list of dynamic context resources, including `memory://briefing`, `memory://instructions`, GitHub integration endpoints, telemetry metrics, and templated views.
202
+
203
+ - **Dynamic Resource Templates**: Resources `memory://briefing/{+repo}`, `memory://agent-context/{+repo}`, `memory://agent-id/{+repo}`, `memory://actions/recent/{+repo}`, `memory://github/status/{+repo}`, `memory://github/milestones/{+repo}`, `memory://milestones/{+repo}/{number}`, and `memory://kanban/{+repo}/{project_number}` accept an RFC 6570 `{+repo}` path parameter for targeted project context.
259
204
 
260
205
  ---
261
206
 
262
207
  ## ⚑ Code Mode: Maximum Efficiency (90% Token Savings)
263
208
 
264
- Code Mode (`mj_execute_code`) is a revolutionary approach that **dramatically reduces token usage by up to 90%** and is included by default in all presets. Instead of spending thousands of tokens on sequential tool calls, AI agents use a single sandboxed execution to reason faster.
209
+ Code Mode (`mj_execute_code`) **reduces token usage by up to 90%** and is included by default in all presets. Instead of spending thousands of tokens on sequential tool calls, AI agents use a single sandboxed execution to reason faster.
265
210
 
266
- Code executes in a **worker_threads sandbox** designed as a secure multi-tenant process isolation environment. All `mj.*` API calls execute against the journal within the sandbox, providing:
211
+ Code executes in a **pre-warmed `worker_threads` V8 isolate pool + secondary `vm.createContext` boundary** designed as a secure multi-tenant process isolation environment. All `mj.*` API calls execute against the journal within the sandbox, providing:
267
212
 
268
213
  - **V8 code generation restrictions** β€” `eval()` and `Function()` construction from strings disabled at the V8 engine level via `codeGeneration: { strings: false, wasm: false }`
269
- - **Frozen prototypes** β€” all built-in prototypes (Object, Function, Array, Error, etc.) frozen inside the vm context to prevent dynamic constructor chain escapes
270
- - **Static code validation** β€” 18 regex rules blocking `require()`, `process`, `eval()`, `Reflect.*`, `Symbol.*`, `new Proxy()`, and filesystem/network access
214
+ - **Frozen prototypes & cross-realm constructor lockdown** β€” all built-in prototypes (`Object`, `Function`, `Array`, `Error`, etc.) and `mj.*` API bindings are frozen, and `.constructor` is neutered across `Object`, `Function`, `AsyncFunction`, `GeneratorFunction`, and `AsyncGeneratorFunction` prototypes in both the inner `vm` realm and outer worker realm to prevent dynamic constructor chain escapes
215
+ - **Single-pass lexical validation** β€” pre-validation rate-limiting and 50KB byte caps run before any code normalization, followed by a single-pass lexical comment/string scanner (preserving `${...}` template expressions) and static rules blocking `require()`, `import()`, `process`, `eval()`, `Reflect.*`, `Symbol.*`, `Object.getPrototypeOf`/`setPrototypeOf`/`defineProperty`, `new Proxy()`, and filesystem/network access
271
216
  - **Proxy constructor nullified** β€” `Proxy: undefined` in the sandbox prevents meta-object protocol abuse
272
- - **RPC allowlist** β€” host-side validation prevents workers from invoking unauthorized API methods
217
+ - **Prototype-safe RPC allowlist** β€” host-side `Object.hasOwn()` validation, recursion-bounded argument normalization, and `--tool-filter` enforcement prevent workers from invoking unauthorized or filtered API methods
273
218
  - **Rate limiting** β€” 60 executions per minute per client
274
- - **Hard timeouts** β€” configurable execution limit (default 30s)
275
- - **Egress boundary enforcement** β€” result serialization capped to prevent OOM via oversized payloads
276
- - **Full API access** β€” all 10 tool groups are available via `mj.*` (e.g., `mj.core.createEntry()`, `mj.search.searchEntries()`, `mj.github.getGithubIssues()`, `mj.team.passTeamFlag()`)
219
+ - **Hard timeouts** β€” configurable execution limit (default 30s) with bounded async timer tracking (`setTimeout`/`sleep` capped and cleared on completion)
220
+ - **Egress boundary enforcement** β€” result serialization capped (default 100KB via `CODE_MODE_MAX_RESULT_SIZE`) with automatic payload compaction to prevent OOM via oversized payloads
221
+ - **Full API access** β€” all tool groups are available via `mj.*` (e.g., `mj.core.createEntry()`, `mj.search.searchEntries()`, `mj.github.getGithubIssues()`)
277
222
  - **Strict Readonly Contract** β€” Calling any mutation method under `--tool-filter readonly` safely halts the sandbox to prevent execution, returning a structured `{ success: false, error: "..." }` response to the agent instead of a raw MCP protocol exception.
278
223
 
279
- ### ⚑ Code Mode Only (Maximum Token Savings)
224
+ ### ⚑ Code Mode Minimal Surface (Maximum Token Savings)
280
225
 
281
- Run with **only Code Mode enabled** β€” a single tool that provides access to all 69 tools' worth of capability through the `mj.*` API:
226
+ Run with the `codemode` filter and `--codemode-internal-full-access` to expose only the escape-hatch tools (`mj_execute_code` and `update_configuration`) on the MCP tool list while retaining full internal access to the `mj.*` API inside the sandbox:
282
227
 
283
228
  ```json
284
229
  {
285
230
  "mcpServers": {
286
231
  "memory-journal-mcp": {
287
232
  "command": "memory-journal-mcp",
288
- "args": ["--tool-filter", "codemode"]
233
+ "args": ["--tool-filter", "codemode", "--codemode-internal-full-access"]
289
234
  }
290
235
  }
291
236
  }
292
237
  ```
293
238
 
294
- This exposes just `mj_execute_code`. The agent writes JavaScript against the typed `mj.*` SDK β€” composing operations across all 10 tool groups and returning exactly the data it needs β€” in one execution. This mirrors the [Code Mode pattern](https://blog.cloudflare.com/code-mode-mcp/) pioneered by Cloudflare for their entire API: fixed token cost regardless of how many capabilities exist.
295
-
296
- #### Disabling Code Mode
297
-
298
- If you prefer individual tool calls, exclude codemode:
299
-
300
- ```json
301
- {
302
- "args": ["--tool-filter", "starter,-codemode"]
303
- }
304
- ```
239
+ This exposes only `mj_execute_code` and `update_configuration` to the client's `tools/list`, reducing tool schema overhead to the minimum while preserving full programmatic capability via `mj.*`. The agent writes JavaScript against the typed `mj.*` SDK β€” composing operations across all tool groups and returning exactly the data it needs β€” in one execution. This mirrors the [Code Mode pattern](https://blog.cloudflare.com/code-mode-mcp/) pioneered by Cloudflare for their entire API: fixed token cost regardless of how many capabilities exist. Without `--codemode-internal-full-access` (or `CODEMODE_INTERNAL_FULL_ACCESS=true`), internal `mj.*` methods are scoped to the active `--tool-filter`.
305
240
 
306
241
  ---
307
242
 
308
- ## 🀫 Hush Protocol: Asynchronous Team Collaboration
243
+ ## πŸš€ Quick Start & Deployment
309
244
 
310
- The **Hush Protocol** reimagines team collaboration for AI-augmented workflows by replacing noisy Slack/Teams messages with structured, machine-actionable flags.
245
+ _Note: Configuration is resolved using strict precedence: `CLI flags > Environment Variables > Config File > Defaults`._
311
246
 
312
- When you encounter a blocker, need a review, or want to broadcast a milestone, your AI agent can raise a flag in the shared Team Database:
247
+ > πŸ› οΈ **Debugging Configuration:** Run `memory-journal-mcp --dump-config` (or pass `--dump-config` as an arg) to print the fully resolved configuration payload with automatically redacted secrets. This is the primary method for diagnosing overriding issues.
313
248
 
314
- - **Actionable Visibility**: Active flags automatically surface at the very top of the `memory://briefing` payload for all team members. When another developer's agent starts a session, it immediately sees your blockers and can help resolve them autonomously.
315
- - **Structured Types**: Raise specific flag types (`blocker`, `needs_review`, `help_requested`, `fyi`). You can customize your team's vocabulary via the `--flag-vocabulary` configuration.
316
- - **Searchable History**: Unlike chat messages that disappear into the void, Hush flags are permanent, query-able AI journal entries. Your agents can search past `needs_review` flags to understand how architectural blockers were conquered.
317
- - **Integrated Standup & Retro Signals**: Active flags automatically appear as contextual signals in the `prepare-standup` and `prepare-retro` prompts, so your daily standups and sprint retrospectives always surface outstanding blockers.
318
- - **Full Lifecycle Management**: List and filter flags by status, type, or assignee via `team_list_flags`. Update metadata (escalate severity, reassign, add links) or reopen resolved flags via `team_update_flag`. Track resolution velocity, per-user workload, and trends with `team_get_flag_analytics`.
249
+ ### Configure Basics Quickly
319
250
 
320
- **Dashboard & Operations**: Read `memory://flags` for an active dashboard, `memory://flags/history` for recently resolved flags, use the `/flag-dashboard` prompt for guided triage with severity grouping and staleness detection, and use `mj.team.passTeamFlag()` / `mj.team.resolveTeamFlag()` / `mj.team.teamListFlags()` / `mj.team.teamUpdateFlag()` / `mj.team.teamGetFlagAnalytics()` to manage flags programmatically in Code Mode.
321
-
322
- **[Complete Hush Protocol guide and Mermaid sequence diagrams β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Hush-Protocol)**
323
-
324
- ---
325
-
326
- ## πŸš€ Quick Start
327
-
328
- ### Option 1: npm (Recommended)
329
-
330
- ```bash
331
- npm install -g memory-journal-mcp
332
- ```
333
-
334
- ### Option 2: From Source
335
-
336
- ```bash
337
- git clone https://github.com/neverinfamous/memory-journal-mcp.git
338
- cd memory-journal-mcp
339
- npm install
340
- npm run build
341
- ```
342
-
343
- ### Add to MCP Config
344
-
345
- Add this to your `~/.cursor/mcp.json`, Claude Desktop config, or equivalent:
346
-
347
- ### Basic Configuration
251
+ > πŸ’‘ **Tip:** Don't want to manually escape JSON strings for `PROJECT_REGISTRY`? Run `npx memory-journal-mcp project create <name> --path <repo-path> [--number <project-number>]` in your terminal to automatically bootstrap and update your MCP configuration!
348
252
 
349
253
  ```json
350
254
  {
@@ -361,10 +265,12 @@ Add this to your `~/.cursor/mcp.json`, Claude Desktop config, or equivalent:
361
265
  }
362
266
  ```
363
267
 
364
- ### Advanced Configuration (Recommended)
268
+ ### Power Up with Advanced Configuration
365
269
 
366
270
  Showcasing the full power of the server, including Multi-Project Routing, Team Collaboration, Copilot awareness, and Context Injections.
367
271
 
272
+ > πŸ’‘ **Tip:** Use `npx memory-journal-mcp project create <name> --path <repo-path> [--number <project-number>]` to easily configure multiple repositories into your `PROJECT_REGISTRY` without manual JSON escaping!
273
+
368
274
  ```json
369
275
  {
370
276
  "mcpServers": {
@@ -407,19 +313,19 @@ The `memory://briefing` resource is **dynamically assembled** at each session st
407
313
 
408
314
  - **System State:** Server version, capability statuses, resource/tool counts, test health, and `memory://metrics/summary` breadcrumbs.
409
315
  - **Repository Context:** Git working tree status, unreleased changes, exact code-map paths, and prioritized gatekeeper CI workflows.
410
- - **Ambient Context:** Active workspace paths, local time, analytics, and active Hush Protocol flags.
316
+ - **Ambient Context:** Active workspace paths, local time, analytics.
411
317
 
412
318
  You control exactly what additional content your agent sees across three dimensions:
413
319
 
414
320
  | Dimension | Variables | What It Controls |
415
321
  | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
416
- | **Depth** | `INSTRUCTION_LEVEL` | Behavioral guidance verbosity: `essential`, `standard` (default), `full` |
417
- | **Journal Content** | `BRIEFING_ENTRY_COUNT`, `BRIEFING_SUMMARY_COUNT`, `BRIEFING_INCLUDE_TEAM` | How many recent entries, session summaries, and whether team entries appear |
322
+ | **Focus** | `MEMORY_JOURNAL_MCP_TOOL_FILTER` (CLI: `--tool-filter`, config: `"toolFilter"`) | Control tool exposure: `full` (default), `starter`, `essential`, `readonly`, `codemode` |
323
+ | **Journal Content** | `BRIEFING_ENTRY_COUNT`, `BRIEFING_SUMMARY_COUNT`, `BRIEFING_COMMIT_COUNT`, `BRIEFING_IMPORTANCE_THRESHOLD`, `BRIEFING_INCLUDE_TEAM` | How many recent entries, session summaries, commits, and whether team entries appear |
418
324
  | **GitHub Enrichment** | `BRIEFING_ISSUE_COUNT`, `BRIEFING_PR_COUNT`, `BRIEFING_PR_STATUS`, `BRIEFING_MILESTONE_COUNT`, `BRIEFING_WORKFLOW_COUNT`, `BRIEFING_WORKFLOW_STATUS`, `BRIEFING_COPILOT_REVIEWS` | Issues, PRs, milestones, CI runs, and Copilot review state surfaced in the briefing |
419
325
 
420
326
  **Context Injections:** Set `RULES_FILE_PATH` and `SKILLS_DIR_PATH` to surface user rules and agent skills as companion resources (`memory://rules`, `memory://skills`) alongside the briefing.
421
327
 
422
- **Repo Targeting:** In multi-repo setups, agents read `memory://briefing/{repo}` to get a briefing scoped to a specific repository registered in `PROJECT_REGISTRY`.
328
+ **Repo Targeting:** In multi-repo setups, agents read `memory://briefing/{+repo}` to get a briefing scoped to a specific repository registered in `PROJECT_REGISTRY`.
423
329
 
424
330
  <details>
425
331
  <summary><strong>Briefing Presets (click to expand)</strong></summary>
@@ -429,7 +335,7 @@ You control exactly what additional content your agent sees across three dimensi
429
335
  ```json
430
336
  "BRIEFING_ENTRY_COUNT": "1",
431
337
  "BRIEFING_SUMMARY_COUNT": "0",
432
- "INSTRUCTION_LEVEL": "essential"
338
+ "MEMORY_JOURNAL_MCP_TOOL_FILTER": "essential"
433
339
  ```
434
340
 
435
341
  **Full Context (onboarding agents)** β€” Maximize context for agents unfamiliar with the project:
@@ -442,7 +348,7 @@ You control exactly what additional content your agent sees across three dimensi
442
348
  "BRIEFING_PR_COUNT": "3",
443
349
  "BRIEFING_PR_STATUS": "true",
444
350
  "BRIEFING_COPILOT_REVIEWS": "true",
445
- "INSTRUCTION_LEVEL": "full"
351
+ "MEMORY_JOURNAL_MCP_TOOL_FILTER": "full"
446
352
  ```
447
353
 
448
354
  **DevOps-Heavy** β€” Emphasize CI/CD and GitHub state for infrastructure workflows:
@@ -467,50 +373,57 @@ You control exactly what additional content your agent sees across three dimensi
467
373
  | **Minimal (no GitHub)** | Remove the `env` block entirely |
468
374
  | **npx (no install)** | Replace `"command"` with `"npx"` and add `"args": ["-y", "memory-journal-mcp"]` |
469
375
  | **From source** | Replace `"command"` with `"node"` and add `"args": ["dist/cli.js"]` |
470
- | **Code Mode only** | Add `"args": ["--tool-filter", "codemode"]` (single tool, all capabilities) |
471
- | **Docker** | Replace `"command"` with `"docker"` and use `run -i --rm -v ./data:/app/data writenotenow/memory-journal-mcp:latest` as args |
376
+ | **Code Mode minimal** | Add `"args": ["--tool-filter", "codemode", "--codemode-internal-full-access"]` (`mj_execute_code` + `update_configuration`, all `mj.*` capabilities) |
377
+ | **Docker** | Replace `"command"` with `"docker"` and add `"args": ["run", "-i", "--rm", "-v", "./data:/app/data", "-e", "GITHUB_TOKEN", "-e", "PROJECT_REGISTRY", "-e", "ALLOWED_IO_ROOTS", "writenotenow/memory-journal-mcp:latest"]` (forward any `"env"` keys via `-e <VAR>`) |
472
378
  | **Team collaboration** | Add `"TEAM_DB_PATH": "./team.db"` to `env` |
473
379
 
474
380
  Restart your MCP client and start journaling!
475
381
 
476
- ### Option 3: HTTP/SSE Transport (Remote Access)
382
+ ### Connect Remotely with HTTP/SSE Transport
477
383
 
478
- > πŸ”’ **Security Posture: Stdio vs HTTP**
384
+ > [!IMPORTANT]
385
+ > **Security Posture: Stdio vs HTTP (Fail-Closed Startup Guards)**
479
386
  >
480
- > - **Stdio (Default):** Runs implicitly within the secure boundaries of your local IDE or command-line environment. No explicit authentication is required because the execution context is already trusted.
481
- > - **HTTP/SSE:** Exposes the server over a network socket. By default, HTTP binds ONLY to `localhost` and blocks wildcard CORS to prevent unauthorized access and CSRF attacks. **Public network binding (`--server-host 0.0.0.0`) requires explicit authentication** (`--auth-token` or `--oauth-enabled`). The server will throw a fatal error if you attempt to expose it publicly without securing it.
387
+ > - **Stdio (Default):** Runs implicitly within the secure boundaries of your local IDE or command-line environment. No explicit authentication is required because the execution context is already trusted (`ALLOWED_IO_ROOTS` defaults to fail-closed `[]` unless configured).
388
+ > - **HTTP/SSE (`--transport http`):** Exposes the server over a network socket and enforces **three fail-closed startup guards**:
389
+ > 1. **Mandatory Filesystem Boundary (`ALLOWED_IO_ROOTS` / `--allowed-io-roots`):** Always required in HTTP mode so filesystem boundaries are explicitly declared.
390
+ > 2. **Mandatory Public Authentication:** By default, HTTP binds ONLY to `localhost` and blocks wildcard CORS to prevent unauthorized access and CSRF attacks. Binding to a non-loopback address (`--server-host 0.0.0.0`) requires explicit authentication (`MCP_AUTH_TOKEN` / `--auth-token` or `--oauth-enabled`).
391
+ > 3. **Mandatory Public Origin for Non-Loopback OAuth (`PUBLIC_ORIGIN` / `--public-origin`):** When `--oauth-enabled` is bound to a non-loopback address, `--public-origin` (`PUBLIC_ORIGIN`) is strictly required so RFC 9728 Protected Resource Metadata cannot be spoofed via `Host` headers.
482
392
 
483
393
  For remote access or web-based clients, run the server in HTTP mode:
484
394
 
485
395
  ```bash
486
- memory-journal-mcp --transport http --port 3000
396
+ memory-journal-mcp --transport http --port 3000 --allowed-io-roots /path/to/allowed/dir
487
397
  ```
488
398
 
489
- To bind to all interfaces (required for containers) and enable the automated proactive analytics scheduler (e.g. daily digest), you MUST provide an authentication token:
399
+ To bind to all interfaces (required for containers) and enable the automated proactive analytics scheduler (e.g. daily digest), you MUST provide both `ALLOWED_IO_ROOTS` and an authentication token:
490
400
 
491
401
  ```bash
492
402
  export MCP_AUTH_TOKEN="your_secure_random_token"
403
+ export MCP_AUTH_SCOPES="full" # Defaults to "read" if omitted
404
+ export ALLOWED_IO_ROOTS="/path/to/allowed/dir"
493
405
  memory-journal-mcp --transport http --port 3000 --server-host 0.0.0.0 --digest-interval 1440
494
406
  ```
495
407
 
496
408
  **Endpoints:**
497
409
 
498
- | Endpoint | Description | Mode |
499
- | ------------------------------------------- | ------------------------------------------------ | -------- |
500
- | `GET /` | Server info and available endpoints | Both |
501
- | `POST /mcp` | JSON-RPC requests (initialize, tools/call, etc.) | Both |
502
- | `GET /mcp` | SSE stream for server-to-client notifications | Stateful |
503
- | `DELETE /mcp` | Session termination | Stateful |
504
- | `GET /sse` | Legacy SSE connection (MCP 2024-11-05) | Stateful |
505
- | `POST /messages` | Legacy SSE message endpoint | Stateful |
506
- | `GET /health` | Health check (`{ status, timestamp }`) | Both |
507
- | `GET /.well-known/oauth-protected-resource` | RFC 9728 Protected Resource Metadata | Both |
410
+ | Endpoint | Description | Mode |
411
+ | ------------------------------------------- | ------------------------------------------------------------------ | -------- |
412
+ | `GET /` | Server info and available endpoints | Both |
413
+ | `POST /mcp` | JSON-RPC requests (initialize, tools/call, etc.) | Both |
414
+ | `GET /mcp` | SSE stream for server-to-client notifications | Stateful |
415
+ | `DELETE /mcp` | Session termination (`204 No Content`) | Both |
416
+ | `GET / POST /sse` | Legacy SSE connection & stateless/stateful POST (MCP 2024-11-05) | GET: Stateful / POST: Both |
417
+ | `POST /messages` | Legacy SSE message endpoint | Stateful |
418
+ | `GET /health` | Health check (`{ status, timestamp }`) | Both |
419
+ | `GET /metrics` | Prometheus metrics export (requires flag) | Both |
420
+ | `GET /.well-known/oauth-protected-resource` | RFC 9728 Protected Resource Metadata (requires `--oauth-enabled`) | Both |
508
421
 
509
422
  **Session Management:** The server uses stateful sessions by default. Include the `mcp-session-id` header (returned from initialization) in subsequent requests.
510
423
 
511
424
  - **OAuth 2.1** β€” RFC 9728/8414, JWT/JWKS, granular scopes (opt-in via `--oauth-enabled`)
512
- - **7 Security Headers** β€” CSP, HSTS (opt-in), X-Frame-Options, and more
513
- - **Rate Limiting** β€” 100 req/min per IP Β· **CORS** β€” configurable multi-origin (exact-match) Β· **1MB body limit**
425
+ - **Comprehensive Security Headers** β€” CSP, HSTS (opt-in), X-Frame-Options, and more
426
+ - **Rate Limiting** β€” 100 req/min per subject/IP Β· **CORS** β€” configurable multi-origin (exact-match) Β· **1MB body limit**
514
427
  - **Server Timeouts** β€” Request (120s), keep-alive (65s), headers (66s) Β· **404 handler** Β· **Cross-protocol guard**
515
428
  - **Build Provenance** Β· **SBOM** Β· **Supply Chain Attestations** Β· **Non-root execution**
516
429
 
@@ -540,7 +453,7 @@ curl -X POST http://localhost:3000/mcp \
540
453
  For serverless deployments (Lambda, Workers, Vercel), use stateless mode:
541
454
 
542
455
  ```bash
543
- memory-journal-mcp --transport http --port 3000 --stateless
456
+ memory-journal-mcp --transport http --port 3000 --stateless --allowed-io-roots /path/to/projects
544
457
  ```
545
458
 
546
459
  | Mode | Progress Notifications | Legacy SSE | Serverless |
@@ -556,84 +469,39 @@ When running in HTTP/SSE mode, enable periodic maintenance jobs with CLI flags.
556
469
 
557
470
  ```bash
558
471
  memory-journal-mcp --transport http --port 3000 \
472
+ --allowed-io-roots /path/to/projects \
559
473
  --backup-interval 60 --keep-backups 10 \
560
474
  --vacuum-interval 1440 \
561
475
  --rebuild-index-interval 720
562
476
  ```
563
477
 
564
- | Flag | Default | Description |
565
- | -------------------------------- | ------- | -------------------------------------------------------------------- |
566
- | `--backup-interval <min>` | 0 (off) | Create timestamped database backups and prune old ones automatically |
567
- | `--keep-backups <count>` | 5 | Max backups retained during automated cleanup |
568
- | `--vacuum-interval <min>` | 0 (off) | Run `PRAGMA optimize` and flush database to disk |
569
- | `--rebuild-index-interval <min>` | 0 (off) | Full vector index rebuild to maintain semantic search quality |
478
+ | Flag | Default | Description |
479
+ | --------------------------------------- | ------------------------ | --------------------------------------------------------------------- |
480
+ | `--backup-interval <min>` | 0 (off) | Create timestamped database backups and prune old ones automatically |
481
+ | `--keep-backups <count>` | 5 | Max backups retained during automated cleanup |
482
+ | `--vacuum-interval <min>` | 0 (off) | Run `PRAGMA optimize` and flush database to disk |
483
+ | `--rebuild-index-interval <min>` | 0 (off) | Full vector index rebuild to maintain semantic search quality |
484
+ | `--report-interval <min>` | 0 (off) | Scheduled report generation interval in minutes |
485
+ | `--report-webhook-url <url>` | β€” | HTTPS webhook URL for scheduled report delivery |
486
+ | `--report-webhook-auth <header>` | β€” | Custom `Authorization` header for webhook requests |
487
+ | `--report-content-type <type>` | `slack` | Webhook payload format: `slack`, `discord`, or `json` (env: `REPORT_CONTENT_TYPE`) |
488
+ | `--digest-interval <min>` | 0 (off) | Scheduled periodic digest analysis report |
489
+ | `--auto-prune-interval <min>` | 0 (off) | Run autonomous garbage collection (archive, soft-delete, hard-delete) |
490
+ | `--archive-older-than-days <days>` | 0 (off) | Auto-archive low-importance entries older than N days |
491
+ | `--prune-older-than-days <days>` | 0 (off) | Auto soft-delete entries older than N days |
492
+ | `--hard-delete-older-than-days <days>` | 0 (off) | Permanently purge soft-deleted entries older than N days |
493
+ | `--prune-importance-threshold <score>` | 0.15 | Max importance score (`0.0`–`1.0`) eligible for archiving/pruning |
494
+ | `--prune-dry-run` | false | Log auto-prune candidates without mutating entries |
495
+ | `--prune-exclude-tags <tags>` | β€” | Comma-separated tags exempt from auto-prune (`archived` always kept) |
570
496
 
571
497
  Each job is error-isolated β€” a failure in one job won't affect the others. Scheduler status (last run, result, next run) is visible via `memory://health`.
572
498
 
573
- ### GitHub Integration Configuration
499
+ ### Integrate Seamlessly with GitHub
574
500
 
575
501
  The GitHub tools (`get_github_issues`, `get_github_prs`, etc.) auto-detect the repository from your git context when `PROJECT_REGISTRY` is configured or the MCP server is run inside a git repository.
576
502
 
577
- | Environment Variable | Description |
578
- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
579
- | `DB_PATH` | Database file location (CLI: `--db`; default: `./memory_journal.db`) |
580
- | `TEAM_DB_PATH` | Team database file location (CLI: `--team-db`) |
581
- | `TEAM_AUTHOR` | Override author name for team entries (default: `git config user.name`) |
582
- | `GITHUB_TOKEN` | GitHub personal access token for API access |
583
- | `DEFAULT_PROJECT_NUMBER` | Default GitHub Project number for auto-assignment when creating issues |
584
- | `PROJECT_REGISTRY` | JSON map of repos to `{ path, project_number }` for multi-project auto-detection and routing |
585
- | `AUTO_REBUILD_INDEX` | Set to `true` to rebuild vector index on server startup |
586
- | `MCP_HOST` | Server bind host (`0.0.0.0` for containers, default: `localhost`) |
587
- | `MCP_AUTH_TOKEN` | Bearer token for HTTP transport authentication (CLI: `--auth-token`). Must NOT be the default placeholder token. |
588
- | `ALLOWED_IO_ROOTS` | **Critical Security Boundary**: Comma-separated absolute paths granting filesystem access to Code Mode and export tools (default: none / fail-closed) |
589
- | `MCP_CORS_ORIGIN` | Allowed CORS origins for HTTP transport, comma-separated (default: blank, strict opt-in) |
590
- | `TRUST_PROXY` | Trust proxy headers for rate limiting and origin checks (CLI: `--trust-proxy`; default: `false`) |
591
- | `PUBLIC_ORIGIN` | Public origin URL for OAuth redirect URIs (CLI: `--public-origin`) |
592
- | `MCP_RATE_LIMIT_MAX` | Max requests per minute per client IP, HTTP only (default: `100`) |
593
- | `LOG_LEVEL` | Log verbosity: `error`, `warn`, `info`, `debug` (default: `info`; CLI: `--log-level`) |
594
- | `MCP_ENABLE_HSTS` | Enable HSTS security header on HTTP responses (CLI: `--enable-hsts`; default: `false`) |
595
- | `OAUTH_ENABLED` | Set to `true` to enable OAuth 2.1 authentication (HTTP only) |
596
- | `OAUTH_ISSUER` | OAuth issuer URL (e.g., `https://auth.example.com/realms/mcp`) |
597
- | `OAUTH_AUDIENCE` | Expected JWT audience claim |
598
- | `OAUTH_JWKS_URI` | JWKS endpoint for token signature verification |
599
- | `OAUTH_ALLOW_PLAINTEXT_LOOPBACK` | Allow plaintext HTTP loopback redirect URIs for local OAuth clients (CLI: `--oauth-allow-plaintext-loopback`; default: `false`) |
600
- | `OAUTH_CLOCK_TOLERANCE` | Allowed clock skew tolerance in seconds for JWT verification (default: `5`) |
601
- | `CODE_MODE_MAX_RESULT_SIZE` | Maximum size in bytes for mj_execute_code result payload (CLI: `--codemode-max-result-size`; default: `102400`) |
602
- | `CODEMODE_INTERNAL_FULL_ACCESS` | Bypass tool filter constraints within the Code Mode sandbox (CLI: `--codemode-internal-full-access`; default: `false`) |
603
- | `BRIEFING_ENTRY_COUNT` | Journal entries in briefing (CLI: `--briefing-entries`; default: `3`) |
604
- | `BRIEFING_SUMMARY_COUNT` | Session summaries to list in briefing (CLI: `--briefing-summaries`; default: `1`) |
605
- | `BRIEFING_INCLUDE_TEAM` | Include team DB entries in briefing (`true`/`false`; default: `false`) |
606
- | `BRIEFING_ISSUE_COUNT` | Issues to list in briefing; `0` = count only (default: `0`) |
607
- | `BRIEFING_PR_COUNT` | PRs to list in briefing; `0` = count only (default: `0`) |
608
- | `BRIEFING_PR_STATUS` | Show PR status breakdown (open/merged/closed; default: `false`) |
609
- | `BRIEFING_MILESTONE_COUNT` | Milestones to list in briefing; `0` = hide entirely (CLI: `--briefing-milestones`; default: `3`) |
610
- | `BRIEFING_WORKFLOW_COUNT` | Workflow runs to list in briefing; `0` = status only (default: `0`) |
611
- | `BRIEFING_WORKFLOW_STATUS` | Show workflow status breakdown in briefing (default: `false`) |
612
- | `BRIEFING_COPILOT_REVIEWS` | Aggregate Copilot review state in briefing (default: `false`) |
613
- | `RULES_FILE_PATH` | Path to user rules file for agent awareness (CLI: `--rules-file`) |
614
- | `SKILLS_DIR_PATH` | Path to skills directory for agent awareness (CLI: `--skills-dir`) |
615
- | `MEMORY_JOURNAL_WORKFLOW_SUMMARY` | Free-text workflow summary for `memory://workflows` (CLI: `--workflow-summary`) |
616
- | `INSTRUCTION_LEVEL` | Briefing depth: `essential`, `standard`, `full` (CLI: `--instruction-level`; default: `standard`) |
617
- | `PROJECT_LINT_CMD` | Project lint command for GitHub Commander validation gates (default: `npm run lint`) |
618
- | `PROJECT_TYPECHECK_CMD` | Project typecheck command (default: `npm run typecheck`; empty = skip) |
619
- | `PROJECT_BUILD_CMD` | Project build command (default: `npm run build`; empty = skip) |
620
- | `PROJECT_TEST_CMD` | Project test command (default: `npm run test`) |
621
- | `PROJECT_E2E_CMD` | Project E2E test command (default: empty = skip) |
622
- | `PROJECT_PACKAGE_MANAGER` | Package manager override: `npm`, `yarn`, `pnpm`, `bun` (default: auto-detect from lockfile) |
623
- | `PROJECT_HAS_DOCKERFILE` | Enable Docker audit steps (default: auto-detect) |
624
- | `COMMANDER_HITL_FILE_THRESHOLD` | Human-in-the-loop checkpoint if changes touch > N files (default: `10`) |
625
- | `COMMANDER_SECURITY_TOOLS` | Override security tool auto-detection (comma-separated; default: auto-detect) |
626
- | `COMMANDER_BRANCH_PREFIX` | Branch naming prefix for PRs (default: `fix`) |
627
- | `AUDIT_LOG_PATH` | Path for the JSONL operational telemetry log of write/admin tool calls. Rotates at 10 MB (keeps 5 archives). Omit to disable telemetry logging. |
628
- | `AUDIT_REDACT` | Set to `false` to include tool arguments in telemetry log entries (default: `true`) |
629
- | `AUDIT_READS` | Log read-scoped tool calls in addition to write/admin (CLI: `--audit-reads`; default: `false`) |
630
- | `AUDIT_LOG_MAX_SIZE` | Maximum operational telemetry file size in bytes before rotation (CLI: `--audit-log-max-size`; default: `10485760`) |
631
- | `MCP_METRICS_ENABLED` | Set to `false` to disable in-memory tool call metrics accumulation (default: `true`) |
632
- | `FLAG_VOCABULARY` | Comma-separated flag types for Hush Protocol (CLI: `--flag-vocabulary`; default: `blocker,needs_review,help_requested,fyi`) |
633
- | `PRUNE_OLDER_THAN_DAYS` | Soft-delete entries older than N days with importance below threshold on startup; `0` = disabled (CLI: `--prune-older-than-days`; default: `0`) |
634
- | `PRUNE_IMPORTANCE_THRESHOLD` | Importance score threshold (0.0–1.0) β€” entries scoring below this are pruned (CLI: `--prune-importance-threshold`; default: `0.15`) |
635
-
636
- **Multi-Project Workflows**: For agents to seamlessly support multiple projects, provide **`PROJECT_REGISTRY`**.
503
+
504
+ **Multi-Project Workflows**: For agents to seamlessly support multiple projects, configure your **`PROJECT_REGISTRY`** (tip: use `npx memory-journal-mcp project create <name> --path <repo-path> [--number <project-number>]`).
637
505
 
638
506
  #### Dynamic Context Resolution & Auto-Detection
639
507
 
@@ -641,7 +509,7 @@ When executing GitHub tools (issues, PRs, context, etc.), the server resolves re
641
509
 
642
510
  1. **Dynamic Project Routing**: If the agent passes a `repo` string that matches a key in your `PROJECT_REGISTRY`, the server dynamically mounts the physical directory mapped to that project. It executes git commands locally and automatically infers the `owner`.
643
511
  2. **Explicit Override**: If the agent provides both `owner` and `repo` explicitly, those values override auto-detection for API calls.
644
- 3. **Missing Context**: Without `PROJECT_REGISTRY` or explicit parameters, the server blocks execution and returns `{requiresUserInput: true}` to prompt the agent.
512
+ 3. **Missing Context**: Without `PROJECT_REGISTRY` or explicit parameters, the server blocks execution and returns `{requiresUserInput: true}` to prompt the agent. If an agent encounters this blocked state, it can seamlessly recover by invoking the `mj.admin.registerProject()` method via Code Mode to auto-configure the project registry on the fly.
645
513
 
646
514
  #### Automatic Project Routing (Kanban / Issues)
647
515
 
@@ -660,21 +528,25 @@ For production deployments, enable OAuth 2.1 authentication on the HTTP transpor
660
528
  | Protected Resource Metadata | βœ… | RFC 9728 `/.well-known/oauth-protected-resource` |
661
529
  | Auth Server Discovery | βœ… | RFC 8414 metadata discovery with caching |
662
530
  | Token Validation | βœ… | JWT validation with JWKS support |
663
- | Scope Enforcement | βœ… | Granular `read`, `write`, `admin` scopes |
531
+ | Scope Enforcement | βœ… | Granular `read`, `write`, `team`, `audit`, `admin`, `full` scopes |
664
532
  | HTTP Transport | βœ… | Streamable HTTP with OAuth middleware |
665
533
 
666
534
  **Supported Scopes:**
667
535
 
668
- | Scope | Tool Groups |
669
- | ------- | ------------------------------------------------- |
670
- | `read` | core, search, analytics, relationships, io |
671
- | `write` | github, team (+ all read groups) |
672
- | `admin` | admin, backup, codemode (+ all write/read groups) |
536
+ | Scope | Tool Groups |
537
+ | ------- | ------------------------------------------------------------------ |
538
+ | `read` | `core (read-only), search, analytics, relationships (visualize_relationships), io (export_entries), git` |
539
+ | `write` | `github (+ all read groups and create_entry / create_entry_minimal / link_entries / mark_anchors_stale / import_external / import_markdown / export_markdown)` |
540
+ | `team` | `team (dedicated team collaboration scope; combine with read/write for personal journal access)` |
541
+ | `audit` | `memory://audit resource access (included in admin/full; search_audit_log requires admin or full)` |
542
+ | `admin` | `admin, backup, codemode (+ all read/write/team/audit groups)` |
543
+ | `full` | `Unrestricted access to all operations` |
673
544
 
674
545
  **Quick Start:**
675
546
 
676
547
  ```bash
677
548
  memory-journal-mcp --transport http --port 3000 \
549
+ --allowed-io-roots /path/to/projects \
678
550
  --oauth-enabled \
679
551
  --oauth-issuer https://auth.example.com/realms/mcp \
680
552
  --oauth-audience memory-journal-mcp \
@@ -684,10 +556,12 @@ memory-journal-mcp --transport http --port 3000 \
684
556
  Or via environment variables:
685
557
 
686
558
  ```bash
559
+ export ALLOWED_IO_ROOTS="/path/to/projects"
687
560
  export OAUTH_ENABLED=true
688
561
  export OAUTH_ISSUER=https://auth.example.com/realms/mcp
689
562
  export OAUTH_AUDIENCE=memory-journal-mcp
690
- export OAUTH_CLOCK_TOLERANCE=5
563
+ export OAUTH_JWKS_URI=https://auth.example.com/realms/mcp/protocol/openid-connect/certs
564
+ export OAUTH_CLOCK_TOLERANCE=60
691
565
  memory-journal-mcp --transport http --port 3000
692
566
  ```
693
567
 
@@ -701,6 +575,59 @@ memory-journal-mcp --transport http --port 3000
701
575
 
702
576
  ## πŸ”§ Configuration
703
577
 
578
+ ### Environment Variables
579
+
580
+ | Variable | Description |
581
+ | ---------------------------------------------- | ---------------------------------------------------------- |
582
+ | **Core Database & Server** | |
583
+ | `DB_PATH` | Path to the personal journal SQLite database (CLI: `--db`, `--database`, default: `./memory_journal.db`) |
584
+ | `DB_ENCRYPTION_KEY` | SQLCipher at-rest database encryption key (alias: `MJ_DB_ENCRYPTION_KEY`) |
585
+ | `TEAM_DB_PATH` | Path to the shared team SQLite database (CLI: `--team-db`, `--team-database`) |
586
+ | `TEAM_AUTHOR` | Display name attached to team entries (used for local author identity; OAuth identity claims take precedence when creating team entries and RBAC ownership under active OAuth) |
587
+ | `TEAM_DEFAULT_ROLE` | Default RBAC role for unlisted team authors: `admin`, `member`, `viewer`, `denied` (CLI: `--team-default-role`, default: `denied`) |
588
+ | `TEAM_ADMIN` | Bootstrap admin author name when the `team_members` table is empty (CLI: `--team-admin`) |
589
+ | `ADDITIONAL_TEAM_DBS` | JSON mapping of label to path for additional read-only team SQLite databases (CLI: `--additional-team-dbs`) |
590
+ | `DEFAULT_WORKSPACE_ID` | Default workspace ID for multi-tenant isolation (CLI: `--default-workspace-id`, default: `default`; `MCP_WORKSPACE_ID` provides a session-scoped schema-healing fallback on tool payloads) |
591
+ | `MEMORY_JOURNAL_CONFIG` | Path to configuration file (`.yaml`, `.yml`, `.json`; CLI: `--config`) |
592
+ | `LOG_LEVEL` | Server log verbosity: `debug`, `info`, `notice`, `warning`, `error`, `critical` (CLI `--log-level` accepts `debug`, `info`, `warning`, `error`; default: `info`) |
593
+ | `TRANSPORT` / `PORT` / `MCP_HOST` / `STATELESS` | Transport mode (`stdio` or `http`; CLI: `--transport`), HTTP port (`--port`, default: `3000`), bind address (`--server-host`, fallback: `HOST`, default: `localhost`), and stateless HTTP mode (`--stateless`, default: `false`) |
594
+ | `CORS_ORIGIN` / `MCP_CORS_ORIGIN` / `MCP_RATE_LIMIT_MAX` | Allowed CORS origins (`--cors-origin`) and per-IP/minute HTTP rate limit (default: `100`) |
595
+ | `GITHUB_TOKEN` | Personal access token for GitHub integrations |
596
+ | `DEFAULT_PROJECT_NUMBER` | Default GitHub Project number for issue auto-assignment (CLI: `--default-project`) |
597
+ | `PROJECT_REGISTRY` | JSON map of repo names to local paths and project numbers |
598
+ | `EMBEDDING_MODEL` | HuggingFace transformers model for semantic search (CLI: `--embedding-model`, default: `Xenova/all-MiniLM-L6-v2`) |
599
+ | `AUTO_REBUILD_INDEX` | Rebuild vector search index on startup (`true`/`false`, CLI: `--auto-rebuild-index`) |
600
+ | **Security & Tooling** | |
601
+ | `ALLOWED_IO_ROOTS` | Comma-separated paths for Code Mode and IO filesystem boundaries (fail-closed in stdio; mandatory when `--transport http` is used) |
602
+ | `MEMORY_JOURNAL_MCP_TOOL_FILTER` | Control tool exposure (`full`, `starter`, `essential`, `codemode`, `readonly`, `-github`; CLI: `--tool-filter`, `memory-journal.config.{yaml,yml,json}` key: `"toolFilter"`. Note: `TOOL_FILTER` is a display fallback only) |
603
+ | `CODE_MODE_MAX_RESULT_SIZE` | Max execution payload buffer size in Code Mode (bytes, default: `102400`) |
604
+ | `CODEMODE_INTERNAL_FULL_ACCESS` | Allow Code Mode to bypass tool filters internally (default: `false`) |
605
+ | `MCP_AGENT_HEALING` | Enable/disable autonomous tool & parameter healing (`true`/`false`, CLI: `--no-agent-healing`) |
606
+ | `MAX_TOOL_INPUT_ELEMENTS` | Max array/object elements in tool inputs (default: `25000`, `0` or `Infinity` = disabled) |
607
+ | `MCP_AUTH_TOKEN` / `MCP_AUTH_SCOPES` | Static Bearer authentication token (`--auth-token`, `--auth-scopes`) and comma-separated granted scopes for HTTP transport (default: `read`) |
608
+ | `MCP_ENABLE_HSTS` / `TRUST_PROXY` | Enable `Strict-Transport-Security` header (`--enable-hsts`) and reverse-proxy `X-Forwarded-For` trust (`--trust-proxy`) |
609
+ | **Briefing & Context** | |
610
+ | `BRIEFING_ENTRY_COUNT` | Number of granular journal entries in briefing (default: 3)|
611
+ | `BRIEFING_SUMMARY_COUNT` | Number of session summaries in briefing (default: 1) |
612
+ | `BRIEFING_COMMIT_COUNT` | Number of git commits in briefing (default: 3) |
613
+ | `BRIEFING_IMPORTANCE_THRESHOLD` | Minimum importance score for briefing entries (default: 0.3)|
614
+ | `BRIEFING_INCLUDE_TEAM` | Include entries from the team database (default: false) |
615
+ | `BRIEFING_ISSUE_COUNT` / `BRIEFING_PR_COUNT` / `BRIEFING_PR_STATUS` | GitHub Issues (default: `0`), PRs (default: `0`), and PR status breakdown (default: `false`) in briefing |
616
+ | `BRIEFING_MILESTONE_COUNT` | GitHub Milestones to list with titles (default: `3`) |
617
+ | `BRIEFING_WORKFLOW_COUNT` / `BRIEFING_WORKFLOW_STATUS` / `BRIEFING_COPILOT_REVIEWS` | CI workflow runs (default: `0`), status breakdown (default: `false`), and Copilot review state (default: `false`) |
618
+ | `STALENESS_ACTIVE_HOURS` / `STALENESS_RECENT_DAYS` / `STALENESS_STALE_DAYS` | Thresholds for `memory://staleness` project classification (defaults: `24`h / `7`d / `30`d) |
619
+ | `RULES_FILE_PATH` / `SKILLS_DIR_PATH` / `MEMORY_JOURNAL_WORKFLOW_SUMMARY` | Injected behavioral rules, skills boundaries, and workflow summary |
620
+ | **OAuth (HTTP Mode)** | |
621
+ | `OAUTH_ENABLED` | Enable OAuth 2.1 authentication (default: false) |
622
+ | `OAUTH_ISSUER` / `OAUTH_AUDIENCE` / `OAUTH_JWKS_URI` / `OAUTH_CLOCK_TOLERANCE` / `PUBLIC_ORIGIN` / `OAUTH_ALLOW_PLAINTEXT_LOOPBACK` | OAuth token verification parameters (clock tolerance default: 60s), non-loopback RFC 9728 public origin (`--public-origin`), and local dev plaintext loopback issuer flag (`--oauth-allow-plaintext-loopback`) |
623
+ | **Telemetry & Administration** | |
624
+ | `AUDIT_LOG_PATH` / `AUDIT_REDACT` / `AUDIT_READS` / `AUDIT_LOG_MAX_SIZE` | Path to JSONL audit log file, argument/result redaction, read-call logging, and rotation size limit (default: 10MB) |
625
+ | `METRICS_EXPORT` / `PERSIST_METRICS` / `METRICS_PATH` / `MJ_METRICS_PORT` / `MJ_METRICS_HOST` | Prometheus export (`METRICS_EXPORT=prometheus` auto-starts the standalone metrics server on `127.0.0.1:9465` in addition to mounting `/metrics` on the HTTP transport), disk-persisted metrics (`--persist-metrics`, `--metrics-path`), and dedicated scrape port/host |
626
+ | `AUTO_PRUNE_INTERVAL_MINUTES` / `ARCHIVE_OLDER_THAN_DAYS` / `PRUNE_OLDER_THAN_DAYS` / `HARD_DELETE_OLDER_THAN_DAYS` / `PRUNE_IMPORTANCE_THRESHOLD` / `PRUNE_DRY_RUN` / `PRUNE_EXCLUDE_TAGS` | Autonomous lifecycle pruning, archiving (interval/days default: `0` = disabled), importance threshold (default: `0.15`), dry-run (default: `false`), and exclusion tags |
627
+ | `BACKUP_INTERVAL` / `KEEP_BACKUPS` / `VACUUM_INTERVAL` / `REBUILD_INDEX_INTERVAL` / `DIGEST_INTERVAL` | Scheduled HTTP maintenance intervals in minutes (`--backup-interval`, `--vacuum-interval`, `--rebuild-index-interval`, `--digest-interval`) and backup retention count (`--keep-backups`, default: `5`) |
628
+ | `REPORT_INTERVAL` / `REPORT_WEBHOOK_URL` / `REPORT_WEBHOOK_AUTH` / `REPORT_CONTENT_TYPE` / `ALLOW_INSECURE_WEBHOOK_HTTP` | Scheduled HTTP reports, webhook delivery headers/content-type, and local dev HTTP webhook override |
629
+ | `DEBUG` / `DISABLE_ISSUE_LOGGING` | Verbose debug logging and suppression of automated runtime issue logging |
630
+
704
631
  ### GitHub Integration (Optional)
705
632
 
706
633
  ```bash
@@ -709,7 +636,7 @@ export GITHUB_TOKEN="your_token" # For Projects/Issues/PRs
709
636
 
710
637
  **Scopes:** `repo`, `project`, `read:org` (org-level project discovery only)
711
638
 
712
- ### GitHub Management Capabilities
639
+ ### Manage GitHub Seamlessly
713
640
 
714
641
  Memory Journal provides a **hybrid approach** to GitHub management:
715
642
 
@@ -720,22 +647,15 @@ Memory Journal provides a **hybrid approach** to GitHub management:
720
647
 
721
648
  **MCP Server Tools (Read + Kanban + Milestones + Issue Lifecycle):**
722
649
 
723
- - `get_github_issues` / `get_github_issue` - Query issues
724
- - `get_github_prs` / `get_github_pr` - Query pull requests
725
- - `get_github_context` - Full repository context
726
- - `get_kanban_board` / `add_kanban_item` / `move_kanban_item` / `delete_kanban_item` - **Kanban management**
727
- - `get_github_milestones` / `get_github_milestone` - **Milestone tracking with completion %**
728
- - `create_github_milestone` / `update_github_milestone` / `delete_github_milestone` - **Milestone CRUD**
729
- - `get_repo_insights` - **Repository traffic & analytics** (stars, clones, views, referrers, popular paths)
730
- - `create_github_issue_with_entry` / `close_github_issue_with_entry` - **Issue lifecycle with journal linking**
650
+ See the **[Complete tools reference](https://github.com/neverinfamous/memory-journal-mcp/wiki/Tools)** for all supported GitHub integration capabilities, including query commands, Kanban management, milestone tracking, analytics, and issue lifecycle events.
731
651
 
732
652
  > **Why this design?** The MCP server focuses on value-added features that integrate journal entries with GitHub (Kanban views, Milestones, timeline resources, context linking). Standard GitHub mutations (create/close issues, merge PRs, manage releases) are handled directly by agents via `gh` CLI.
733
653
 
734
654
  **[Complete GitHub integration guide β†’](https://github.com/neverinfamous/memory-journal-mcp/wiki/Git-Integration)**
735
655
 
736
- ### GitHub Commander Workflows
656
+ ### Automate with GitHub Commander Workflows
737
657
 
738
- The server natively bundles the `github-commander` agent skill (accessible via `memory://skills/github-commander`). This extends your AI assistant with 9 autonomous DevOps workflows for repository stewardship: **Issue Triage**, **Milestone Sprints**, **PR Reviews**, **Copilot Audits**, **Security Audits**, **Code Quality Audits**, **Performance Audits**, **Roadmap Kickoffs**, and **Dependency Updates**. Configure validation layers using the `PROJECT_*` environment overrides to enforce CI-matching execution locally during agent tasks!
658
+ The server natively bundles the `memory-journal-mcp` agent skill (served via SEP-2640 and `memory://skills`). It also provides built-in `issue-commander`, `pr-commander`, and `cms-rem-supervisor` MCP workflow prompts for autonomous DevOps stewardship: **Issue Triage**, **Milestone Sprints**, **PR Reviews**, **Copilot Audits**, **Security Audits**, **Code Quality Audits**, **Performance Audits**, **Roadmap Kickoffs**, and **Dependency Updates**. These workflows enforce multi-gate validation (`lint`, `typecheck`, `test`, and security checks) locally during agent tasks.
739
659
 
740
660
  ## πŸ—οΈ Architecture
741
661
 
@@ -745,10 +665,11 @@ The server natively bundles the `github-commander` agent skill (accessible via `
745
665
  flowchart TB
746
666
  AI["πŸ€– AI Agent<br/>(Cursor, Windsurf, Claude)"]
747
667
 
748
- subgraph MCP["Memory Journal MCP Server"]
749
- Tools["πŸ› οΈ 73 Tools"]
750
- Resources["πŸ“‘ 46 Resources"]
751
- Prompts["πŸ’¬ 19 Prompts"]
668
+ subgraph MCP["MCP Server Capabilities"]
669
+ direction LR
670
+ Tools["πŸ› οΈ MCP Tools"]
671
+ Resources["πŸ“‘ Resources"]
672
+ Prompts["πŸ’¬ Prompts"]
752
673
  end
753
674
 
754
675
  subgraph Storage["Persistence Layer"]
@@ -775,8 +696,7 @@ flowchart TB
775
696
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
776
697
  β”‚ MCP Server Layer (TypeScript) β”‚
777
698
  β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
778
- β”‚ β”‚ Tools (73) β”‚ β”‚ Resources (47) β”‚ β”‚ Prompts (19)β”‚ β”‚
779
- β”‚ β”‚ with Annotationsβ”‚ β”‚ with Annotationsβ”‚ β”‚ β”‚ β”‚
699
+ β”‚ β”‚ Tools β”‚ β”‚ Resources β”‚ β”‚ Prompts β”‚ β”‚
780
700
  β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
781
701
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
782
702
  β”‚ Native SQLite Engine β”‚
@@ -805,41 +725,44 @@ flowchart TB
805
725
 
806
726
  ### Performance Benchmarks
807
727
 
808
- Memory Journal is designed for extremely low overhead during AI task execution. We include a `vitest bench` suite to maintain these baseline guarantees:
728
+ Memory Journal is designed for extremely low overhead during AI task execution. We include a `vitest bench` suite across database, vector search, and MCP server routines to maintain these baseline guarantees:
809
729
 
810
- - **Database Reads**: Operations execute in fractions of a millisecond. `calculateImportance` is ~13-14x faster than retrieving 50 recent entries.
811
- - **Vector Search Engine**: Both search (~140-220 ops/sec) and indexing (~1600-1900+ ops/sec) are high-throughput via `sqlite-vec` with SQL-native KNN queries.
812
- - **Core MCP Routines**: `getTools` uses cached O(1) dispatch (~4800-7000x faster than `get_recent_entries`). `create_entry` and `search_entries` execute through the full MCP layer with sub-millisecond overhead.
730
+ - **Database Operations (`sqlite-adapter.bench.ts`)**: `calculateImportance` runs at **~51,600 ops/sec** (~0.03ms mean, ~27x faster than retrieving 50 recent entries) via a 256-entry LRU prepared statement cache. `getRecentEntries (limit 50)` executes at **~1,870 ops/sec** (~0.63ms mean), `updateEntry` at **~2,380 ops/sec** (~0.79ms mean), `createEntry` at **~1,060 ops/sec** (~1.69ms mean), and `searchEntries` (FTS5 BM25 + batch importance hydration) at **~176 ops/sec** (~6.2ms mean).
731
+ - **Vector Search Engine (`vector-search.bench.ts`)**: Both k-NN similarity search (**~1,050 ops/sec**, ~1.8ms mean with batch entry hydration) and vector indexing (**~4,220 ops/sec**, ~0.41ms mean) are high-throughput via `sqlite-vec` (`vec0` with `chunk_size=256`).
732
+ - **Core MCP Routines (`mcp-server.bench.ts`)**: `getTools` uses cached O(1) dispatch (**~7.2M–9.4M ops/sec**, ~0.0001ms). Full end-to-end `callTool` invocations (including interceptor, token estimation, and project registry resolution) run at **~1,775 ops/sec** (~0.65ms) for `get_recent_entries`, **~205 ops/sec** (~5.4ms) for `search_entries`, and **~800 ops/sec** (~2.4ms) for `create_entry`.
813
733
 
814
734
  To run the benchmarking suite locally:
815
735
 
816
736
  ```bash
817
- npm run bench
737
+ pnpm run bench
818
738
  ```
819
739
 
820
740
  ### Testing
821
741
 
822
742
  Extensively tested across two frameworks:
823
743
 
824
- | Suite | Command | Covers |
825
- | ------------------------- | ------------------ | ------------------------------------------------------------------------------- |
826
- | Vitest (unit/integration) | `npm test` | Database, tools, resources, handlers, security, GitHub, vector search, codemode |
827
- | Playwright (e2e) | `npm run test:e2e` | HTTP/SSE transport, auth, sessions, CORS, security headers, scheduler |
744
+ | Suite | Command | Covers |
745
+ | ------------------------- | ------------------- | ------------------------------------------------------------------------------- |
746
+ | Vitest (unit/integration) | `pnpm test` | Extensive Vitest unit and integration suite with strict quality gates (database, tools, resources, handlers, security, GitHub, vector search, codemode) |
747
+ | Playwright (e2e) | `pnpm run test:e2e` | HTTP/SSE transport, auth, sessions, CORS, security headers, scheduler |
828
748
 
829
749
  ```bash
830
- npm test # Unit + integration tests
831
- npm run test:e2e # End-to-end HTTP/SSE transport tests
750
+ pnpm test # Unit + integration tests
751
+ pnpm run test:e2e # End-to-end HTTP/SSE transport tests
832
752
  ```
833
753
 
834
754
  ### Security
835
755
 
756
+ > **Note**: When updating schemas or validation logic, please refer to the `/zod` skill for best practices on Standard Schema and Safe Parsing.
757
+
836
758
  - **Deterministic error handling** - Every tool returns structured `{success, error, code, category, suggestion, recoverable}` responses with actionable context β€” no raw exceptions, no silent failures, no misleading messages
837
759
  - **Local-first** - All data stored locally, no external API calls (except optional GitHub)
838
- - **Input validation** - Zod schemas, content size limits, SQL injection prevention
839
- - **Path traversal protection** - Backup filenames validated
840
- - **MCP 2025-03-26 annotations** - Behavioral hints (`readOnlyHint`, `destructiveHint`, etc.)
841
- - **HTTP transport hardening** - 7 security headers, configurable multi-origin CORS, 1MB body limit, built-in rate limiting (100 req/min), server timeouts, HSTS (opt-in), 30-min session timeout, 404 handler, cross-protocol guard
842
- - **Token scrubbing** - GitHub tokens and credentials automatically redacted from error logs
760
+ - **Input validation** - Zod schemas, content size limits, SQL injection prevention, and `<untrusted_remote_content>` prompt-injection boundary tagging
761
+ - **Path traversal & SSRF protection** - `ALLOWED_IO_ROOTS` sandbox containment with URL-decode/symlink verification, backup path validation, and outbound webhook DNS/IP SSRF blocking
762
+ - **Multi-tenant & filter enforcement** - End-to-end `workspace_id` isolation across SQLite and Vector search, plus execution-layer `--tool-filter` enforcement across `tools/call`, Code Mode (`mj.*`), and fallback handlers
763
+ - **MCP 2025-11-25 annotations & icons** - Behavioral hints (`readOnlyHint`, `destructiveHint`, etc.) and capability icons
764
+ - **HTTP transport hardening** - OAuth 2.1 `tokenClaims` propagation, principal-bound stateful sessions (`100` max active sessions), comprehensive security headers, configurable multi-origin CORS, 1MB body/stream limit, built-in per-subject/IP rate limiting (100 req/min), server timeouts, HSTS (opt-in), 30-min session timeout, and localhost-bound metrics (`METRICS_EXPORT=prometheus` automatically starts the standalone metrics server on `127.0.0.1:9465`, customizable via `MJ_METRICS_PORT` and `MJ_METRICS_HOST`, in addition to mounting `/metrics` on the HTTP transport)
765
+ - **Token scrubbing** - GitHub tokens and credentials automatically redacted from error and audit logs
843
766
 
844
767
  ### Data & Privacy
845
768
 
@@ -853,8 +776,8 @@ npm run test:e2e # End-to-end HTTP/SSE transport tests
853
776
  ## πŸ“š Documentation & Resources
854
777
 
855
778
  - **[GitHub Wiki](https://github.com/neverinfamous/memory-journal-mcp/wiki)** - Complete documentation
856
- - **[Copilot Setup Guide](docs/copilot-setup.md)** - Cross-agent memory bridge between IDE agents and GitHub Copilot
857
- - **[Deployment Guide](docs/deployment.md)** - CI/CD pipeline, environments, and version bump checklist
779
+ - **[Copilot Setup Guide](https://github.com/neverinfamous/memory-journal-mcp/wiki)** - Cross-agent memory bridge between IDE agents and GitHub Copilot
780
+ - **[Deployment Guide](https://github.com/neverinfamous/memory-journal-mcp/wiki/Deployment)** - CI/CD pipeline, environments, and version bump checklist
858
781
  - **[Docker Hub](https://hub.docker.com/r/writenotenow/memory-journal-mcp)** - Container images
859
782
  - **[npm Package](https://www.npmjs.com/package/memory-journal-mcp)** - Node.js distribution
860
783
  - **[Issues](https://github.com/neverinfamous/memory-journal-mcp/issues)** - Bug reports & feature requests
@@ -867,4 +790,6 @@ MIT License - See [LICENSE](LICENSE) file for details.
867
790
 
868
791
  ## 🀝 Contributing
869
792
 
870
- Built by developers, for developers. PRs welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
793
+ Built by developers, for developers. PRs welcome! Ensure all unit and E2E tests, linting, and typechecks pass. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
794
+
795
+ _Upgrading from an earlier version?_ Your existing SQLite database is automatically migrated on startup.