@dizzlkheinz/ynab-mcpb 0.12.2 → 0.15.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 (262) hide show
  1. package/.code/agents/01a13ef4-3f23-4f52-b33b-3585b73cfa60/error.txt +3 -0
  2. package/.code/agents/084fd32f-e298-4728-9103-a78d7dc39613/error.txt +3 -0
  3. package/.code/agents/0fed51e1-a943-4b97-a2a8-a6f0f27c844d/status.txt +1 -0
  4. package/.code/agents/1059b6bd-5ccd-4d83-a12c-7c9d89137399/error.txt +5 -0
  5. package/.code/agents/110/exec-call_F9BDNG7JfxKkq7Vc8ESAvdft.txt +1569 -0
  6. package/.code/agents/11ebcef3-b13f-4e44-ad80-d94a866804b7/error.txt +3 -0
  7. package/.code/agents/1398/exec-call_CjItcWMU1G6JoPshX62QvpaR.txt +2832 -0
  8. package/.code/agents/1398/exec-call_SUVq2ivmONQ5LMCmd7ngmOqr.txt +2709 -0
  9. package/.code/agents/1398/exec-call_SdNY4NOffdcC5pRYjVXHjPCK.txt +2832 -0
  10. package/.code/agents/1398/exec-call_qblJo9et1gsFFB63TtLOiji2.txt +2832 -0
  11. package/.code/agents/1398/exec-call_zaRrzlGz7GJcNzVfkAmML7Zg.txt +2709 -0
  12. package/.code/agents/171834fd-5905-42fc-bbcc-2c755145b0fc/status.txt +1 -0
  13. package/.code/agents/1724/exec-call_HvHQe0w5CCG3T7Q3ULT6MO3g.txt +5217 -0
  14. package/.code/agents/1724/exec-call_QwUNESVzfxxk78K1frh1Vahb.txt +2594 -0
  15. package/.code/agents/1724/exec-call_aJ1Xwz71XmIpD4SBxSHERzLe.txt +2594 -0
  16. package/.code/agents/1d7d7ab7-7473-4b69-8b97-6e914f56056a/result.txt +231 -0
  17. package/.code/agents/210/exec-call_0tQCsKNJ1WTuIchb8wlcFJpW.txt +2590 -0
  18. package/.code/agents/210/exec-call_8ZlY9cUc8Ft1twi4ch8UJ6IN.txt +5195 -0
  19. package/.code/agents/2188/exec-call_5HqayBxIteJtoI8oPTiLWgvJ.txt +286 -0
  20. package/.code/agents/2188/exec-call_XRbBKBq3adZe6dcppAvQtM7G.txt +218 -0
  21. package/.code/agents/2188/exec-call_ehA0SjpYtrUi6GJXmibLjp4i.txt +180 -0
  22. package/.code/agents/21902821-ecaf-4759-bb9d-222b90921af5/error.txt +3 -0
  23. package/.code/agents/232073be-aa0e-46da-b478-5b64dbf03cf5/status.txt +1 -0
  24. package/.code/agents/234ff534-2336-4771-a8d9-aa04421a63be/result.txt +747 -0
  25. package/.code/agents/253e2695-dc36-4022-b436-27655e0fc6c7/status.txt +1 -0
  26. package/.code/agents/2583/exec-call_M59I4eDjpjlBIWBiSxyS0YlJ.txt +2594 -0
  27. package/.code/agents/2583/exec-call_usLRGh7OhVHtsRBL4iUwRhjq.txt +2594 -0
  28. package/.code/agents/292aa3ff-dbab-470f-97c9-e7e8fd65e0db/result.txt +144 -0
  29. package/.code/agents/3134/exec-call_IgCAMGx19lWfuo8zfYIt5FFC.txt +416 -0
  30. package/.code/agents/3134/exec-call_IxvLR2Oo7kba2QTsI1gHVko8.txt +2590 -0
  31. package/.code/agents/3134/exec-call_jYvc8hksZChSiysbzKjl2ZbB.txt +2590 -0
  32. package/.code/agents/329/exec-call_4QdP3SfSO7HGPCwVcqZIth6s.txt +2590 -0
  33. package/.code/agents/472/exec-call_4AxzEEcWwkKhpqRB3bE8Ha4L.txt +790 -0
  34. package/.code/agents/472/exec-call_CB3LPYQA8QIZRi8I6kj4J17A.txt +766 -0
  35. package/.code/agents/472/exec-call_YeoUWvaFoktay2nqVUsa9KKX.txt +790 -0
  36. package/.code/agents/472/exec-call_jPWgKVquBBXTg0T3Lks5ZfkK.txt +2594 -0
  37. package/.code/agents/472/exec-call_qBkvunpGBDEHph2jPmTwtcsb.txt +1000 -0
  38. package/.code/agents/472/exec-call_v0ffRV1p0kTckBmJPzzHAEy0.txt +3489 -0
  39. package/.code/agents/472/exec-call_xAX5FXqWIlk02d9WubHbHWh8.txt +766 -0
  40. package/.code/agents/5346/exec-call_9q0muXUuLaucwEqI51Pt7idT.txt +2594 -0
  41. package/.code/agents/5346/exec-call_B2el3B79rVkq9LhWTI2VYlz7.txt +2456 -0
  42. package/.code/agents/5346/exec-call_BfX08f02qkZI9uJD5dvCvuoj.txt +2594 -0
  43. package/.code/agents/543328d0-61d6-4fd1-a723-bb168656e2e2/error.txt +18 -0
  44. package/.code/agents/5580c02c-1383-4d18-9cbd-cc8a06e3408d/result.txt +48 -0
  45. package/.code/agents/60ce1a22-5126-44b2-b977-1d5b56142a7b/status.txt +1 -0
  46. package/.code/agents/6215d9db-7fa9-4429-aeec-3835c3212291/error.txt +1 -0
  47. package/.code/agents/6743db55-30e5-4b4e-9366-a8214fc7f714/error.txt +1 -0
  48. package/.code/agents/6bf9591b-b9c9-422c-b0a5-e968c7d8422a/status.txt +1 -0
  49. package/.code/agents/7/exec-call_eww3GfdEiJZx61sJEQ9wNmt3.txt +1271 -0
  50. package/.code/agents/70/exec-call_owUtDMYiVgqDf8vsz1i32PFf.txt +1570 -0
  51. package/.code/agents/8/exec-call_UtrjAcLbhYLatxR4O97fZgnm.txt +2590 -0
  52. package/.code/agents/82490bc9-f34e-4b1b-8a8e-bccc2e6254f5/error.txt +3 -0
  53. package/.code/agents/841/exec-call_7nTNhSBCNjTDUIJv7py6CepO.txt +3299 -0
  54. package/.code/agents/841/exec-call_TLI0yUdUijuUAvI4o3DXEvHO.txt +3299 -0
  55. package/.code/agents/9/exec-call_XaABQT1hIlRpnKZ2uyBMWsTC.txt +1882 -0
  56. package/.code/agents/941/exec-call_GuGHRx7NNXWIDAnxUG2NEWPa.txt +2594 -0
  57. package/.code/agents/95d9fbab-19a2-48af-83f9-c792566a347f/error.txt +1 -0
  58. package/.code/agents/b0098cb8-cb32-4ada-9bc4-37c587518896/result.txt +170 -0
  59. package/.code/agents/b4fe59a4-81df-42e2-a112-0153e504faca/error.txt +1 -0
  60. package/.code/agents/bf4ce152-f623-49d7-aa52-c18631625c3c/error.txt +3 -0
  61. package/.code/agents/d7d1db75-d7eb-468e-adea-4ef4d916d187/status.txt +1 -0
  62. package/.code/agents/e2baa9c8-bac3-49e3-a39d-024333e6a990/status.txt +1 -0
  63. package/.code/agents/e350b8c3-8483-408c-b2bb-94515f492a11/error.txt +3 -0
  64. package/.code/agents/e63f9919-719f-4ad0-bccf-01b1a596e1e9/status.txt +1 -0
  65. package/.code/agents/e71695a8-3044-478d-8f12-ed13d02884c7/status.txt +1 -0
  66. package/.code/agents/f95b7464-3e25-4897-b153-c8dfd63fd605/error.txt +5 -0
  67. package/.code/agents/fa3c5ddf-cdf7-47a2-930a-b806c6363689/status.txt +1 -0
  68. package/.github/workflows/ci-tests.yml +6 -2
  69. package/.github/workflows/publish.yml +3 -3
  70. package/.github/workflows/release.yml +4 -0
  71. package/CHANGELOG.md +89 -1
  72. package/NUL +1 -1
  73. package/README.md +36 -10
  74. package/dist/bundle/index.cjs +65 -42
  75. package/dist/index.js +9 -20
  76. package/dist/server/YNABMCPServer.d.ts +2 -1
  77. package/dist/server/YNABMCPServer.js +61 -27
  78. package/dist/server/cacheKeys.d.ts +8 -0
  79. package/dist/server/cacheKeys.js +8 -0
  80. package/dist/server/config.d.ts +22 -3
  81. package/dist/server/config.js +16 -17
  82. package/dist/server/errorHandler.d.ts +2 -0
  83. package/dist/server/errorHandler.js +49 -5
  84. package/dist/server/securityMiddleware.js +3 -6
  85. package/dist/server/toolRegistry.js +8 -10
  86. package/dist/tools/accountTools.js +4 -3
  87. package/dist/tools/categoryTools.js +8 -7
  88. package/dist/tools/monthTools.js +2 -1
  89. package/dist/tools/payeeTools.js +2 -1
  90. package/dist/tools/reconcileAdapter.js +10 -5
  91. package/dist/tools/reconciliation/analyzer.d.ts +4 -2
  92. package/dist/tools/reconciliation/analyzer.js +120 -404
  93. package/dist/tools/reconciliation/csvParser.d.ts +51 -0
  94. package/dist/tools/reconciliation/csvParser.js +413 -0
  95. package/dist/tools/reconciliation/executor.d.ts +8 -0
  96. package/dist/tools/reconciliation/executor.js +277 -50
  97. package/dist/tools/reconciliation/index.d.ts +7 -7
  98. package/dist/tools/reconciliation/index.js +115 -39
  99. package/dist/tools/reconciliation/matcher.d.ts +24 -3
  100. package/dist/tools/reconciliation/matcher.js +175 -133
  101. package/dist/tools/reconciliation/recommendationEngine.js +22 -18
  102. package/dist/tools/reconciliation/reportFormatter.js +9 -8
  103. package/dist/tools/reconciliation/signDetector.d.ts +2 -0
  104. package/dist/tools/reconciliation/signDetector.js +54 -0
  105. package/dist/tools/reconciliation/types.d.ts +20 -34
  106. package/dist/tools/reconciliation/types.js +1 -7
  107. package/dist/tools/reconciliation/ynabAdapter.d.ts +4 -0
  108. package/dist/tools/reconciliation/ynabAdapter.js +15 -0
  109. package/dist/tools/transactionTools.d.ts +3 -17
  110. package/dist/tools/transactionTools.js +5 -17
  111. package/dist/types/reconciliation.d.ts +24 -0
  112. package/dist/types/reconciliation.js +1 -0
  113. package/dist/utils/baseError.d.ts +3 -0
  114. package/dist/utils/baseError.js +7 -0
  115. package/dist/utils/errors.d.ts +13 -0
  116. package/dist/utils/errors.js +15 -0
  117. package/dist/utils/validationError.d.ts +3 -0
  118. package/dist/utils/validationError.js +3 -0
  119. package/docs/guides/ARCHITECTURE.md +12 -129
  120. package/docs/plans/2025-11-20-reloadable-config-token-validation.md +93 -0
  121. package/docs/plans/2025-11-21-fix-transaction-cached-property.md +362 -0
  122. package/docs/plans/2025-11-21-reconciliation-error-handling.md +90 -0
  123. package/docs/plans/2025-11-21-v014-hardening.md +153 -0
  124. package/docs/plans/reconciliation-v2-redesign.md +1571 -0
  125. package/package.json +8 -2
  126. package/scripts/run-throttled-integration-tests.js +9 -3
  127. package/scripts/test-recommendations.ts +1 -1
  128. package/src/__tests__/performance.test.ts +12 -5
  129. package/src/__tests__/testUtils.ts +62 -5
  130. package/src/__tests__/tools/reconciliation/csvParser.integration.test.ts +129 -0
  131. package/src/__tests__/tools/reconciliation/real-world.integration.test.ts +53 -0
  132. package/src/__tests__/workflows.e2e.test.ts +33 -0
  133. package/src/index.ts +8 -31
  134. package/src/server/YNABMCPServer.ts +81 -42
  135. package/src/server/__tests__/YNABMCPServer.integration.test.ts +10 -12
  136. package/src/server/__tests__/YNABMCPServer.test.ts +27 -15
  137. package/src/server/__tests__/config.test.ts +76 -152
  138. package/src/server/__tests__/server-startup.integration.test.ts +42 -14
  139. package/src/server/__tests__/toolRegistry.test.ts +1 -1
  140. package/src/server/cacheKeys.ts +8 -0
  141. package/src/server/config.ts +20 -38
  142. package/src/server/errorHandler.ts +52 -5
  143. package/src/server/securityMiddleware.ts +3 -7
  144. package/src/server/toolRegistry.ts +14 -10
  145. package/src/tools/__tests__/categoryTools.test.ts +37 -19
  146. package/src/tools/__tests__/transactionTools.test.ts +58 -2
  147. package/src/tools/accountTools.ts +8 -3
  148. package/src/tools/categoryTools.ts +12 -7
  149. package/src/tools/monthTools.ts +7 -1
  150. package/src/tools/payeeTools.ts +7 -1
  151. package/src/tools/reconcileAdapter.ts +10 -5
  152. package/src/tools/reconciliation/__tests__/adapter.test.ts +28 -22
  153. package/src/tools/reconciliation/__tests__/analyzer.test.ts +114 -180
  154. package/src/tools/reconciliation/__tests__/csvParser.test.ts +87 -0
  155. package/src/tools/reconciliation/__tests__/executor.integration.test.ts +26 -6
  156. package/src/tools/reconciliation/__tests__/executor.test.ts +133 -60
  157. package/src/tools/reconciliation/__tests__/matcher.test.ts +68 -54
  158. package/src/tools/reconciliation/__tests__/recommendationEngine.test.ts +37 -30
  159. package/src/tools/reconciliation/__tests__/reportFormatter.test.ts +6 -5
  160. package/src/tools/reconciliation/__tests__/scenarios/extremes.scenario.test.ts +30 -11
  161. package/src/tools/reconciliation/__tests__/scenarios/repeatAmount.scenario.test.ts +50 -15
  162. package/src/tools/reconciliation/__tests__/signDetector.test.ts +211 -0
  163. package/src/tools/reconciliation/__tests__/ynabAdapter.test.ts +61 -0
  164. package/src/tools/reconciliation/analyzer.ts +174 -545
  165. package/src/tools/reconciliation/csvParser.ts +617 -0
  166. package/src/tools/reconciliation/executor.ts +344 -58
  167. package/src/tools/reconciliation/index.ts +141 -48
  168. package/src/tools/reconciliation/matcher.ts +234 -214
  169. package/src/tools/reconciliation/recommendationEngine.ts +23 -19
  170. package/src/tools/reconciliation/reportFormatter.ts +16 -11
  171. package/src/tools/reconciliation/signDetector.ts +117 -0
  172. package/src/tools/reconciliation/types.ts +39 -61
  173. package/src/tools/reconciliation/ynabAdapter.ts +33 -0
  174. package/src/tools/schemas/outputs/utilityOutputs.ts +1 -1
  175. package/src/tools/transactionTools.ts +7 -18
  176. package/src/types/reconciliation.ts +49 -0
  177. package/src/utils/baseError.ts +7 -0
  178. package/src/utils/errors.ts +21 -0
  179. package/src/utils/validationError.ts +3 -0
  180. package/temp-recon.ts +126 -0
  181. package/test-exports/ynab_since_2025-10-16_account_53298e13_238items_2025-11-28_13-46-20.json +3662 -0
  182. package/test_mcp_tools.mjs +75 -0
  183. package/.code/agents/0427d95e-edca-431f-a214-5e53264e29c4/error.txt +0 -8
  184. package/.code/agents/0d675174-d1e1-41c3-9975-4c2e275819a9/error.txt +0 -3
  185. package/.code/agents/0d8c5afd-4787-422b-abf8-2e5943fc7e67/error.txt +0 -3
  186. package/.code/agents/0ec34a70-ed5d-4b9e-bee4-bb0e4cccbc4b/error.txt +0 -1
  187. package/.code/agents/0ef51a21-1ab1-49d7-9561-0eaa43875ebc/error.txt +0 -12
  188. package/.code/agents/15db95d7-abad-4b4d-9c3b-8446089cb61d/error.txt +0 -1
  189. package/.code/agents/19ab9acb-f675-4ff0-902a-09a5476f8149/error.txt +0 -1
  190. package/.code/agents/1ef7e12d-f6ff-4897-8a9b-152d523d898e/error.txt +0 -5
  191. package/.code/agents/2465/exec-call_lroN9KKzJVWC7t5423DK1nT9.txt +0 -1453
  192. package/.code/agents/28edb6fe-95a9-41a0-ae69-aa0100d26c0c/error.txt +0 -8
  193. package/.code/agents/2ae40cf5-b4bf-42e2-92bf-7ea350a7755e/error.txt +0 -9
  194. package/.code/agents/2bfc4e1f-ac4b-45a5-b6df-bf89d4dbb54c/error.txt +0 -1
  195. package/.code/agents/2e2e1134-eff0-49be-ba25-8e2c3468a564/error.txt +0 -5
  196. package/.code/agents/3/exec-call_203OC4TNVkLxW7z2HCVEQ1cM.txt +0 -81
  197. package/.code/agents/3/exec-call_SS5T0XSiXB4LSNzUKTl75wkh.txt +0 -610
  198. package/.code/agents/3322c003-ce5e-48e3-a342-f5049c5bf9a2/error.txt +0 -1
  199. package/.code/agents/391e9b08-1ebc-468c-9bcd-6d0cc3193b37/error.txt +0 -1
  200. package/.code/agents/3ab0aa84-b7bb-4054-afa3-40b8fd7d3be0/error.txt +0 -1
  201. package/.code/agents/3bed368d-50fe-477e-aee3-a6707eaa1ab9/error.txt +0 -3
  202. package/.code/agents/3e40b925-db12-442f-8d7a-a25fc69a6672/error.txt +0 -8
  203. package/.code/agents/414d5776-cf58-41f3-9328-a6daed503a50/error.txt +0 -5
  204. package/.code/agents/42687751-4565-4610-b240-67835b17d861/error.txt +0 -1
  205. package/.code/agents/46b98876-1a39-43c9-9e2f-507ca6d47335/error.txt +0 -9
  206. package/.code/agents/4a7d9491-b26f-43dd-850d-2ecdc49b5d1b/error.txt +0 -1
  207. package/.code/agents/4e60f00a-1b3e-447f-87f3-7faf9deddec3/error.txt +0 -13
  208. package/.code/agents/5138fc1c-4d49-4b74-a7da-ccdb3a8e44e7/error.txt +0 -14
  209. package/.code/agents/521cff39-a7a3-42e5-a557-134f0f7daaa0/error.txt +0 -5
  210. package/.code/agents/53302dc5-3857-4413-9a47-9e0f64a51dc4/error.txt +0 -5
  211. package/.code/agents/567c7c2e-6a6f-4761-a08d-d36deeb2e0ac/error.txt +0 -5
  212. package/.code/agents/57b00845-80dc-47c9-953c-3028d16275d6/error.txt +0 -3
  213. package/.code/agents/593d9005-c2a5-48fd-8813-ece0d3f2de96/error.txt +0 -1
  214. package/.code/agents/5a112e66-0e1a-42f9-877c-53af56ea3551/error.txt +0 -1
  215. package/.code/agents/5b05e8ed-7788-4738-b7ee-9faa8180f992/error.txt +0 -5
  216. package/.code/agents/5f888d6f-d7ca-4ac8-be23-9ea1bf753951/error.txt +0 -5
  217. package/.code/agents/607db3ab-e4b0-435b-b497-93e9aa525549/error.txt +0 -8
  218. package/.code/agents/67dcb2a2-900f-4c78-b3fc-80b5213e0ddf/error.txt +0 -8
  219. package/.code/agents/69ad848c-4e98-49b3-b16c-0094ac2d1759/error.txt +0 -5
  220. package/.code/agents/6c9cfc5f-0d0b-445c-b121-9f60082c4f70/error.txt +0 -1
  221. package/.code/agents/6f6f8f77-4ab0-4f6e-9f30-40e8be0bd8f5/error.txt +0 -1
  222. package/.code/agents/72a7cde4-fa8a-4024-9038-27faa550539b/error.txt +0 -1
  223. package/.code/agents/7b48335c-8247-43aa-9949-5f820ba8e199/error.txt +0 -1
  224. package/.code/agents/80944249-bea9-4ac5-87de-a666c4df306e/error.txt +0 -1
  225. package/.code/agents/826099df-1b66-4186-a915-7eb59f9db19d/error.txt +0 -5
  226. package/.code/agents/8291d158-18a8-4a92-b799-4e9a4d9cce88/error.txt +0 -1
  227. package/.code/agents/82fb71a3-20fb-4341-804a-a2fc900f95bc/error.txt +0 -1
  228. package/.code/agents/855790ea-54ee-43e4-8209-a66994e37590/error.txt +0 -1
  229. package/.code/agents/88ce3a2e-04f2-42be-9062-bf97aa798da0/error.txt +0 -3
  230. package/.code/agents/9a17e398-b6ed-4218-bb55-bc64a8d38ce8/error.txt +0 -8
  231. package/.code/agents/9a4f4bfc-a2a6-4f40-a896-9335b41a7ed1/error.txt +0 -1
  232. package/.code/agents/9b633e55-ef84-47d6-94bb-fd3dd172ad97/error.txt +0 -1
  233. package/.code/agents/9b81f3ab-c72b-4a81-9a8f-28a49ddba84a/error.txt +0 -8
  234. package/.code/agents/a35daf29-b2d1-4aef-9b42-dad63a76bd47/error.txt +0 -3
  235. package/.code/agents/a81990cc-69ee-44d2-b907-17403c9bc5d7/error.txt +0 -5
  236. package/.code/agents/ab56260a-4a83-4ad4-9410-f88a23d6520a/error.txt +0 -1
  237. package/.code/agents/ad722c31-2d1d-45f7-bae2-3f02ca455b60/error.txt +0 -1
  238. package/.code/agents/b62e8690-3324-4b97-9309-731bee79416b/error.txt +0 -5
  239. package/.code/agents/baf60a3a-752b-4ad8-99d6-df32423ed2eb/error.txt +0 -1
  240. package/.code/agents/be049042-7dcb-4ac8-9beb-c8f1aea67742/error.txt +0 -14
  241. package/.code/agents/bed1dcb4-bfce-4a9f-8594-0f994962aafd/error.txt +0 -1
  242. package/.code/agents/c324a6cf-e935-4ede-9529-b3ebc18e8d6b/error.txt +0 -5
  243. package/.code/agents/c37c06ff-dfe3-43f2-9bbc-3ec73ec8f41d/error.txt +0 -5
  244. package/.code/agents/c8cd6671-433a-456b-9f88-e51cb2df6bfc/error.txt +0 -11
  245. package/.code/agents/ca2ccb67-2f24-428e-b27d-9365beadd140/error.txt +0 -1
  246. package/.code/agents/cf08c0c8-e7f0-423e-93ba-547e8e818340/error.txt +0 -8
  247. package/.code/agents/d579c74f-874b-40a4-9d56-ced1eb6a701d/error.txt +0 -1
  248. package/.code/agents/df412c98-7378-4deb-8e1e-76c416931181/error.txt +0 -3
  249. package/.code/agents/e5134eb3-2af4-45b0-8998-051cb4afdb45/error.txt +0 -3
  250. package/.code/agents/e6308471-aa45-4e9e-9496-2e9404164d97/error.txt +0 -8
  251. package/.code/agents/e7bd8bc7-23fb-4f46-98dc-b0dcf11b75a1/error.txt +0 -1
  252. package/.code/agents/e92bec35-378d-4fe1-8ac0-6e1bb3c86911/error.txt +0 -5
  253. package/.code/agents/ed918fbf-2dc4-4aa2-bfc5-04b65d9471ea/error.txt +0 -1
  254. package/.code/agents/ef1d756f-b272-48fc-8729-f05c494674f7/error.txt +0 -1
  255. package/.code/agents/ef359853-0249-4e41-a804-c0fc459fe456/error.txt +0 -1
  256. package/.code/agents/effc7b4a-4b90-40a0-8c86-a7a99d2d5fd2/error.txt +0 -1
  257. package/.code/agents/fa15f8d5-8359-4a8b-83a3-2f2056b3ff40/error.txt +0 -3
  258. package/.code/agents/fbef4193-eadf-4c8a-83ff-4878a6310f25/error.txt +0 -8
  259. package/.code/agents/fd0a4b4a-fda4-4964-a6d6-2b8a2da387c6/error.txt +0 -1
  260. package/.gemini/settings.json +0 -8
  261. package/ADOS-2-Module-1-Complete-Manual.md +0 -757
  262. package/WARP.md +0 -245
@@ -0,0 +1,2832 @@
1
+
2
+ > @dizzlkheinz/ynab-mcpb@0.14.0 test
3
+ > vitest run --project unit && npm run filter-test-results
4
+
5
+
6
+  RUN  v3.2.4 C:/Users/ksutk/projects/ynab-mcpb
7
+
8
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > high confidence matches (≥90%) > should return high confidence for exact match 16ms
9
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > high confidence matches (≥90%) > should return high confidence for normalized payee match 1ms
10
+ ×  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > high confidence matches (≥90%) > should handle date within tolerance 13ms
11
+  → expected 'medium' to be 'high' // Object.is equality
12
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > high confidence matches (≥90%) > should return high confidence for fuzzy payee match 1ms
13
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > medium confidence matches (60-89%) > should provide multiple candidates for medium confidence 1ms
14
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > low/no confidence matches > should return no match when amount differs 1ms
15
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > low/no confidence matches > should not match opposite-signed transactions 0ms
16
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > prioritization > should prioritize uncleared transactions over cleared 1ms
17
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > prioritization > should use date proximity as tiebreaker 1ms
18
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > amount tolerance > should match within amount tolerance 1ms
19
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > amount tolerance > should not match outside amount tolerance 1ms
20
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > used IDs > should skip already-used YNAB transaction IDs 1ms
21
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findMatches > should match multiple bank transactions 2ms
22
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findMatches > should prevent duplicate matching of YNAB transactions 1ms
23
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findMatches > should handle mix of matched and unmatched transactions 1ms
24
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findMatches > should use custom configuration 1ms
25
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > edge cases > should handle empty YNAB transactions list 0ms
26
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > edge cases > should handle null payee names 0ms
27
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > edge cases > should handle very small amounts 0ms
28
+ ✓  unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > edge cases > should handle large amounts 0ms
29
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should format a basic report with header and sections 16ms
30
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show statement date range 1ms
31
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show balanced status when no discrepancy 6ms
32
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show discrepancy with correct direction when YNAB higher 1ms
33
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show discrepancy with correct direction when bank higher 1ms
34
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show transaction analysis counts 1ms
35
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should list unmatched bank transactions 5ms
36
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should truncate long unmatched lists 1ms
37
+ ×  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show suggested matches 6ms
38
+  → Cannot read properties of undefined (reading 'amount')
39
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should include insights section when insights present 1ms
40
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should use correct severity icons 4ms
41
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should truncate insights list 1ms
42
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should include execution section when execution provided 1ms
43
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show dry run notice when dry run enabled 0ms
44
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show execution recommendations 0ms
45
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show next steps when no execution 0ms
46
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should handle empty next steps gracefully 0ms
47
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should use default account name when not provided 0ms
48
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatBalanceInfo > should format balance info correctly 1ms
49
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatTransactionList > should format bank transactions 1ms
50
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatTransactionList > should format YNAB transactions 1ms
51
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatTransactionList > should truncate long lists 0ms
52
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatTransactionList > should handle empty list 1ms
53
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > edge cases > should handle negative amounts correctly 0ms
54
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > edge cases > should handle positive amounts correctly 0ms
55
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > edge cases > should handle long payee names gracefully 0ms
56
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > edge cases > should handle zero discrepancy 0ms
57
+ ✓  unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > edge cases > should format insight evidence when available 0ms
58
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > isAllowed > should allow requests within the limit 12ms
59
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > isAllowed > should track requests correctly 1ms
60
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > isAllowed > should limit requests when max is reached 5ms
61
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > isAllowed > should handle multiple identifiers independently 2ms
62
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > isAllowed > should reset after time window expires 78ms
63
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > recordRequest > should record requests correctly 1ms
64
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > recordRequest > should handle rapid successive requests 1ms
65
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > getStatus > should return current status without modifying state 0ms
66
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > reset > should reset specific identifier 1ms
67
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > reset > should reset all identifiers when no specific identifier provided 1ms
68
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > cleanup > should remove expired requests 72ms
69
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > logging > should log when logging is enabled 13ms
70
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > logging > should not log when logging is disabled 1ms
71
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > RateLimitError > should create error with correct properties 1ms
72
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > YNAB API compliance > should use YNAB API limits by default 0ms
73
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > YNAB API compliance > should handle YNAB-scale request volumes 1ms
74
+ ✓  unit  src/server/__tests__/rateLimiter.test.ts > RateLimiter > security considerations > should hash identifiers in logs to avoid token exposure 1ms
75
+ ×  unit  src/tools/reconciliation/__tests__/adapter.test.ts > buildReconciliationPayload > returns human narrative and structured payload with MoneyValue fields 11ms
76
+  → Cannot read properties of undefined (reading 'amount')
77
+ ×  unit  src/tools/reconciliation/__tests__/adapter.test.ts > buildReconciliationPayload > includes execution data when provided 58ms
78
+  → Cannot read properties of undefined (reading 'amount')
79
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > empty context scenarios > should return empty array for completely empty context 56ms
80
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > empty context scenarios > should return empty array with no insights and no unmatched transactions 4ms
81
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > insight processing > should process near_match insights 12ms
82
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > insight processing > should process repeat_amount insights 7ms
83
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > insight processing > should process anomaly insights 5ms
84
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > insight processing > should process critical anomaly insights with higher severity 5ms
85
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > insight processing > should process multiple insights 5ms
86
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched bank transactions > should create create_transaction recommendation for unmatched bank transaction 5ms
87
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > reloads environment variables on each loadConfig call 440ms
88
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > keeps the config singleton as a one-time parse 25ms
89
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > throws a detailed error if YNAB_ACCESS_TOKEN is missing 49ms
90
+ ✓  unit  src/tools/reconciliation/__tests__/scenarios/repeatAmount.scenario.test.ts > scenario: repeat amount collisions > prioritizes repeat-amount insight when multiple bank rows share totals 33ms
91
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched bank transactions > should include memo if present in bank transaction 4ms
92
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched bank transactions > should not include memo if not present in bank transaction 4ms
93
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched bank transactions > should create recommendations for multiple unmatched bank transactions 5ms
94
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched YNAB transactions > should create update_cleared recommendation for uncleared YNAB transaction 5ms
95
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched YNAB transactions > should not create recommendation for already cleared YNAB transaction 3ms
96
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched YNAB transactions > should not create recommendation for reconciled YNAB transaction 3ms
97
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > unmatched YNAB transactions > should handle null payee_name in YNAB transaction 4ms
98
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > suggested matches > should create review_duplicate recommendation for suggested match 5ms
99
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > suggested matches > should create create_transaction for suggested match with no YNAB transaction 3ms
100
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > suggested matches > should create manual_review for combination match with multiple candidates 5ms
101
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > amount sign preservation (CRITICAL) > should preserve negative amounts for expenses in create_transaction 3ms
102
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > amount sign preservation (CRITICAL) > should preserve positive amounts for income in create_transaction 3ms
103
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > amount sign preservation (CRITICAL) > should preserve negative amounts in suggested match create_transaction 3ms
104
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > amount sign preservation (CRITICAL) > should handle zero amounts correctly 3ms
105
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > sorting logic > should sort by priority (high > medium > low) 4ms
106
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > sorting logic > should sort by confidence when priorities are equal 8ms
107
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > sorting logic > should handle mixed priorities and confidence 5ms
108
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > recommendation metadata > should include correct metadata in all recommendations 7ms
109
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > recommendation metadata > should generate unique IDs for each recommendation 4ms
110
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > recommendation metadata > should use correct currency from balance info 7ms
111
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > recommendation metadata > should include enhanced metadata in insight-based manual review recommendations 6ms
112
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > recommendation metadata > should include enhanced metadata for all insight-based recommendation types 8ms
113
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > parses optional MCP_PORT correctly 44ms
114
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > handles missing optional MCP_PORT 23ms
115
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > throws an error for an invalid MCP_PORT 37ms
116
+ ✓  unit  src/server/__tests__/config.test.ts > Config Module > parses LOG_LEVEL and defaults to info 21ms
117
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle empty insights array 4ms
118
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle empty unmatched arrays 3ms
119
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle missing optional fields 3ms
120
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle very large arrays of recommendations 31ms
121
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle insight without evidence 4ms
122
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle transactions with very small amounts 4ms
123
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > edge cases > should handle transactions with very large amounts 4ms
124
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > combined scenarios > should handle combination of insights, unmatched bank, and unmatched YNAB 4ms
125
+ ✓  unit  src/tools/reconciliation/__tests__/recommendationEngine.test.ts > recommendationEngine > generateRecommendations > combined scenarios > should handle all recommendation types at once 5ms
126
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > error normalization helpers > normalizes YNAB SDK error objects with status and detail 7ms
127
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > error normalization helpers > retains status from Error-like objects and propagates HTTP code decisions 1ms
128
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (dry run) > produces action plan without calling YNAB APIs when dry_run=true 73ms
129
+  → expected 1 to be 2 // Object.is equality
130
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (apply mode) > creates, updates, and adjusts when dry_run=false 9ms
131
+  → expected +0 to be 1 // Object.is equality
132
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (ordered halting) > processes newest auto matches first and stops once balances align 6ms
133
+  → Cannot read properties of undefined (reading 'date')
134
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > uses bulk create API for batches with multiple transactions 15ms
135
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > falls back to sequential mode for single transaction scenarios 6ms
136
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > falls back to sequential creation when bulk request fails 9ms
137
+  → expected "spy" to be called 3 times, but got 2 times
138
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > propagates rate-limit error payloads with status codes from bulk create 13ms
139
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > splits large batches into 100-transaction chunks 33ms
140
+  → expected 148 to be 150 // Object.is equality
141
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > throws on fatal sequential creation errors surfaced as objects 18ms
142
+  → promise resolved "{ summary: { …(9) }, …(4) }" instead of rejecting
143
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > flags duplicate transactions returned by YNAB API 5ms
144
+ ×  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > honors halting logic when balance aligns mid-batch 7ms
145
+  → expected 4 to be 5 // Object.is equality
146
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > processes multiple chunks and halts at chunk boundaries when balance aligns 15ms
147
+ ✓  unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > simulates bulk preview during dry-run mode 6ms
148
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > ListTransactionsSchema > should validate valid parameters 10ms
149
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > ListTransactionsSchema > should require budget_id 4ms
150
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > ListTransactionsSchema > should validate date format 2ms
151
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > ListTransactionsSchema > should validate type enum 1ms
152
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > ListTransactionsSchema > should allow optional parameters to be undefined 1ms
153
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should bypass cache in test environment for unfiltered requests 7ms
154
+ ↓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should use cache when NODE_ENV is not test for unfiltered requests - obsolete test, caching now handled by DeltaFetcher
155
+ ↓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should not cache filtered requests - obsolete test (account_id)
156
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should list all transactions when no filters are provided 1ms
157
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should filter by account_id when provided 1ms
158
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should filter by category_id when provided 1ms
159
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should include since_date parameter when provided 1ms
160
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should handle 401 authentication errors 2ms
161
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should handle 404 not found errors 1ms
162
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should handle 429 rate limit errors 1ms
163
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should handle generic errors 2ms
164
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleListTransactions > should include cached property in large response path 36ms
165
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > GetTransactionSchema > should validate valid parameters 1ms
166
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > GetTransactionSchema > should require budget_id 1ms
167
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > GetTransactionSchema > should require transaction_id 1ms
168
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > GetTransactionSchema > should reject empty strings 1ms
169
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleGetTransaction > should get transaction details successfully 1ms
170
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleGetTransaction > should handle 404 not found errors 1ms
171
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleGetTransaction > should handle authentication errors 0ms
172
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleGetTransaction > should handle generic errors 1ms
173
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate valid parameters with required fields only 2ms
174
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate valid parameters with all optional fields 0ms
175
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should require budget_id 1ms
176
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should require account_id 1ms
177
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should require amount to be an integer 1ms
178
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate date format 1ms
179
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate cleared status enum 1ms
180
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate flag_color enum 0ms
181
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should validate parameters with subtransactions when totals match 2ms
182
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionSchema > should reject parameters when subtransaction totals do not match amount 1ms
183
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should create transaction with required fields only 5ms
184
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should create transaction with all optional fields 2ms
185
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should create split transaction with subtransactions 4ms
186
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should handle 404 not found errors 1ms
187
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should handle authentication errors 1ms
188
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should handle generic errors 1ms
189
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should invalidate transaction cache on successful transaction creation 2ms
190
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransaction > should not invalidate cache on dry_run transaction creation 1ms
191
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > surfaces top-level validation errors with a reserved transaction index 6ms
192
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > combines reserved and per-transaction validation errors 10ms
193
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateReceiptSplitTransactionSchema > should validate a well-formed receipt split payload 3ms
194
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateReceiptSplitTransactionSchema > should reject when subtotal does not match categorized items 1ms
195
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateReceiptSplitTransactionSchema > should reject when total does not equal subtotal plus tax 1ms
196
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateReceiptSplitTransaction > should return a detailed dry-run summary without calling the API 3ms
197
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateReceiptSplitTransaction > should create a split transaction and attach receipt summary 2ms
198
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should validate valid parameters with minimal fields 2ms
199
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should validate valid parameters with all optional fields 1ms
200
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should require budget_id 1ms
201
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should require transaction_id 1ms
202
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should require amount to be an integer when provided 1ms
203
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should validate date format when provided 1ms
204
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should validate cleared status enum when provided 1ms
205
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionSchema > should validate flag_color enum when provided 0ms
206
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should update transaction with single field 3ms
207
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should update transaction with multiple fields 1ms
208
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should handle 404 not found errors 1ms
209
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should handle authentication errors 1ms
210
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should handle generic errors 1ms
211
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should invalidate transaction cache on successful transaction update 1ms
212
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransaction > should not invalidate cache on dry_run transaction update 1ms
213
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > DeleteTransactionSchema > should validate valid parameters 1ms
214
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > DeleteTransactionSchema > should require budget_id 2ms
215
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > DeleteTransactionSchema > should require transaction_id 1ms
216
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > DeleteTransactionSchema > should reject empty strings 0ms
217
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should accept a valid batch of multiple transactions 1ms
218
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should accept the minimum batch size of one transaction 1ms
219
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should accept the maximum batch size of 100 transactions 3ms
220
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should reject an empty transactions array 1ms
221
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should reject batches exceeding 100 transactions 1ms
222
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should reject transactions missing required fields 1ms
223
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should validate ISO date format for each transaction 1ms
224
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should require integer milliunit amounts 2ms
225
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should reject invalid cleared enum values 1ms
226
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should reject transactions containing subtransactions 1ms
227
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should fail when any transaction in the batch is invalid 1ms
228
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > CreateTransactionsSchema > should accept optional import_id values 1ms
229
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should delete transaction successfully 1ms
230
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should handle 404 not found errors 1ms
231
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should handle authentication errors 1ms
232
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should handle generic errors 0ms
233
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should invalidate transaction cache on successful transaction deletion 1ms
234
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleDeleteTransaction > should not invalidate cache on dry_run transaction deletion 1ms
235
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > dry run > returns validation summary without calling the API 2ms
236
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > dry run > surfaces validation errors before execution 1ms
237
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > successful creation > creates a small batch with import_ids and correlates results 5ms
238
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > successful creation > correlates transactions without import_ids using hashes 3ms
239
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > successful creation > handles mixed import_id and hash correlation scenarios 3ms
240
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > duplicate handling > marks all transactions as duplicates when import_ids already exist 1ms
241
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > duplicate handling > marks partial duplicates while creating the rest 1ms
242
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > response size management > keeps full response when under 64KB 1ms
243
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > response size management > downgrades to summary mode when response exceeds 64KB 2ms
244
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > response size management > downgrades to ids_only mode when necessary 1ms
245
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > response size management > errors when response cannot fit under 100KB 1ms
246
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > correlation edge cases > supports multi-bucket matching for identical transactions 1ms
247
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > correlation edge cases > records failures and logs correlation errors when correlation fails 3ms
248
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > cache invalidation > invalidates transaction, account, and month caches for affected resources 1ms
249
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > cache invalidation > deduplicates cache keys for repeated accounts and months 3ms
250
+ stderr | src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > throws ValidationError when >5% of transactions have missing metadata (live mode)
251
+ [ERROR] ynab:update_transactions:resolve_metadata | FAILED | error:"Failed to resolve transaction metadata"
252
+ [ERROR] ynab:update_transactions:resolve_metadata | FAILED | error:"Failed to resolve transaction metadata"
253
+
254
+ stderr | src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > succeeds when <=5% of transactions have missing metadata (live mode)
255
+ [ERROR] ynab:update_transactions:resolve_metadata | FAILED | error:"Failed to resolve transaction metadata"
256
+
257
+ stderr | src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > succeeds when <=5% of transactions have missing metadata (live mode)
258
+ [INFO] ynab:update_transactions:metadata_resolution_warning | SUCCESS
259
+
260
+ stderr | src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > returns warnings in dry_run mode when metadata is missing
261
+ [ERROR] ynab:update_transactions:resolve_metadata | FAILED | error:"Failed to resolve transaction metadata"
262
+ [ERROR] ynab:update_transactions:resolve_metadata | FAILED | error:"Failed to resolve transaction metadata"
263
+
264
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > cache invalidation > does not invalidate caches during dry runs 1ms
265
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > error handling and edge cases > propagates API failures 1ms
266
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > error handling and edge cases > handles general validation errors outside of dry run 1ms
267
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > error handling and edge cases > supports transactions without payees or categories and special memo characters 4ms
268
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleCreateTransactions > error handling and edge cases > allows transfer transactions by passing transfer payee ids 2ms
269
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should accept a valid batch of updates with all fields optional except id 3ms
270
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should require id field for each transaction 2ms
271
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should accept minimum batch size of one transaction 0ms
272
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should accept maximum batch size of 100 transactions 3ms
273
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should reject empty transactions array 2ms
274
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should reject batches exceeding 100 transactions 2ms
275
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should validate ISO date format for optional date field 1ms
276
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should validate ISO date format for optional original_date field 1ms
277
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should require integer milliunit amounts when provided 1ms
278
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should reject invalid cleared enum values 1ms
279
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should accept optional metadata fields for cache invalidation 1ms
280
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should accept update with only id field (no changes) 0ms
281
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > UpdateTransactionsSchema > should reject account_id field (account moves not supported) 1ms
282
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > returns validation summary without calling the API 5ms
283
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > provides before/after preview showing only changed fields 2ms
284
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > sets before to "unavailable" when current state cannot be fetched 1ms
285
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > includes summary with accounts_affected and fields_to_update 1ms
286
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > surfaces validation errors before execution 1ms
287
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > dry run > reuses metadata resolution output for preview without duplicate fetches 1ms
288
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > successful updates > updates transactions and correlates results 2ms
289
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > successful updates > only updates provided fields (partial updates) 1ms
290
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata resolution for cache invalidation > uses client-supplied original_* metadata when provided 2ms
291
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata resolution for cache invalidation > falls back to cache when metadata not provided 1ms
292
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata resolution for cache invalidation > falls back to API when metadata not in cache 1ms
293
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > error handling > handles network failures 1ms
294
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > error handling > handles invalid transaction IDs gracefully 1ms
295
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > error handling > handles metadata resolution failures without crashing 1ms
296
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > throws ValidationError when >5% of transactions have missing metadata (live mode) 8ms
297
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > succeeds when <=5% of transactions have missing metadata (live mode) 4ms
298
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > returns warnings in dry_run mode when metadata is missing 3ms
299
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > metadata completeness threshold > does not return warnings in dry_run when all metadata is resolved 1ms
300
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > correlation_key in results > includes correlation_key in successful update results 1ms
301
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > correlation_key in results > includes correlation_key in failed update results 1ms
302
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > correlation_key in results > preserves correlation_key in ids_only downgrade mode 1ms
303
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > response size management > keeps full response when under 64KB 1ms
304
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > response size management > downgrades to summary mode when response exceeds 64KB 1ms
305
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > cache invalidation > invalidates transaction and account caches after successful updates 1ms
306
+ ✓  unit  src/tools/__tests__/transactionTools.test.ts > transactionTools > handleUpdateTransactions > cache invalidation > does not invalidate cache on dry run 1ms
307
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should store and retrieve data 11ms
308
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should return null for non-existent keys 2ms
309
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should delete entries 2ms
310
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should clear all entries 1ms
311
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should handle TTL expiration 2ms
312
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should generate consistent cache keys 2ms
313
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Basic Functionality > should filter undefined parameters in key generation 1ms
314
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should track cache hits 1ms
315
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should track cache misses 2ms
316
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should track expired entries as misses 2ms
317
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should calculate hit rate correctly 1ms
318
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should reset counters on clear 1ms
319
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Hit/Miss Counters > should handle zero requests for hit rate 1ms
320
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should not evict when under limit 1ms
321
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should evict LRU entry when maxEntries is exceeded 1ms
322
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should update access order on get 1ms
323
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should handle zero maxEntries (no caching) 1ms
324
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should evict multiple entries if needed 1ms
325
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > LRU Eviction > should not evict when updating existing key at maxEntries limit 1ms
326
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Per-Entry Options > should use custom TTL from options 1ms
327
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Per-Entry Options > should use default TTL when no options provided 1ms
328
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Per-Entry Options > should support staleWhileRevalidate 1ms
329
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Per-Entry Options > should not return data outside stale window 1ms
330
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Per-Entry Options > should maintain backward compatibility with number TTL 1ms
331
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should return cached data immediately on hit 5ms
332
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should call loader and cache result on miss 2ms
333
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should deduplicate concurrent requests 2ms
334
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should handle loader errors gracefully 3ms
335
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should serve stale data and trigger background refresh 2ms
336
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should apply cache options from wrap call 1ms
337
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should clean up pending operations on completion 1ms
338
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > wrap() Helper > should preserve existing TTL/SWR when options omitted in background refresh 2ms
339
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Cleanup Enhancement > should update lastCleanup timestamp 1ms
340
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Cleanup Enhancement > should include cleanup removals in eviction count 1ms
341
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Cleanup Enhancement > should return zero when no cleanup needed 1ms
342
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Cleanup Enhancement > should provide detailed cleanup information 1ms
343
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Cleanup Enhancement > should maintain backward compatibility with cleanup() method 1ms
344
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Environment Variable Configuration > should use environment variable for maxEntries 1ms
345
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Environment Variable Configuration > should use environment variable for stale window 1ms
346
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Environment Variable Configuration > should fall back to defaults for invalid environment values 1ms
347
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Environment Variable Configuration > should use environment variable for default TTL 2ms
348
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Environment Variable Configuration > should fall back to defaults when environment variables are missing 1ms
349
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Enhanced Statistics > should return comprehensive stats 2ms
350
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Enhanced Statistics > should maintain backward compatibility with basic stats 2ms
351
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Enhanced Statistics > should handle getEntriesForSizeEstimation correctly 2ms
352
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Enhanced Statistics > should provide lightweight cache metadata without full entry data 4ms
353
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Edge Cases and Error Handling > should handle circular references in cache values 1ms
354
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Edge Cases and Error Handling > should handle very large cache sizes 7ms
355
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Edge Cases and Error Handling > should handle concurrent wrap calls with different keys independently 2ms
356
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Edge Cases and Error Handling > should clean up failed operations 2ms
357
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByPrefix > should delete entries matching prefix and return count 1ms
358
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByPrefix > should return 0 when no matches found 4ms
359
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByPrefix > should handle empty prefix safely 1ms
360
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByPrefix > should not delete when prefix only partially matches a resource's namespace 2ms
361
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByPrefix > should not affect cache hit or miss counters 1ms
362
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByBudgetId > should delete entries containing the provided budget ID 1ms
363
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByBudgetId > should return 0 when budget ID does not exist in cache 2ms
364
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByBudgetId > should not match budget IDs that are substrings of other IDs 3ms
365
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByBudgetId > should handle UUID formatted budget identifiers 1ms
366
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > deleteByBudgetId > should not affect cache stats when deleting by budget ID 1ms
367
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > getKeys > should return an empty array when cache is empty 1ms
368
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > getKeys > should return all cache keys 1ms
369
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Prefix and Budget-based Deletion > getKeys > should preserve insertion order of cache keys 1ms
370
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Integration with Existing Patterns > should work with existing tool usage patterns 2ms
371
+ ✓  unit  src/server/__tests__/cacheManager.test.ts > CacheManager > Integration with Existing Patterns > should maintain singleton behavior 2ms
372
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > constructor > should initialize with dependencies 9ms
373
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > should always include timestamp 12ms
374
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > server diagnostics > should include server information when include_server is true 4ms
375
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > server diagnostics > should exclude server information when include_server is false 2ms
376
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > server diagnostics > should handle custom NODE_ENV 2ms
377
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > memory diagnostics > should include memory information when include_memory is true 3ms
378
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > memory diagnostics > should exclude memory information when include_memory is false 1ms
379
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > memory diagnostics > should handle undefined arrayBuffers 2ms
380
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > environment diagnostics > should include environment information when include_environment is true 10ms
381
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > environment diagnostics > should handle missing token 9ms
382
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > delta diagnostics > should include delta metrics when include_delta is true 2ms
383
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > delta diagnostics > should skip delta metrics when include_delta is not explicitly true 3ms
384
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > security diagnostics > should include security information when include_security is true 1ms
385
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > security diagnostics > should exclude security information when include_security is false 1ms
386
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should include cache information when include_cache is true 4ms
387
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should handle cache serialization errors gracefully 5ms
388
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should include enhanced cache metrics when available 2ms
389
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should handle missing enhanced metrics gracefully 1ms
390
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should format lastCleanup timestamp correctly 2ms
391
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should handle null lastCleanup timestamp 1ms
392
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should calculate and display hit rate percentage 1ms
393
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should include performance summary with evictions 2ms
394
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > cache diagnostics > should handle zero requests for hit rate calculation 1ms
395
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > combined diagnostics > should include all diagnostics when all options are true 2ms
396
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > DiagnosticManager > collectDiagnostics > combined diagnostics > should include only timestamp when all options are false 2ms
397
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should format seconds only 2ms
398
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should format minutes and seconds 1ms
399
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should format hours, minutes, and seconds 1ms
400
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should format days, hours, minutes, and seconds 2ms
401
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should handle zero uptime 1ms
402
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatUptime > should handle fractional milliseconds 1ms
403
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatBytes > should format bytes to MB with proper rounding 1ms
404
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > formatBytes > should handle large values 1ms
405
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > maskToken > should return null for undefined token 1ms
406
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > maskToken > should return null for empty token 1ms
407
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > maskToken > should mask tokens with 8+ characters 1ms
408
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > utility functions > maskToken > should mask short tokens differently 1ms
409
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > dependency injection > should use injected security middleware 1ms
410
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > dependency injection > should use injected cache manager 1ms
411
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > dependency injection > should use injected response formatter 1ms
412
+ ✓  unit  src/server/__tests__/diagnostics.test.ts > diagnostics module > dependency injection > should use injected server version 2ms
413
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Feature Flag > should use delta path when the feature flag is enabled 20ms
414
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Feature Flag > should bypass delta logic when flag is disabled 6ms
415
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Feature Flag > should still cache results when delta is disabled 4ms
416
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should detect delta when server knowledge increases 5ms
417
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should treat response as unchanged when knowledge stays equal 4ms
418
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should treat cache miss as full refresh 3ms
419
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should use merger when delta detected and cache exists 14ms
420
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should filter deleted entities on full refresh 7ms
421
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Delta Detection > should handle initial fetch with no cache or knowledge 4ms
422
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Knowledge Gap Warnings > should log warning when knowledge gap exceeds threshold 7ms
423
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Knowledge Gap Warnings > should not log warning when gap is within tolerance 2ms
424
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Knowledge Gap Warnings > should include cacheKey in warning metadata 3ms
425
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Knowledge Gap Warnings > should continue processing even after warning 2ms
426
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Cache Operations > should store entries in cache manager format 2ms
427
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Cache Operations > should update knowledge store after fetch 1ms
428
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Cache Operations > should return cached data on cache hit 1ms
429
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Cache Operations > should respect custom TTL overrides 2ms
430
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Cache Operations > should use fresh cache but disable delta when forceFullRefresh is true 4ms
431
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Merge Options > should pass merge options to merger 4ms
432
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Merge Options > should allow preserveDeleted to keep deleted entities after merge 2ms
433
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Merge Options > should support custom equality functions via merge options 2ms
434
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should delete by prefix when resource type provided 1ms
435
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should delete by budget when resource type omitted 1ms
436
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should not reset knowledge on invalidate 1ms
437
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should reset targeted knowledge during forceFullRefresh 1ms
438
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should reset entire budget knowledge on forceFullRefresh without resource type 1ms
439
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Invalidation > should support global forceFullRefresh without budgetId 1ms
440
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Error Handling > should propagate fetcher errors without caching 6ms
441
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Error Handling > should propagate merger errors 2ms
442
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Error Handling > should not cache when fetch fails before delta detection 3ms
443
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Error Handling > should not update knowledge when fetch fails 3ms
444
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Result Metadata > should mark wasCached true on cache hits 2ms
445
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Result Metadata > should mark wasCached false when cache misses 2ms
446
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Result Metadata > should mark usedDelta true when merge applied 2ms
447
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Result Metadata > should mark usedDelta false when no merge happens 2ms
448
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Stats tracking > increments deltaHits and mergeOperations when delta merge occurs 2ms
449
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Stats tracking > increments deltaMisses when full refresh is required 2ms
450
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > Stats tracking > tracks knowledge gap events and treats them as hits 2ms
451
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > TTL Validation > should throw when ttl is missing for fetchWithDelta 3ms
452
+ ✓  unit  src/server/__tests__/deltaCache.test.ts > DeltaCache > TTL Validation > should throw when ttl is not finite for fetchWithoutDelta 4ms
453
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should handle YNABAPIError correctly 6ms
454
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should handle ValidationError correctly 3ms
455
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should detect 401 errors from generic Error messages 4ms
456
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should detect 403 errors from generic Error messages 1ms
457
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should detect 404 errors from generic Error messages 1ms
458
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should detect 429 errors from generic Error messages 1ms
459
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should detect 500 errors from generic Error messages 1ms
460
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should handle unknown errors gracefully 1ms
461
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should preserve original error message in details field for unknown errors 1ms
462
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > handleError > should handle non-Error objects 0ms
463
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > sanitizeErrorDetails > should sanitize access tokens 1ms
464
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > sanitizeErrorDetails > should sanitize API keys 0ms
465
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > sanitizeErrorDetails > should sanitize passwords 0ms
466
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > sanitizeErrorDetails > should sanitize authorization headers 1ms
467
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > withErrorHandling > should return result when operation succeeds 6ms
468
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > withErrorHandling > should handle errors when operation fails 2ms
469
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > createValidationError > should create a validation error response 1ms
470
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler > createYNABError > should create a YNAB API error 1ms
471
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > handleToolError > should format tool error messages correctly 1ms
472
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > withToolErrorHandling > should return result when tool operation succeeds 1ms
473
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > withToolErrorHandling > should handle errors when tool operation fails 1ms
474
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > YNABAPIError > should create error with correct properties 1ms
475
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ValidationError > should create error with correct properties 1ms
476
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler with formatter injection > should use injected formatter for error responses 1ms
477
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler with formatter injection > should call formatter with error response object 7ms
478
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > ErrorHandler with formatter injection > should create different instances with different formatters 1ms
479
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Static method delegation > should delegate static calls to default instance 1ms
480
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Static method delegation > should delegate createValidationError to default instance 4ms
481
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Static method delegation > should delegate withErrorHandling to default instance 2ms
482
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Fallback formatter > should use fallback formatter when none is set initially 3ms
483
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Instance vs static behavior > should produce identical results for instance and static calls 1ms
484
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Instance vs static behavior > should produce identical results for createValidationError 1ms
485
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Instance vs static behavior > should produce identical results for withErrorHandling 1ms
486
+ ✓  unit  src/server/__tests__/errorHandler.test.ts > Error scenarios > should handle formatter errors gracefully 1ms
487
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > registers a tool and exposes it through getToolDefinitions 21ms
488
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > throws when registering duplicate tool names 6ms
489
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > rejects invalid tool definitions 1ms
490
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > lists tools with generated JSON schema when metadata missing 10ms
491
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > prefers custom metadata JSON schema when provided 1ms
492
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > executes a registered tool via security wrapper and handler 6ms
493
+ ↓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > routes reconcile_account tool to handler emitting dual-channel output
494
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > merges default arguments before validation 2ms
495
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > passes cache helpers to the handler context when injected 2ms
496
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > extracts minify override from arguments when not explicitly provided 7ms
497
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > prefers explicit minify override option over argument hints 3ms
498
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > returns validation error result for unknown tools 1ms
499
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > surfaces validation failures from security wrapper 3ms
500
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > routes handler exceptions to error handler 2ms
501
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > normalizes unexpected security errors 2ms
502
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > returns permissive schema when conversion fails 2ms
503
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > supports empty registry listings 1ms
504
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > ErrorHandler integration > should use injected ErrorHandler instance 2ms
505
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > ErrorHandler integration > should use the same formatter instance for both ErrorHandler and ToolRegistry 1ms
506
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > ErrorHandler integration > should implement ErrorHandler contract interface 1ms
507
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > validates handler output against declared output schema 4ms
508
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output that does not match output schema 4ms
509
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output with missing required fields 2ms
510
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output with invalid JSON 2ms
511
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output with empty content 2ms
512
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output with non-text content 2ms
513
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > rejects handler output with multiple invalid content items 2ms
514
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > skips validation when no output schema is defined 1ms
515
+ ✓  unit  src/server/__tests__/toolRegistry.test.ts > ToolRegistry > Output Schema Validation > includes output schema in tool listing when defined 3ms
516
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should execute operation successfully with valid input
517
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
518
+
519
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should execute operation successfully with valid input
520
+ Recorded request for token_12bf80ff: 1/200 requests
521
+
522
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should execute operation successfully with valid input
523
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
524
+ [INFO] ynab:test:test operation | SUCCESS | 5ms | rate_limit_remaining:199
525
+
526
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should validate input parameters
527
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
528
+ [ERROR] ynab:test:test operation | FAILED | 3ms | rate_limit_remaining:200 | error:"Validation failed: Validation error: Too small: expected string to have >=1 characters at "budget_id"; Invalid input: expected number, received string at "amount""
529
+
530
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should enforce rate limiting
531
+ [INFO] ynab:test:test operation | SUCCESS | 0ms | rate_limit_remaining:1
532
+
533
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should enforce rate limiting
534
+ [INFO] ynab:test:test operation | SUCCESS | 0ms | rate_limit_remaining:0
535
+ [WARN] Rate limit exceeded for ynab:test
536
+
537
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should enforce rate limiting
538
+ [ERROR] ynab:test:test operation | FAILED | 1ms | rate_limit_remaining:0 | error:"Rate limit exceeded. Please wait before making additional requests."
539
+ [WARN] Rate limit exceeded for ynab:test
540
+
541
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log successful requests
542
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
543
+
544
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log successful requests
545
+ Recorded request for token_12bf80ff: 1/200 requests
546
+
547
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log successful requests
548
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
549
+ [INFO] ynab:test:test operation | SUCCESS | 1ms | rate_limit_remaining:199
550
+
551
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log failed requests
552
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
553
+
554
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log failed requests
555
+ Recorded request for token_12bf80ff: 1/200 requests
556
+
557
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log failed requests
558
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
559
+ [ERROR] ynab:test:test operation | FAILED | 1ms | rate_limit_remaining:199 | error:"Test error"
560
+
561
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should handle rate limit errors specially
562
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
563
+
564
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should handle rate limit errors specially
565
+ Recorded request for token_12bf80ff: 1/200 requests
566
+
567
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should handle rate limit errors specially
568
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
569
+ [ERROR] ynab:test:test operation | FAILED | 1ms | rate_limit_remaining:199 | error:"Rate limit exceeded"
570
+
571
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should include rate limit info in logs
572
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
573
+
574
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should include rate limit info in logs
575
+ Recorded request for token_12bf80ff: 1/200 requests
576
+
577
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should include rate limit info in logs
578
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
579
+ [INFO] ynab:test:test operation | SUCCESS | 1ms | rate_limit_remaining:199
580
+
581
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should validate required fields
582
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
583
+ [ERROR] ynab:test:test operation | FAILED | 1ms | rate_limit_remaining:200 | error:"Validation failed: Validation error: Invalid input: expected string, received undefined at "budget_id""
584
+
585
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should validate field types
586
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
587
+ [ERROR] ynab:test:test operation | FAILED | 0ms | rate_limit_remaining:200 | error:"Validation failed: Validation error: Invalid input: expected number, received string at "amount""
588
+
589
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should pass valid optional fields
590
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
591
+
592
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should pass valid optional fields
593
+ Recorded request for token_12bf80ff: 1/200 requests
594
+
595
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should pass valid optional fields
596
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
597
+ [INFO] ynab:test:test operation | SUCCESS | 0ms | rate_limit_remaining:199
598
+
599
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
600
+ Rate limit check for token_1e79b1c0: 0/200 requests, remaining: 200, limited: false
601
+
602
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
603
+ Recorded request for token_1e79b1c0: 1/200 requests
604
+
605
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
606
+ Rate limit check for token_1e79b1c0: 1/200 requests, remaining: 199, limited: false
607
+ [INFO] ynab:test1:test | SUCCESS | 1ms | rate_limit_remaining:199
608
+
609
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
610
+ Rate limit check for token_1e79b1c0: 1/200 requests, remaining: 199, limited: false
611
+
612
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
613
+ Recorded request for token_1e79b1c0: 2/200 requests
614
+
615
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token
616
+ Rate limit check for token_1e79b1c0: 2/200 requests, remaining: 198, limited: false
617
+ [INFO] ynab:test2:test | SUCCESS | 0ms | rate_limit_remaining:198
618
+
619
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
620
+ Rate limit check for token_16a2a057: 0/200 requests, remaining: 200, limited: false
621
+
622
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
623
+ Recorded request for token_16a2a057: 1/200 requests
624
+
625
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
626
+ Rate limit check for token_16a2a057: 1/200 requests, remaining: 199, limited: false
627
+ [INFO] ynab:test:test | SUCCESS | 0ms | rate_limit_remaining:199
628
+
629
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
630
+ Rate limit check for token_16a2a058: 0/200 requests, remaining: 200, limited: false
631
+
632
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
633
+ Recorded request for token_16a2a058: 1/200 requests
634
+
635
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens
636
+ Rate limit check for token_16a2a058: 1/200 requests, remaining: 199, limited: false
637
+ [INFO] ynab:test:test | SUCCESS | 1ms | rate_limit_remaining:199
638
+
639
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > getSecurityStats > should return security statistics
640
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
641
+
642
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > getSecurityStats > should return security statistics
643
+ Recorded request for token_12bf80ff: 1/200 requests
644
+
645
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > getSecurityStats > should return security statistics
646
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
647
+ [INFO] ynab:test:test operation | SUCCESS | 0ms | rate_limit_remaining:199
648
+
649
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > reset > should reset security state
650
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
651
+
652
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > reset > should reset security state
653
+ Recorded request for token_12bf80ff: 1/200 requests
654
+
655
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > reset > should reset security state
656
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
657
+ [INFO] ynab:test:test operation | SUCCESS | 1ms | rate_limit_remaining:199
658
+
659
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurityWrapper > should create a properly configured wrapper function
660
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
661
+
662
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurityWrapper > should create a properly configured wrapper function
663
+ Recorded request for token_12bf80ff: 1/200 requests
664
+
665
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurityWrapper > should create a properly configured wrapper function
666
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
667
+ [INFO] ynab:test:test operation | SUCCESS | 0ms | rate_limit_remaining:199
668
+
669
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle validation errors gracefully
670
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
671
+ [ERROR] ynab:test:test operation | FAILED | 1ms | rate_limit_remaining:200 | error:"Validation failed: Validation error: Too small: expected string to have >=10 characters at "budget_id""
672
+
673
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle operation errors and re-throw them
674
+ Rate limit check for token_12bf80ff: 0/200 requests, remaining: 200, limited: false
675
+
676
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle operation errors and re-throw them
677
+ Recorded request for token_12bf80ff: 1/200 requests
678
+
679
+ stderr | src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle operation errors and re-throw them
680
+ Rate limit check for token_12bf80ff: 1/200 requests, remaining: 199, limited: false
681
+ [ERROR] ynab:test:test operation | FAILED | 2ms | rate_limit_remaining:199 | error:"Operation failed"
682
+
683
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should execute operation successfully with valid input 28ms
684
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should validate input parameters 8ms
685
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should enforce rate limiting 6ms
686
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log successful requests 5ms
687
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should log failed requests 2ms
688
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should handle rate limit errors specially 2ms
689
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurity > should include rate limit info in logs 3ms
690
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should validate required fields 3ms
691
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should validate field types 2ms
692
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > input validation > should pass valid optional fields 2ms
693
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use consistent hashing for the same token 3ms
694
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > token hashing > should use different hashing for different tokens 2ms
695
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > getSecurityStats > should return security statistics 2ms
696
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > reset > should reset security state 1ms
697
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > withSecurityWrapper > should create a properly configured wrapper function 2ms
698
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle validation errors gracefully 3ms
699
+ ✓  unit  src/server/__tests__/securityMiddleware.test.ts > SecurityMiddleware > error handling > should handle operation errors and re-throw them 5ms
700
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > toMilli > converts dollars to milliunits correctly 4ms
701
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > toMilli > throws for invalid amounts 3ms
702
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > fromMilli > converts milliunits with 2 decimal digits (USD) by default 1ms
703
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > fromMilli > converts milliunits with 0 decimal digits (JPY) 1ms
704
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > fromMilli > converts milliunits with 3 decimal digits (BHD) 1ms
705
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > fromMilli > converts milliunits with explicit 2 decimal digits 0ms
706
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > assertMilli > passes for safe integers 2ms
707
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > assertMilli > throws for non-safe integers 1ms
708
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > addMilli > adds milliunits correctly 1ms
709
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > addMilli > throws on overflow 1ms
710
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > inWindow > checks date windows correctly 1ms
711
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > inWindow > handles optional bounds 0ms
712
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > currency format helpers > extracts decimal digits from currency format 0ms
713
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > currency format helpers > returns default decimal digits for null/undefined 0ms
714
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > currency format helpers > extracts currency code from currency format 0ms
715
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > currency format helpers > returns default currency for null/undefined 0ms
716
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > derives direction correctly 0ms
717
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > formats milliunits into currency strings with default 2 decimals 50ms
718
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > formats milliunits with custom currency format 9ms
719
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > creates money values from milliunits with default 2 decimals 5ms
720
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > creates currency-aware money values with decimal digits 3ms
721
+ ✓  unit  src/utils/__tests__/money.test.ts > money utilities > moneyValue helpers > creates money values from decimal amounts 2ms
722
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleListAccounts > should include cache metadata from delta fetcher results 10ms
723
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleListAccounts > should return formatted account list on success 4ms
724
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleListAccounts > should handle 404 budget not found errors 3ms
725
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleListAccounts > should handle 401 authentication errors 1ms
726
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleListAccounts > should handle generic errors 2ms
727
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleGetAccount > should return detailed account information on success 2ms
728
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleGetAccount > should report cached responses when cache entries exist 1ms
729
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleGetAccount > should handle 404 account not found errors 1ms
730
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleGetAccount > should handle authentication errors 1ms
731
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should create account with all supported types 6ms
732
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should create account without initial balance 2ms
733
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should convert balance to milliunits 1ms
734
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should handle creation errors 2ms
735
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should invalidate account list cache on successful account creation 1ms
736
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > handleCreateAccount > should not invalidate cache on dry_run account creation 3ms
737
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > ListAccountsSchema > should validate valid budget_id 4ms
738
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > ListAccountsSchema > should reject empty budget_id 3ms
739
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > ListAccountsSchema > should reject missing budget_id 1ms
740
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > GetAccountSchema > should validate valid parameters 1ms
741
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > GetAccountSchema > should reject missing account_id 1ms
742
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > GetAccountSchema > should reject empty account_id 1ms
743
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should validate valid account creation parameters 2ms
744
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should validate without optional balance 1ms
745
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should validate all supported account types 2ms
746
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should reject invalid account type 3ms
747
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should reject empty name 1ms
748
+ ✓  unit  src/tools/__tests__/accountTools.test.ts > Account Tools > Schema Validation > CreateAccountSchema > should reject missing required fields 1ms
749
+ ✓  unit  src/tools/reconciliation/__tests__/adapter.causes.test.ts > buildReconciliationPayload discrepancy causes mapping > maps legacy causes to MoneyValue entries with CAD currency 65ms
750
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should log a successful request
751
+ [INFO] ynab:create_transaction:creating transaction | SUCCESS | 150ms
752
+
753
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should log a failed request
754
+ [ERROR] ynab:get_budget:getting budget | FAILED | 75ms | error:"Budget not found"
755
+
756
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should include rate limit information
757
+ [INFO] ynab:list_budgets:listing budgets | SUCCESS | 100ms | rate_limit_remaining:150
758
+
759
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize sensitive parameter names
760
+ [INFO] ynab:test:test | SUCCESS
761
+
762
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize long alphanumeric strings in values
763
+ [INFO] ynab:test:test | SUCCESS
764
+
765
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize Bearer tokens in strings
766
+ [INFO] ynab:test:test | SUCCESS
767
+
768
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize nested objects
769
+ [INFO] ynab:test:test | SUCCESS
770
+
771
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize arrays
772
+ [INFO] ynab:test:test | SUCCESS
773
+
774
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should not sanitize when sanitization is disabled
775
+ [INFO] ynab:test:test | SUCCESS
776
+
777
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > error sanitization > should sanitize error messages
778
+ [ERROR] ynab:test:test | FAILED | error:"Authentication failed with token=***"
779
+
780
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > error sanitization > should sanitize Bearer tokens in error messages
781
+ [ERROR] ynab:test:test | FAILED | error:"Invalid authorization header: Bearer ***"
782
+
783
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log management > should maintain maximum log entries
784
+ [INFO] ynab:test0:test | SUCCESS
785
+ [INFO] ynab:test1:test | SUCCESS
786
+ [INFO] ynab:test2:test | SUCCESS
787
+ [INFO] ynab:test3:test | SUCCESS
788
+ [INFO] ynab:test4:test | SUCCESS
789
+
790
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log management > should clear all logs
791
+ [INFO] ynab:test1:test | SUCCESS
792
+ [INFO] ynab:test2:test | SUCCESS
793
+
794
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by tool name
795
+ [INFO] ynab:list_budgets:listing | SUCCESS
796
+ [ERROR] ynab:get_budget:getting | FAILED | error:"Not found"
797
+ [INFO] ynab:list_accounts:listing | SUCCESS
798
+ [ERROR] ynab:create_transaction:creating | FAILED | error:"Invalid data"
799
+
800
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by success status
801
+ [INFO] ynab:list_budgets:listing | SUCCESS
802
+ [ERROR] ynab:get_budget:getting | FAILED | error:"Not found"
803
+ [INFO] ynab:list_accounts:listing | SUCCESS
804
+ [ERROR] ynab:create_transaction:creating | FAILED | error:"Invalid data"
805
+
806
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by date
807
+ [INFO] ynab:list_budgets:listing | SUCCESS
808
+ [ERROR] ynab:get_budget:getting | FAILED | error:"Not found"
809
+ [INFO] ynab:list_accounts:listing | SUCCESS
810
+ [ERROR] ynab:create_transaction:creating | FAILED | error:"Invalid data"
811
+
812
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should limit results
813
+ [INFO] ynab:list_budgets:listing | SUCCESS
814
+ [ERROR] ynab:get_budget:getting | FAILED | error:"Not found"
815
+ [INFO] ynab:list_accounts:listing | SUCCESS
816
+ [ERROR] ynab:create_transaction:creating | FAILED | error:"Invalid data"
817
+
818
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should combine filters
819
+ [INFO] ynab:list_budgets:listing | SUCCESS
820
+ [ERROR] ynab:get_budget:getting | FAILED | error:"Not found"
821
+ [INFO] ynab:list_accounts:listing | SUCCESS
822
+ [ERROR] ynab:create_transaction:creating | FAILED | error:"Invalid data"
823
+
824
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should calculate basic statistics
825
+ [INFO] ynab:list_budgets:listing | SUCCESS | 100ms
826
+ [ERROR] ynab:get_budget:getting | FAILED | 50ms | error:"Not found"
827
+ [INFO] ynab:list_budgets:listing | SUCCESS | 150ms
828
+ [INFO] ynab:create_transaction:creating | SUCCESS | 200ms | rate_limit_remaining:100
829
+ [ERROR] ynab:update_transaction:updating | FAILED | 75ms | rate_limit_remaining:0 | error:"Rate limited"
830
+ [WARN] Rate limit exceeded for ynab:update_transaction
831
+
832
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should calculate average duration
833
+ [INFO] ynab:list_budgets:listing | SUCCESS | 100ms
834
+ [ERROR] ynab:get_budget:getting | FAILED | 50ms | error:"Not found"
835
+ [INFO] ynab:list_budgets:listing | SUCCESS | 150ms
836
+ [INFO] ynab:create_transaction:creating | SUCCESS | 200ms | rate_limit_remaining:100
837
+ [ERROR] ynab:update_transaction:updating | FAILED | 75ms | rate_limit_remaining:0 | error:"Rate limited"
838
+ [WARN] Rate limit exceeded for ynab:update_transaction
839
+
840
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should count rate limited requests
841
+ [INFO] ynab:list_budgets:listing | SUCCESS | 100ms
842
+ [ERROR] ynab:get_budget:getting | FAILED | 50ms | error:"Not found"
843
+ [INFO] ynab:list_budgets:listing | SUCCESS | 150ms
844
+ [INFO] ynab:create_transaction:creating | SUCCESS | 200ms | rate_limit_remaining:100
845
+ [ERROR] ynab:update_transaction:updating | FAILED | 75ms | rate_limit_remaining:0 | error:"Rate limited"
846
+ [WARN] Rate limit exceeded for ynab:update_transaction
847
+
848
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should track tool usage
849
+ [INFO] ynab:list_budgets:listing | SUCCESS | 100ms
850
+ [ERROR] ynab:get_budget:getting | FAILED | 50ms | error:"Not found"
851
+ [INFO] ynab:list_budgets:listing | SUCCESS | 150ms
852
+ [INFO] ynab:create_transaction:creating | SUCCESS | 200ms | rate_limit_remaining:100
853
+ [ERROR] ynab:update_transaction:updating | FAILED | 75ms | rate_limit_remaining:0 | error:"Rate limited"
854
+ [WARN] Rate limit exceeded for ynab:update_transaction
855
+
856
+ stderr | src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should handle empty logs
857
+ [INFO] ynab:list_budgets:listing | SUCCESS | 100ms
858
+ [ERROR] ynab:get_budget:getting | FAILED | 50ms | error:"Not found"
859
+ [INFO] ynab:list_budgets:listing | SUCCESS | 150ms
860
+ [INFO] ynab:create_transaction:creating | SUCCESS | 200ms | rate_limit_remaining:100
861
+ [ERROR] ynab:update_transaction:updating | FAILED | 75ms | rate_limit_remaining:0 | error:"Rate limited"
862
+ [WARN] Rate limit exceeded for ynab:update_transaction
863
+
864
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > CompareTransactionsSchema > should export schema correctly 12ms
865
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > CompareTransactionsSchema > should apply default values through schema 1ms
866
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should orchestrate CSV data processing correctly 18ms
867
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should orchestrate CSV file processing correctly 2ms
868
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should handle auto-detection correctly 2ms
869
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should call YNAB API correctly 4ms
870
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should calculate date range correctly 3ms
871
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should pass filtered transactions to matcher 4ms
872
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should apply statement window filtering 5ms
873
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should build final result correctly 3ms
874
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should handle empty bank transactions correctly 3ms
875
+ ✓  unit  src/tools/__tests__/compareTransactions/index.test.ts > compareTransactions index (main handler) > handleCompareTransactions orchestration > should handle auto-detection errors gracefully 2ms
876
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should give perfect score for exact matches 10ms
877
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should score date differences correctly 1ms
878
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should score amount differences correctly 1ms
879
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should not match when differences exceed tolerance 0ms
880
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should handle memo similarity 0ms
881
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should handle zero amounts 2ms
882
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > calculateMatchScore > should handle empty descriptions gracefully 0ms
883
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > groupTransactionsByAmount > should group transactions by amount 2ms
884
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > groupTransactionsByAmount > should handle mixed transaction types 2ms
885
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > groupTransactionsByAmount > should handle empty transaction list 0ms
886
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > matchDuplicateAmounts > should match duplicates chronologically 2ms
887
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > matchDuplicateAmounts > should give chronology bonus for close dates 1ms
888
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > matchDuplicateAmounts > should handle partial matches (more bank than YNAB) 1ms
889
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > matchDuplicateAmounts > should not reuse matched transactions 1ms
890
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > matchDuplicateAmounts > should respect minimum score threshold 0ms
891
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should find simple one-to-one matches 3ms
892
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should handle unmatched transactions 1ms
893
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should handle duplicate amounts with special logic 1ms
894
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should respect minimum score threshold 1ms
895
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should not reuse transactions 1ms
896
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should handle empty transaction lists 1ms
897
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should handle large datasets efficiently 5ms
898
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should handle negative amounts correctly 1ms
899
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should demonstrate parity mode (legacy behavior) vs enhanced mode with chronology bonus 1ms
900
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should preserve legacy behavior when chronology bonus is disabled 1ms
901
+ ✓  unit  src/tools/__tests__/compareTransactions/matcher.test.ts > matcher > findMatches > should apply chronology bonus when enabled for duplicate amounts 1ms
902
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should log a successful request 18ms
903
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should log a failed request 4ms
904
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should include rate limit information 1ms
905
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > logRequest > should not log when disabled 1ms
906
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize sensitive parameter names 1ms
907
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize long alphanumeric strings in values 1ms
908
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize Bearer tokens in strings 1ms
909
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize nested objects 1ms
910
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should sanitize arrays 1ms
911
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > parameter sanitization > should not sanitize when sanitization is disabled 2ms
912
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > error sanitization > should sanitize error messages 1ms
913
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > error sanitization > should sanitize Bearer tokens in error messages 1ms
914
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log management > should maintain maximum log entries 2ms
915
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log management > should clear all logs 1ms
916
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by tool name 1ms
917
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by success status 2ms
918
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should filter by date 1ms
919
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should limit results 1ms
920
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > log filtering > should combine filters 7ms
921
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should calculate basic statistics 3ms
922
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should calculate average duration 1ms
923
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should count rate limited requests 1ms
924
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should track tool usage 1ms
925
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > statistics > should handle empty logs 1ms
926
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > console output > should output success logs at info level 7ms
927
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > console output > should output error logs at error level 2ms
928
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > console output > should output rate limit warnings 1ms
929
+ ✓  unit  src/server/__tests__/requestLogger.test.ts > RequestLogger > console output > should respect log level configuration 1ms
930
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > balanced direction (|amount| < 0.01) > should accept direction "balanced" when amount is 0 13ms
931
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > balanced direction (|amount| < 0.01) > should accept direction "balanced" when amount is 0.001 1ms
932
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > balanced direction (|amount| < 0.01) > should accept direction "balanced" when amount is -0.009 1ms
933
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > balanced direction (|amount| < 0.01) > should reject direction "ynab_higher" when amount is 0 3ms
934
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > balanced direction (|amount| < 0.01) > should reject direction "bank_higher" when amount is 0.005 1ms
935
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > ynab_higher direction (amount >= 0.01) > should accept direction "ynab_higher" when amount is 25.50 1ms
936
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > ynab_higher direction (amount >= 0.01) > should accept direction "ynab_higher" when amount is 0.02 (just above threshold) 1ms
937
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > ynab_higher direction (amount >= 0.01) > should reject direction "balanced" when amount is 100 1ms
938
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > ynab_higher direction (amount >= 0.01) > should reject direction "bank_higher" when amount is 50 2ms
939
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > bank_higher direction (amount <= -0.01) > should accept direction "bank_higher" when amount is -25.50 1ms
940
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > bank_higher direction (amount <= -0.01) > should accept direction "bank_higher" when amount is -0.02 (just below threshold) 0ms
941
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > bank_higher direction (amount <= -0.01) > should reject direction "balanced" when amount is -100 1ms
942
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > bank_higher direction (amount <= -0.01) > should reject direction "ynab_higher" when amount is -50 1ms
943
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > edge cases > should accept exactly 0.01 as requiring "ynab_higher" 0ms
944
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > edge cases > should accept exactly -0.01 as requiring "bank_higher" 0ms
945
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > edge cases > should reject "balanced" for exactly 0.01 1ms
946
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > edge cases > should reject "balanced" for exactly -0.01 0ms
947
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > human-only output (no validation) > should accept human-only output without structured data 1ms
948
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should reject NaN amount 2ms
949
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should reject positive Infinity amount 1ms
950
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should reject negative Infinity amount 1ms
951
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should accept finite positive amounts 0ms
952
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should accept finite negative amounts 0ms
953
+ ✓  unit  src/tools/schemas/outputs/__tests__/discrepancyDirection.test.ts > ReconcileAccountOutputSchema - discrepancy_direction validation > MoneyValueSchema - non-finite value validation > should accept zero 0ms
954
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ISODateStringSchema > should validate correct ISO date format 6ms
955
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ISODateStringSchema > should reject invalid date formats 3ms
956
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ISODateStringSchema > should reject invalid calendar dates 8ms
957
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ISODateStringSchema > should validate leap year dates correctly 2ms
958
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > DateRangeSchema > should validate valid date range 4ms
959
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > DateRangeSchema > should validate date range where start equals end 1ms
960
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > DateRangeSchema > should reject date range where start is after end 1ms
961
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > DateRangeSchema > should reject invalid date formats in range 2ms
962
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MatchItemSchema > should validate complete match item 5ms
963
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MatchItemSchema > should validate match with negative amounts 1ms
964
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MatchItemSchema > should fail validation when amount format is incorrect 1ms
965
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInYNABItemSchema > should validate complete missing in YNAB item with suggestions 2ms
966
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInYNABItemSchema > should validate minimal missing in YNAB item without suggestions 0ms
967
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInYNABItemSchema > should fail validation when amount format is incorrect 1ms
968
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInBankItemSchema > should validate complete missing in bank item 1ms
969
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInBankItemSchema > should validate missing in bank item with null fields 0ms
970
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > MissingInBankItemSchema > should fail validation when missing required fields 1ms
971
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > CompareTransactionsOutputSchema > should validate complete comparison result with all sections 4ms
972
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > CompareTransactionsOutputSchema > should validate comparison result with empty match arrays 1ms
973
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > CompareTransactionsOutputSchema > should fail validation when missing required summary fields 2ms
974
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > CompareTransactionsOutputSchema > should fail validation when date range is invalid 1ms
975
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should validate minimal export mode output 4ms
976
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should validate full export mode output 1ms
977
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should validate export output with empty preview 1ms
978
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should fail validation when export_mode is invalid 1ms
979
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should fail validation when missing required fields 1ms
980
+ ✓  unit  src/tools/schemas/outputs/__tests__/comparisonOutputs.test.ts > ExportTransactionsOutputSchema > should fail validation when preview_count is not a number 0ms
981
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleListCategories > should include cache metadata from delta fetcher results 13ms
982
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleListCategories > should return formatted category list on success 5ms
983
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleListCategories > should handle authentication errors 2ms
984
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleListCategories > should handle not found errors 1ms
985
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleGetCategory > should return detailed category information on success 3ms
986
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleGetCategory > should reflect cached responses when data exists in cache 2ms
987
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleGetCategory > should handle 404 not found errors 1ms
988
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleUpdateCategory > should update category budget for current month on success 8ms
989
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleUpdateCategory > should handle 404 not found errors 2ms
990
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleUpdateCategory > should handle 403 forbidden errors 1ms
991
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleUpdateCategory > should invalidate category caches on successful category update 2ms
992
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > handleUpdateCategory > should not invalidate cache on dry_run category update 2ms
993
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > ListCategoriesSchema > should validate valid budget_id 3ms
994
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > ListCategoriesSchema > should reject empty budget_id 2ms
995
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > ListCategoriesSchema > should reject missing budget_id 1ms
996
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > GetCategorySchema > should validate valid parameters 2ms
997
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > GetCategorySchema > should reject empty category_id 1ms
998
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > GetCategorySchema > should reject missing category_id 1ms
999
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > UpdateCategorySchema > should validate valid parameters 2ms
1000
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > UpdateCategorySchema > should reject non-integer budgeted amount 1ms
1001
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > UpdateCategorySchema > should reject missing budgeted amount 1ms
1002
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > UpdateCategorySchema > should accept negative budgeted amounts 0ms
1003
+ ✓  unit  src/tools/__tests__/categoryTools.test.ts > Category Tools > Schema Validation > UpdateCategorySchema > should accept zero budgeted amount 0ms
1004
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should return provided UUID v4 budget ID 5ms
1005
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should return error for "default" keyword when no default budget set 2ms
1006
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should return default budget ID when "default" keyword provided 1ms
1007
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should return error for "last-used" keyword (not supported) 1ms
1008
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should prioritize provided ID over default ID 1ms
1009
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with valid provided budget ID > should trim whitespace from provided ID 0ms
1010
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with invalid provided budget ID > should return error for invalid UUID format 1ms
1011
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with invalid provided budget ID > should return error for malformed UUID 1ms
1012
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with invalid provided budget ID > should return error for empty string 1ms
1013
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with invalid provided budget ID > should return error for whitespace-only string 1ms
1014
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with default budget ID fallback > should return valid default UUID when no provided ID 0ms
1015
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with default budget ID fallback > should return error for "default" keyword as default budget ID 1ms
1016
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with default budget ID fallback > should return error when default ID is invalid 1ms
1017
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with missing budget ID > should return error when no provided ID and no default 1ms
1018
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > resolveBudgetId > with missing budget ID > should return error when provided ID is undefined and no default 1ms
1019
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with valid budget IDs > should return valid UUID v4 format 0ms
1020
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with valid budget IDs > should return error for "default" keyword (keywords not allowed in validation) 0ms
1021
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with valid budget IDs > should return error for "last-used" keyword (keywords not allowed in validation) 0ms
1022
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with valid budget IDs > should trim whitespace and return valid ID 0ms
1023
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with valid budget IDs > should handle mixed case UUID correctly 0ms
1024
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for invalid UUID format 1ms
1025
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for malformed UUID 0ms
1026
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for empty string 0ms
1027
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for whitespace-only string 0ms
1028
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for non-string input 0ms
1029
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > with invalid budget IDs > should return error for invalid keyword format 1ms
1030
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > edge cases > should handle very long strings 0ms
1031
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > edge cases > should handle special characters 0ms
1032
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > validateBudgetId > edge cases > should handle unicode characters 1ms
1033
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > resolveBudgetIdOrThrow > should return valid budget ID when successful 0ms
1034
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > resolveBudgetIdOrThrow > should throw error when resolution fails 2ms
1035
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > resolveBudgetIdOrThrow > should throw error when no budget provided and no default 1ms
1036
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > validateBudgetIdOrThrow > should return valid budget ID when successful 0ms
1037
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > validateBudgetIdOrThrow > should throw error when validation fails 2ms
1038
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience throw functions > validateBudgetIdOrThrow > should throw error for empty string 0ms
1039
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > error creation functions > createMissingBudgetError > should create standardized missing budget error 0ms
1040
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > error creation functions > createInvalidBudgetError > should create standardized invalid budget error with details 0ms
1041
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience functions > resolveBudgetId function > should work the same as BudgetResolver.resolveBudgetId 1ms
1042
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience functions > validateBudgetId function > should work the same as BudgetResolver.validateBudgetId 0ms
1043
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience functions > createMissingBudgetError function > should work the same as BudgetResolver.createMissingBudgetError 1ms
1044
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > convenience functions > createInvalidBudgetError function > should work the same as BudgetResolver.createInvalidBudgetError 1ms
1045
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > error response structure > should create consistent error response shape for missing budget 2ms
1046
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > error response structure > should create consistent error response shape for invalid budget 1ms
1047
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > error response structure > should include actionable suggestions in error messages 1ms
1048
+ ✓  unit  src/server/__tests__/budgetResolver.test.ts > BudgetResolver > integration with ErrorHandler > should use ErrorHandler.createValidationError for consistent formatting 1ms
1049
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should validate complete transaction with all fields 11ms
1050
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should validate minimal transaction with only required fields 2ms
1051
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should validate transaction with cleared status values 1ms
1052
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should validate split transaction with subtransactions 1ms
1053
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should validate transfer transaction 1ms
1054
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should fail validation when missing required id field 2ms
1055
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should fail validation when missing required date field 1ms
1056
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should fail validation when amount is not a number 1ms
1057
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionSchema > should fail validation when approved is not a boolean 1ms
1058
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionPreviewSchema > should validate preview transaction with all fields 2ms
1059
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionPreviewSchema > should validate minimal preview transaction 1ms
1060
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > TransactionPreviewSchema > should fail validation when missing required id field 1ms
1061
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > ListTransactionsOutputSchema - Normal Mode > should validate normal mode output with multiple transactions 6ms
1062
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > ListTransactionsOutputSchema - Normal Mode > should validate normal mode output with empty transactions array 1ms
1063
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > ListTransactionsOutputSchema - Preview Mode > should validate preview mode output for large result sets 3ms
1064
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > ListTransactionsOutputSchema - Preview Mode > should validate preview mode output with minimal preview transactions 1ms
1065
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > ListTransactionsOutputSchema - Preview Mode > should fail validation when preview mode missing required fields 3ms
1066
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > GetTransactionOutputSchema > should validate output with complete transaction and cache metadata 7ms
1067
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > GetTransactionOutputSchema > should validate output with minimal transaction 1ms
1068
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > GetTransactionOutputSchema > should fail validation when transaction is not an object 1ms
1069
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > GetTransactionOutputSchema > should fail validation when transaction missing required fields 2ms
1070
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionOutputs.test.ts > GetTransactionOutputSchema > should fail validation when missing required transaction field 1ms
1071
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should include cache metadata from delta fetcher results 10ms
1072
+ ↓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should use cache when NODE_ENV is not test - obsolete test, caching now handled by DeltaFetcher
1073
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should return formatted payee list on success 4ms
1074
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle authentication errors 3ms
1075
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle forbidden errors 1ms
1076
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle not found errors 1ms
1077
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle rate limit errors 1ms
1078
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle server errors 1ms
1079
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleListPayees > should handle generic errors 2ms
1080
+ ↓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleGetPayee > should use cache when NODE_ENV is not test - obsolete test, caching now handled by DeltaFetcher
1081
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleGetPayee > should return detailed payee information on success 2ms
1082
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleGetPayee > should return transfer payee information on success 1ms
1083
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleGetPayee > should handle 404 not found errors 1ms
1084
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > handleGetPayee > should handle authentication errors 1ms
1085
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > ListPayeesSchema > should validate valid budget_id 3ms
1086
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > ListPayeesSchema > should reject empty budget_id 2ms
1087
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > ListPayeesSchema > should reject missing budget_id 1ms
1088
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > ListPayeesSchema > should reject non-string budget_id 1ms
1089
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should validate valid parameters 1ms
1090
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should reject empty budget_id 1ms
1091
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should reject empty payee_id 1ms
1092
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should reject missing budget_id 1ms
1093
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should reject missing payee_id 1ms
1094
+ ✓  unit  src/tools/__tests__/payeeTools.test.ts > Payee Tools > GetPayeeSchema > should reject non-string parameters 1ms
1095
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should bypass cache in test environment 12ms
1096
+ ↓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should use cache when NODE_ENV is not test - obsolete test, caching now handled by DeltaFetcher
1097
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should return formatted month data on success 4ms
1098
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle 401 authentication errors 3ms
1099
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle 403 forbidden errors 1ms
1100
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle 404 not found errors 2ms
1101
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle 429 rate limit errors 1ms
1102
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle 500 server errors 1ms
1103
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleGetMonth > should handle generic errors 2ms
1104
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should include cache metadata from delta fetcher results 2ms
1105
+ ↓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should use cache when NODE_ENV is not test - obsolete test, caching now handled by DeltaFetcher
1106
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should return formatted months list on success 3ms
1107
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should handle authentication errors 1ms
1108
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should handle not found errors 1ms
1109
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > handleListMonths > should handle generic errors 3ms
1110
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should validate valid parameters 3ms
1111
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should reject empty budget_id 2ms
1112
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should reject missing budget_id 2ms
1113
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should reject invalid month format 1ms
1114
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should reject missing month 1ms
1115
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > GetMonthSchema > should reject non-ISO date format 1ms
1116
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > ListMonthsSchema > should validate valid budget_id 1ms
1117
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > ListMonthsSchema > should reject empty budget_id 1ms
1118
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > ListMonthsSchema > should reject missing budget_id 1ms
1119
+ ✓  unit  src/tools/__tests__/monthTools.test.ts > Month Tools > ListMonthsSchema > should reject non-string budget_id 1ms
1120
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > constructor > should initialize with dependencies 5ms
1121
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > listResources > should return list of available resources 2ms
1122
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > listResources > should return consistent resource list 1ms
1123
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > ynab://budgets > should fetch and format budgets data 7ms
1124
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > ynab://budgets > should handle YNAB API errors 6ms
1125
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > ynab://user > should fetch and format user data 2ms
1126
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > ynab://user > should handle YNAB API errors 1ms
1127
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > unknown resources > should throw error for unknown resource URIs 1ms
1128
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > unknown resources > should throw error for invalid URIs 1ms
1129
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > readResource > unknown resources > should throw error for empty URI 1ms
1130
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > dependency injection > should use injected YNAB API 1ms
1131
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > dependency injection > should use injected response formatter 1ms
1132
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > edge cases > should handle empty budgets list 1ms
1133
+ ✓  unit  src/server/__tests__/resources.test.ts > resources module > ResourceManager > edge cases > should handle user without extended properties 0ms
1134
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > ISODateStringSchema > should accept valid dates 9ms
1135
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > ISODateStringSchema > should reject invalid months 3ms
1136
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > ISODateStringSchema > should reject invalid days 16ms
1137
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > ISODateStringSchema > should reject non-leap year February 29 2ms
1138
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > ISODateStringSchema > should reject invalid format 2ms
1139
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > BankTransactionComparisonSchema > should accept valid bank transaction with valid date 3ms
1140
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > BankTransactionComparisonSchema > should reject bank transaction with invalid date 1ms
1141
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should accept valid date range 2ms
1142
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should accept date range where start equals end 1ms
1143
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should reject date range with invalid start date 4ms
1144
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should reject date range with invalid end date 1ms
1145
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should reject date range where start is after end 1ms
1146
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should reject date range where start is after end (same month) 3ms
1147
+ ✓  unit  src/tools/schemas/outputs/__tests__/dateValidation.test.ts > Date Validation in comparisonOutputs > DateRangeSchema > should reject date range where start is after end (consecutive days) 1ms
1148
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should find exact payee name match 5ms
1149
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should find partial payee name match 1ms
1150
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should be case insensitive 1ms
1151
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should suggest cleaned description when no payee matches 1ms
1152
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should handle empty description 2ms
1153
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should remove numbers and consolidate whitespace 0ms
1154
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should handle description with only numbers 2ms
1155
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > findSuggestedPayee > should find first matching payee when multiple matches 2ms
1156
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildSummary > should build complete summary 3ms
1157
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildSummary > should handle empty collections 1ms
1158
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should format matches correctly 8ms
1159
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should handle negative amounts 1ms
1160
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should handle null payee names 0ms
1161
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should handle large amounts 2ms
1162
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should handle zero amounts 1ms
1163
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatMatches > should handle empty matches array 0ms
1164
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedBank > should format unmatched bank transactions with payee suggestions 2ms
1165
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedBank > should handle negative amounts 0ms
1166
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedBank > should handle empty transactions array 0ms
1167
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedYNAB > should format unmatched YNAB transactions 1ms
1168
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedYNAB > should handle negative amounts 0ms
1169
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > formatUnmatchedYNAB > should handle empty transactions array 0ms
1170
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildComparisonResult > should build complete comparison result 9ms
1171
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildComparisonResult > should handle empty results 2ms
1172
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildComparisonResult > should call responseFormatter.format with correct structure 6ms
1173
+ ✓  unit  src/tools/__tests__/compareTransactions/formatter.test.ts > formatter > buildComparisonResult > should return CallToolResult with correct format 1ms
1174
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > constructor > should initialize without dependencies 5ms
1175
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > listPrompts > should return list of available prompts 3ms
1176
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > listPrompts > should return consistent prompt list 0ms
1177
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > create-transaction > should generate transaction creation prompt with default values 4ms
1178
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > create-transaction > should generate transaction creation prompt with provided arguments 1ms
1179
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > create-transaction > should handle partial arguments 1ms
1180
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > create-transaction > should include proper workflow instructions 1ms
1181
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > budget-summary > should generate budget summary prompt with default values 1ms
1182
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > budget-summary > should generate budget summary prompt with provided arguments 1ms
1183
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > budget-summary > should include YNAB-specific guidance 1ms
1184
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > account-balances > should generate account balances prompt with default values 1ms
1185
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > account-balances > should generate account balances prompt with provided arguments 1ms
1186
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > account-balances > should include proper balance display instructions 1ms
1187
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > unknown prompts > should throw error for unknown prompt names 3ms
1188
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > unknown prompts > should throw error for empty prompt name 1ms
1189
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > argument handling > should handle undefined arguments 0ms
1190
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > argument handling > should handle null arguments 1ms
1191
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > argument handling > should handle empty arguments object 1ms
1192
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > argument handling > should handle arguments with null/undefined values 1ms
1193
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > edge cases > should handle very long argument values 1ms
1194
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > edge cases > should handle special characters in arguments 1ms
1195
+ ✓  unit  src/server/__tests__/prompts.test.ts > prompts module > PromptManager > getPrompt > edge cases > should maintain consistent message structure across all prompts 5ms
1196
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should perform full analysis and return structured results 44ms
1197
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should categorize high-confidence matches as auto-matches 4ms
1198
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should categorize medium-confidence matches as suggested 3ms
1199
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should identify unmatched bank transactions 4ms
1200
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should identify unmatched YNAB transactions 2ms
1201
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should calculate balance information correctly 2ms
1202
+ ✓  unit  src/tools/reconciliation/__tests__/analyzer.test.ts > analyzer > analyzeReconciliation > should generate appropriate summary 3ms
1203
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction type > should validate successful transaction creation with full response 9ms
1204
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction type > should validate successful transaction creation with null transaction 1ms
1205
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction type > should accept additional YNAB API fields via passthrough 1ms
1206
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_failed type > should validate failed transaction creation with payload 2ms
1207
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_failed type > should reject when transaction is null for failed creation 2ms
1208
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_duplicate type > should validate duplicate detection with transaction ID 2ms
1209
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_duplicate type > should validate duplicate detection with null transaction ID 1ms
1210
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_duplicate type > should require duplicate field to be true 1ms
1211
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > create_transaction_duplicate type > should require bulk_chunk_index for duplicates 1ms
1212
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > update_transaction type > should validate update with full created transaction (real execution) 1ms
1213
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > update_transaction type > should validate update with partial payload (dry run) 1ms
1214
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > update_transaction type > should validate update with null transaction 0ms
1215
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > balance_checkpoint type > should validate balance checkpoint 1ms
1216
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > balance_checkpoint type > should require transaction to be null for balance checkpoint 0ms
1217
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > bulk_create_fallback type > should validate bulk create fallback 1ms
1218
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > bulk_create_fallback type > should require bulk_chunk_index for fallback 0ms
1219
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > discriminated union behavior > should reject unknown action types 0ms
1220
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > ExecutionActionRecordSchema > discriminated union behavior > should provide clear error messages for type mismatches 1ms
1221
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > CreatedTransactionSchema > should validate minimal created transaction 0ms
1222
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > CreatedTransactionSchema > should allow passthrough fields 0ms
1223
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > TransactionCreationPayloadSchema > should validate minimal creation payload 0ms
1224
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > TransactionCreationPayloadSchema > should validate full creation payload 0ms
1225
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > TransactionUpdatePayloadSchema > should validate update with all fields 0ms
1226
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > TransactionUpdatePayloadSchema > should validate update with only transaction_id 0ms
1227
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > DuplicateDetectionPayloadSchema > should validate with both fields 0ms
1228
+ ✓  unit  src/tools/schemas/outputs/__tests__/reconciliationOutputs.test.ts > reconciliationOutputs > Helper schemas > DuplicateDetectionPayloadSchema > should validate with null transaction_id 0ms
1229
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should return user information successfully 6ms
1230
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should handle 401 authentication errors 3ms
1231
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should handle 403 authorization errors 1ms
1232
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should handle 429 rate limiting errors 1ms
1233
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should handle 500 server errors 1ms
1234
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleGetUser > should handle generic errors 2ms
1235
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should convert dollars to milliunits correctly 1ms
1236
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should convert milliunits to dollars correctly 1ms
1237
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should handle zero amounts 1ms
1238
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should handle negative amounts 1ms
1239
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should handle floating-point precision correctly 0ms
1240
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should handle large amounts 0ms
1241
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > handleConvertAmount > should round to nearest milliunit when converting from dollars 0ms
1242
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should validate correct parameters 4ms
1243
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should reject non-finite numbers 2ms
1244
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should reject NaN values 1ms
1245
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should reject missing amount parameter 1ms
1246
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should reject missing to_milliunits parameter 1ms
1247
+ ✓  unit  src/tools/__tests__/utilityTools.test.ts > Utility Tools > ConvertAmountSchema validation > should reject non-boolean to_milliunits parameter 1ms
1248
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthCategorySchema > should validate complete month category with all fields including goals 15ms
1249
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthCategorySchema > should validate minimal month category with only required fields 3ms
1250
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthCategorySchema > should fail validation when missing required fields 2ms
1251
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should validate complete month detail with all fields including categories 8ms
1252
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should validate minimal month detail with only required fields 1ms
1253
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should validate month detail with empty categories array 1ms
1254
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should validate month with proper date format YYYY-MM-01 1ms
1255
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should fail validation when missing required month field 1ms
1256
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthDetailSchema > should fail validation when income is not a number 3ms
1257
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthSummarySchema > should validate complete month summary with all fields 5ms
1258
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthSummarySchema > should validate minimal month summary with only required fields 1ms
1259
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthSummarySchema > should validate month summary with null age_of_money 0ms
1260
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > MonthSummarySchema > should fail validation when missing required fields 1ms
1261
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > GetMonthOutputSchema > should validate output with complete month detail and cache metadata 3ms
1262
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > GetMonthOutputSchema > should validate output with minimal month detail 1ms
1263
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > GetMonthOutputSchema > should fail validation when month is not an object 1ms
1264
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > GetMonthOutputSchema > should fail validation when missing required month field 1ms
1265
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should validate output with multiple month summaries 2ms
1266
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should validate output with single month summary 1ms
1267
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should validate output with empty months array 1ms
1268
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should fail validation when months is not an array 1ms
1269
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should fail validation when months array contains invalid month 1ms
1270
+ ✓  unit  src/tools/schemas/outputs/__tests__/monthOutputs.test.ts > ListMonthsOutputSchema > should fail validation when missing required months field 0ms
1271
+ ✓  unit  src/server/__tests__/deltaCache.swr.test.ts > DeltaCache stale-while-revalidate > should pass staleWhileRevalidate to cache entry when set 29ms
1272
+ ✓  unit  src/server/__tests__/deltaCache.swr.test.ts > DeltaCache stale-while-revalidate > should not set staleWhileRevalidate when omitted 9ms
1273
+ ✓  unit  src/server/__tests__/deltaCache.swr.test.ts > DeltaCache stale-while-revalidate > should pass staleWhileRevalidate when delta is disabled 6ms
1274
+ ✓  unit  src/server/__tests__/deltaCache.swr.test.ts > DeltaCache stale-while-revalidate > should include staleWhileRevalidate in entry after delta merge 3ms
1275
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should validate complete account with all fields 18ms
1276
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should validate minimal account with only required fields 3ms
1277
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should validate closed account 1ms
1278
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should validate off-budget tracking account 1ms
1279
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should validate account with various account types 1ms
1280
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should fail validation when missing required id field 2ms
1281
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should fail validation when missing required name field 1ms
1282
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should fail validation when balance is not a number 1ms
1283
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > AccountSchema > should fail validation when on_budget is not a boolean 1ms
1284
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should validate output with multiple accounts and cache metadata 6ms
1285
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should validate output with single account 1ms
1286
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should validate output with empty accounts array 1ms
1287
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should fail validation when accounts is not an array 0ms
1288
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should fail validation when missing required total_count field 1ms
1289
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > ListAccountsOutputSchema > should fail validation when total_count is not an integer 1ms
1290
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > GetAccountOutputSchema > should validate output with complete account and cache metadata 3ms
1291
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > GetAccountOutputSchema > should validate output with minimal account 1ms
1292
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > GetAccountOutputSchema > should fail validation when account is not an object 0ms
1293
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > GetAccountOutputSchema > should fail validation when account is missing required fields 1ms
1294
+ ✓  unit  src/tools/schemas/outputs/__tests__/accountOutputs.test.ts > GetAccountOutputSchema > should fail validation when missing required account field 1ms
1295
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should parse MM/DD/YYYY format 13ms
1296
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should parse YYYY-MM-DD format 1ms
1297
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should parse MMM dd, yyyy format 2ms
1298
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should handle single digit dates 1ms
1299
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should throw error for invalid date 2ms
1300
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should fallback to native Date parsing for unrecognized formats 1ms
1301
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseDate > should handle whitespace in dates 1ms
1302
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should convert positive amounts 1ms
1303
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should convert negative amounts 1ms
1304
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle parentheses for negative amounts 1ms
1305
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle currency symbols 0ms
1306
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle commas in amounts 0ms
1307
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle positive sign 0ms
1308
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle zero amounts 0ms
1309
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle amounts with spaces 0ms
1310
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > amountToMilliunits > should handle very large amounts 1ms
1311
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should detect MM/DD/YYYY format 0ms
1312
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should detect YYYY-MM-DD format 0ms
1313
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should detect MM-DD-YYYY format 0ms
1314
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should detect MMM dd, yyyy format 0ms
1315
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should default to MM/DD/YYYY for undefined input 0ms
1316
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > detectDateFormat > should default to MM/DD/YYYY for unrecognized format 0ms
1317
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect header format with standard columns 14ms
1318
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect no-header format 4ms
1319
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect debit/credit columns 4ms
1320
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should throw error for empty CSV 1ms
1321
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should throw error for CSV with empty first line 0ms
1322
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect date format from data rows 3ms
1323
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should derive column names from non-standard headers - Transaction Date 3ms
1324
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should derive column names from non-standard headers - Post Date and Desc 2ms
1325
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should derive column names from non-standard headers - Payee column 1ms
1326
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect debit/credit columns with non-standard headers 2ms
1327
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should fallback to original headers when patterns do not match 3ms
1328
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should handle case-insensitive header matching 2ms
1329
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect semicolon delimiter 1ms
1330
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect tab delimiter 2ms
1331
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect pipe delimiter 1ms
1332
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect semicolon delimiter without headers 3ms
1333
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect tab delimiter without headers 1ms
1334
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect semicolon delimiter with debit/credit columns 1ms
1335
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect semicolon delimiter when quoted fields contain delimiter 3ms
1336
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect comma delimiter when quoted fields contain commas 4ms
1337
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should handle complex quoted fields with multiple delimiter types 3ms
1338
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > autoDetectCSVFormat > should detect tab delimiter with debit/credit columns 3ms
1339
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse CSV with headers 5ms
1340
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse CSV without headers 2ms
1341
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle debit/credit columns with headers 2ms
1342
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle debit/credit columns without headers 2ms
1343
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should skip rows with missing data 3ms
1344
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle quoted dates with commas (MMM dd, yyyy format) 2ms
1345
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse quoted fields with commas in descriptions 3ms
1346
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should throw error when no amount column configuration 1ms
1347
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle invalid column indices gracefully 1ms
1348
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse semicolon-delimited CSV with headers 1ms
1349
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse tab-delimited CSV with headers 1ms
1350
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse semicolon-delimited CSV without headers 1ms
1351
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse tab-delimited CSV without headers 1ms
1352
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle semicolon-delimited debit/credit columns with headers 1ms
1353
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should handle tab-delimited debit/credit columns with headers 1ms
1354
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > parseBankCSV > should parse semicolon-delimited CSV with quoted fields containing delimiter 1ms
1355
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > extractDateRangeFromCSV > should extract min and max dates from CSV transactions 1ms
1356
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > extractDateRangeFromCSV > should handle single transaction 1ms
1357
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > readCSVFile > should read file successfully 3ms
1358
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > readCSVFile > should throw error when file reading fails 1ms
1359
+ ✓  unit  src/tools/__tests__/compareTransactions/parser.test.ts > parser > readCSVFile > should handle unknown errors 1ms
1360
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > formatYNABMonth > should format date as YYYY-MM-01 6ms
1361
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > formatYNABMonth > should handle December correctly 1ms
1362
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > formatISODate > should format date as YYYY-MM-DD 2ms
1363
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getCurrentMonth > should return current month in YYYY-MM-01 format 1ms
1364
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getToday > should return today in YYYY-MM-DD format 1ms
1365
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getHistoricalMonths > should generate correct number of historical months 3ms
1366
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getHistoricalMonths > should handle year boundary correctly 1ms
1367
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getHistoricalMonths > should use current date when no base date provided 1ms
1368
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > getHistoricalMonths > should generate 6 months correctly (bug test case) 3ms
1369
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > subtractMonths > should subtract months correctly 1ms
1370
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > subtractMonths > should handle year boundary 0ms
1371
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidISODate > should validate correct ISO dates 5ms
1372
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidISODate > should reject invalid formats 1ms
1373
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidISODate > should reject invalid dates with correct format 1ms
1374
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidYNABMonth > should validate correct YNAB month format 1ms
1375
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidYNABMonth > should reject invalid formats 0ms
1376
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > isValidYNABMonth > should reject invalid months with correct format 0ms
1377
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > yearMonthToYNABMonth > should convert YYYY-MM to YYYY-MM-01 0ms
1378
+ ✓  unit  src/utils/__tests__/dateUtils.test.ts > dateUtils > yearMonthToYNABMonth > should throw error for invalid format 2ms
1379
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should validate complete payee with all fields 7ms
1380
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should validate transfer payee with transfer_account_id 1ms
1381
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should validate minimal payee with only required fields 1ms
1382
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should validate deleted payee 1ms
1383
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should fail validation when missing required id field 2ms
1384
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should fail validation when missing required name field 1ms
1385
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should fail validation when missing required deleted field 0ms
1386
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > PayeeSchema > should fail validation when deleted is not a boolean 0ms
1387
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should validate output with multiple payees including transfers 4ms
1388
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should validate output with single payee 1ms
1389
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should validate output with empty payees array 1ms
1390
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should validate output with deleted payees 0ms
1391
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should fail validation when payees is not an array 1ms
1392
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should fail validation when missing required payees field 1ms
1393
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should fail validation when missing required total_count field 1ms
1394
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > ListPayeesOutputSchema > should fail validation when total_count is not an integer 0ms
1395
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should validate output with complete payee and cache metadata 2ms
1396
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should validate output with transfer payee 0ms
1397
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should validate output with deleted payee 0ms
1398
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should fail validation when payee is not an object 1ms
1399
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should fail validation when payee missing required fields 0ms
1400
+ ✓  unit  src/tools/schemas/outputs/__tests__/payeeOutputs.test.ts > GetPayeeOutputSchema > should fail validation when missing required payee field 0ms
1401
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchAccounts wires delta cache with proper key and merge strategy 18ms
1402
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchCategories uses mergeCategories and TTL 5ms
1403
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchTransactions includes filters in key and uses mergeTransactions 7ms
1404
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchTransactionsByAccount encodes account in key 8ms
1405
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchScheduledTransactions wires cache key and merge strategy 4ms
1406
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchPayees delegates to mergeFlatEntities 3ms
1407
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchMonths uses mergeMonths and month TTL 3ms
1408
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchBudgets always forces full refresh 4ms
1409
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchAccountsFull bypasses cache and filters deleted accounts 3ms
1410
+ ✓  unit  src/tools/__tests__/deltaFetcher.test.ts > DeltaFetcher > fetchTransactionsByAccountFull bypasses delta cache 2ms
1411
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should validate complete category with all fields including goals 12ms
1412
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should validate minimal category with only required fields 1ms
1413
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should validate hidden category 1ms
1414
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should validate deleted category 1ms
1415
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should validate category with various goal types 2ms
1416
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should fail validation when missing required id field 2ms
1417
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should fail validation when missing required name field 1ms
1418
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should fail validation when budgeted is not a number 1ms
1419
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategorySchema > should fail validation when hidden is not a boolean 1ms
1420
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategoryGroupSchema > should validate complete category group with all fields 1ms
1421
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategoryGroupSchema > should validate hidden category group 0ms
1422
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategoryGroupSchema > should fail validation when missing required id field 0ms
1423
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > CategoryGroupSchema > should fail validation when missing required name field 0ms
1424
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > ListCategoriesOutputSchema > should validate output with categories and category groups 3ms
1425
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > ListCategoriesOutputSchema > should validate output with empty arrays 1ms
1426
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > ListCategoriesOutputSchema > should fail validation when categories is not an array 0ms
1427
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > ListCategoriesOutputSchema > should fail validation when missing required categories field 1ms
1428
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > ListCategoriesOutputSchema > should fail validation when missing required category_groups field 1ms
1429
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > GetCategoryOutputSchema > should validate output with complete category and cache metadata 2ms
1430
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > GetCategoryOutputSchema > should validate output with minimal category 0ms
1431
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > GetCategoryOutputSchema > should fail validation when category is not an object 0ms
1432
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > GetCategoryOutputSchema > should fail validation when category missing required fields 1ms
1433
+ ✓  unit  src/tools/schemas/outputs/__tests__/categoryOutputs.test.ts > GetCategoryOutputSchema > should fail validation when missing required category field 0ms
1434
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleListBudgets > should include cache metadata from delta fetcher results 6ms
1435
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleListBudgets > should return formatted budget list on success 4ms
1436
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleListBudgets > should handle errors reported by the delta fetcher 2ms
1437
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should not use cache (as per design - individual budgets change less frequently) 2ms
1438
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should return detailed budget information on success 2ms
1439
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should return zero counts for empty collections and exclude arrays 1ms
1440
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should return correct counts for multiple items and exclude arrays 1ms
1441
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should handle 404 not found errors 1ms
1442
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > handleGetBudget > should handle authentication errors 1ms
1443
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > GetBudgetSchema > should validate valid budget_id 3ms
1444
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > GetBudgetSchema > should reject empty budget_id 2ms
1445
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > GetBudgetSchema > should reject missing budget_id 3ms
1446
+ ✓  unit  src/tools/__tests__/budgetTools.test.ts > Budget Tools > GetBudgetSchema > should reject non-string budget_id 1ms
1447
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should validate output with success, message, and options 17ms
1448
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should validate output with only defaultMinify option 1ms
1449
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should validate output with only prettySpaces option 0ms
1450
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should validate output with empty options 3ms
1451
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should fail validation when missing required success field 4ms
1452
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should fail validation when missing required message field 1ms
1453
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > SetOutputFormatOutputSchema > should fail validation when missing required options field 1ms
1454
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > EnvironmentInfoSchema > should validate environment info with null token_preview 2ms
1455
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > EnvironmentInfoSchema > should validate environment info with string token_preview 1ms
1456
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > CacheInfoSchema > should validate cache info with null lastCleanup 2ms
1457
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > CacheInfoSchema > should validate cache info with string lastCleanup 0ms
1458
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > CacheInfoSchema > should validate cache info without optional performance metrics 0ms
1459
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > DeltaInfoSchema > should validate delta info with numeric delta_hit_rate 2ms
1460
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > DeltaInfoSchema > should fail validation when delta_hit_rate is a string 0ms
1461
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > DiagnosticInfoOutputSchema > should validate complete diagnostic output with all null cases 3ms
1462
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > DiagnosticInfoOutputSchema > should validate minimal diagnostic output with only timestamp 0ms
1463
+ ✓  unit  src/tools/schemas/outputs/__tests__/utilityOutputs.test.ts > DiagnosticInfoOutputSchema > should validate diagnostic output with some optional sections 0ms
1464
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > processes 20 transactions in bulk mode in under 8 seconds
1465
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > pure sequential mode (single transaction) takes longer than 20 seconds
1466
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > sequential fallback takes longer than 20 seconds for 20 transactions
1467
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > achieves at least a 3x speedup over pure sequential mode
1468
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > handles 150-transaction chunking without significant overhead
1469
+ ↓  unit  src/__tests__/performance.test.ts > Reconciliation Performance - Bulk vs Sequential > stays within 10MB of heap growth for 100 bulk transactions
1470
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should merge new entities into snapshot 11ms
1471
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should update existing entities with latest data 1ms
1472
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should delete entities when delta marks them deleted 0ms
1473
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should preserve deleted entities when preserveDeleted enabled 4ms
1474
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should handle empty snapshot gracefully 1ms
1475
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should handle empty delta by returning snapshot 0ms
1476
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should handle both arrays empty 0ms
1477
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should process multiple operations in single delta batch 5ms
1478
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should maintain insertion order for unchanged entities 1ms
1479
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeFlatEntities > should keep additional fields intact 0ms
1480
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should merge new category groups into snapshot 2ms
1481
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should update existing group metadata 1ms
1482
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should delete groups flagged as deleted 0ms
1483
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should preserve deleted groups when preserveDeleted is true 1ms
1484
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should merge new categories within existing group 1ms
1485
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should update existing categories during merge 0ms
1486
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should delete categories marked as deleted 1ms
1487
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should preserve deleted categories when preserveDeleted is true 4ms
1488
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should handle groups with empty category lists 0ms
1489
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should handle metadata-only updates (no categories provided) 0ms
1490
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should apply nested updates to metadata and categories simultaneously 0ms
1491
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should maintain category order after merges 2ms
1492
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should handle multiple groups with multiple category updates 1ms
1493
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeCategories > should keep nested structures immutable 0ms
1494
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should merge new transactions into snapshot 1ms
1495
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should update existing transactions 0ms
1496
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should delete transactions marked as deleted 0ms
1497
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should preserve deleted transactions when preserveDeleted is true 0ms
1498
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should merge new subtransactions into existing transaction 1ms
1499
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should update existing subtransactions 0ms
1500
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should delete subtransactions when flagged deleted 0ms
1501
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should preserve deleted subtransactions when preserveDeleted is true 0ms
1502
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should handle transactions without subtransactions arrays 0ms
1503
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should handle delta updates without subtransactions list 0ms
1504
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should apply nested operations to transaction and subtransactions 0ms
1505
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should maintain subtransaction order 0ms
1506
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should handle multiple transactions with distinct updates 0ms
1507
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > mergeTransactions > should avoid mutating input arrays 0ms
1508
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should handle duplicate IDs in delta with last write winning 0ms
1509
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should handle null and undefined optional fields 0ms
1510
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should efficiently handle large snapshots 1ms
1511
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should efficiently handle large delta payloads 1ms
1512
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should handle deeply nested category structures 1ms
1513
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should handle transactions with many subtransactions 1ms
1514
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should not mutate snapshot or delta arrays 1ms
1515
+ ✓  unit  src/server/__tests__/deltaCache.merge.test.ts > Merge Edge Cases > should handle special characters in IDs and names 0ms
1516
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should convert to lowercase 3ms
1517
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should remove all spaces 1ms
1518
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should remove special characters 1ms
1519
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should keep only alphanumeric characters 1ms
1520
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should handle null and undefined 1ms
1521
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should handle empty string 0ms
1522
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizePayee > should handle real-world examples 1ms
1523
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should match identical normalized strings 1ms
1524
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should match despite different special characters 1ms
1525
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should not match different strings 1ms
1526
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should handle null and undefined 0ms
1527
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should match empty strings 1ms
1528
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > normalizedMatch > should match real-world examples 1ms
1529
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should return 100 for identical strings 1ms
1530
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should return high score for similar strings 1ms
1531
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should return lower score for different strings 0ms
1532
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should return 0 for completely different strings 0ms
1533
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should handle null and undefined 0ms
1534
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should calculate Levenshtein distance correctly 1ms
1535
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > fuzzyMatch > should handle real-world payee variations 1ms
1536
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should return 100 for identical tokens 1ms
1537
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should return score for same tokens in different order 0ms
1538
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should return partial score for partial overlap 0ms
1539
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should return 0 for no overlap 0ms
1540
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should handle null and undefined 0ms
1541
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should split on alpha/numeric boundaries 0ms
1542
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > tokenBasedSimilarity > should handle real-world examples 0ms
1543
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > should return 100 for exact normalized match 0ms
1544
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > should return best score from fuzzy or token matching 0ms
1545
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > should handle typos with fuzzy matching 0ms
1546
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > should return 0 for completely different payees 0ms
1547
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > should handle null and undefined 3ms
1548
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > real-world examples from design spec > should match Shell variations 0ms
1549
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > real-world examples from design spec > should match Amazon variations 0ms
1550
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeSimilarity > real-world examples from design spec > should match Netflix variations 0ms
1551
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should return true when payee contains substring 1ms
1552
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should be case insensitive 0ms
1553
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should ignore special characters 0ms
1554
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should return false when substring not found 0ms
1555
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should handle null and undefined 1ms
1556
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > payeeContains > should match partial words 0ms
1557
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > edge cases > should handle very long payee names 0ms
1558
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > edge cases > should handle Unicode characters 0ms
1559
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > edge cases > should handle numbers only 0ms
1560
+ ✓  unit  src/tools/reconciliation/__tests__/payeeNormalizer.test.ts > payeeNormalizer > edge cases > should handle mixed case with numbers 0ms
1561
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1562
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1563
+
1564
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1565
+ Recorded request for token_5f854540: 1/200 requests
1566
+
1567
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1568
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1569
+ [INFO] ynab:clear_cache | SUCCESS | 11ms | rate_limit_remaining:199
1570
+
1571
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1572
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1573
+
1574
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1575
+ Recorded request for token_5f854540: 2/200 requests
1576
+
1577
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time
1578
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1579
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:198
1580
+
1581
+ ✓  unit  src/tools/reconciliation/__tests__/scenarios/extremes.scenario.test.ts > scenario: zero, negative, and large statements > handles zero and negative statement balances with mixed unmatched items 44ms
1582
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should respond to budget listing within acceptable time 488ms
1583
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Basic Operations > should return undefined for non-existent keys 3ms
1584
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Basic Operations > should store and retrieve knowledge values 2ms
1585
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Basic Operations > should update existing knowledge values 2ms
1586
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Basic Operations > should handle multiple cache keys independently 1ms
1587
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Basic Operations > should return correct stats with entryCount and entries object 2ms
1588
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Validation > should throw error for negative server_knowledge values 3ms
1589
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Validation > should accept zero as valid server_knowledge 1ms
1590
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Validation > should accept large positive integers 1ms
1591
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should reset all knowledge when called without pattern 1ms
1592
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should reset only matching keys when pattern provided 1ms
1593
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should not reset non-matching keys 0ms
1594
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should handle resetByBudgetId correctly 0ms
1595
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should not affect other budgets when resetting by budget ID 0ms
1596
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Reset Operations > should handle empty store gracefully 1ms
1597
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Edge Cases > should handle very long cache keys 0ms
1598
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Edge Cases > should handle special characters in cache keys 0ms
1599
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Edge Cases > should handle rapid updates to same key 0ms
1600
+ ✓  unit  src/server/__tests__/serverKnowledgeStore.test.ts > ServerKnowledgeStore > Edge Cases > should maintain isolation between different store instances 0ms
1601
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1602
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1603
+
1604
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1605
+ Recorded request for token_5f854540: 1/200 requests
1606
+
1607
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1608
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1609
+ [INFO] ynab:clear_cache | SUCCESS | 2ms | rate_limit_remaining:199
1610
+
1611
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1612
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1613
+
1614
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1615
+ Recorded request for token_5f854540: 2/200 requests
1616
+
1617
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently
1618
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1619
+ [INFO] ynab:list_transactions | SUCCESS | 4ms | rate_limit_remaining:198
1620
+
1621
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > CompareTransactionsSchema > should validate valid parameters 12ms
1622
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > CompareTransactionsSchema > should require budget_id and account_id 2ms
1623
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > CompareTransactionsSchema > should require either csv_file_path or csv_data 1ms
1624
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > CompareTransactionsSchema > should apply default values 1ms
1625
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should compare CSV data with YNAB transactions 18ms
1626
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should handle CSV file path 4ms
1627
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should handle custom CSV format 4ms
1628
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should handle CSV without headers using column indices 4ms
1629
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should handle MMM dd, yyyy date format (bank statement format) 5ms
1630
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should maintain backward compatibility with modular structure 4ms
1631
+ ✓  unit  src/tools/__tests__/compareTransactions.test.ts > compareTransactions > handleCompareTransactions > should handle auto-detection correctly through modular structure 10ms
1632
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle large transaction lists efficiently 334ms
1633
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > TransactionDryRunPreviewSchema > should accept valid transaction preview 11ms
1634
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > TransactionDryRunPreviewSchema > should accept minimal transaction preview with required fields only 1ms
1635
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > TransactionDryRunPreviewSchema > should reject invalid date format 2ms
1636
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > TransactionDryRunPreviewSchema > should reject invalid cleared status 1ms
1637
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > TransactionDryRunPreviewSchema > should reject transaction with server-generated fields 1ms
1638
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > SubtransactionPreviewSchema > should accept valid subtransaction preview 2ms
1639
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > SubtransactionPreviewSchema > should accept minimal subtransaction with amount only 0ms
1640
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > SubtransactionPreviewSchema > should not include server-generated fields 1ms
1641
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > CreateReceiptSplitTransactionOutputSchema - Dry Run Branch > should accept valid dry-run response with strongly-typed preview 4ms
1642
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > CreateReceiptSplitTransactionOutputSchema - Dry Run Branch > should reject dry-run response with loose unknown types 2ms
1643
+ ✓  unit  src/tools/schemas/outputs/__tests__/transactionMutationSchemas.test.ts > Transaction Mutation Schema Type Safety > CreateReceiptSplitTransactionOutputSchema - Dry Run Branch > should reject subtransactions with server-generated id fields 1ms
1644
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > inWindow function > excludes transactions outside statement window 8ms
1645
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > inWindow function > handles partial window bounds 13ms
1646
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > inWindow function > filters candidates before matching logic 10ms
1647
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > statement window clamping > clamps bank and YNAB candidates to statement window 1ms
1648
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > statement window clamping > matches use filtered transactions not original counts 0ms
1649
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > integration with modular compareTransactions > should apply window filtering in the main handler 0ms
1650
+ ✓  unit  src/tools/__tests__/compareTransactions.window.test.ts > compareTransactions statement window filtering > integration with modular compareTransactions > should filter transactions before matching in modular structure 1ms
1651
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should validate complete budget with all fields 9ms
1652
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should validate minimal budget with only required fields 1ms
1653
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should validate budget with date_format but no currency_format 0ms
1654
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when missing required id field 1ms
1655
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when missing required name field 0ms
1656
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when id is not a string 0ms
1657
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when name is not a string 0ms
1658
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when date_format is missing required format field 0ms
1659
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > BudgetSummarySchema > should fail validation when currency_format has invalid types 1ms
1660
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should validate output with multiple budgets and cache metadata 3ms
1661
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should validate output with single budget 1ms
1662
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should validate output with empty budgets array 0ms
1663
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should validate output with complete budget including formats 0ms
1664
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should fail validation when budgets is not an array 0ms
1665
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should fail validation when budgets array contains invalid budget 1ms
1666
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should fail validation when missing required budgets field 0ms
1667
+ ✓  unit  src/tools/schemas/outputs/__tests__/budgetOutputs.test.ts > ListBudgetsOutputSchema > should fail validation when cached is not a boolean 0ms
1668
+ ✓  unit  src/types/__tests__/index.test.ts > Error Classes > AuthenticationError > should create error with correct name and message 3ms
1669
+ ✓  unit  src/types/__tests__/index.test.ts > Error Classes > AuthenticationError > should be throwable and catchable 3ms
1670
+ ✓  unit  src/types/__tests__/index.test.ts > Error Classes > ConfigurationError > should create error with correct name and message 1ms
1671
+ ✓  unit  src/types/__tests__/index.test.ts > Error Classes > ConfigurationError > should be throwable and catchable 1ms
1672
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1673
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1674
+
1675
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1676
+ Recorded request for token_5f854540: 1/200 requests
1677
+
1678
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1679
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1680
+ [INFO] ynab:clear_cache | SUCCESS | 1ms | rate_limit_remaining:199
1681
+
1682
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1683
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1684
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1685
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1686
+ Recorded request for token_5f854540: 2/200 requests
1687
+ Recorded request for token_5f854540: 3/200 requests
1688
+ Recorded request for token_5f854540: 4/200 requests
1689
+
1690
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1691
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1692
+ [INFO] ynab:get_user | SUCCESS | 8ms | rate_limit_remaining:196
1693
+
1694
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently
1695
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1696
+ [INFO] ynab:list_budgets | SUCCESS | 11ms | rate_limit_remaining:196
1697
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1698
+ [INFO] ynab:list_budgets | SUCCESS | 11ms | rate_limit_remaining:196
1699
+
1700
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Response Time Performance > should handle concurrent requests efficiently 370ms
1701
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaFetcherArgs > should accept valid 2-argument form (ynabAPI, params) 10ms
1702
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaFetcherArgs > should accept valid 3-argument form (ynabAPI, deltaFetcher, params) 1ms
1703
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaFetcherArgs > should reject 2-argument form with DeltaFetcher instead of params 4ms
1704
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaFetcherArgs > should reject 3-argument form with wrong types 2ms
1705
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaFetcherArgs > should reject non-object params 1ms
1706
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should accept valid 1-argument form (params) 5ms
1707
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should accept valid 3-argument form (deltaCache, knowledgeStore, params) 1ms
1708
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should reject 1-argument form with DeltaCache instead of params 1ms
1709
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should reject 2-argument form (ambiguous) 1ms
1710
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should reject 3-argument form with wrong types 3ms
1711
+ ✓  unit  src/tools/__tests__/deltaSupport.test.ts > deltaSupport runtime validation > resolveDeltaWriteArgs > should reject non-object params 1ms
1712
+ ✓  unit  src/tools/reconciliation/__tests__/scenarios/adapterCurrency.scenario.test.ts > scenario: non-USD formatting in adapter payload > emits CAD currency values and csv_format metadata when provided 9ms
1713
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1714
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1715
+
1716
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1717
+ Recorded request for token_5f854540: 1/200 requests
1718
+
1719
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1720
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1721
+ [INFO] ynab:clear_cache | SUCCESS | 1ms | rate_limit_remaining:199
1722
+
1723
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1724
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1725
+
1726
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1727
+ Recorded request for token_5f854540: 2/200 requests
1728
+
1729
+ ✓  unit  src/tools/reconciliation/__tests__/schemaUrl.test.ts > buildReconciliationPayload schema reference > points to the master branch schema file on raw.githubusercontent.com 6ms
1730
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1731
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1732
+ [INFO] ynab:list_categories | SUCCESS | 47ms | rate_limit_remaining:198
1733
+
1734
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1735
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1736
+
1737
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1738
+ Recorded request for token_5f854540: 3/200 requests
1739
+
1740
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1741
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1742
+ [INFO] ynab:list_categories | SUCCESS | 29ms | rate_limit_remaining:197
1743
+
1744
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1745
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1746
+
1747
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1748
+ Recorded request for token_5f854540: 4/200 requests
1749
+
1750
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1751
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1752
+ [INFO] ynab:list_categories | SUCCESS | 26ms | rate_limit_remaining:196
1753
+
1754
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1755
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1756
+
1757
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1758
+ Recorded request for token_5f854540: 5/200 requests
1759
+
1760
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1761
+ Rate limit check for token_5f854540: 5/200 requests, remaining: 195, limited: false
1762
+ [INFO] ynab:list_categories | SUCCESS | 12ms | rate_limit_remaining:195
1763
+
1764
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1765
+ Rate limit check for token_5f854540: 5/200 requests, remaining: 195, limited: false
1766
+
1767
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1768
+ Recorded request for token_5f854540: 6/200 requests
1769
+
1770
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1771
+ Rate limit check for token_5f854540: 6/200 requests, remaining: 194, limited: false
1772
+ [INFO] ynab:list_categories | SUCCESS | 13ms | rate_limit_remaining:194
1773
+
1774
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1775
+ Rate limit check for token_5f854540: 6/200 requests, remaining: 194, limited: false
1776
+
1777
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1778
+ Recorded request for token_5f854540: 7/200 requests
1779
+
1780
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1781
+ Rate limit check for token_5f854540: 7/200 requests, remaining: 193, limited: false
1782
+ [INFO] ynab:list_categories | SUCCESS | 7ms | rate_limit_remaining:193
1783
+
1784
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1785
+ Rate limit check for token_5f854540: 7/200 requests, remaining: 193, limited: false
1786
+
1787
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1788
+ Recorded request for token_5f854540: 8/200 requests
1789
+
1790
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1791
+ Rate limit check for token_5f854540: 8/200 requests, remaining: 192, limited: false
1792
+ [INFO] ynab:list_categories | SUCCESS | 8ms | rate_limit_remaining:192
1793
+
1794
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1795
+ Rate limit check for token_5f854540: 8/200 requests, remaining: 192, limited: false
1796
+
1797
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1798
+ Recorded request for token_5f854540: 9/200 requests
1799
+
1800
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1801
+ Rate limit check for token_5f854540: 9/200 requests, remaining: 191, limited: false
1802
+ [INFO] ynab:list_categories | SUCCESS | 13ms | rate_limit_remaining:191
1803
+
1804
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1805
+ Rate limit check for token_5f854540: 9/200 requests, remaining: 191, limited: false
1806
+
1807
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1808
+ Recorded request for token_5f854540: 10/200 requests
1809
+
1810
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1811
+ Rate limit check for token_5f854540: 10/200 requests, remaining: 190, limited: false
1812
+ [INFO] ynab:list_categories | SUCCESS | 12ms | rate_limit_remaining:190
1813
+
1814
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1815
+ Rate limit check for token_5f854540: 10/200 requests, remaining: 190, limited: false
1816
+
1817
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1818
+ Recorded request for token_5f854540: 11/200 requests
1819
+
1820
+ ↓  unit  src/__tests__/delta.performance.test.ts > Delta performance characteristics > reuses cache and avoids repeated full refreshes
1821
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets
1822
+ Rate limit check for token_5f854540: 11/200 requests, remaining: 189, limited: false
1823
+ [INFO] ynab:list_categories | SUCCESS | 12ms | rate_limit_remaining:189
1824
+
1825
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Memory Usage Performance > should handle memory efficiently with large datasets 485ms
1826
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking
1827
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1828
+
1829
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking
1830
+ Recorded request for token_5f854540: 1/200 requests
1831
+
1832
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking
1833
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1834
+ [INFO] ynab:clear_cache | SUCCESS | 0ms | rate_limit_remaining:199
1835
+
1836
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking
1837
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1838
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1839
+ Recorded request for token_5f854540: 2/200 requests
1840
+ Recorded request for token_5f854540: 3/200 requests
1841
+
1842
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking
1843
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1844
+ [INFO] ynab:list_budgets | SUCCESS | 3ms | rate_limit_remaining:197
1845
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1846
+ [INFO] ynab:list_budgets | SUCCESS | 3ms | rate_limit_remaining:197
1847
+
1848
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should handle errors quickly without blocking 168ms
1849
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1850
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1851
+
1852
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1853
+ Recorded request for token_5f854540: 1/200 requests
1854
+
1855
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1856
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1857
+ [INFO] ynab:clear_cache | SUCCESS | 0ms | rate_limit_remaining:199
1858
+
1859
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1860
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1861
+
1862
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1863
+ Recorded request for token_5f854540: 2/200 requests
1864
+
1865
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully
1866
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1867
+ [INFO] ynab:list_budgets | SUCCESS | 1ms | rate_limit_remaining:198
1868
+
1869
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Error Handling Performance > should recover from rate limiting gracefully 142ms
1870
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly
1871
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1872
+
1873
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly
1874
+ Recorded request for token_5f854540: 1/200 requests
1875
+
1876
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly
1877
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1878
+ [INFO] ynab:clear_cache | SUCCESS | 1ms | rate_limit_remaining:199
1879
+
1880
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly
1881
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1882
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1883
+ [ERROR] ynab:get_budget | FAILED | 1ms | rate_limit_remaining:199 | error:"Validation failed: Validation error: Budget ID is required at "budget_id""
1884
+ Recorded request for token_5f854540: 2/200 requests
1885
+
1886
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly
1887
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1888
+ [INFO] ynab:convert_amount | SUCCESS | 3ms | rate_limit_remaining:198
1889
+
1890
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Validation Performance > should validate input parameters quickly 148ms
1891
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1892
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
1893
+
1894
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1895
+ Recorded request for token_5f854540: 1/200 requests
1896
+
1897
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1898
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1899
+ [INFO] ynab:clear_cache | SUCCESS | 1ms | rate_limit_remaining:199
1900
+
1901
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1902
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
1903
+
1904
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1905
+ Recorded request for token_5f854540: 2/200 requests
1906
+
1907
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1908
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1909
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:198
1910
+
1911
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1912
+ Rate limit check for token_5f854540: 2/200 requests, remaining: 198, limited: false
1913
+
1914
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1915
+ Recorded request for token_5f854540: 3/200 requests
1916
+
1917
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1918
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1919
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:197
1920
+
1921
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1922
+ Rate limit check for token_5f854540: 3/200 requests, remaining: 197, limited: false
1923
+
1924
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1925
+ Recorded request for token_5f854540: 4/200 requests
1926
+
1927
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1928
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1929
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:196
1930
+
1931
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1932
+ Rate limit check for token_5f854540: 4/200 requests, remaining: 196, limited: false
1933
+
1934
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1935
+ Recorded request for token_5f854540: 5/200 requests
1936
+
1937
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1938
+ Rate limit check for token_5f854540: 5/200 requests, remaining: 195, limited: false
1939
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:195
1940
+
1941
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1942
+ Rate limit check for token_5f854540: 5/200 requests, remaining: 195, limited: false
1943
+
1944
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1945
+ Recorded request for token_5f854540: 6/200 requests
1946
+
1947
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1948
+ Rate limit check for token_5f854540: 6/200 requests, remaining: 194, limited: false
1949
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:194
1950
+
1951
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1952
+ Rate limit check for token_5f854540: 6/200 requests, remaining: 194, limited: false
1953
+
1954
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1955
+ Recorded request for token_5f854540: 7/200 requests
1956
+
1957
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1958
+ Rate limit check for token_5f854540: 7/200 requests, remaining: 193, limited: false
1959
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:193
1960
+
1961
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1962
+ Rate limit check for token_5f854540: 7/200 requests, remaining: 193, limited: false
1963
+
1964
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1965
+ Recorded request for token_5f854540: 8/200 requests
1966
+
1967
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1968
+ Rate limit check for token_5f854540: 8/200 requests, remaining: 192, limited: false
1969
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:192
1970
+
1971
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1972
+ Rate limit check for token_5f854540: 8/200 requests, remaining: 192, limited: false
1973
+
1974
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1975
+ Recorded request for token_5f854540: 9/200 requests
1976
+
1977
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1978
+ Rate limit check for token_5f854540: 9/200 requests, remaining: 191, limited: false
1979
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:191
1980
+
1981
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1982
+ Rate limit check for token_5f854540: 9/200 requests, remaining: 191, limited: false
1983
+
1984
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1985
+ Recorded request for token_5f854540: 10/200 requests
1986
+
1987
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1988
+ Rate limit check for token_5f854540: 10/200 requests, remaining: 190, limited: false
1989
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:190
1990
+
1991
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1992
+ Rate limit check for token_5f854540: 10/200 requests, remaining: 190, limited: false
1993
+
1994
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1995
+ Recorded request for token_5f854540: 11/200 requests
1996
+
1997
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
1998
+ Rate limit check for token_5f854540: 11/200 requests, remaining: 189, limited: false
1999
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:189
2000
+
2001
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2002
+ Rate limit check for token_5f854540: 11/200 requests, remaining: 189, limited: false
2003
+
2004
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2005
+ Recorded request for token_5f854540: 12/200 requests
2006
+
2007
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2008
+ Rate limit check for token_5f854540: 12/200 requests, remaining: 188, limited: false
2009
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:188
2010
+
2011
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2012
+ Rate limit check for token_5f854540: 12/200 requests, remaining: 188, limited: false
2013
+
2014
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2015
+ Recorded request for token_5f854540: 13/200 requests
2016
+
2017
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2018
+ Rate limit check for token_5f854540: 13/200 requests, remaining: 187, limited: false
2019
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:187
2020
+
2021
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2022
+ Rate limit check for token_5f854540: 13/200 requests, remaining: 187, limited: false
2023
+
2024
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2025
+ Recorded request for token_5f854540: 14/200 requests
2026
+
2027
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2028
+ Rate limit check for token_5f854540: 14/200 requests, remaining: 186, limited: false
2029
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:186
2030
+
2031
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2032
+ Rate limit check for token_5f854540: 14/200 requests, remaining: 186, limited: false
2033
+
2034
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2035
+ Recorded request for token_5f854540: 15/200 requests
2036
+
2037
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2038
+ Rate limit check for token_5f854540: 15/200 requests, remaining: 185, limited: false
2039
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:185
2040
+
2041
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2042
+ Rate limit check for token_5f854540: 15/200 requests, remaining: 185, limited: false
2043
+
2044
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2045
+ Recorded request for token_5f854540: 16/200 requests
2046
+
2047
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2048
+ Rate limit check for token_5f854540: 16/200 requests, remaining: 184, limited: false
2049
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:184
2050
+
2051
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2052
+ Rate limit check for token_5f854540: 16/200 requests, remaining: 184, limited: false
2053
+
2054
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2055
+ Recorded request for token_5f854540: 17/200 requests
2056
+
2057
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2058
+ Rate limit check for token_5f854540: 17/200 requests, remaining: 183, limited: false
2059
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:183
2060
+
2061
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2062
+ Rate limit check for token_5f854540: 17/200 requests, remaining: 183, limited: false
2063
+
2064
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2065
+ Recorded request for token_5f854540: 18/200 requests
2066
+
2067
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2068
+ Rate limit check for token_5f854540: 18/200 requests, remaining: 182, limited: false
2069
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:182
2070
+
2071
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2072
+ Rate limit check for token_5f854540: 18/200 requests, remaining: 182, limited: false
2073
+
2074
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2075
+ Recorded request for token_5f854540: 19/200 requests
2076
+
2077
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2078
+ Rate limit check for token_5f854540: 19/200 requests, remaining: 181, limited: false
2079
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:181
2080
+
2081
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2082
+ Rate limit check for token_5f854540: 19/200 requests, remaining: 181, limited: false
2083
+
2084
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2085
+ Recorded request for token_5f854540: 20/200 requests
2086
+
2087
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2088
+ Rate limit check for token_5f854540: 20/200 requests, remaining: 180, limited: false
2089
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:180
2090
+
2091
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2092
+ Rate limit check for token_5f854540: 20/200 requests, remaining: 180, limited: false
2093
+
2094
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2095
+ Recorded request for token_5f854540: 21/200 requests
2096
+
2097
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2098
+ Rate limit check for token_5f854540: 21/200 requests, remaining: 179, limited: false
2099
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:179
2100
+
2101
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2102
+ Rate limit check for token_5f854540: 21/200 requests, remaining: 179, limited: false
2103
+
2104
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2105
+ Recorded request for token_5f854540: 22/200 requests
2106
+
2107
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2108
+ Rate limit check for token_5f854540: 22/200 requests, remaining: 178, limited: false
2109
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:178
2110
+
2111
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2112
+ Rate limit check for token_5f854540: 22/200 requests, remaining: 178, limited: false
2113
+
2114
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2115
+ Recorded request for token_5f854540: 23/200 requests
2116
+
2117
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2118
+ Rate limit check for token_5f854540: 23/200 requests, remaining: 177, limited: false
2119
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:177
2120
+
2121
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2122
+ Rate limit check for token_5f854540: 23/200 requests, remaining: 177, limited: false
2123
+
2124
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2125
+ Recorded request for token_5f854540: 24/200 requests
2126
+
2127
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2128
+ Rate limit check for token_5f854540: 24/200 requests, remaining: 176, limited: false
2129
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:176
2130
+
2131
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2132
+ Rate limit check for token_5f854540: 24/200 requests, remaining: 176, limited: false
2133
+
2134
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2135
+ Recorded request for token_5f854540: 25/200 requests
2136
+
2137
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2138
+ Rate limit check for token_5f854540: 25/200 requests, remaining: 175, limited: false
2139
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:175
2140
+
2141
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2142
+ Rate limit check for token_5f854540: 25/200 requests, remaining: 175, limited: false
2143
+
2144
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2145
+ Recorded request for token_5f854540: 26/200 requests
2146
+
2147
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2148
+ Rate limit check for token_5f854540: 26/200 requests, remaining: 174, limited: false
2149
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:174
2150
+
2151
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2152
+ Rate limit check for token_5f854540: 26/200 requests, remaining: 174, limited: false
2153
+
2154
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2155
+ Recorded request for token_5f854540: 27/200 requests
2156
+
2157
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2158
+ Rate limit check for token_5f854540: 27/200 requests, remaining: 173, limited: false
2159
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:173
2160
+
2161
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2162
+ Rate limit check for token_5f854540: 27/200 requests, remaining: 173, limited: false
2163
+
2164
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2165
+ Recorded request for token_5f854540: 28/200 requests
2166
+
2167
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2168
+ Rate limit check for token_5f854540: 28/200 requests, remaining: 172, limited: false
2169
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:172
2170
+
2171
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2172
+ Rate limit check for token_5f854540: 28/200 requests, remaining: 172, limited: false
2173
+
2174
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2175
+ Recorded request for token_5f854540: 29/200 requests
2176
+
2177
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2178
+ Rate limit check for token_5f854540: 29/200 requests, remaining: 171, limited: false
2179
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:171
2180
+
2181
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2182
+ Rate limit check for token_5f854540: 29/200 requests, remaining: 171, limited: false
2183
+
2184
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2185
+ Recorded request for token_5f854540: 30/200 requests
2186
+
2187
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2188
+ Rate limit check for token_5f854540: 30/200 requests, remaining: 170, limited: false
2189
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:170
2190
+
2191
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2192
+ Rate limit check for token_5f854540: 30/200 requests, remaining: 170, limited: false
2193
+
2194
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2195
+ Recorded request for token_5f854540: 31/200 requests
2196
+
2197
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2198
+ Rate limit check for token_5f854540: 31/200 requests, remaining: 169, limited: false
2199
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:169
2200
+
2201
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2202
+ Rate limit check for token_5f854540: 31/200 requests, remaining: 169, limited: false
2203
+
2204
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2205
+ Recorded request for token_5f854540: 32/200 requests
2206
+
2207
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2208
+ Rate limit check for token_5f854540: 32/200 requests, remaining: 168, limited: false
2209
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:168
2210
+
2211
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2212
+ Rate limit check for token_5f854540: 32/200 requests, remaining: 168, limited: false
2213
+
2214
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2215
+ Recorded request for token_5f854540: 33/200 requests
2216
+
2217
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2218
+ Rate limit check for token_5f854540: 33/200 requests, remaining: 167, limited: false
2219
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:167
2220
+
2221
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2222
+ Rate limit check for token_5f854540: 33/200 requests, remaining: 167, limited: false
2223
+
2224
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2225
+ Recorded request for token_5f854540: 34/200 requests
2226
+
2227
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2228
+ Rate limit check for token_5f854540: 34/200 requests, remaining: 166, limited: false
2229
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:166
2230
+
2231
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2232
+ Rate limit check for token_5f854540: 34/200 requests, remaining: 166, limited: false
2233
+
2234
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2235
+ Recorded request for token_5f854540: 35/200 requests
2236
+
2237
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2238
+ Rate limit check for token_5f854540: 35/200 requests, remaining: 165, limited: false
2239
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:165
2240
+
2241
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2242
+ Rate limit check for token_5f854540: 35/200 requests, remaining: 165, limited: false
2243
+
2244
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2245
+ Recorded request for token_5f854540: 36/200 requests
2246
+
2247
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2248
+ Rate limit check for token_5f854540: 36/200 requests, remaining: 164, limited: false
2249
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:164
2250
+
2251
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2252
+ Rate limit check for token_5f854540: 36/200 requests, remaining: 164, limited: false
2253
+
2254
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2255
+ Recorded request for token_5f854540: 37/200 requests
2256
+
2257
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2258
+ Rate limit check for token_5f854540: 37/200 requests, remaining: 163, limited: false
2259
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:163
2260
+
2261
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2262
+ Rate limit check for token_5f854540: 37/200 requests, remaining: 163, limited: false
2263
+
2264
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2265
+ Recorded request for token_5f854540: 38/200 requests
2266
+
2267
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2268
+ Rate limit check for token_5f854540: 38/200 requests, remaining: 162, limited: false
2269
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:162
2270
+
2271
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2272
+ Rate limit check for token_5f854540: 38/200 requests, remaining: 162, limited: false
2273
+
2274
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2275
+ Recorded request for token_5f854540: 39/200 requests
2276
+
2277
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2278
+ Rate limit check for token_5f854540: 39/200 requests, remaining: 161, limited: false
2279
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:161
2280
+
2281
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2282
+ Rate limit check for token_5f854540: 39/200 requests, remaining: 161, limited: false
2283
+
2284
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2285
+ Recorded request for token_5f854540: 40/200 requests
2286
+
2287
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2288
+ Rate limit check for token_5f854540: 40/200 requests, remaining: 160, limited: false
2289
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:160
2290
+
2291
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2292
+ Rate limit check for token_5f854540: 40/200 requests, remaining: 160, limited: false
2293
+
2294
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2295
+ Recorded request for token_5f854540: 41/200 requests
2296
+
2297
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2298
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2299
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:159
2300
+
2301
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2302
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2303
+
2304
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2305
+ Recorded request for token_5f854540: 42/200 requests
2306
+
2307
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2308
+ Rate limit check for token_5f854540: 42/200 requests, remaining: 158, limited: false
2309
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:158
2310
+
2311
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2312
+ Rate limit check for token_5f854540: 42/200 requests, remaining: 158, limited: false
2313
+
2314
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2315
+ Recorded request for token_5f854540: 43/200 requests
2316
+
2317
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2318
+ Rate limit check for token_5f854540: 43/200 requests, remaining: 157, limited: false
2319
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:157
2320
+
2321
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2322
+ Rate limit check for token_5f854540: 43/200 requests, remaining: 157, limited: false
2323
+
2324
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2325
+ Recorded request for token_5f854540: 44/200 requests
2326
+
2327
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2328
+ Rate limit check for token_5f854540: 44/200 requests, remaining: 156, limited: false
2329
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:156
2330
+
2331
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2332
+ Rate limit check for token_5f854540: 44/200 requests, remaining: 156, limited: false
2333
+
2334
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2335
+ Recorded request for token_5f854540: 45/200 requests
2336
+
2337
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2338
+ Rate limit check for token_5f854540: 45/200 requests, remaining: 155, limited: false
2339
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:155
2340
+
2341
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2342
+ Rate limit check for token_5f854540: 45/200 requests, remaining: 155, limited: false
2343
+
2344
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2345
+ Recorded request for token_5f854540: 46/200 requests
2346
+
2347
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2348
+ Rate limit check for token_5f854540: 46/200 requests, remaining: 154, limited: false
2349
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:154
2350
+
2351
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2352
+ Rate limit check for token_5f854540: 46/200 requests, remaining: 154, limited: false
2353
+
2354
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2355
+ Recorded request for token_5f854540: 47/200 requests
2356
+
2357
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2358
+ Rate limit check for token_5f854540: 47/200 requests, remaining: 153, limited: false
2359
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:153
2360
+
2361
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2362
+ Rate limit check for token_5f854540: 47/200 requests, remaining: 153, limited: false
2363
+
2364
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2365
+ Recorded request for token_5f854540: 48/200 requests
2366
+
2367
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2368
+ Rate limit check for token_5f854540: 48/200 requests, remaining: 152, limited: false
2369
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:152
2370
+
2371
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2372
+ Rate limit check for token_5f854540: 48/200 requests, remaining: 152, limited: false
2373
+
2374
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2375
+ Recorded request for token_5f854540: 49/200 requests
2376
+
2377
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2378
+ Rate limit check for token_5f854540: 49/200 requests, remaining: 151, limited: false
2379
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:151
2380
+
2381
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2382
+ Rate limit check for token_5f854540: 49/200 requests, remaining: 151, limited: false
2383
+
2384
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2385
+ Recorded request for token_5f854540: 50/200 requests
2386
+
2387
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2388
+ Rate limit check for token_5f854540: 50/200 requests, remaining: 150, limited: false
2389
+ [INFO] ynab:get_user | SUCCESS | 1ms | rate_limit_remaining:150
2390
+
2391
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2392
+ Rate limit check for token_5f854540: 50/200 requests, remaining: 150, limited: false
2393
+
2394
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2395
+ Recorded request for token_5f854540: 51/200 requests
2396
+
2397
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests
2398
+ Rate limit check for token_5f854540: 51/200 requests, remaining: 149, limited: false
2399
+ [INFO] ynab:get_user | SUCCESS | 0ms | rate_limit_remaining:149
2400
+
2401
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should handle rapid sequential requests 161ms
2402
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2403
+ Rate limit check for token_5f854540: 0/200 requests, remaining: 200, limited: false
2404
+
2405
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2406
+ Recorded request for token_5f854540: 1/200 requests
2407
+
2408
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2409
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2410
+ [INFO] ynab:clear_cache | SUCCESS | 0ms | rate_limit_remaining:199
2411
+
2412
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2413
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2414
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2415
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2416
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2417
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2418
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2419
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2420
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2421
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2422
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2423
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2424
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2425
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2426
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2427
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2428
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2429
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2430
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2431
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2432
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2433
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2434
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2435
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2436
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2437
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2438
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2439
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2440
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2441
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2442
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2443
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2444
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2445
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2446
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2447
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2448
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2449
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2450
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2451
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2452
+ Rate limit check for token_5f854540: 1/200 requests, remaining: 199, limited: false
2453
+ Recorded request for token_5f854540: 2/200 requests
2454
+ Recorded request for token_5f854540: 3/200 requests
2455
+ Recorded request for token_5f854540: 4/200 requests
2456
+ Recorded request for token_5f854540: 5/200 requests
2457
+ Recorded request for token_5f854540: 6/200 requests
2458
+ Recorded request for token_5f854540: 7/200 requests
2459
+ Recorded request for token_5f854540: 8/200 requests
2460
+ Recorded request for token_5f854540: 9/200 requests
2461
+ Recorded request for token_5f854540: 10/200 requests
2462
+ Recorded request for token_5f854540: 11/200 requests
2463
+ Recorded request for token_5f854540: 12/200 requests
2464
+ Recorded request for token_5f854540: 13/200 requests
2465
+ Recorded request for token_5f854540: 14/200 requests
2466
+ Recorded request for token_5f854540: 15/200 requests
2467
+ Recorded request for token_5f854540: 16/200 requests
2468
+ Recorded request for token_5f854540: 17/200 requests
2469
+ Recorded request for token_5f854540: 18/200 requests
2470
+ Recorded request for token_5f854540: 19/200 requests
2471
+ Recorded request for token_5f854540: 20/200 requests
2472
+ Recorded request for token_5f854540: 21/200 requests
2473
+ Recorded request for token_5f854540: 22/200 requests
2474
+ Recorded request for token_5f854540: 23/200 requests
2475
+ Recorded request for token_5f854540: 24/200 requests
2476
+ Recorded request for token_5f854540: 25/200 requests
2477
+ Recorded request for token_5f854540: 26/200 requests
2478
+ Recorded request for token_5f854540: 27/200 requests
2479
+ Recorded request for token_5f854540: 28/200 requests
2480
+ Recorded request for token_5f854540: 29/200 requests
2481
+ Recorded request for token_5f854540: 30/200 requests
2482
+ Recorded request for token_5f854540: 31/200 requests
2483
+ Recorded request for token_5f854540: 32/200 requests
2484
+ Recorded request for token_5f854540: 33/200 requests
2485
+ Recorded request for token_5f854540: 34/200 requests
2486
+ Recorded request for token_5f854540: 35/200 requests
2487
+ Recorded request for token_5f854540: 36/200 requests
2488
+ Recorded request for token_5f854540: 37/200 requests
2489
+ Recorded request for token_5f854540: 38/200 requests
2490
+ Recorded request for token_5f854540: 39/200 requests
2491
+ Recorded request for token_5f854540: 40/200 requests
2492
+ Recorded request for token_5f854540: 41/200 requests
2493
+
2494
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2495
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2496
+ [INFO] ynab:convert_amount | SUCCESS | 8ms | rate_limit_remaining:159
2497
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2498
+ [INFO] ynab:convert_amount | SUCCESS | 8ms | rate_limit_remaining:159
2499
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2500
+ [INFO] ynab:convert_amount | SUCCESS | 8ms | rate_limit_remaining:159
2501
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2502
+ [INFO] ynab:convert_amount | SUCCESS | 7ms | rate_limit_remaining:159
2503
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2504
+ [INFO] ynab:convert_amount | SUCCESS | 7ms | rate_limit_remaining:159
2505
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2506
+ [INFO] ynab:convert_amount | SUCCESS | 7ms | rate_limit_remaining:159
2507
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2508
+ [INFO] ynab:convert_amount | SUCCESS | 7ms | rate_limit_remaining:159
2509
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2510
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2511
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2512
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2513
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2514
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2515
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2516
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2517
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2518
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2519
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2520
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2521
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2522
+ [INFO] ynab:convert_amount | SUCCESS | 6ms | rate_limit_remaining:159
2523
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2524
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2525
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2526
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2527
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2528
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2529
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2530
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2531
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2532
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2533
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2534
+ [INFO] ynab:convert_amount | SUCCESS | 5ms | rate_limit_remaining:159
2535
+
2536
+ stderr | src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload
2537
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2538
+ [INFO] ynab:list_budgets | SUCCESS | 11ms | rate_limit_remaining:159
2539
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2540
+ [INFO] ynab:list_budgets | SUCCESS | 10ms | rate_limit_remaining:159
2541
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2542
+ [INFO] ynab:list_budgets | SUCCESS | 10ms | rate_limit_remaining:159
2543
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2544
+ [INFO] ynab:list_budgets | SUCCESS | 10ms | rate_limit_remaining:159
2545
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2546
+ [INFO] ynab:list_budgets | SUCCESS | 9ms | rate_limit_remaining:159
2547
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2548
+ [INFO] ynab:list_budgets | SUCCESS | 9ms | rate_limit_remaining:159
2549
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2550
+ [INFO] ynab:list_budgets | SUCCESS | 9ms | rate_limit_remaining:159
2551
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2552
+ [INFO] ynab:list_budgets | SUCCESS | 9ms | rate_limit_remaining:159
2553
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2554
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2555
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2556
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2557
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2558
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2559
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2560
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2561
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2562
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2563
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2564
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2565
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2566
+ [INFO] ynab:list_budgets | SUCCESS | 8ms | rate_limit_remaining:159
2567
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2568
+ [INFO] ynab:list_budgets | SUCCESS | 7ms | rate_limit_remaining:159
2569
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2570
+ [INFO] ynab:list_budgets | SUCCESS | 7ms | rate_limit_remaining:159
2571
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2572
+ [INFO] ynab:list_budgets | SUCCESS | 7ms | rate_limit_remaining:159
2573
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2574
+ [INFO] ynab:list_budgets | SUCCESS | 7ms | rate_limit_remaining:159
2575
+ Rate limit check for token_5f854540: 41/200 requests, remaining: 159, limited: false
2576
+ [INFO] ynab:list_budgets | SUCCESS | 7ms | rate_limit_remaining:159
2577
+
2578
+ ✓  unit  src/__tests__/performance.test.ts > YNAB MCP Server - Performance Tests > Stress Testing > should maintain performance under mixed workload 162ms
2579
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > ExportTransactionsSchema > should default minimal to true when not provided 4ms
2580
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > ExportTransactionsSchema > should preserve minimal: false when explicitly set 1ms
2581
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > ExportTransactionsSchema > should preserve minimal: true when explicitly set 0ms
2582
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > handleExportTransactions > should export minimal fields by default 7ms
2583
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > handleExportTransactions > should export all fields when minimal is false 1ms
2584
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > handleExportTransactions > should include "minimal" in filename by default 1ms
2585
+ ✓  unit  src/tools/__tests__/exportTransactions.test.ts > exportTransactions > handleExportTransactions > should not include "minimal" in filename when minimal is false 1ms
2586
+
2587
+ ⎯⎯⎯⎯⎯⎯ Failed Tests 11 ⎯⎯⎯⎯⎯⎯⎯
2588
+
2589
+  FAIL   unit  src/tools/reconciliation/__tests__/adapter.test.ts > buildReconciliationPayload > returns human narrative and structured payload with MoneyValue fields
2590
+ TypeError: Cannot read properties of undefined (reading 'amount')
2591
+  ❯ toBankTransactionView src/tools/reconcileAdapter.ts:79:34
2592
+  77| const toBankTransactionView = (txn: BankTransaction, currency: string)…
2593
+  78|  ...txn,
2594
+  79|  amount_money: toMoneyValue(txn.amount, currency),
2595
+  |  ^
2596
+  80| });
2597
+  81| 
2598
+  ❯ convertMatch src/tools/reconcileAdapter.ts:88:21
2599
+  ❯ src/tools/reconcileAdapter.ts:287:50
2600
+  ❯ buildReconciliationPayload src/tools/reconcileAdapter.ts:287:35
2601
+  ❯ src/tools/reconciliation/__tests__/adapter.test.ts:141:21
2602
+
2603
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/11]⎯
2604
+
2605
+  FAIL   unit  src/tools/reconciliation/__tests__/adapter.test.ts > buildReconciliationPayload > includes execution data when provided
2606
+ TypeError: Cannot read properties of undefined (reading 'amount')
2607
+  ❯ toBankTransactionView src/tools/reconcileAdapter.ts:79:34
2608
+  77| const toBankTransactionView = (txn: BankTransaction, currency: string)…
2609
+  78|  ...txn,
2610
+  79|  amount_money: toMoneyValue(txn.amount, currency),
2611
+  |  ^
2612
+  80| });
2613
+  81| 
2614
+  ❯ convertMatch src/tools/reconcileAdapter.ts:88:21
2615
+  ❯ src/tools/reconcileAdapter.ts:287:50
2616
+  ❯ buildReconciliationPayload src/tools/reconcileAdapter.ts:287:35
2617
+  ❯ src/tools/reconciliation/__tests__/adapter.test.ts:217:21
2618
+
2619
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/11]⎯
2620
+
2621
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (dry run) > produces action plan without calling YNAB APIs when dry_run=true
2622
+ AssertionError: expected 1 to be 2 // Object.is equality
2623
+
2624
+ - Expected
2625
+ + Received
2626
+
2627
+ - 2
2628
+ + 1
2629
+
2630
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:260:49
2631
+ 258| 
2632
+ 259|  expect(result.summary.transactions_created).toBe(1);
2633
+ 260|  expect(result.summary.transactions_updated).toBe(2);
2634
+  |  ^
2635
+ 261|  expect(result.summary.dates_adjusted).toBe(1);
2636
+ 262|  expect(result.actions_taken).toHaveLength(3);
2637
+
2638
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/11]⎯
2639
+
2640
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (apply mode) > creates, updates, and adjusts when dry_run=false
2641
+ AssertionError: expected +0 to be 1 // Object.is equality
2642
+
2643
+ - Expected
2644
+ + Received
2645
+
2646
+ - 1
2647
+ + 0
2648
+
2649
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:338:43
2650
+ 336|  expect(result.summary.transactions_created).toBe(1);
2651
+ 337|  expect(result.summary.transactions_updated).toBeGreaterThanOrEqual…
2652
+ 338|  expect(result.summary.dates_adjusted).toBe(1);
2653
+  |  ^
2654
+ 339|  expect(result.actions_taken.length).toBeGreaterThanOrEqual(3);
2655
+ 340|  expect(result.summary.dry_run).toBe(false);
2656
+
2657
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/11]⎯
2658
+
2659
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation (ordered halting) > processes newest auto matches first and stops once balances align
2660
+ TypeError: Cannot read properties of undefined (reading 'date')
2661
+  ❯ src/tools/reconciliation/executor.ts:970:69
2662
+ 968| 
2663
+ 969| function sortMatchesByBankDateDescending(matches: TransactionMatch[]):…
2664
+ 970|  return [...matches].sort((a, b) => compareDates(b.bankTransaction.da…
2665
+  |  ^
2666
+ 971| }
2667
+ 972| 
2668
+  ❯ sortMatchesByBankDateDescending src/tools/reconciliation/executor.ts:970:23
2669
+  ❯ executeReconciliation src/tools/reconciliation/executor.ts:190:30
2670
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:452:26
2671
+
2672
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/11]⎯
2673
+
2674
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > falls back to sequential creation when bulk request fails
2675
+ AssertionError: expected "spy" to be called 3 times, but got 2 times
2676
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:587:37
2677
+ 585| 
2678
+ 586|  expect(mocks.createTransactions).toHaveBeenCalledTimes(1);
2679
+ 587|  expect(mocks.createTransaction).toHaveBeenCalledTimes(3);
2680
+  |  ^
2681
+ 588|  expect(result.actions_taken.some((action) => action.type === 'bulk…
2682
+ 589|  true,
2683
+
2684
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/11]⎯
2685
+
2686
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > splits large batches into 100-transaction chunks
2687
+ AssertionError: expected 148 to be 150 // Object.is equality
2688
+
2689
+ - Expected
2690
+ + Received
2691
+
2692
+ - 150
2693
+ + 148
2694
+
2695
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:658:49
2696
+ 656| 
2697
+ 657|  expect(mocks.createTransactions).toHaveBeenCalledTimes(2);
2698
+ 658|  expect(result.summary.transactions_created).toBe(150);
2699
+  |  ^
2700
+ 659|  expect(result.bulk_operation_details).toEqual(
2701
+ 660|  expect.objectContaining({
2702
+
2703
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7/11]⎯
2704
+
2705
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > throws on fatal sequential creation errors surfaced as objects
2706
+ AssertionError: promise resolved "{ summary: { …(9) }, …(4) }" instead of rejecting
2707
+
2708
+ - Expected
2709
+ + Received
2710
+
2711
+ - Error {
2712
+ - "message": "rejected promise",
2713
+ + {
2714
+ + "account_balance": {
2715
+ + "after": {
2716
+ + "balance": 0,
2717
+ + "cleared_balance": 0,
2718
+ + "uncleared_balance": 0,
2719
+ + },
2720
+ + "before": {
2721
+ + "balance": 0,
2722
+ + "cleared_balance": 0,
2723
+ + "uncleared_balance": 0,
2724
+ + },
2725
+ + },
2726
+ + "actions_taken": [],
2727
+ + "balance_reconciliation": {
2728
+ + "final_verification": {
2729
+ + "all_transactions_accounted": false,
2730
+ + "audit_trail_complete": false,
2731
+ + "balance_matches_exactly": false,
2732
+ + "reconciliation_complete": false,
2733
+ + },
2734
+ + "precision_calculations": {
2735
+ + "bank_statement_balance_milliunits": 10,
2736
+ + "discrepancy_dollars": 0.01,
2737
+ + "discrepancy_milliunits": 10,
2738
+ + "ynab_calculated_balance_milliunits": 0,
2739
+ + },
2740
+ + "status": "DISCREPANCY_FOUND",
2741
+ + },
2742
+ + "recommendations": [],
2743
+ + "summary": {
2744
+ + "bank_transactions_count": 1,
2745
+ + "dates_adjusted": 0,
2746
+ + "dry_run": false,
2747
+ + "matches_found": 0,
2748
+ + "missing_in_bank": 0,
2749
+ + "missing_in_ynab": 1,
2750
+ + "transactions_created": 0,
2751
+ + "transactions_updated": 0,
2752
+ + "ynab_transactions_count": 0,
2753
+ + },
2754
+  }
2755
+
2756
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:689:5
2757
+ 687|  currencyCode: 'USD',
2758
+ 688|  }),
2759
+ 689|  ).rejects.toMatchObject({ status: 404 });
2760
+  |  ^
2761
+ 690|  });
2762
+ 691| 
2763
+
2764
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[8/11]⎯
2765
+
2766
+  FAIL   unit  src/tools/reconciliation/__tests__/executor.test.ts > executeReconciliation - bulk create mode > honors halting logic when balance aligns mid-batch
2767
+ AssertionError: expected 4 to be 5 // Object.is equality
2768
+
2769
+ - Expected
2770
+ + Received
2771
+
2772
+ - 5
2773
+ + 4
2774
+
2775
+  ❯ src/tools/reconciliation/__tests__/executor.test.ts:768:49
2776
+ 766|  });
2777
+ 767| 
2778
+ 768|  expect(result.summary.transactions_created).toBe(5);
2779
+  |  ^
2780
+ 769|  expect(mocks.createTransactions).toHaveBeenCalledTimes(1);
2781
+ 770|  const payload = mocks.createTransactions.mock.calls[0]?.[1];
2782
+
2783
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9/11]⎯
2784
+
2785
+  FAIL   unit  src/tools/reconciliation/__tests__/matcher.test.ts > matcher > findBestMatch > high confidence matches (≥90%) > should handle date within tolerance
2786
+ AssertionError: expected 'medium' to be 'high' // Object.is equality
2787
+
2788
+ Expected: "high"
2789
+ Received: "medium"
2790
+
2791
+  ❯ src/tools/reconciliation/__tests__/matcher.test.ts:106:34
2792
+ 104|  const match = findBestMatch(bankTxn, ynabTxns, new Set(), conf…
2793
+ 105| 
2794
+ 106|  expect(match.confidence).toBe('high');
2795
+  |  ^
2796
+ 107|  expect(match.confidenceScore).toBeGreaterThanOrEqual(90);
2797
+ 108|  });
2798
+
2799
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[10/11]⎯
2800
+
2801
+  FAIL   unit  src/tools/reconciliation/__tests__/reportFormatter.test.ts > reportFormatter > formatHumanReadableReport > should show suggested matches
2802
+ TypeError: Cannot read properties of undefined (reading 'amount')
2803
+  ❯ formatSuggestedMatchLine src/tools/reconciliation/reportFormatter.ts:177:42
2804
+ 175| function formatSuggestedMatchLine(match: TransactionMatch): string {
2805
+ 176|  const bankTxn = match.bankTransaction;
2806
+ 177|  const amountStr = formatAmount(bankTxn.amount);
2807
+  |  ^
2808
+ 178|  const confidenceStr = `${match.confidenceScore}%`;
2809
+ 179|  return ` ${bankTxn.date} - ${bankTxn.payee.substring(0, 35).padEnd…
2810
+  ❯ formatTransactionAnalysisSection src/tools/reconciliation/reportFormatter.ts:153:18
2811
+  ❯ formatHumanReadableReport src/tools/reconciliation/reportFormatter.ts:47:17
2812
+  ❯ src/tools/reconciliation/__tests__/reportFormatter.test.ts:291:22
2813
+
2814
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[11/11]⎯
2815
+
2816
+
2817
+  Test Files  4 failed | 55 passed | 1 skipped (60)
2818
+  Tests  11 failed | 1321 passed | 14 skipped (1346)
2819
+  Start at  22:28:32
2820
+  Duration  10.30s (transform 5.68s, setup 0ms, collect 43.56s, tests 7.00s, environment 34ms, prepare 17.79s)
2821
+
2822
+
2823
+ 📊 Test results written to test-results/
2824
+ - summary.json (overview)
2825
+ - *-tests.json (1 project file(s))
2826
+ - failed-tests.json (11 failure(s))
2827
+ - passed-tests-summary.json
2828
+ - index.html (interactive report)
2829
+
2830
+ 💡 test-results.json contains a pointer to the detailed results
2831
+  HTML  Report is generated
2832
+  You can run npx vite preview --outDir test-results to see the test results.