vibedoc 1.6.1 → 1.7.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 (297) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -0
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +39 -11
  5. package/.next/routes-manifest.json +12 -0
  6. package/.next/server/app/(app)/activity/page.js.nft.json +1 -1
  7. package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(app)/board/page.js.nft.json +1 -1
  9. package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(app)/chat/page/app-paths-manifest.json +3 -0
  11. package/.next/server/app/(app)/chat/page/build-manifest.json +20 -0
  12. package/.next/server/app/(app)/chat/page/next-font-manifest.json +11 -0
  13. package/.next/server/app/(app)/chat/page/react-loadable-manifest.json +1 -0
  14. package/.next/server/app/(app)/chat/page/server-reference-manifest.json +4 -0
  15. package/.next/server/app/(app)/chat/page.js +15 -0
  16. package/.next/server/app/(app)/chat/page.js.map +5 -0
  17. package/.next/server/app/(app)/chat/page.js.nft.json +1 -0
  18. package/.next/server/app/(app)/chat/page_client-reference-manifest.js +3 -0
  19. package/.next/server/app/(app)/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/(app)/explorer/page.js.nft.json +1 -1
  22. package/.next/server/app/(app)/explorer/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/(app)/memory/page.js.nft.json +1 -1
  24. package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/(app)/roadmap/page.js.nft.json +1 -1
  26. package/.next/server/app/(app)/roadmap/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/(app)/settings/page.js.nft.json +1 -1
  28. package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
  29. package/.next/server/app/(app)/setup/page.js.nft.json +1 -1
  30. package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/_global-error.html +1 -1
  32. package/.next/server/app/_global-error.rsc +1 -1
  33. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  34. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  35. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  36. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  37. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  38. package/.next/server/app/_not-found.html +1 -1
  39. package/.next/server/app/_not-found.rsc +2 -2
  40. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  41. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  42. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  43. package/.next/server/app/activity.html +1 -1
  44. package/.next/server/app/activity.rsc +22 -23
  45. package/.next/server/app/activity.segments/!KGFwcCk/activity/__PAGE__.segment.rsc +9 -10
  46. package/.next/server/app/activity.segments/_full.segment.rsc +22 -23
  47. package/.next/server/app/activity.segments/_tree.segment.rsc +2 -2
  48. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  49. package/.next/server/app/api/backlinks/route.js.nft.json +1 -1
  50. package/.next/server/app/api/chat/route.js.nft.json +1 -1
  51. package/.next/server/app/api/context/route.js.nft.json +1 -1
  52. package/.next/server/app/api/conversations/route/app-paths-manifest.json +3 -0
  53. package/.next/server/app/api/conversations/route/build-manifest.json +12 -0
  54. package/.next/server/app/api/conversations/route/server-reference-manifest.json +4 -0
  55. package/.next/server/app/api/conversations/route.js +9 -0
  56. package/.next/server/app/api/conversations/route.js.map +5 -0
  57. package/.next/server/app/api/conversations/route.js.nft.json +1 -0
  58. package/.next/server/app/api/conversations/route_client-reference-manifest.js +3 -0
  59. package/.next/server/app/api/decisions/route.js.nft.json +1 -1
  60. package/.next/server/app/api/docs/route.js.nft.json +1 -1
  61. package/.next/server/app/api/explorer/route.js.nft.json +1 -1
  62. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  63. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  64. package/.next/server/app/api/plan/apply/route.js.nft.json +1 -1
  65. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  66. package/.next/server/app/api/registry/route.js.nft.json +1 -1
  67. package/.next/server/app/api/roadmap/create/route.js.nft.json +1 -1
  68. package/.next/server/app/api/roadmap/delete/route.js.nft.json +1 -1
  69. package/.next/server/app/api/roadmap/generate/route.js.nft.json +1 -1
  70. package/.next/server/app/api/roadmap/layout/route.js.nft.json +1 -1
  71. package/.next/server/app/api/roadmap/route.js.nft.json +1 -1
  72. package/.next/server/app/api/roadmap/update/route.js.nft.json +1 -1
  73. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  74. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  75. package/.next/server/app/api/setup/generate/route.js.nft.json +1 -1
  76. package/.next/server/app/api/setup/write/route.js.nft.json +1 -1
  77. package/.next/server/app/api/summary/route.js.nft.json +1 -1
  78. package/.next/server/app/api/tasks/create/route.js.nft.json +1 -1
  79. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  80. package/.next/server/app/board.html +1 -1
  81. package/.next/server/app/board.rsc +22 -23
  82. package/.next/server/app/board.segments/!KGFwcCk/board/__PAGE__.segment.rsc +9 -10
  83. package/.next/server/app/board.segments/_full.segment.rsc +22 -23
  84. package/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  85. package/.next/server/app/chat.html +1 -0
  86. package/.next/server/app/chat.meta +31 -0
  87. package/.next/server/app/chat.rsc +29 -0
  88. package/.next/server/app/chat.segments/!KGFwcCk/chat/__PAGE__.segment.rsc +31 -0
  89. package/.next/server/app/chat.segments/_full.segment.rsc +29 -0
  90. package/.next/server/app/chat.segments/_tree.segment.rsc +4 -0
  91. package/.next/server/app/docs.html +1 -1
  92. package/.next/server/app/docs.rsc +22 -27
  93. package/.next/server/app/docs.segments/!KGFwcCk/docs/__PAGE__.segment.rsc +6 -6
  94. package/.next/server/app/docs.segments/_full.segment.rsc +22 -27
  95. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  96. package/.next/server/app/explorer.html +1 -1
  97. package/.next/server/app/explorer.rsc +22 -23
  98. package/.next/server/app/explorer.segments/!KGFwcCk/explorer/__PAGE__.segment.rsc +9 -10
  99. package/.next/server/app/explorer.segments/_full.segment.rsc +22 -23
  100. package/.next/server/app/explorer.segments/_tree.segment.rsc +2 -2
  101. package/.next/server/app/index.html +1 -1
  102. package/.next/server/app/index.rsc +2 -2
  103. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  104. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  105. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  106. package/.next/server/app/memory.html +1 -1
  107. package/.next/server/app/memory.rsc +22 -23
  108. package/.next/server/app/memory.segments/!KGFwcCk/memory/__PAGE__.segment.rsc +9 -10
  109. package/.next/server/app/memory.segments/_full.segment.rsc +22 -23
  110. package/.next/server/app/memory.segments/_tree.segment.rsc +2 -2
  111. package/.next/server/app/page.js.nft.json +1 -1
  112. package/.next/server/app/page_client-reference-manifest.js +1 -1
  113. package/.next/server/app/roadmap.html +1 -1
  114. package/.next/server/app/roadmap.rsc +22 -26
  115. package/.next/server/app/roadmap.segments/!KGFwcCk/roadmap/__PAGE__.segment.rsc +9 -11
  116. package/.next/server/app/roadmap.segments/_full.segment.rsc +22 -26
  117. package/.next/server/app/roadmap.segments/_tree.segment.rsc +2 -2
  118. package/.next/server/app/settings.html +1 -1
  119. package/.next/server/app/settings.rsc +22 -23
  120. package/.next/server/app/settings.segments/!KGFwcCk/settings/__PAGE__.segment.rsc +9 -10
  121. package/.next/server/app/settings.segments/_full.segment.rsc +22 -23
  122. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  123. package/.next/server/app/setup.html +1 -1
  124. package/.next/server/app/setup.rsc +22 -23
  125. package/.next/server/app/setup.segments/!KGFwcCk/setup/__PAGE__.segment.rsc +9 -10
  126. package/.next/server/app/setup.segments/_full.segment.rsc +22 -23
  127. package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  128. package/.next/server/app-paths-manifest.json +2 -0
  129. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1htgzmb._.js +3 -0
  130. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1htgzmb._.js.map +1 -0
  131. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0d2_lq6._.js +3 -0
  132. package/.next/server/chunks/[root-of-the-server]__1613hjb._.js +4 -4
  133. package/.next/server/chunks/[root-of-the-server]__1613hjb._.js.map +1 -1
  134. package/.next/server/chunks/[root-of-the-server]__1jxu2x9._.js +3 -0
  135. package/.next/server/chunks/[root-of-the-server]__1jxu2x9._.js.map +1 -0
  136. package/.next/server/chunks/_next-internal_server_app_api_conversations_route_actions_1-pu7gs.js +3 -0
  137. package/.next/server/chunks/ssr/{0_nd_mermaid_dist_mermaid_core_mjs_1vulg1x._.js → 0_nd_mermaid_dist_mermaid_core_mjs_0vv_0i3._.js} +2 -2
  138. package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_0mwkb-i._.js → 1u84_katex_dist_katex_mjs_1z0p1bs._.js} +1 -1
  139. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0cvmffy._.js +3 -0
  140. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0cvmffy._.js.map +1 -0
  141. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0u3jxas._.js +3 -0
  142. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0u3jxas._.js.map +1 -0
  143. package/.next/server/chunks/ssr/[root-of-the-server]__11lfnu0._.js +3 -0
  144. package/.next/server/chunks/ssr/[root-of-the-server]__11lfnu0._.js.map +1 -0
  145. package/.next/server/chunks/ssr/_059qmur._.js +3 -0
  146. package/.next/server/chunks/ssr/_059qmur._.js.map +1 -0
  147. package/.next/server/chunks/ssr/_081irea._.js +3 -0
  148. package/.next/server/chunks/ssr/_081irea._.js.map +1 -0
  149. package/.next/server/chunks/ssr/_0d8t8l4._.js +3 -0
  150. package/.next/server/chunks/ssr/_0d8t8l4._.js.map +1 -0
  151. package/.next/server/chunks/ssr/_0dyvcdg._.js +3 -0
  152. package/.next/server/chunks/ssr/_0dyvcdg._.js.map +1 -0
  153. package/.next/server/chunks/ssr/_1-ghqy4._.js +3 -0
  154. package/.next/server/chunks/ssr/_1-ghqy4._.js.map +1 -0
  155. package/.next/server/chunks/ssr/_17jy5db._.js +3 -0
  156. package/.next/server/chunks/ssr/_17jy5db._.js.map +1 -0
  157. package/.next/server/chunks/ssr/_1c95ems._.js +1 -1
  158. package/.next/server/chunks/ssr/_1c95ems._.js.map +1 -1
  159. package/.next/server/chunks/ssr/_1dllfz5._.js +4 -0
  160. package/.next/server/chunks/ssr/_1dllfz5._.js.map +1 -0
  161. package/.next/server/chunks/ssr/_next-internal_server_app_(app)_chat_page_actions_0g4tbzt.js +3 -0
  162. package/.next/server/chunks/ssr/node_modules__pnpm_006_c8z._.js +3 -0
  163. package/.next/server/chunks/ssr/node_modules__pnpm_006_c8z._.js.map +1 -0
  164. package/.next/server/chunks/ssr/{node_modules__pnpm_00wjhj4._.js → node_modules__pnpm_0286-tg._.js} +1 -1
  165. package/.next/server/chunks/ssr/{node_modules__pnpm_0w9uewb._.js → node_modules__pnpm_04khl_s._.js} +1 -1
  166. package/.next/server/chunks/ssr/{node_modules__pnpm_1zsbfem._.js → node_modules__pnpm_07t_e8c._.js} +1 -1
  167. package/.next/server/chunks/ssr/{node_modules__pnpm_0p10j87._.js → node_modules__pnpm_08sqeu2._.js} +1 -1
  168. package/.next/server/chunks/ssr/{node_modules__pnpm_0cj37c-._.js → node_modules__pnpm_09_i2jk._.js} +1 -1
  169. package/.next/server/chunks/ssr/node_modules__pnpm_09_i2jk._.js.map +1 -0
  170. package/.next/server/chunks/ssr/{node_modules__pnpm_19ys1iv._.js → node_modules__pnpm_0a9b2ei._.js} +1 -1
  171. package/.next/server/chunks/ssr/{node_modules__pnpm_0ma8hho._.js → node_modules__pnpm_0ah02mu._.js} +1 -1
  172. package/.next/server/chunks/ssr/{node_modules__pnpm_0kna82c._.js → node_modules__pnpm_0cj8ryj._.js} +1 -1
  173. package/.next/server/chunks/ssr/{node_modules__pnpm_04xoqd9._.js → node_modules__pnpm_0dwi7mu._.js} +2 -2
  174. package/.next/server/chunks/ssr/node_modules__pnpm_0dwi7mu._.js.map +1 -0
  175. package/.next/server/chunks/ssr/{node_modules__pnpm_19ejwjv._.js → node_modules__pnpm_0f77_ng._.js} +1 -1
  176. package/.next/server/chunks/ssr/{node_modules__pnpm_11lluiq._.js → node_modules__pnpm_0fd3pr1._.js} +2 -2
  177. package/.next/server/chunks/ssr/{node_modules__pnpm_1xolwvc._.js → node_modules__pnpm_0gifu-u._.js} +2 -2
  178. package/.next/server/chunks/ssr/{node_modules__pnpm_1r4w_7k._.js → node_modules__pnpm_0jpv2b6._.js} +2 -2
  179. package/.next/server/chunks/ssr/{node_modules__pnpm_17o8zbz._.js → node_modules__pnpm_0og06fy._.js} +1 -1
  180. package/.next/server/chunks/ssr/{node_modules__pnpm_042y3e-._.js → node_modules__pnpm_0qc3gsk._.js} +1 -1
  181. package/.next/server/chunks/ssr/{node_modules__pnpm_0yixxj2._.js → node_modules__pnpm_0ts89ne._.js} +1 -1
  182. package/.next/server/chunks/ssr/{node_modules__pnpm_18pu1wl._.js → node_modules__pnpm_0ttvopp._.js} +1 -1
  183. package/.next/server/chunks/ssr/{node_modules__pnpm_1-poetj._.js → node_modules__pnpm_0u3u82f._.js} +1 -1
  184. package/.next/server/chunks/ssr/{node_modules__pnpm_07j8gcu._.js → node_modules__pnpm_0y35hs4._.js} +1 -1
  185. package/.next/server/chunks/ssr/{node_modules__pnpm_1a3fo7j._.js → node_modules__pnpm_104pzhc._.js} +2 -2
  186. package/.next/server/chunks/ssr/{node_modules__pnpm_00i3mh2._.js → node_modules__pnpm_195j8p_._.js} +1 -1
  187. package/.next/server/chunks/ssr/node_modules__pnpm_1kcnkjs._.js +3 -0
  188. package/.next/server/chunks/ssr/node_modules__pnpm_1kcnkjs._.js.map +1 -0
  189. package/.next/server/chunks/ssr/{node_modules__pnpm_1_34wt2._.js → node_modules__pnpm_1l8k8w1._.js} +1 -1
  190. package/.next/server/chunks/ssr/{node_modules__pnpm_0nbxdp_._.js → node_modules__pnpm_1w0f1m5._.js} +1 -1
  191. package/.next/server/chunks/ssr/{node_modules__pnpm_1l-posw._.js → node_modules__pnpm_1woddr6._.js} +2 -2
  192. package/.next/server/chunks/ssr/{node_modules__pnpm_0fk-8nl._.js → node_modules__pnpm_1x0t5_z._.js} +1 -1
  193. package/.next/server/chunks/ssr/{node_modules__pnpm_1o30a9w._.js → node_modules__pnpm_1xzf8g_._.js} +1 -1
  194. package/.next/server/chunks/ssr/{node_modules__pnpm_0--x5-5._.js → node_modules__pnpm_1yq90z7._.js} +1 -1
  195. package/.next/server/chunks/ssr/node_modules__pnpm_1yq90z7._.js.map +1 -0
  196. package/.next/server/chunks/ssr/src_app_(app)_chat_page_tsx_0c3e4l4._.js +3 -0
  197. package/.next/server/chunks/ssr/src_app_(app)_chat_page_tsx_0c3e4l4._.js.map +1 -0
  198. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js +3 -0
  199. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js.map +1 -0
  200. package/.next/server/chunks/ssr/src_app_(app)_roadmap_page_tsx_0vcq3jr._.js +5 -0
  201. package/.next/server/chunks/ssr/src_app_(app)_roadmap_page_tsx_0vcq3jr._.js.map +1 -0
  202. package/.next/server/chunks/ssr/src_context_ChatContext_tsx_0lowp8p._.js +5 -0
  203. package/.next/server/chunks/ssr/src_context_ChatContext_tsx_0lowp8p._.js.map +1 -0
  204. package/.next/server/chunks/ssr/{_1wf14_u._.js → src_lib_templates_index_ts_1s61uk7._.js} +2 -2
  205. package/.next/server/chunks/ssr/{_1wf14_u._.js.map → src_lib_templates_index_ts_1s61uk7._.js.map} +1 -1
  206. package/.next/server/middleware-build-manifest.js +3 -3
  207. package/.next/server/next-font-manifest.js +1 -1
  208. package/.next/server/next-font-manifest.json +4 -0
  209. package/.next/server/pages/404.html +1 -1
  210. package/.next/server/pages/500.html +1 -1
  211. package/.next/server/prefetch-hints.json +19 -0
  212. package/.next/server/server-reference-manifest.js +1 -1
  213. package/.next/server/server-reference-manifest.json +1 -1
  214. package/.next/static/chunks/050mq8l4e1ubn.js +1 -0
  215. package/.next/static/chunks/098le48845_fg.js +3 -0
  216. package/.next/static/chunks/0cw4-ebkoufdc.js +1 -0
  217. package/.next/static/chunks/0feo-go1w5nct.js +1 -0
  218. package/.next/static/chunks/14sefb904pl64.js +21 -0
  219. package/.next/static/chunks/1fer-wulyrjrs.js +3 -0
  220. package/.next/static/chunks/1o7b1x4umy8a6.js +1 -0
  221. package/.next/static/chunks/1q_io1j58aukw.js +1 -0
  222. package/.next/static/chunks/1t-cgh4477hfo.js +1 -0
  223. package/.next/static/chunks/1u-1po1qesc9f.js +1 -0
  224. package/.next/static/chunks/1u5kegkgm0xoz.js +1 -0
  225. package/.next/static/chunks/24ygzsgd-moqy.js +1 -0
  226. package/.next/static/chunks/26folxgplfa9t.js +68 -0
  227. package/.next/static/chunks/2ocixvjhv34_3.js +1 -0
  228. package/.next/static/chunks/3_lsdgxa-h7ma.css +10 -0
  229. package/.next/static/chunks/3rmv-sb9w9i3e.js +1 -0
  230. package/.next/static/chunks/3ttzomivj48jh.js +2 -0
  231. package/README.md +1 -1
  232. package/package.json +1 -1
  233. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_08ca0b4._.js +0 -3
  234. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_08ca0b4._.js.map +0 -1
  235. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0c1k9is._.js +0 -3
  236. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_0c1k9is._.js.map +0 -1
  237. package/.next/server/chunks/ssr/_0qyglif._.js +0 -5
  238. package/.next/server/chunks/ssr/_0qyglif._.js.map +0 -1
  239. package/.next/server/chunks/ssr/_0skuoxv._.js +0 -6
  240. package/.next/server/chunks/ssr/_0skuoxv._.js.map +0 -1
  241. package/.next/server/chunks/ssr/_14i_6yb._.js +0 -3
  242. package/.next/server/chunks/ssr/_14i_6yb._.js.map +0 -1
  243. package/.next/server/chunks/ssr/_1cbhuz4._.js +0 -3
  244. package/.next/server/chunks/ssr/_1cbhuz4._.js.map +0 -1
  245. package/.next/server/chunks/ssr/_1ewk_mn._.js +0 -3
  246. package/.next/server/chunks/ssr/_1ewk_mn._.js.map +0 -1
  247. package/.next/server/chunks/ssr/_1y-ofyw._.js +0 -3
  248. package/.next/server/chunks/ssr/_1y-ofyw._.js.map +0 -1
  249. package/.next/server/chunks/ssr/node_modules__pnpm_0bmkw6o._.js +0 -3
  250. package/.next/server/chunks/ssr/node_modules__pnpm_0bmkw6o._.js.map +0 -1
  251. package/.next/server/chunks/ssr/src_components_008q3v8._.js +0 -3
  252. package/.next/server/chunks/ssr/src_components_008q3v8._.js.map +0 -1
  253. package/.next/static/chunks/0-vk2d2nnzav2.js +0 -3
  254. package/.next/static/chunks/02sab26ica2x3.js +0 -1
  255. package/.next/static/chunks/0eggcu0ovk8sd.js +0 -68
  256. package/.next/static/chunks/0iva6rdtfqpbz.js +0 -1
  257. package/.next/static/chunks/0qm101bdsxdyh.css +0 -10
  258. package/.next/static/chunks/0wg9n5zb8mo2p.js +0 -1
  259. package/.next/static/chunks/0z_y7el6m76yk.js +0 -1
  260. package/.next/static/chunks/1-ekntoveuxzd.js +0 -4
  261. package/.next/static/chunks/10neasnz6hhq1.js +0 -1
  262. package/.next/static/chunks/22dw7r8x0h2sx.js +0 -1
  263. package/.next/static/chunks/26ee8jsbellqk.js +0 -21
  264. package/.next/static/chunks/3kkg030rcpz7l.js +0 -1
  265. package/.next/static/chunks/3pf_4ye6ju8gt.js +0 -1
  266. /package/.next/server/chunks/{ssr/0_nd_mermaid_dist_mermaid_core_mjs_1vulg1x._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0d2_lq6._.js.map} +0 -0
  267. /package/.next/server/chunks/{ssr/1u84_katex_dist_katex_mjs_0mwkb-i._.js.map → _next-internal_server_app_api_conversations_route_actions_1-pu7gs.js.map} +0 -0
  268. /package/.next/server/chunks/ssr/{node_modules__pnpm_0--x5-5._.js.map → 0_nd_mermaid_dist_mermaid_core_mjs_0vv_0i3._.js.map} +0 -0
  269. /package/.next/server/chunks/ssr/{node_modules__pnpm_04xoqd9._.js.map → 1u84_katex_dist_katex_mjs_1z0p1bs._.js.map} +0 -0
  270. /package/.next/server/chunks/ssr/{node_modules__pnpm_0cj37c-._.js.map → _next-internal_server_app_(app)_chat_page_actions_0g4tbzt.js.map} +0 -0
  271. /package/.next/server/chunks/ssr/{node_modules__pnpm_00wjhj4._.js.map → node_modules__pnpm_0286-tg._.js.map} +0 -0
  272. /package/.next/server/chunks/ssr/{node_modules__pnpm_0w9uewb._.js.map → node_modules__pnpm_04khl_s._.js.map} +0 -0
  273. /package/.next/server/chunks/ssr/{node_modules__pnpm_1zsbfem._.js.map → node_modules__pnpm_07t_e8c._.js.map} +0 -0
  274. /package/.next/server/chunks/ssr/{node_modules__pnpm_0p10j87._.js.map → node_modules__pnpm_08sqeu2._.js.map} +0 -0
  275. /package/.next/server/chunks/ssr/{node_modules__pnpm_19ys1iv._.js.map → node_modules__pnpm_0a9b2ei._.js.map} +0 -0
  276. /package/.next/server/chunks/ssr/{node_modules__pnpm_0ma8hho._.js.map → node_modules__pnpm_0ah02mu._.js.map} +0 -0
  277. /package/.next/server/chunks/ssr/{node_modules__pnpm_0kna82c._.js.map → node_modules__pnpm_0cj8ryj._.js.map} +0 -0
  278. /package/.next/server/chunks/ssr/{node_modules__pnpm_19ejwjv._.js.map → node_modules__pnpm_0f77_ng._.js.map} +0 -0
  279. /package/.next/server/chunks/ssr/{node_modules__pnpm_11lluiq._.js.map → node_modules__pnpm_0fd3pr1._.js.map} +0 -0
  280. /package/.next/server/chunks/ssr/{node_modules__pnpm_1xolwvc._.js.map → node_modules__pnpm_0gifu-u._.js.map} +0 -0
  281. /package/.next/server/chunks/ssr/{node_modules__pnpm_1r4w_7k._.js.map → node_modules__pnpm_0jpv2b6._.js.map} +0 -0
  282. /package/.next/server/chunks/ssr/{node_modules__pnpm_17o8zbz._.js.map → node_modules__pnpm_0og06fy._.js.map} +0 -0
  283. /package/.next/server/chunks/ssr/{node_modules__pnpm_042y3e-._.js.map → node_modules__pnpm_0qc3gsk._.js.map} +0 -0
  284. /package/.next/server/chunks/ssr/{node_modules__pnpm_0yixxj2._.js.map → node_modules__pnpm_0ts89ne._.js.map} +0 -0
  285. /package/.next/server/chunks/ssr/{node_modules__pnpm_18pu1wl._.js.map → node_modules__pnpm_0ttvopp._.js.map} +0 -0
  286. /package/.next/server/chunks/ssr/{node_modules__pnpm_1-poetj._.js.map → node_modules__pnpm_0u3u82f._.js.map} +0 -0
  287. /package/.next/server/chunks/ssr/{node_modules__pnpm_07j8gcu._.js.map → node_modules__pnpm_0y35hs4._.js.map} +0 -0
  288. /package/.next/server/chunks/ssr/{node_modules__pnpm_1a3fo7j._.js.map → node_modules__pnpm_104pzhc._.js.map} +0 -0
  289. /package/.next/server/chunks/ssr/{node_modules__pnpm_00i3mh2._.js.map → node_modules__pnpm_195j8p_._.js.map} +0 -0
  290. /package/.next/server/chunks/ssr/{node_modules__pnpm_1_34wt2._.js.map → node_modules__pnpm_1l8k8w1._.js.map} +0 -0
  291. /package/.next/server/chunks/ssr/{node_modules__pnpm_0nbxdp_._.js.map → node_modules__pnpm_1w0f1m5._.js.map} +0 -0
  292. /package/.next/server/chunks/ssr/{node_modules__pnpm_1l-posw._.js.map → node_modules__pnpm_1woddr6._.js.map} +0 -0
  293. /package/.next/server/chunks/ssr/{node_modules__pnpm_0fk-8nl._.js.map → node_modules__pnpm_1x0t5_z._.js.map} +0 -0
  294. /package/.next/server/chunks/ssr/{node_modules__pnpm_1o30a9w._.js.map → node_modules__pnpm_1xzf8g_._.js.map} +0 -0
  295. /package/.next/static/{gJtrYenzL6_deB-6pdvIL → uJ5RYxgFnE5svAvnuLDXN}/_buildManifest.js +0 -0
  296. /package/.next/static/{gJtrYenzL6_deB-6pdvIL → uJ5RYxgFnE5svAvnuLDXN}/_clientMiddlewareManifest.js +0 -0
  297. /package/.next/static/{gJtrYenzL6_deB-6pdvIL → uJ5RYxgFnE5svAvnuLDXN}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../node_modules/.pnpm/lucide-react%401.48.0_react%4019.3.0/node_modules/lucide-react/src/icons/search.ts","../../../../src/lib/templates/ai-agent.ts","../../../../src/lib/templates/github.ts","../../../../src/lib/templates/process.ts","../../../../src/lib/templates/technical.ts","../../../../src/lib/templates/infrastructure.ts","../../../../src/lib/templates/github-actions.ts","../../../../src/lib/templates/code-quality.ts","../../../../src/lib/templates/monitoring.ts","../../../../src/lib/templates/index.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'search',\n size: 24,\n node: [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon(__iconData);\n\nexport default Search;\n","import type { Template } from './types'\r\n\r\nexport const AI_AGENT_TEMPLATES: Template[] = [\r\n {\r\n id: 'claude-md',\r\n name: 'CLAUDE.md',\r\n description: 'AI agent instructions for Claude Code',\r\n defaultPath: 'CLAUDE.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Agent Instructions\r\n\r\n## What this is\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Project type\r\n{{PROJECT_TYPE}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\n# Install dependencies\r\n{{PACKAGE_MANAGER}} install\r\n\r\n# Start development\r\nnpm run dev\r\n\r\n# Build for production\r\nnpm run build\r\n\r\n# Run tests\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Architecture\r\n- Primary language: {{PRIMARY_LANGUAGE}}\r\n- Deployment: {{DEPLOYMENT_PLATFORM}}\r\n- Key directories: \\`src/\\`, \\`docs/\\`, \\`tests/\\`\r\n- See \\`docs/architecture/overview.md\\` for full details\r\n\r\n## Read before coding\r\n- @docs/architecture/overview.md\r\n- @CONTRIBUTING.md\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Key features\r\n{{KEY_FEATURES}}\r\n\r\n## Non-negotiables\r\n- Always run \\`npm run build\\` before marking a task done — build must pass\r\n- Never use localStorage — causes SSR/client mismatch\r\n- Never commit secrets or credentials\r\n- Maintain test coverage\r\n- Follow security best practices\r\n\r\n## Code style\r\n- Follow existing patterns before introducing new abstractions\r\n- Keep modules small and focused\r\n- Write tests for business logic\r\n- Prefer explicit over implicit\r\n`,\r\n },\r\n {\r\n id: 'agents-md',\r\n name: 'AGENTS.md',\r\n description: 'AI agent instructions (multi-agent / OpenAI)',\r\n defaultPath: 'AGENTS.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Agent Instructions\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\nnpm install\r\nnpm run dev\r\nnpm run build\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Follow existing code patterns\r\n- Write tests for new features\r\n- Never commit secrets or credentials\r\n`,\r\n },\r\n {\r\n id: 'gemini-md',\r\n name: 'GEMINI.md',\r\n description: 'AI agent instructions for Gemini CLI',\r\n defaultPath: 'GEMINI.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Gemini Agent Instructions\r\n\r\n## What this is\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\n# Install dependencies\r\nnpm install\r\n\r\n# Start development\r\nnpm run dev\r\n\r\n# Build for production\r\nnpm run build\r\n\r\n# Run tests\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Follow existing code patterns\r\n- Write tests for new features\r\n- Never commit secrets or credentials\r\n`,\r\n },\r\n {\r\n id: 'cursorrules',\r\n name: '.cursorrules',\r\n description: 'Cursor IDE rules for AI assistance',\r\n defaultPath: '.cursorrules',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Cursor Rules\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Code style\r\n- Use {{TECH_STACK}} conventions\r\n- Follow existing patterns in the codebase\r\n- Prefer explicit over implicit\r\n- Keep functions small and focused\r\n\r\n## Conventions\r\n{{CONVENTIONS}}\r\n\r\n## What NOT to do\r\n- Don't introduce new dependencies without discussion\r\n- Don't break existing tests\r\n- Don't commit secrets or credentials\r\n- Don't over-engineer simple solutions\r\n`,\r\n },\r\n {\r\n id: 'windsurfrules',\r\n name: '.windsurfrules',\r\n description: 'Windsurf IDE rules for AI assistance',\r\n defaultPath: '.windsurfrules',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Windsurf Rules\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Code style\r\n- Follow existing patterns in the codebase\r\n- Prefer explicit over implicit\r\n- Keep functions small and focused\r\n\r\n## Conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Don't introduce breaking changes\r\n- Don't commit secrets or credentials\r\n- Maintain test coverage\r\n`,\r\n },\r\n {\r\n id: 'copilot-instructions',\r\n name: 'Copilot Instructions',\r\n description: 'GitHub Copilot custom instructions',\r\n defaultPath: '.github/copilot-instructions.md',\r\n category: 'ai-agent',\r\n content: `# GitHub Copilot Instructions — {{PROJECT_NAME}}\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Coding conventions\r\n{{CONVENTIONS}}\r\n\r\n## Key features\r\n{{KEY_FEATURES}}\r\n\r\n## Style guidelines\r\n- Follow existing patterns before creating new abstractions\r\n- Write descriptive variable and function names\r\n- Add comments for non-obvious logic only\r\n- Keep functions focused on a single responsibility\r\n\r\n## Testing\r\n- Write tests for all new functionality\r\n- Maintain existing test coverage\r\n- Use the project's established testing patterns\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const GITHUB_TEMPLATES: Template[] = [\r\n {\r\n id: 'contributing',\r\n name: 'CONTRIBUTING.md',\r\n description: 'Contribution guidelines',\r\n defaultPath: 'CONTRIBUTING.md',\r\n category: 'github',\r\n content: `# Contributing to {{PROJECT_NAME}}\r\n\r\nThank you for your interest in contributing!\r\n\r\n## Getting started\r\n\r\n1. Fork the repository\r\n2. Clone your fork: \\`git clone {{REPO_URL}}\\`\r\n3. Create a feature branch: \\`git checkout -b feat/your-feature\\`\r\n4. Make your changes\r\n5. Submit a pull request\r\n\r\n## Branch naming\r\n\r\n| Type | Pattern | Example |\r\n|------|---------|---------|\r\n| Feature | \\`feat/<description>\\` | \\`feat/user-auth\\` |\r\n| Fix | \\`fix/<description>\\` | \\`fix/login-crash\\` |\r\n| Chore | \\`chore/<description>\\` | \\`chore/update-deps\\` |\r\n| Docs | \\`docs/<description>\\` | \\`docs/api-guide\\` |\r\n| Refactor | \\`refactor/<description>\\` | \\`refactor/auth-module\\` |\r\n| Release | \\`release/<version>\\` | \\`release/v1.2.0\\` |\r\n\r\n## Commit conventions\r\n\r\nWe use [Conventional Commits](https://conventionalcommits.org):\r\n\r\n| Type | When to use |\r\n|------|------------|\r\n| \\`feat\\` | New feature |\r\n| \\`fix\\` | Bug fix |\r\n| \\`docs\\` | Documentation only |\r\n| \\`refactor\\` | Code change that's neither fix nor feature |\r\n| \\`test\\` | Adding or updating tests |\r\n| \\`chore\\` | Build process, dependencies, tooling |\r\n| \\`perf\\` | Performance improvement |\r\n| \\`ci\\` | CI/CD changes |\r\n\r\nExamples:\r\n\\`\\`\\`\r\nfeat: add user authentication\r\nfix: resolve login redirect issue\r\ndocs: update API reference\r\nchore: upgrade dependencies\r\nfeat!: redesign auth API (breaking change — note the !)\r\n\\`\\`\\`\r\n\r\n## PR size guidance\r\n\r\n| Size | Lines changed | Guidance |\r\n|------|--------------|---------|\r\n| Small | < 400 lines | Ideal — fast to review |\r\n| Medium | 400–800 lines | Acceptable — add extra context in description |\r\n| Large | > 800 lines | Needs discussion before opening — split if possible |\r\n\r\nLarge PRs slow down the team and increase the chance of missed issues. When in doubt, split.\r\n\r\n## Pull request process\r\n\r\n1. Fill out the PR template completely\r\n2. Ensure all CI checks pass\r\n3. Request review from at least one maintainer\r\n4. Address all review comments\r\n5. Squash commits before merge\r\n\r\n## Code review checklist\r\n\r\n**Author:**\r\n- [ ] Self-reviewed the diff before requesting review\r\n- [ ] PR description explains the \"why\", not just the \"what\"\r\n- [ ] Tests added/updated and passing\r\n- [ ] No secrets or credentials in code\r\n- [ ] Breaking changes noted in PR description\r\n\r\n**Reviewer:**\r\n- [ ] Code is correct and handles edge cases\r\n- [ ] No obvious performance issues\r\n- [ ] Tests are meaningful (not just coverage padding)\r\n- [ ] Naming is clear and consistent with the codebase\r\n- [ ] Documentation updated if public API changed\r\n\r\n## Code style\r\n{{CONVENTIONS}}\r\n\r\n## Reporting bugs\r\n\r\nOpen an issue with:\r\n- Description of the bug\r\n- Steps to reproduce\r\n- Expected vs actual behavior\r\n- Environment details\r\n`,\r\n },\r\n {\r\n id: 'security',\r\n name: 'SECURITY.md',\r\n description: 'Security policy and vulnerability reporting',\r\n defaultPath: 'SECURITY.md',\r\n category: 'github',\r\n content: `# Security Policy — {{PROJECT_NAME}}\r\n\r\n## Supported versions\r\n\r\n| Version | Supported |\r\n|---------|-----------|\r\n| latest | ✅ |\r\n| < 1.0 | ❌ |\r\n\r\n## Reporting a vulnerability\r\n\r\n**Please do not report security vulnerabilities through public GitHub issues.**\r\n\r\nTo report a security issue, email: **security@example.com**\r\n\r\nYou may optionally encrypt your report using our PGP key (key ID: \\`0x00000000\\`, available on keys.openpgp.org).\r\n\r\nInclude:\r\n- Description of the vulnerability\r\n- Steps to reproduce\r\n- Potential impact\r\n- Any suggested mitigations\r\n\r\nYou will receive a response within **48 hours**. We will:\r\n1. Confirm receipt of your report\r\n2. Investigate and assess the issue\r\n3. Release a fix or mitigation\r\n4. Credit you in the release notes (unless you prefer anonymity)\r\n\r\n## Vulnerability SLAs\r\n\r\n| Severity | Fix SLA |\r\n|----------|---------|\r\n| Critical | 48 hours |\r\n| High | 7 days |\r\n| Medium | 30 days |\r\n| Low | 90 days |\r\n\r\nDependabot alerts for **critical** vulnerabilities must be resolved within 48 hours. Run \\`npm audit\\` in CI on every PR.\r\n\r\n## Secrets rotation schedule\r\n\r\n| Secret | Rotation | Owner |\r\n|--------|----------|-------|\r\n| JWT signing key | Every 90 days | Platform team |\r\n| Database passwords | Every 180 days | Platform team |\r\n| API keys (third-party) | On staff change | Security team |\r\n| Deploy tokens | Every 90 days | DevOps |\r\n\r\n## OWASP Top 10 checklist\r\n\r\n- [ ] **A01 Broken Access Control** — Enforce authorization on every endpoint; deny by default\r\n- [ ] **A02 Cryptographic Failures** — Use TLS everywhere; never store plaintext secrets; use bcrypt/argon2 for passwords\r\n- [ ] **A03 Injection** — Use parameterized queries; validate and sanitize all input\r\n- [ ] **A04 Insecure Design** — Threat model new features; use principle of least privilege\r\n- [ ] **A05 Security Misconfiguration** — Harden defaults; disable unused features; set security headers\r\n- [ ] **A06 Vulnerable Components** — Run \\`npm audit\\` in CI; automate with Dependabot\r\n- [ ] **A07 Auth Failures** — Implement MFA; lock accounts after failed attempts; use secure session management\r\n- [ ] **A08 Software Integrity Failures** — Verify checksums; use lockfiles; pin CI action versions\r\n- [ ] **A09 Logging Failures** — Log auth events, access failures; never log secrets or PII\r\n- [ ] **A10 SSRF** — Validate and allowlist URLs for any server-side requests\r\n\r\n## Security best practices\r\n\r\nWhen contributing to this project:\r\n- Never commit secrets, tokens, or credentials\r\n- Use environment variables for all sensitive configuration\r\n- Validate and sanitize all user input\r\n- Follow the principle of least privilege\r\n- Keep dependencies up to date\r\n`,\r\n },\r\n {\r\n id: 'pr-template',\r\n name: 'PR Template',\r\n description: 'Pull request template',\r\n defaultPath: '.github/pull_request_template.md',\r\n category: 'github',\r\n content: `## Description\r\n\r\n<!-- Briefly describe the changes and why they were made -->\r\n\r\n## Type of change\r\n\r\n- [ ] Bug fix (non-breaking change that fixes an issue)\r\n- [ ] New feature (non-breaking change that adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Documentation update\r\n- [ ] Refactor / code cleanup\r\n- [ ] Dependency update\r\n\r\n## Related issues\r\n\r\nCloses #\r\n\r\n## How to test\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n## Screenshots / recordings\r\n\r\n<!-- If applicable, add screenshots or screen recordings -->\r\n\r\n## Checklist\r\n\r\n- [ ] My code follows the project's style guidelines\r\n- [ ] I have performed a self-review of my changes\r\n- [ ] I have added tests that prove my fix or feature works\r\n- [ ] New and existing unit tests pass locally\r\n- [ ] I have updated documentation if needed\r\n- [ ] No secrets or credentials are included\r\n`,\r\n },\r\n {\r\n id: 'bug-report',\r\n name: 'Bug Report Template',\r\n description: 'GitHub issue template for bugs',\r\n defaultPath: '.github/ISSUE_TEMPLATE/bug_report.md',\r\n category: 'github',\r\n content: `---\r\nname: Bug report\r\nabout: Create a report to help us improve\r\nlabels: bug\r\n---\r\n\r\n## Describe the bug\r\n\r\nA clear and concise description of what the bug is.\r\n\r\n## Steps to reproduce\r\n\r\n1. Go to '...'\r\n2. Click on '...'\r\n3. See error\r\n\r\n## Expected behavior\r\n\r\nA clear and concise description of what you expected to happen.\r\n\r\n## Actual behavior\r\n\r\nWhat actually happened.\r\n\r\n## Screenshots\r\n\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n## Environment\r\n\r\n- OS: [e.g. macOS 14]\r\n- Browser: [e.g. Chrome 120]\r\n- Version: [e.g. 1.2.3]\r\n- Node.js: [e.g. 20.x]\r\n\r\n## Additional context\r\n\r\nAdd any other context about the problem here.\r\n`,\r\n },\r\n {\r\n id: 'feature-request',\r\n name: 'Feature Request Template',\r\n description: 'GitHub issue template for features',\r\n defaultPath: '.github/ISSUE_TEMPLATE/feature_request.md',\r\n category: 'github',\r\n content: `---\r\nname: Feature request\r\nabout: Suggest an idea for this project\r\nlabels: enhancement\r\n---\r\n\r\n## Problem\r\n\r\nIs your feature request related to a problem? Please describe.\r\nA clear and concise description of what the problem is.\r\n\r\n## Proposed solution\r\n\r\nA clear and concise description of what you want to happen.\r\n\r\n## Alternatives considered\r\n\r\nA clear and concise description of any alternative solutions or features you've considered.\r\n\r\n## Implementation notes\r\n\r\nAny thoughts on how this might be implemented?\r\n\r\n## Additional context\r\n\r\nAdd any other context, mockups, or screenshots about the feature request here.\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const PROCESS_TEMPLATES: Template[] = [\r\n {\r\n id: 'changelog',\r\n name: 'CHANGELOG.md',\r\n description: 'Keep a Changelog format',\r\n defaultPath: 'CHANGELOG.md',\r\n category: 'process',\r\n content: `# Changelog — {{PROJECT_NAME}}\r\n\r\nAll notable changes to this project will be documented in this file.\r\n\r\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\r\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\r\n\r\n## [Unreleased]\r\n\r\n### Added\r\n-\r\n\r\n### Changed\r\n-\r\n\r\n### Fixed\r\n-\r\n\r\n### Removed\r\n-\r\n\r\n## [1.0.0] — {{DATE}}\r\n\r\n### Added\r\n- Initial release\r\n`,\r\n },\r\n {\r\n id: 'deployment',\r\n name: 'DEPLOYMENT.md',\r\n description: 'Deployment guide and procedures',\r\n defaultPath: 'DEPLOYMENT.md',\r\n category: 'process',\r\n content: `# Deployment Guide — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Environments\r\n\r\n| Environment | URL | Branch | Auto-deploy |\r\n|-------------|-----|--------|-------------|\r\n| Production | | \\`main\\` | No |\r\n| Staging | | \\`develop\\` | Yes |\r\n| Preview | | PRs | Yes |\r\n\r\n## Prerequisites\r\n\r\n- Access to deployment platform\r\n- Environment variables configured (see \\`.env.example\\`)\r\n- CI/CD pipeline passing\r\n\r\n## Deploy to production\r\n\r\n\\`\\`\\`bash\r\n# 1. Ensure tests pass\r\nnpm test\r\n\r\n# 2. Build and verify\r\nnpm run build\r\n\r\n# 3. Merge to main\r\ngit checkout main && git merge develop\r\n\r\n# 4. Tag the release\r\ngit tag v1.x.x && git push --tags\r\n\\`\\`\\`\r\n\r\n## Environment variables\r\n\r\n| Variable | Required | Description |\r\n|----------|----------|-------------|\r\n| | Yes | |\r\n\r\n## Rollback procedure\r\n\r\n1. Identify the last stable release tag\r\n2. \\`git checkout <tag>\\`\r\n3. Redeploy the previous version\r\n4. Verify the rollback with smoke tests\r\n\r\n## Smoke tests\r\n\r\nAfter every deploy, verify:\r\n- [ ] App loads at production URL\r\n- [ ] Auth flow works\r\n- [ ] Core features functional\r\n- [ ] No error spikes in monitoring\r\n\r\n## Contacts\r\n\r\n| Role | Contact |\r\n|------|---------|\r\n| On-call | |\r\n| Release manager | |\r\n`,\r\n },\r\n {\r\n id: 'testing',\r\n name: 'TESTING.md',\r\n description: 'Testing strategy and guide',\r\n defaultPath: 'TESTING.md',\r\n category: 'process',\r\n content: `# Testing Guide — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Test pyramid\r\n\r\n\\`\\`\\`\r\n /\\\\\r\n /E2E\\\\ 10% — Critical user flows only\r\n /------\\\\\r\n /Integr. \\\\ 20% — API, DB, service boundaries\r\n /----------\\\\\r\n / Unit \\\\ 70% — Functions, logic, utilities\r\n /______________\\\\\r\n\\`\\`\\`\r\n\r\n## Test strategy\r\n\r\n| Layer | Type | Tool | Coverage target |\r\n|-------|------|------|----------------|\r\n| Unit | Functions/logic | {{TEST_FRAMEWORK}} | 80%+ |\r\n| Integration | API/DB | {{TEST_FRAMEWORK}} | 70%+ |\r\n| E2E | User flows | Playwright | Key paths |\r\n\r\n## Coverage targets by directory\r\n\r\n| Directory | Target | Rationale |\r\n|-----------|--------|-----------|\r\n| \\`src/lib/\\` | 90%+ | Core business logic |\r\n| \\`src/api/\\` | 80%+ | API handlers |\r\n| \\`src/components/\\` | 60%+ | UI — focus on logic, not rendering |\r\n| \\`src/utils/\\` | 90%+ | Pure utility functions |\r\n\r\n## Running tests\r\n\r\n\\`\\`\\`bash\r\n# Run all tests\r\nnpm test\r\n\r\n# Run with coverage\r\nnpm run test:coverage\r\n\r\n# Run E2E tests\r\nnpm run test:e2e\r\n\r\n# Watch mode\r\nnpm run test:watch\r\n\\`\\`\\`\r\n\r\n## Writing tests\r\n\r\n### Unit test example\r\n\r\n\\`\\`\\`typescript\r\ndescribe('MyFunction', () => {\r\n it('should return expected value', () => {\r\n expect(myFunction(input)).toBe(expected)\r\n })\r\n})\r\n\\`\\`\\`\r\n\r\n### Integration test guidelines\r\n- Use a real database (not mocks) for DB tests\r\n- Reset state between tests\r\n- Test happy path and error cases\r\n\r\n### E2E test guidelines\r\n- Cover critical user journeys\r\n- Use stable selectors (\\`data-testid\\`)\r\n- Run against staging environment\r\n\r\n### Playwright config example\r\n\r\n\\`\\`\\`typescript\r\n// playwright.config.ts\r\nimport { defineConfig, devices } from '@playwright/test'\r\n\r\nexport default defineConfig({\r\n testDir: './e2e',\r\n fullyParallel: true,\r\n forbidOnly: !!process.env.CI,\r\n retries: process.env.CI ? 2 : 0,\r\n reporter: 'html',\r\n use: {\r\n baseURL: process.env.PLAYWRIGHT_BASE_URL ?? 'http://localhost:3000',\r\n trace: 'on-first-retry',\r\n },\r\n projects: [\r\n {name: 'chromium', use: {...devices['Desktop Chrome']}},\r\n {name: 'Mobile Safari', use: {...devices['iPhone 13']}},\r\n ],\r\n webServer: {\r\n command: 'npm run dev',\r\n url: 'http://localhost:3000',\r\n reuseExistingServer: !process.env.CI,\r\n },\r\n})\r\n\\`\\`\\`\r\n\r\n## Flaky test policy\r\n\r\n1. **Quarantine immediately** — tag with \\`@flaky\\` and skip in CI (\\`test.skip\\`)\r\n2. **Create a ticket** — track as a P2 bug with a 2-week SLA to fix\r\n3. **Root cause** — common causes: timing issues, shared state, network calls\r\n4. **Fix or delete** — flaky tests are worse than no tests (false confidence)\r\n\r\nQuarantine example:\r\n\\`\\`\\`typescript\r\ntest.skip('flaky: timing issue with animation', async ({ page }) => {\r\n // TODO: fix by waiting for animation end event instead of sleep\r\n})\r\n\\`\\`\\`\r\n\r\n## Test organization\r\n\r\n\\`\\`\\`\r\nsrc/\r\n __tests__/ # Unit tests\r\n __integration__/ # Integration tests\r\ne2e/ # E2E tests\r\n\\`\\`\\`\r\n\r\n## CI/CD\r\n\r\nTests run automatically on every PR. PRs cannot merge with failing tests.\r\n`,\r\n },\r\n {\r\n id: 'glossary',\r\n name: 'Glossary',\r\n description: 'Project terminology reference',\r\n defaultPath: 'docs/glossary.md',\r\n category: 'process',\r\n content: `# Glossary — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\nThis document defines terms used throughout the project documentation and codebase.\r\n\r\n## Terms\r\n\r\n| Term | Definition |\r\n|------|------------|\r\n| | |\r\n\r\n## Acronyms\r\n\r\n| Acronym | Full form | Meaning |\r\n|---------|-----------|---------|\r\n| | | |\r\n\r\n## Domain concepts\r\n\r\n<!-- Add domain-specific concepts here -->\r\n\r\n---\r\n\r\n*Keep this document updated as new terminology is introduced.*\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nconst today = new Date().toISOString().split('T')[0]\r\n\r\nexport const TECHNICAL_TEMPLATES: Template[] = [\r\n {\r\n id: 'prd',\r\n name: 'PRD',\r\n description: 'Product requirements document',\r\n defaultPath: 'docs/prd.md',\r\n category: 'technical',\r\n content: `# Product Requirements — {{PROJECT_NAME}}\r\n\r\n**Status:** Draft\r\n**Last updated:** {{DATE}}\r\n**Author:**\r\n**Stakeholders:**\r\n\r\n## Problem statement\r\n{{DESCRIPTION}}\r\n\r\n## Goals\r\n-\r\n-\r\n\r\n## Non-goals\r\n-\r\n-\r\n\r\n## User stories\r\n| As a... | I want to... | So that... |\r\n|---------|--------------|------------|\r\n| user | | |\r\n\r\n## Requirements\r\n\r\n### Functional\r\n{{KEY_FEATURES}}\r\n\r\n### Non-functional\r\n- Performance:\r\n- Security:\r\n- Reliability:\r\n- Scalability:\r\n\r\n## Success metrics\r\n| Metric | Current | Target |\r\n|--------|---------|--------|\r\n| | | |\r\n\r\n## Timeline\r\n| Milestone | Target date |\r\n|-----------|-------------|\r\n| | |\r\n\r\n## Open questions\r\n-\r\n`,\r\n },\r\n {\r\n id: 'architecture-overview',\r\n name: 'Architecture Overview',\r\n description: 'System architecture doc',\r\n defaultPath: 'docs/architecture/overview.md',\r\n category: 'technical',\r\n content: `# Architecture Overview — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Summary\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## System diagram\r\n\r\n### Context (C4 Level 1)\r\n\r\n\\`\\`\\`mermaid\r\ngraph TB\r\n User[\"User\"] --> System[\"{{PROJECT_NAME}}\"]\r\n System --> ExternalAPI[\"External APIs\"]\r\n System --> DB[\"Database\"]\r\n\\`\\`\\`\r\n\r\n### Container (C4 Level 2)\r\n\r\n\\`\\`\\`mermaid\r\ngraph TB\r\n Client[\"Web Client<br/>(Browser)\"] --> API[\"API Server<br/>(Node.js)\"]\r\n API --> DB[\"Database<br/>(PostgreSQL)\"]\r\n API --> Cache[\"Cache<br/>(Redis)\"]\r\n API --> Queue[\"Job Queue\"]\r\n\\`\\`\\`\r\n\r\n## Components\r\n\r\n| Component | Responsibility | Tech |\r\n|-----------|---------------|------|\r\n| | | |\r\n\r\n## Data flow\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n## Key decisions\r\n\r\n| Decision | Chosen | Alternative | Rationale |\r\n|----------|--------|-------------|-----------|\r\n| | | | |\r\n\r\n## ADR log\r\n\r\n| ADR | Title | Status | Date |\r\n|-----|-------|--------|------|\r\n| 001 | | Accepted | {{DATE}} |\r\n\r\n## Non-goals\r\n\r\n- <!-- What this system explicitly does NOT do -->\r\n\r\n## Security considerations\r\n- Authentication:\r\n- Authorization:\r\n- Data validation:\r\n- Secrets management:\r\n\r\n## Scalability notes\r\n-\r\n`,\r\n },\r\n {\r\n id: 'api-reference',\r\n name: 'API Reference',\r\n description: 'API endpoints reference',\r\n defaultPath: 'docs/api-reference.md',\r\n category: 'technical',\r\n content: `# API Reference — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Base URL\r\n\r\n\\`\\`\\`\r\nhttps://api.example.com/v1\r\n\\`\\`\\`\r\n\r\n## Versioning\r\n\r\nThis API uses URL-based versioning (\\`/v1/\\`, \\`/v2/\\`, etc.).\r\n\r\n- The current stable version is \\`v1\\`.\r\n- Deprecated versions are supported for 12 months after a new version is released.\r\n- Breaking changes always increment the major version.\r\n\r\n## Authentication\r\n\r\nAll requests require a bearer token in the Authorization header:\r\n\r\n\\`\\`\\`\r\nAuthorization: Bearer <token>\r\n\\`\\`\\`\r\n\r\n### Token refresh\r\n\r\nTokens expire after 1 hour. Refresh using:\r\n\r\n\\`\\`\\`\r\nPOST /auth/refresh\r\nContent-Type: application/json\r\n\r\n{\"refreshToken\": \"<refresh_token>\"}\r\n\\`\\`\\`\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{\"accessToken\": \"...\", \"refreshToken\": \"...\", \"expiresIn\": 3600}\r\n\\`\\`\\`\r\n\r\n## Rate limiting\r\n\r\n- **Limit:** 1000 requests/hour per API key\r\n- **Headers:** \\`X-RateLimit-Limit\\`, \\`X-RateLimit-Remaining\\`, \\`X-RateLimit-Reset\\`\r\n\r\n## Pagination\r\n\r\nList endpoints support cursor-based pagination:\r\n\r\n\\`\\`\\`\r\nGET /resources?cursor=<cursor>&limit=20\r\n\\`\\`\\`\r\n\r\n## Error format\r\n\r\nAll errors follow a standard envelope:\r\n\r\n\\`\\`\\`json\r\n{\r\n \"code\": \"VALIDATION_ERROR\",\r\n \"message\": \"Human-readable description\",\r\n \"details\": [{\"field\": \"email\", \"issue\": \"invalid format\"}]\r\n}\r\n\\`\\`\\`\r\n\r\n## Error codes\r\n\r\n| Code | Meaning |\r\n|------|---------|\r\n| 400 | Bad request — invalid parameters |\r\n| 401 | Unauthorized — missing or invalid token |\r\n| 403 | Forbidden — insufficient permissions |\r\n| 404 | Not found |\r\n| 422 | Unprocessable entity — validation error |\r\n| 429 | Too many requests |\r\n| 500 | Internal server error |\r\n\r\n## Webhooks\r\n\r\n### Signature verification\r\n\r\nAll webhook payloads are signed with HMAC-SHA256. Verify the signature:\r\n\r\n\\`\\`\\`\r\nX-Webhook-Signature: sha256=<hmac_hex>\r\n\\`\\`\\`\r\n\r\n\\`\\`\\`typescript\r\nimport crypto from 'crypto'\r\n\r\nfunction verifyWebhook(payload: string, signature: string, secret: string): boolean {\r\n const expected = crypto\r\n .createHmac('sha256', secret)\r\n .update(payload)\r\n .digest('hex')\r\n return crypto.timingSafeEqual(\r\n Buffer.from(\\`sha256=\\${expected}\\`),\r\n Buffer.from(signature)\r\n )\r\n}\r\n\\`\\`\\`\r\n\r\n## Endpoints\r\n\r\n### GET /resource\r\n\r\n**Description:** List resources\r\n\r\n**Query parameters:**\r\n- \\`limit\\` (integer, default 20) — items per page\r\n- \\`cursor\\` (string) — pagination cursor\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{\r\n \"data\": [],\r\n \"cursor\": null,\r\n \"total\": 0\r\n}\r\n\\`\\`\\`\r\n\r\n### POST /resource\r\n\r\n**Description:** Create a resource\r\n\r\n**Request body:**\r\n\\`\\`\\`json\r\n{}\r\n\\`\\`\\`\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{}\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'runbook',\r\n name: 'Runbook',\r\n description: 'Operational runbook',\r\n defaultPath: 'docs/runbook.md',\r\n category: 'technical',\r\n content: `# Runbook — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## SLOs\r\n\r\n| Metric | Target |\r\n|--------|--------|\r\n| Availability | 99.9% |\r\n| P95 latency | < 500ms |\r\n| Error rate | < 0.1% |\r\n\r\n## Environments\r\n\r\n| Env | URL | Purpose |\r\n|-----|-----|---------|\r\n| Production | | Live traffic |\r\n| Staging | | Pre-release testing |\r\n| Development | | Local dev |\r\n\r\n## Alerting\r\n\r\n| Alert | Threshold | Severity | Action |\r\n|-------|-----------|----------|--------|\r\n| | | | |\r\n\r\n## On-call contacts\r\n\r\n| Role | Name | Contact |\r\n|------|------|---------|\r\n| Primary | | |\r\n| Secondary | | |\r\n\r\n## Escalation matrix\r\n\r\n| Time since incident | Contact | Method |\r\n|--------------------|---------|--------|\r\n| 0–15 min | On-call engineer | PagerDuty / phone |\r\n| 15–30 min | Team lead | Slack + phone |\r\n| 30+ min | Engineering manager | Phone + email |\r\n\r\n## Procedures\r\n\r\n### Deploy\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n### Rollback\r\n\r\n**When to rollback:**\r\n\r\n| Signal | Action |\r\n|--------|--------|\r\n| Error rate > 1% after deploy | Immediate rollback |\r\n| P95 latency doubled | Rollback if no fix in 15 min |\r\n| Health check failing | Immediate rollback |\r\n| Critical bug reported | Rollback within 30 min |\r\n\r\n**Rollback steps:**\r\n\r\n\\`\\`\\`bash\r\n# 1. Identify last stable release\r\ngit log --oneline --tags --simplify-by-decoration | head -5\r\n\r\n# 2. Deploy previous version\r\ngit checkout <previous-tag>\r\nnpm run build && npm run deploy\r\n\r\n# 3. Verify rollback\r\ncurl -f https://your-app.com/health\r\n\\`\\`\\`\r\n\r\n### Troubleshooting\r\n\r\n#### High error rate\r\n\\`\\`\\`bash\r\n# Check recent application logs\r\ntail -f /var/log/app/error.log\r\n\r\n# Check error counts by endpoint\r\ngrep \"ERROR\" /var/log/app/app.log | awk '{print $5}' | sort | uniq -c | sort -rn | head -10\r\n\r\n# Review recent deploys\r\ngit log --oneline -10\r\n\\`\\`\\`\r\n\r\n1. Check application logs for exception traces\r\n2. Check downstream dependencies (database, cache, external APIs)\r\n3. Review recent deploys — consider rollback if deploy-correlated\r\n\r\n#### High latency\r\n\\`\\`\\`bash\r\n# Check database slow query log\r\npsql $DATABASE_URL -c \"SELECT query, calls, mean_exec_time FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;\"\r\n\r\n# Check cache hit rate\r\nredis-cli info stats | grep hit_rate\r\n\r\n# Check CPU/memory\r\ntop -b -n 1 | head -20\r\n\\`\\`\\`\r\n\r\n1. Check database query times (slow query log)\r\n2. Check cache hit rates\r\n3. Review resource utilization (CPU, memory, connections)\r\n\r\n#### Service won't start\r\n\\`\\`\\`bash\r\n# Check environment variables\r\nenv | grep -E \"DATABASE|REDIS|PORT\"\r\n\r\n# Test database connectivity\r\npsql $DATABASE_URL -c \"SELECT 1\"\r\n\r\n# Check port availability\r\nlsof -i :3000\r\n\\`\\`\\`\r\n\r\n#### Database connection issues\r\n\\`\\`\\`bash\r\n# Check connection pool status\r\npsql $DATABASE_URL -c \"SELECT count(*), state FROM pg_stat_activity GROUP BY state;\"\r\n\r\n# Check max connections\r\npsql $DATABASE_URL -c \"SHOW max_connections;\"\r\n\\`\\`\\`\r\n\r\n#### Memory leak suspected\r\n\\`\\`\\`bash\r\n# Monitor memory over time\r\nwatch -n 5 'ps aux --sort=-%mem | head -5'\r\n\r\n# Capture heap snapshot (Node.js)\r\nkill -USR2 <pid>\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'adr',\r\n name: 'Architecture Decision',\r\n description: 'Architecture Decision Record',\r\n defaultPath: 'docs/architecture/decisions/ADR-001.md',\r\n category: 'technical',\r\n content: `# ADR-001: Title\r\n\r\n**Status:** Proposed\r\n**Date:** {{DATE}}\r\n**Deciders:**\r\n\r\n## Context\r\nWhat is the issue that we're seeing that is motivating this decision or change?\r\n\r\n## Decision\r\nWhat is the change that we're proposing and/or doing?\r\n\r\n## Rationale\r\nWhy did we choose this option?\r\n\r\n## Alternatives considered\r\n- **Option A:** Description — pros/cons\r\n- **Option B:** Description — pros/cons\r\n\r\n## Consequences\r\n\r\n### Positive\r\n-\r\n\r\n### Negative\r\n-\r\n\r\n### Neutral\r\n-\r\n`,\r\n },\r\n {\r\n id: 'onboarding',\r\n name: 'Onboarding Guide',\r\n description: 'Developer onboarding guide',\r\n defaultPath: 'docs/onboarding.md',\r\n category: 'technical',\r\n content: `# Developer Onboarding — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## Prerequisites\r\n- [ ] Access to repository ({{REPO_URL}})\r\n- [ ] Access to staging environment\r\n- [ ] Accounts: (list required accounts/services)\r\n\r\n## Day 1: Get running\r\n\r\n- [ ] Clone the repository and set up local environment\r\n- [ ] Run the app locally and verify it works\r\n- [ ] Read the architecture overview (\\`docs/architecture/overview.md\\`)\r\n- [ ] Meet your team lead and get a tour of the codebase\r\n\r\n\\`\\`\\`bash\r\n# Clone\r\ngit clone {{REPO_URL}}\r\ncd {{PROJECT_NAME}}\r\n\r\n# Install dependencies\r\nnpm install\r\n\r\n# Copy environment variables\r\ncp .env.example .env.local\r\n# Edit .env.local with real values (ask your team lead)\r\n\r\n# Start development server\r\nnpm run dev\r\n\\`\\`\\`\r\n\r\n## Week 1: Get productive\r\n\r\n- [ ] Complete the environment setup checklist below\r\n- [ ] Read \\`CONTRIBUTING.md\\` and understand the PR process\r\n- [ ] Submit your first PR (even a small doc fix counts)\r\n- [ ] Attend team standup and sprint planning\r\n- [ ] Review 2–3 recent merged PRs to understand code patterns\r\n- [ ] Shadow a code review\r\n\r\n## Month 1: Get comfortable\r\n\r\n- [ ] Deliver your first feature end-to-end\r\n- [ ] Lead a code review\r\n- [ ] Identify one piece of tech debt and create a ticket\r\n- [ ] Update this onboarding doc with anything that was unclear\r\n\r\n## Environment setup\r\n\r\n\\`\\`\\`bash\r\n# Install dependencies\r\nnpm install\r\n\r\n# Copy environment variables\r\ncp .env.example .env.local\r\n\r\n# Start development server\r\nnpm run dev\r\n\\`\\`\\`\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## IDE setup\r\n- Recommended: VS Code or Cursor\r\n- Install recommended extensions (see \\`.vscode/extensions.json\\`)\r\n- Enable format on save\r\n\r\n## Project structure\r\n\r\n\\`\\`\\`\r\n(describe key directories here)\r\n\\`\\`\\`\r\n\r\n## Key concepts\r\n-\r\n\r\n## Common tasks\r\n\r\n### Running tests\r\n\\`\\`\\`bash\r\nnpm test\r\n\\`\\`\\`\r\n\r\n### Building for production\r\n\\`\\`\\`bash\r\nnpm run build\r\n\\`\\`\\`\r\n\r\n## Common pitfalls\r\n\r\n1. **Forgetting to copy .env.local** — the app won't start without required env vars. Copy from \\`.env.example\\` and fill in real values.\r\n2. **Running \\`npm install\\` instead of the project's package manager** — check \\`package.json\\` for the \\`packageManager\\` field or look for a lock file (\\`pnpm-lock.yaml\\`, \\`yarn.lock\\`).\r\n3. **Committing to \\`main\\` directly** — always branch and open a PR. Direct pushes to \\`main\\` are blocked.\r\n4. **Skipping tests** — CI will catch you, but it's faster to run \\`npm test\\` locally before pushing.\r\n5. **Not reading existing patterns** — before adding a new abstraction, search the codebase for how similar problems are solved.\r\n\r\n## Your first PR\r\n\r\n1. Pick a small, well-defined issue labelled \\`good first issue\\`\r\n2. Create a branch: \\`git checkout -b feat/your-name-first-pr\\`\r\n3. Make the change and add a test\r\n4. Open a PR with the PR template filled out\r\n5. Ask for a review in the team Slack channel\r\n\r\n## Key contacts\r\n\r\n| Role | Name | Contact |\r\n|------|------|---------|\r\n| | | |\r\n\r\n## Resources\r\n- Architecture overview: \\`docs/architecture/overview.md\\`\r\n- API reference: \\`docs/api-reference.md\\`\r\n- Runbook: \\`docs/runbook.md\\`\r\n- Contributing guide: \\`CONTRIBUTING.md\\`\r\n`,\r\n },\r\n {\r\n id: 'database',\r\n name: 'Database Docs',\r\n description: 'Database schema and design reference',\r\n defaultPath: 'docs/DATABASE.md',\r\n category: 'technical',\r\n content: `# Database Documentation — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n\r\n<!-- Brief description of the database design -->\r\n\r\n## Entity Relationship Diagram\r\n\r\n\\`\\`\\`mermaid\r\nerDiagram\r\n USERS {\r\n uuid id PK\r\n string email\r\n timestamp created_at\r\n }\r\n\\`\\`\\`\r\n\r\n## Tables\r\n\r\n### users\r\n\r\n| Column | Type | Nullable | Description |\r\n|--------|------|----------|-------------|\r\n| id | uuid | No | Primary key |\r\n| email | varchar | No | Unique email |\r\n| created_at | timestamp | No | Creation time |\r\n\r\n## Indexes\r\n\r\n| Table | Columns | Type | Purpose |\r\n|-------|---------|------|---------|\r\n| | | | |\r\n\r\n## Migrations\r\n\r\nMigrations live in \\`db/migrations/\\`. Run with:\r\n\r\n\\`\\`\\`bash\r\nnpm run db:migrate\r\n\\`\\`\\`\r\n\r\n## Connection\r\n\r\n\\`\\`\\`\r\nDATABASE_URL=postgresql://user:password@host:5432/dbname\r\n\\`\\`\\`\r\n\r\n## Backup & restore\r\n\r\n\\`\\`\\`bash\r\n# Backup\r\npg_dump $DATABASE_URL > backup.sql\r\n\r\n# Restore\r\npsql $DATABASE_URL < backup.sql\r\n\\`\\`\\`\r\n\r\n## Performance notes\r\n\r\n-\r\n`,\r\n },\r\n {\r\n id: 'openapi',\r\n name: 'OpenAPI Spec',\r\n description: 'OpenAPI 3.0 API specification scaffold',\r\n defaultPath: 'docs/api-spec.yaml',\r\n category: 'technical',\r\n content: `openapi: 3.0.3\r\ninfo:\r\n title: {{PROJECT_NAME}} API\r\n description: |\r\n {{DESCRIPTION}}\r\n version: 1.0.0\r\n contact:\r\n email: team@example.com\r\n\r\nservers:\r\n - url: https://api.example.com/v1\r\n description: Production\r\n - url: https://staging-api.example.com/v1\r\n description: Staging\r\n\r\nsecurity:\r\n - bearerAuth: []\r\n\r\npaths:\r\n /health:\r\n get:\r\n summary: Health check\r\n operationId: healthCheck\r\n security: []\r\n responses:\r\n '200':\r\n description: OK\r\n content:\r\n application/json:\r\n schema:\r\n type: object\r\n properties:\r\n status:\r\n type: string\r\n example: ok\r\n\r\n /resources:\r\n get:\r\n summary: List resources\r\n operationId: listResources\r\n parameters:\r\n - name: limit\r\n in: query\r\n schema:\r\n type: integer\r\n default: 20\r\n - name: cursor\r\n in: query\r\n schema:\r\n type: string\r\n responses:\r\n '200':\r\n description: Success\r\n content:\r\n application/json:\r\n schema:\r\n $ref: '#/components/schemas/ResourceList'\r\n '401':\r\n $ref: '#/components/responses/Unauthorized'\r\n\r\ncomponents:\r\n securitySchemes:\r\n bearerAuth:\r\n type: http\r\n scheme: bearer\r\n bearerFormat: JWT\r\n\r\n schemas:\r\n Resource:\r\n type: object\r\n properties:\r\n id:\r\n type: string\r\n format: uuid\r\n createdAt:\r\n type: string\r\n format: date-time\r\n\r\n ResourceList:\r\n type: object\r\n properties:\r\n data:\r\n type: array\r\n items:\r\n $ref: '#/components/schemas/Resource'\r\n cursor:\r\n type: string\r\n nullable: true\r\n total:\r\n type: integer\r\n\r\n Error:\r\n type: object\r\n properties:\r\n error:\r\n type: string\r\n message:\r\n type: string\r\n\r\n responses:\r\n Unauthorized:\r\n description: Unauthorized\r\n content:\r\n application/json:\r\n schema:\r\n $ref: '#/components/schemas/Error'\r\n`,\r\n },\r\n {\r\n id: 'meeting-notes',\r\n name: 'Meeting Notes',\r\n description: 'Meeting notes template',\r\n defaultPath: `docs/meetings/${today}.md`,\r\n category: 'technical',\r\n content: `# Meeting Notes — ${today}\r\n\r\n**Attendees:**\r\n**Facilitator:**\r\n\r\n## Agenda\r\n\r\n1.\r\n2.\r\n\r\n## Notes\r\n\r\n## Decisions\r\n\r\n## Action items\r\n\r\n| Action | Owner | Due |\r\n|--------|-------|-----|\r\n| | | |\r\n\r\n## Next meeting\r\n`,\r\n },\r\n {\r\n id: 'blank',\r\n name: 'Blank Document',\r\n description: 'Empty markdown file',\r\n defaultPath: 'docs/untitled.md',\r\n category: 'technical',\r\n content: '# Untitled\\n\\n',\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const INFRASTRUCTURE_TEMPLATES: Template[] = [\r\n {\r\n id: 'dockerfile',\r\n name: 'Dockerfile',\r\n description: 'Multi-stage Docker build with health check',\r\n defaultPath: 'Dockerfile',\r\n category: 'infrastructure',\r\n content: `# Stage 1: Install dependencies\r\nFROM node:20-alpine AS deps\r\nRUN apk add --no-cache libc6-compat\r\nWORKDIR /app\r\nCOPY package*.json ./\r\nRUN npm ci --only=production\r\n\r\n# Stage 2: Build\r\nFROM node:20-alpine AS builder\r\nWORKDIR /app\r\nCOPY --from=deps /app/node_modules ./node_modules\r\nCOPY . .\r\nRUN npm run build\r\n\r\n# Stage 3: Run\r\nFROM node:20-alpine AS runner\r\nWORKDIR /app\r\nENV NODE_ENV=production\r\nRUN addgroup --system --gid 1001 nodejs\r\nRUN adduser --system --uid 1001 appuser\r\nCOPY --from=builder /app/dist ./dist\r\nCOPY --from=deps /app/node_modules ./node_modules\r\nCOPY package*.json ./\r\nUSER appuser\r\nEXPOSE 3000\r\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\\\r\n CMD wget -qO- http://localhost:3000/health || exit 1\r\nCMD [\"node\", \"dist/index.js\"]\r\n`,\r\n },\r\n {\r\n id: 'docker-compose',\r\n name: 'docker-compose.yml',\r\n description: 'Docker Compose with app, Postgres, and Redis',\r\n defaultPath: 'docker-compose.yml',\r\n category: 'infrastructure',\r\n content: `# Docker Compose V2+ (no version key needed)\r\nservices:\r\n app:\r\n build: .\r\n ports:\r\n - \"3000:3000\"\r\n environment:\r\n DATABASE_URL: postgresql://postgres:password@db:5432/{{PROJECT_NAME}}\r\n REDIS_URL: redis://redis:6379\r\n depends_on:\r\n db:\r\n condition: service_healthy\r\n redis:\r\n condition: service_healthy\r\n\r\n db:\r\n image: postgres:16-alpine\r\n environment:\r\n POSTGRES_PASSWORD: password\r\n POSTGRES_DB: {{PROJECT_NAME}}\r\n healthcheck:\r\n test: [\"CMD-SHELL\", \"pg_isready -U postgres\"]\r\n interval: 10s\r\n timeout: 5s\r\n retries: 5\r\n volumes:\r\n - postgres_data:/var/lib/postgresql/data\r\n\r\n redis:\r\n image: redis:7-alpine\r\n healthcheck:\r\n test: [\"CMD\", \"redis-cli\", \"ping\"]\r\n interval: 10s\r\n timeout: 5s\r\n retries: 5\r\n volumes:\r\n - redis_data:/data\r\n\r\nvolumes:\r\n postgres_data:\r\n redis_data:\r\n`,\r\n },\r\n {\r\n id: 'dockerignore',\r\n name: '.dockerignore',\r\n description: 'Docker build context exclusions',\r\n defaultPath: '.dockerignore',\r\n category: 'infrastructure',\r\n content: `node_modules\r\nnpm-debug.log*\r\n.git\r\n.gitignore\r\n.env*\r\n!.env.example\r\ndist\r\nbuild\r\ncoverage\r\n.nyc_output\r\n*.test.*\r\n*.spec.*\r\n__tests__\r\ne2e\r\n.github\r\ndocs\r\nREADME.md\r\nCHANGELOG.md\r\n`,\r\n },\r\n {\r\n id: 'makefile',\r\n name: 'Makefile',\r\n description: 'Makefile with common dev/build/deploy targets',\r\n defaultPath: 'Makefile',\r\n category: 'infrastructure',\r\n content: `.PHONY: help dev build test lint docker-up docker-down migrate clean\r\n\r\nhelp: ## Show this help\r\n\\t@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = \":.*?## \"}; {printf \"\\\\033[36m%-20s\\\\033[0m %s\\\\n\", $$1, $$2}'\r\n\r\ndev: ## Start development server\r\n\\tnpm run dev\r\n\r\nbuild: ## Build for production\r\n\\tnpm run build\r\n\r\ntest: ## Run all tests\r\n\\tnpm test\r\n\r\nlint: ## Run linter\r\n\\tnpm run lint\r\n\r\ndocker-up: ## Start Docker services\r\n\\tdocker compose up -d\r\n\r\ndocker-down: ## Stop Docker services\r\n\\tdocker compose down\r\n\r\nmigrate: ## Run database migrations\r\n\\tnpm run db:migrate\r\n\r\nclean: ## Remove build artifacts\r\n\\trm -rf dist build .next coverage node_modules/.cache\r\n`,\r\n },\r\n {\r\n id: 'env-example',\r\n name: '.env.example',\r\n description: 'Annotated environment variables template',\r\n defaultPath: '.env.example',\r\n category: 'infrastructure',\r\n content: `# App Config\r\nNODE_ENV=development\r\nPORT=3000\r\nAPP_URL=http://localhost:3000\r\nLOG_LEVEL=info\r\n\r\n# Database\r\nDATABASE_URL=postgresql://user:password@localhost:5432/{{PROJECT_NAME}}_dev\r\n\r\n# Auth\r\nJWT_SECRET=your-super-secret-jwt-key-change-in-production\r\nJWT_EXPIRES_IN=7d\r\nSESSION_SECRET=your-session-secret-change-in-production\r\n\r\n# External Services\r\n# STRIPE_SECRET_KEY=sk_test_...\r\n# SENDGRID_API_KEY=SG....\r\n# AWS_ACCESS_KEY_ID=\r\n# AWS_SECRET_ACCESS_KEY=\r\n# AWS_REGION=us-east-1\r\n# AWS_S3_BUCKET=\r\n\r\n# Observability\r\n# SENTRY_DSN=https://...@sentry.io/...\r\n# DATADOG_API_KEY=\r\n# NEW_RELIC_LICENSE_KEY=\r\n`,\r\n },\r\n {\r\n id: 'nginx-conf',\r\n name: 'nginx.conf',\r\n description: 'Nginx reverse proxy with gzip, security headers, rate limiting',\r\n defaultPath: 'nginx/nginx.conf',\r\n category: 'infrastructure',\r\n content: `events {\r\n worker_connections 1024;\r\n}\r\n\r\nhttp {\r\n gzip on;\r\n gzip_types text/plain text/css application/json application/javascript text/xml;\r\n gzip_min_length 1000;\r\n\r\n # Rate limiting\r\n limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;\r\n\r\n server {\r\n listen 80;\r\n server_name _;\r\n\r\n # Security headers\r\n add_header X-Frame-Options \"SAMEORIGIN\" always;\r\n add_header X-Content-Type-Options \"nosniff\" always;\r\n add_header X-XSS-Protection \"1; mode=block\" always;\r\n add_header Referrer-Policy \"strict-origin-when-cross-origin\" always;\r\n add_header Strict-Transport-Security \"max-age=31536000; includeSubDomains\" always;\r\n\r\n location /api/ {\r\n limit_req zone=api burst=20 nodelay;\r\n proxy_pass http://app:3000;\r\n proxy_http_version 1.1;\r\n proxy_set_header Upgrade $http_upgrade;\r\n proxy_set_header Connection 'upgrade';\r\n proxy_set_header Host $host;\r\n proxy_set_header X-Real-IP $remote_addr;\r\n proxy_cache_bypass $http_upgrade;\r\n }\r\n\r\n location / {\r\n proxy_pass http://app:3000;\r\n proxy_http_version 1.1;\r\n proxy_set_header Host $host;\r\n proxy_set_header X-Real-IP $remote_addr;\r\n }\r\n }\r\n}\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const GITHUB_ACTIONS_TEMPLATES: Template[] = [\r\n {\r\n id: 'ci-workflow',\r\n name: 'CI Workflow',\r\n description: 'GitHub Actions CI: lint, typecheck, test matrix, coverage',\r\n defaultPath: '.github/workflows/ci.yml',\r\n category: 'github-actions',\r\n content: `name: CI\r\non:\r\n push:\r\n branches: [main, develop]\r\n pull_request:\r\n branches: [main, develop]\r\n\r\njobs:\r\n lint:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run lint\r\n - run: npm run typecheck\r\n\r\n test:\r\n runs-on: ubuntu-latest\r\n strategy:\r\n matrix:\r\n node-version: ['20', '22']\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '\\${{ matrix.node-version }}', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run test:coverage\r\n - uses: codecov/codecov-action@v4\r\n if: matrix.node-version == '20'\r\n\r\n build:\r\n runs-on: ubuntu-latest\r\n needs: [lint, test]\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run build\r\n`,\r\n },\r\n {\r\n id: 'cd-workflow',\r\n name: 'CD Workflow',\r\n description: 'GitHub Actions CD: deploy to production with health check',\r\n defaultPath: '.github/workflows/cd.yml',\r\n category: 'github-actions',\r\n content: `name: CD\r\non:\r\n push:\r\n branches: [main]\r\n\r\njobs:\r\n deploy:\r\n runs-on: ubuntu-latest\r\n # needs: [ci] # Uncomment if using a reusable CI workflow\r\n environment: production\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run build\r\n - name: Deploy\r\n env:\r\n DEPLOY_TOKEN: \\${{ secrets.DEPLOY_TOKEN }}\r\n DEPLOY_URL: \\${{ secrets.DEPLOY_URL }}\r\n run: |\r\n # Add your deployment command here\r\n # e.g.: npx railway deploy, vercel deploy --prod, etc.\r\n echo \"Deploy to production\"\r\n - name: Health check\r\n run: |\r\n sleep 30\r\n curl -f \\${{ secrets.APP_URL }}/health || exit 1\r\n`,\r\n },\r\n {\r\n id: 'security-scan',\r\n name: 'Security Scan',\r\n description: 'GitHub Actions security: npm audit + CodeQL analysis',\r\n defaultPath: '.github/workflows/security.yml',\r\n category: 'github-actions',\r\n content: `name: Security\r\non:\r\n push:\r\n branches: [main]\r\n schedule:\r\n - cron: '0 0 * * 1' # Weekly on Monday\r\n\r\njobs:\r\n audit:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm audit --audit-level=high\r\n\r\n codeql:\r\n runs-on: ubuntu-latest\r\n permissions:\r\n actions: read\r\n contents: read\r\n security-events: write\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: github/codeql-action/init@v3\r\n with: {languages: javascript}\r\n - uses: github/codeql-action/autobuild@v3\r\n - uses: github/codeql-action/analyze@v3\r\n`,\r\n },\r\n {\r\n id: 'dependabot-config',\r\n name: 'Dependabot Config',\r\n description: 'Dependabot config: npm + GitHub Actions weekly updates',\r\n defaultPath: '.github/dependabot.yml',\r\n category: 'github-actions',\r\n content: `version: 2\r\nupdates:\r\n - package-ecosystem: npm\r\n directory: \"/\"\r\n schedule:\r\n interval: weekly\r\n day: monday\r\n groups:\r\n minor-and-patch:\r\n update-types: [\"minor\", \"patch\"]\r\n ignore:\r\n - dependency-name: \"*\"\r\n update-types: [\"version-update:semver-major\"]\r\n\r\n - package-ecosystem: github-actions\r\n directory: \"/\"\r\n schedule:\r\n interval: weekly\r\n day: monday\r\n`,\r\n },\r\n {\r\n id: 'release-workflow',\r\n name: 'Release Workflow',\r\n description: 'GitHub Actions release: GitHub Release + Docker image to GHCR',\r\n defaultPath: '.github/workflows/release.yml',\r\n category: 'github-actions',\r\n content: `name: Release\r\non:\r\n push:\r\n tags: ['v*']\r\n\r\njobs:\r\n release:\r\n runs-on: ubuntu-latest\r\n permissions:\r\n contents: write\r\n packages: write\r\n steps:\r\n - uses: actions/checkout@v4\r\n - name: Create GitHub Release\r\n uses: softprops/action-gh-release@v2\r\n with:\r\n generate_release_notes: true\r\n - name: Log in to GHCR\r\n uses: docker/login-action@v3\r\n with:\r\n registry: ghcr.io\r\n username: \\${{ github.actor }}\r\n password: \\${{ secrets.GITHUB_TOKEN }}\r\n - name: Build and push Docker image\r\n uses: docker/build-push-action@v5\r\n with:\r\n context: .\r\n push: true\r\n tags: |\r\n ghcr.io/\\${{ github.repository }}:\\${{ github.ref_name }}\r\n ghcr.io/\\${{ github.repository }}:latest\r\n`,\r\n },\r\n {\r\n id: 'codeowners',\r\n name: 'CODEOWNERS',\r\n description: 'GitHub CODEOWNERS file for review assignments',\r\n defaultPath: '.github/CODEOWNERS',\r\n category: 'github',\r\n content: `# IMPORTANT: Replace {{PROJECT_NAME}} below with your GitHub organization name\r\n# (org name and project name are often different)\r\n# Format: @org-name/team-slug\r\n\r\n# Global owners - review all changes\r\n* @{{PROJECT_NAME}}/maintainers\r\n\r\n# Documentation\r\ndocs/ @{{PROJECT_NAME}}/docs\r\n*.md @{{PROJECT_NAME}}/docs\r\n\r\n# CI/CD config\r\n.github/ @{{PROJECT_NAME}}/devops\r\nDockerfile @{{PROJECT_NAME}}/devops\r\ndocker-compose*.yml @{{PROJECT_NAME}}/devops\r\n\r\n# Security-sensitive files\r\n**/auth/ @{{PROJECT_NAME}}/security\r\n**/security/ @{{PROJECT_NAME}}/security\r\nSECURITY.md @{{PROJECT_NAME}}/security\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const CODE_QUALITY_TEMPLATES: Template[] = [\r\n {\r\n id: 'eslintrc',\r\n name: 'ESLint Config',\r\n description: 'ESLint config with TypeScript strict rules',\r\n defaultPath: '.eslintrc.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"extends\": [\r\n \"eslint:recommended\",\r\n \"plugin:@typescript-eslint/recommended\",\r\n \"plugin:@typescript-eslint/recommended-requiring-type-checking\"\r\n ],\r\n \"parser\": \"@typescript-eslint/parser\",\r\n \"parserOptions\": {\r\n \"project\": true,\r\n \"tsconfigRootDir\": \".\"\r\n },\r\n \"plugins\": [\"@typescript-eslint\"],\r\n \"rules\": {\r\n \"no-console\": \"warn\",\r\n \"no-unused-vars\": \"off\",\r\n \"@typescript-eslint/no-unused-vars\": [\"error\", { \"argsIgnorePattern\": \"^_\" }],\r\n \"@typescript-eslint/no-explicit-any\": \"warn\",\r\n \"@typescript-eslint/consistent-type-imports\": \"error\",\r\n \"@typescript-eslint/no-floating-promises\": \"error\"\r\n },\r\n \"ignorePatterns\": [\"dist/\", \"build/\", \"node_modules/\", \"*.config.js\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'prettierrc',\r\n name: 'Prettier Config',\r\n description: 'Prettier formatting config',\r\n defaultPath: '.prettierrc',\r\n category: 'code-quality',\r\n content: `{\r\n \"semi\": false,\r\n \"singleQuote\": true,\r\n \"trailingComma\": \"es5\",\r\n \"printWidth\": 100,\r\n \"tabWidth\": 2,\r\n \"useTabs\": false,\r\n \"bracketSpacing\": true,\r\n \"arrowParens\": \"avoid\"\r\n}\r\n`,\r\n },\r\n {\r\n id: 'tsconfig-strict',\r\n name: 'tsconfig (strict)',\r\n description: 'TypeScript config with strict settings for Node/ESM',\r\n defaultPath: 'tsconfig.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"compilerOptions\": {\r\n \"target\": \"ES2022\",\r\n \"lib\": [\"ES2022\"],\r\n \"module\": \"NodeNext\",\r\n \"moduleResolution\": \"NodeNext\",\r\n \"outDir\": \"dist\",\r\n \"rootDir\": \"src\",\r\n \"strict\": true,\r\n \"noUncheckedIndexedAccess\": true,\r\n \"exactOptionalPropertyTypes\": true,\r\n \"noImplicitReturns\": true,\r\n \"noFallthroughCasesInSwitch\": true,\r\n \"noImplicitOverride\": true,\r\n \"esModuleInterop\": true,\r\n \"skipLibCheck\": true,\r\n \"forceConsistentCasingInFileNames\": true,\r\n \"paths\": {\r\n \"@/*\": [\"./src/*\"]\r\n }\r\n },\r\n \"include\": [\"src/**/*\"],\r\n \"exclude\": [\"node_modules\", \"dist\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'editorconfig',\r\n name: '.editorconfig',\r\n description: 'EditorConfig for consistent editor settings',\r\n defaultPath: '.editorconfig',\r\n category: 'code-quality',\r\n content: `root = true\r\n\r\n[*]\r\nindent_style = space\r\nindent_size = 2\r\nend_of_line = lf\r\ncharset = utf-8\r\ntrim_trailing_whitespace = true\r\ninsert_final_newline = true\r\n\r\n[*.md]\r\ntrim_trailing_whitespace = false\r\n\r\n[Makefile]\r\nindent_style = tab\r\n\r\n[*.{yml,yaml}]\r\nindent_size = 2\r\n`,\r\n },\r\n {\r\n id: 'lint-staged',\r\n name: 'lint-staged Config',\r\n description: 'lint-staged config for pre-commit formatting and linting',\r\n defaultPath: '.lintstagedrc.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"*.{ts,tsx}\": [\"eslint --fix\", \"prettier --write\"],\r\n \"*.{js,jsx}\": [\"eslint --fix\", \"prettier --write\"],\r\n \"*.{json,md,yml,yaml}\": [\"prettier --write\"],\r\n \"*.{css,scss}\": [\"prettier --write\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'commitlint',\r\n name: 'commitlint Config',\r\n description: 'commitlint config enforcing Conventional Commits',\r\n defaultPath: 'commitlint.config.js',\r\n category: 'code-quality',\r\n content: `module.exports = {\r\n extends: ['@commitlint/config-conventional'],\r\n rules: {\r\n 'type-enum': [2, 'always', [\r\n 'feat', 'fix', 'docs', 'style', 'refactor',\r\n 'perf', 'test', 'chore', 'revert', 'ci', 'build'\r\n ]],\r\n 'scope-case': [2, 'always', 'lower-case'],\r\n 'subject-case': [2, 'always', 'lower-case'],\r\n 'subject-max-length': [2, 'always', 100],\r\n 'body-max-line-length': [2, 'always', 200],\r\n },\r\n}\r\n`,\r\n },\r\n {\r\n id: 'husky-setup',\r\n name: 'Husky Setup Doc',\r\n description: 'Documentation for Husky git hooks setup',\r\n defaultPath: '.husky/README.md',\r\n category: 'code-quality',\r\n content: `# Husky Git Hooks\r\n\r\nThis project uses [Husky](https://typicode.github.io/husky/) to enforce code quality at commit time.\r\n\r\n## Setup\r\n\r\nAfter cloning and running \\`npm install\\`, Husky hooks are auto-installed via the \\`prepare\\` script.\r\n\r\nIf hooks aren't running, install manually:\r\n\r\n\\`\\`\\`\r\nnpx husky install\r\n\\`\\`\\`\r\n\r\n## Hooks\r\n\r\n| Hook | Command | Purpose |\r\n|------|---------|---------|\r\n| pre-commit | \\`lint-staged\\` | Lint and format staged files |\r\n| commit-msg | \\`commitlint\\` | Validate commit message format |\r\n| pre-push | \\`npm test\\` | Run tests before pushing |\r\n\r\n## Skip hooks (emergencies only)\r\n\r\n\\`\\`\\`\r\ngit commit --no-verify -m \"emergency fix\"\r\n\\`\\`\\`\r\n\r\nUse sparingly. CI will still catch failures.\r\n`,\r\n },\r\n {\r\n id: 'vscode-settings',\r\n name: 'VS Code Settings',\r\n description: 'VS Code workspace settings for the project',\r\n defaultPath: '.vscode/settings.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"editor.formatOnSave\": true,\r\n \"editor.defaultFormatter\": \"esbenp.prettier-vscode\",\r\n \"editor.codeActionsOnSave\": {\r\n \"source.fixAll.eslint\": \"explicit\",\r\n \"source.organizeImports\": \"explicit\"\r\n },\r\n \"typescript.preferences.importModuleSpecifier\": \"non-relative\",\r\n \"typescript.tsdk\": \"node_modules/typescript/lib\",\r\n \"files.eol\": \"\\\\n\",\r\n \"files.trimTrailingWhitespace\": true,\r\n \"files.insertFinalNewline\": true,\r\n \"[markdown]\": {\r\n \"editor.formatOnSave\": false\r\n }\r\n}\r\n`,\r\n },\r\n {\r\n id: 'vscode-extensions',\r\n name: 'VS Code Extensions',\r\n description: 'Recommended VS Code extensions for the project',\r\n defaultPath: '.vscode/extensions.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"recommendations\": [\r\n \"esbenp.prettier-vscode\",\r\n \"dbaeumer.vscode-eslint\",\r\n \"ms-vscode.vscode-typescript-next\",\r\n \"bradlc.vscode-tailwindcss\",\r\n \"eamodio.gitlens\",\r\n \"usernamehw.errorlens\",\r\n \"streetsidesoftware.code-spell-checker\",\r\n \"github.copilot\",\r\n \"christian-kohler.path-intellisense\"\r\n ]\r\n}\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const MONITORING_TEMPLATES: Template[] = [\r\n {\r\n id: 'health-check-doc',\r\n name: 'Health Check Guide',\r\n description: 'Health check endpoint documentation with Kubernetes config',\r\n defaultPath: 'docs/health-checks.md',\r\n category: 'monitoring',\r\n content: `# Health Checks — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n\r\nHealth check endpoints allow load balancers and orchestrators to verify service status.\r\n\r\n## Endpoints\r\n\r\n| Endpoint | Purpose | Auth required |\r\n|----------|---------|---------------|\r\n| \\`GET /health\\` | Liveness probe — is the process running? | No |\r\n| \\`GET /health/ready\\` | Readiness probe — can the service handle traffic? | No |\r\n| \\`GET /health/detailed\\` | Full dependency status | Yes (internal) |\r\n\r\n## Liveness Check (\\`GET /health\\`)\r\n\r\nReturns 200 if the process is alive, regardless of dependency status.\r\n\r\n\\`\\`\\`json\r\n{\"status\": \"ok\", \"uptime\": 1234}\r\n\\`\\`\\`\r\n\r\n## Readiness Check (\\`GET /health/ready\\`)\r\n\r\nReturns 200 only if all critical dependencies are healthy.\r\n\r\n\\`\\`\\`json\r\n{\r\n \"status\": \"ready\",\r\n \"dependencies\": {\r\n \"database\": \"ok\",\r\n \"redis\": \"ok\",\r\n \"external_api\": \"degraded\"\r\n }\r\n}\r\n\\`\\`\\`\r\n\r\nReturns 503 if any critical dependency is unhealthy.\r\n\r\n## Kubernetes Configuration\r\n\r\n\\`\\`\\`yaml\r\nlivenessProbe:\r\n httpGet:\r\n path: /health\r\n port: 3000\r\n initialDelaySeconds: 30\r\n periodSeconds: 10\r\nreadinessProbe:\r\n httpGet:\r\n path: /health/ready\r\n port: 3000\r\n initialDelaySeconds: 5\r\n periodSeconds: 5\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'slo-doc',\r\n name: 'SLO/SLA Document',\r\n description: 'Service Level Objectives with error budget and burn rate alerts',\r\n defaultPath: 'docs/slo.md',\r\n category: 'monitoring',\r\n content: `# Service Level Objectives — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n**Owner:** Platform Team\r\n\r\n## Availability SLO\r\n\r\n| Metric | Target | Error Budget (30 days) |\r\n|--------|--------|----------------------|\r\n| Availability | 99.9% | 43.8 minutes |\r\n| Success rate | 99.5% | — |\r\n\r\n## Latency SLO\r\n\r\n| Percentile | Target |\r\n|------------|--------|\r\n| p50 | < 100ms |\r\n| p95 | < 500ms |\r\n| p99 | < 1000ms |\r\n\r\n## Error Budget Policy\r\n\r\n| Burn Rate | Alert Window | Severity | Action |\r\n|-----------|-------------|----------|--------|\r\n| > 14.4x | 1 hour | Critical | Page on-call immediately |\r\n| > 6x | 6 hours | High | Page on-call |\r\n| > 3x | 24 hours | Medium | Ticket + monitor |\r\n| > 1x | 72 hours | Low | Review in standup |\r\n\r\n## Consequences of Exhausting Error Budget\r\n\r\n- Feature freeze until budget replenishes\r\n- Reliability sprint prioritized over new features\r\n- Post-mortem required for any budget burn > 50%\r\n\r\n## Measurement\r\n\r\n- Uptime tracked via synthetic monitoring (Pingdom / UptimeRobot)\r\n- Latency tracked via APM (Datadog / New Relic)\r\n- Error rate from application logs + Sentry\r\n`,\r\n },\r\n {\r\n id: 'incident-runbook',\r\n name: 'Incident Runbook',\r\n description: 'Incident response runbook with severity levels and escalation',\r\n defaultPath: 'docs/incident-runbook.md',\r\n category: 'monitoring',\r\n content: `# Incident Runbook — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Severity Levels\r\n\r\n| Severity | Definition | Response Time | Example |\r\n|----------|-----------|---------------|---------|\r\n| P0 | Complete outage, all users affected | 15 minutes | Site down |\r\n| P1 | Major feature broken, >50% users affected | 30 minutes | Login broken |\r\n| P2 | Significant degradation, subset of users | 2 hours | Slow API |\r\n| P3 | Minor issue, workaround available | Next business day | Cosmetic bug |\r\n\r\n## Roles\r\n\r\n| Role | Responsibility |\r\n|------|---------------|\r\n| Incident Commander (IC) | Owns resolution, coordinates team, communicates status |\r\n| Tech Lead | Diagnoses root cause, coordinates fixes |\r\n| Comms Lead | Updates status page, notifies stakeholders |\r\n\r\n## Response Process\r\n\r\n### 0–15 minutes (Detect & Triage)\r\n1. Confirm the incident (not a false alarm)\r\n2. Assign Incident Commander\r\n3. Create incident Slack channel: \\`#incident-YYYYMMDD-description\\`\r\n4. Set severity level\r\n5. Start incident timeline document\r\n\r\n### 15–60 minutes (Investigate)\r\n1. Identify scope: what's broken, who's affected\r\n2. Check recent deployments (\\`git log\\`, deployment history)\r\n3. Review error rates and logs\r\n4. Consider rollback if recent deploy is suspected\r\n\r\n### Mitigation\r\n1. Apply fix or rollback\r\n2. Monitor for improvement\r\n3. Update status page\r\n4. Notify stakeholders\r\n\r\n## Post-Incident Checklist\r\n\r\n- [ ] Incident resolved and verified\r\n- [ ] Status page updated to \"resolved\"\r\n- [ ] Stakeholders notified\r\n- [ ] Timeline documented\r\n- [ ] Post-mortem scheduled (P0/P1) or ticket created (P2)\r\n- [ ] Action items created in project tracker\r\n`,\r\n },\r\n {\r\n id: 'postmortem',\r\n name: 'Postmortem Template',\r\n description: 'Blameless postmortem template with five-whys and action items',\r\n defaultPath: 'docs/postmortem-template.md',\r\n category: 'monitoring',\r\n content: `# Postmortem: [Title]\r\n\r\n**Date:** {{DATE}}\r\n**Severity:** P[0-3]\r\n**Duration:**\r\n**Author:**\r\n**Reviewers:**\r\n\r\n> This postmortem follows a blameless culture. We focus on systems and processes, not individuals.\r\n\r\n## Summary\r\n\r\n<!-- 2-3 sentence summary: what happened, why it matters, what we're doing about it -->\r\n\r\n## Impact\r\n\r\n- **Users affected:**\r\n- **Duration:**\r\n- **Revenue impact:**\r\n- **Data loss:**\r\n\r\n## Timeline\r\n\r\n| Time (UTC) | Event |\r\n|------------|-------|\r\n| 00:00 | Monitoring alert fired |\r\n| 00:05 | On-call engineer paged |\r\n| 00:15 | Incident confirmed, IC assigned |\r\n| 00:30 | Root cause identified |\r\n| 01:00 | Fix deployed |\r\n| 01:15 | Incident resolved |\r\n\r\n## Root Cause Analysis (Five Whys)\r\n\r\n**Problem:** [Describe the issue]\r\n\r\n1. **Why?** [First cause]\r\n2. **Why?** [Second cause]\r\n3. **Why?** [Third cause]\r\n4. **Why?** [Fourth cause]\r\n5. **Why?** [Root cause]\r\n\r\n## What Went Well\r\n\r\n-\r\n-\r\n\r\n## What Could Have Gone Better\r\n\r\n-\r\n-\r\n\r\n## Action Items\r\n\r\n| Action | Owner | Due Date | Priority |\r\n|--------|-------|----------|----------|\r\n| | | | P[0-3] |\r\n\r\n## Lessons Learned\r\n\r\n<!-- Key takeaways to share with the wider team -->\r\n`,\r\n },\r\n]\r\n","import { AI_AGENT_TEMPLATES } from './ai-agent'\r\nimport { GITHUB_TEMPLATES } from './github'\r\nimport { PROCESS_TEMPLATES } from './process'\r\nimport { TECHNICAL_TEMPLATES } from './technical'\r\nimport { INFRASTRUCTURE_TEMPLATES } from './infrastructure'\r\nimport { GITHUB_ACTIONS_TEMPLATES } from './github-actions'\r\nimport { CODE_QUALITY_TEMPLATES } from './code-quality'\r\nimport { MONITORING_TEMPLATES } from './monitoring'\r\n\r\nexport * from './types'\r\n\r\nexport const TEMPLATES = [\r\n ...AI_AGENT_TEMPLATES,\r\n ...GITHUB_TEMPLATES,\r\n ...PROCESS_TEMPLATES,\r\n ...TECHNICAL_TEMPLATES,\r\n ...INFRASTRUCTURE_TEMPLATES,\r\n ...GITHUB_ACTIONS_TEMPLATES,\r\n ...CODE_QUALITY_TEMPLATES,\r\n ...MONITORING_TEMPLATES,\r\n]\r\n\r\n// dedent removes common leading whitespace from template literals\r\nexport function dedent(str: string): string {\r\n const lines = str.split('\\n')\r\n // Skip empty leading lines\r\n const nonEmpty = lines.filter(l => l.trim().length > 0)\r\n if (nonEmpty.length === 0) return str\r\n const indent = Math.min(...nonEmpty.map(l => l.match(/^(\\s*)/)?.[1].length ?? 0))\r\n if (indent === 0) return str\r\n return lines.map(l => l.slice(indent)).join('\\n')\r\n}\r\n"],"names":["AI_AGENT_TEMPLATES","id","name","description","defaultPath","category","content"],"mappings":"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","ignoreList":[0]}
1
+ {"version":3,"sources":["../../../../src/lib/templates/ai-agent.ts","../../../../src/lib/templates/github.ts","../../../../src/lib/templates/process.ts","../../../../src/lib/templates/technical.ts","../../../../src/lib/templates/infrastructure.ts","../../../../src/lib/templates/github-actions.ts","../../../../src/lib/templates/code-quality.ts","../../../../src/lib/templates/monitoring.ts","../../../../src/lib/templates/index.ts"],"sourcesContent":["import type { Template } from './types'\r\n\r\nexport const AI_AGENT_TEMPLATES: Template[] = [\r\n {\r\n id: 'claude-md',\r\n name: 'CLAUDE.md',\r\n description: 'AI agent instructions for Claude Code',\r\n defaultPath: 'CLAUDE.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Agent Instructions\r\n\r\n## What this is\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Project type\r\n{{PROJECT_TYPE}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\n# Install dependencies\r\n{{PACKAGE_MANAGER}} install\r\n\r\n# Start development\r\nnpm run dev\r\n\r\n# Build for production\r\nnpm run build\r\n\r\n# Run tests\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Architecture\r\n- Primary language: {{PRIMARY_LANGUAGE}}\r\n- Deployment: {{DEPLOYMENT_PLATFORM}}\r\n- Key directories: \\`src/\\`, \\`docs/\\`, \\`tests/\\`\r\n- See \\`docs/architecture/overview.md\\` for full details\r\n\r\n## Read before coding\r\n- @docs/architecture/overview.md\r\n- @CONTRIBUTING.md\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Key features\r\n{{KEY_FEATURES}}\r\n\r\n## Non-negotiables\r\n- Always run \\`npm run build\\` before marking a task done — build must pass\r\n- Never use localStorage — causes SSR/client mismatch\r\n- Never commit secrets or credentials\r\n- Maintain test coverage\r\n- Follow security best practices\r\n\r\n## Code style\r\n- Follow existing patterns before introducing new abstractions\r\n- Keep modules small and focused\r\n- Write tests for business logic\r\n- Prefer explicit over implicit\r\n`,\r\n },\r\n {\r\n id: 'agents-md',\r\n name: 'AGENTS.md',\r\n description: 'AI agent instructions (multi-agent / OpenAI)',\r\n defaultPath: 'AGENTS.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Agent Instructions\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\nnpm install\r\nnpm run dev\r\nnpm run build\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Follow existing code patterns\r\n- Write tests for new features\r\n- Never commit secrets or credentials\r\n`,\r\n },\r\n {\r\n id: 'gemini-md',\r\n name: 'GEMINI.md',\r\n description: 'AI agent instructions for Gemini CLI',\r\n defaultPath: 'GEMINI.md',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Gemini Agent Instructions\r\n\r\n## What this is\r\n{{DESCRIPTION}}\r\n\r\n## Stack\r\n{{TECH_STACK}}\r\n\r\n## Commands\r\n\\`\\`\\`bash\r\n# Install dependencies\r\nnpm install\r\n\r\n# Start development\r\nnpm run dev\r\n\r\n# Build for production\r\nnpm run build\r\n\r\n# Run tests\r\nnpm test\r\n\\`\\`\\`\r\n\r\n## Key conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Follow existing code patterns\r\n- Write tests for new features\r\n- Never commit secrets or credentials\r\n`,\r\n },\r\n {\r\n id: 'cursorrules',\r\n name: '.cursorrules',\r\n description: 'Cursor IDE rules for AI assistance',\r\n defaultPath: '.cursorrules',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Cursor Rules\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Code style\r\n- Use {{TECH_STACK}} conventions\r\n- Follow existing patterns in the codebase\r\n- Prefer explicit over implicit\r\n- Keep functions small and focused\r\n\r\n## Conventions\r\n{{CONVENTIONS}}\r\n\r\n## What NOT to do\r\n- Don't introduce new dependencies without discussion\r\n- Don't break existing tests\r\n- Don't commit secrets or credentials\r\n- Don't over-engineer simple solutions\r\n`,\r\n },\r\n {\r\n id: 'windsurfrules',\r\n name: '.windsurfrules',\r\n description: 'Windsurf IDE rules for AI assistance',\r\n defaultPath: '.windsurfrules',\r\n category: 'ai-agent',\r\n content: `# {{PROJECT_NAME}} — Windsurf Rules\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Code style\r\n- Follow existing patterns in the codebase\r\n- Prefer explicit over implicit\r\n- Keep functions small and focused\r\n\r\n## Conventions\r\n{{CONVENTIONS}}\r\n\r\n## Non-negotiables\r\n- Don't introduce breaking changes\r\n- Don't commit secrets or credentials\r\n- Maintain test coverage\r\n`,\r\n },\r\n {\r\n id: 'copilot-instructions',\r\n name: 'Copilot Instructions',\r\n description: 'GitHub Copilot custom instructions',\r\n defaultPath: '.github/copilot-instructions.md',\r\n category: 'ai-agent',\r\n content: `# GitHub Copilot Instructions — {{PROJECT_NAME}}\r\n\r\n## Project overview\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## Coding conventions\r\n{{CONVENTIONS}}\r\n\r\n## Key features\r\n{{KEY_FEATURES}}\r\n\r\n## Style guidelines\r\n- Follow existing patterns before creating new abstractions\r\n- Write descriptive variable and function names\r\n- Add comments for non-obvious logic only\r\n- Keep functions focused on a single responsibility\r\n\r\n## Testing\r\n- Write tests for all new functionality\r\n- Maintain existing test coverage\r\n- Use the project's established testing patterns\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const GITHUB_TEMPLATES: Template[] = [\r\n {\r\n id: 'contributing',\r\n name: 'CONTRIBUTING.md',\r\n description: 'Contribution guidelines',\r\n defaultPath: 'CONTRIBUTING.md',\r\n category: 'github',\r\n content: `# Contributing to {{PROJECT_NAME}}\r\n\r\nThank you for your interest in contributing!\r\n\r\n## Getting started\r\n\r\n1. Fork the repository\r\n2. Clone your fork: \\`git clone {{REPO_URL}}\\`\r\n3. Create a feature branch: \\`git checkout -b feat/your-feature\\`\r\n4. Make your changes\r\n5. Submit a pull request\r\n\r\n## Branch naming\r\n\r\n| Type | Pattern | Example |\r\n|------|---------|---------|\r\n| Feature | \\`feat/<description>\\` | \\`feat/user-auth\\` |\r\n| Fix | \\`fix/<description>\\` | \\`fix/login-crash\\` |\r\n| Chore | \\`chore/<description>\\` | \\`chore/update-deps\\` |\r\n| Docs | \\`docs/<description>\\` | \\`docs/api-guide\\` |\r\n| Refactor | \\`refactor/<description>\\` | \\`refactor/auth-module\\` |\r\n| Release | \\`release/<version>\\` | \\`release/v1.2.0\\` |\r\n\r\n## Commit conventions\r\n\r\nWe use [Conventional Commits](https://conventionalcommits.org):\r\n\r\n| Type | When to use |\r\n|------|------------|\r\n| \\`feat\\` | New feature |\r\n| \\`fix\\` | Bug fix |\r\n| \\`docs\\` | Documentation only |\r\n| \\`refactor\\` | Code change that's neither fix nor feature |\r\n| \\`test\\` | Adding or updating tests |\r\n| \\`chore\\` | Build process, dependencies, tooling |\r\n| \\`perf\\` | Performance improvement |\r\n| \\`ci\\` | CI/CD changes |\r\n\r\nExamples:\r\n\\`\\`\\`\r\nfeat: add user authentication\r\nfix: resolve login redirect issue\r\ndocs: update API reference\r\nchore: upgrade dependencies\r\nfeat!: redesign auth API (breaking change — note the !)\r\n\\`\\`\\`\r\n\r\n## PR size guidance\r\n\r\n| Size | Lines changed | Guidance |\r\n|------|--------------|---------|\r\n| Small | < 400 lines | Ideal — fast to review |\r\n| Medium | 400–800 lines | Acceptable — add extra context in description |\r\n| Large | > 800 lines | Needs discussion before opening — split if possible |\r\n\r\nLarge PRs slow down the team and increase the chance of missed issues. When in doubt, split.\r\n\r\n## Pull request process\r\n\r\n1. Fill out the PR template completely\r\n2. Ensure all CI checks pass\r\n3. Request review from at least one maintainer\r\n4. Address all review comments\r\n5. Squash commits before merge\r\n\r\n## Code review checklist\r\n\r\n**Author:**\r\n- [ ] Self-reviewed the diff before requesting review\r\n- [ ] PR description explains the \"why\", not just the \"what\"\r\n- [ ] Tests added/updated and passing\r\n- [ ] No secrets or credentials in code\r\n- [ ] Breaking changes noted in PR description\r\n\r\n**Reviewer:**\r\n- [ ] Code is correct and handles edge cases\r\n- [ ] No obvious performance issues\r\n- [ ] Tests are meaningful (not just coverage padding)\r\n- [ ] Naming is clear and consistent with the codebase\r\n- [ ] Documentation updated if public API changed\r\n\r\n## Code style\r\n{{CONVENTIONS}}\r\n\r\n## Reporting bugs\r\n\r\nOpen an issue with:\r\n- Description of the bug\r\n- Steps to reproduce\r\n- Expected vs actual behavior\r\n- Environment details\r\n`,\r\n },\r\n {\r\n id: 'security',\r\n name: 'SECURITY.md',\r\n description: 'Security policy and vulnerability reporting',\r\n defaultPath: 'SECURITY.md',\r\n category: 'github',\r\n content: `# Security Policy — {{PROJECT_NAME}}\r\n\r\n## Supported versions\r\n\r\n| Version | Supported |\r\n|---------|-----------|\r\n| latest | ✅ |\r\n| < 1.0 | ❌ |\r\n\r\n## Reporting a vulnerability\r\n\r\n**Please do not report security vulnerabilities through public GitHub issues.**\r\n\r\nTo report a security issue, email: **security@example.com**\r\n\r\nYou may optionally encrypt your report using our PGP key (key ID: \\`0x00000000\\`, available on keys.openpgp.org).\r\n\r\nInclude:\r\n- Description of the vulnerability\r\n- Steps to reproduce\r\n- Potential impact\r\n- Any suggested mitigations\r\n\r\nYou will receive a response within **48 hours**. We will:\r\n1. Confirm receipt of your report\r\n2. Investigate and assess the issue\r\n3. Release a fix or mitigation\r\n4. Credit you in the release notes (unless you prefer anonymity)\r\n\r\n## Vulnerability SLAs\r\n\r\n| Severity | Fix SLA |\r\n|----------|---------|\r\n| Critical | 48 hours |\r\n| High | 7 days |\r\n| Medium | 30 days |\r\n| Low | 90 days |\r\n\r\nDependabot alerts for **critical** vulnerabilities must be resolved within 48 hours. Run \\`npm audit\\` in CI on every PR.\r\n\r\n## Secrets rotation schedule\r\n\r\n| Secret | Rotation | Owner |\r\n|--------|----------|-------|\r\n| JWT signing key | Every 90 days | Platform team |\r\n| Database passwords | Every 180 days | Platform team |\r\n| API keys (third-party) | On staff change | Security team |\r\n| Deploy tokens | Every 90 days | DevOps |\r\n\r\n## OWASP Top 10 checklist\r\n\r\n- [ ] **A01 Broken Access Control** — Enforce authorization on every endpoint; deny by default\r\n- [ ] **A02 Cryptographic Failures** — Use TLS everywhere; never store plaintext secrets; use bcrypt/argon2 for passwords\r\n- [ ] **A03 Injection** — Use parameterized queries; validate and sanitize all input\r\n- [ ] **A04 Insecure Design** — Threat model new features; use principle of least privilege\r\n- [ ] **A05 Security Misconfiguration** — Harden defaults; disable unused features; set security headers\r\n- [ ] **A06 Vulnerable Components** — Run \\`npm audit\\` in CI; automate with Dependabot\r\n- [ ] **A07 Auth Failures** — Implement MFA; lock accounts after failed attempts; use secure session management\r\n- [ ] **A08 Software Integrity Failures** — Verify checksums; use lockfiles; pin CI action versions\r\n- [ ] **A09 Logging Failures** — Log auth events, access failures; never log secrets or PII\r\n- [ ] **A10 SSRF** — Validate and allowlist URLs for any server-side requests\r\n\r\n## Security best practices\r\n\r\nWhen contributing to this project:\r\n- Never commit secrets, tokens, or credentials\r\n- Use environment variables for all sensitive configuration\r\n- Validate and sanitize all user input\r\n- Follow the principle of least privilege\r\n- Keep dependencies up to date\r\n`,\r\n },\r\n {\r\n id: 'pr-template',\r\n name: 'PR Template',\r\n description: 'Pull request template',\r\n defaultPath: '.github/pull_request_template.md',\r\n category: 'github',\r\n content: `## Description\r\n\r\n<!-- Briefly describe the changes and why they were made -->\r\n\r\n## Type of change\r\n\r\n- [ ] Bug fix (non-breaking change that fixes an issue)\r\n- [ ] New feature (non-breaking change that adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Documentation update\r\n- [ ] Refactor / code cleanup\r\n- [ ] Dependency update\r\n\r\n## Related issues\r\n\r\nCloses #\r\n\r\n## How to test\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n## Screenshots / recordings\r\n\r\n<!-- If applicable, add screenshots or screen recordings -->\r\n\r\n## Checklist\r\n\r\n- [ ] My code follows the project's style guidelines\r\n- [ ] I have performed a self-review of my changes\r\n- [ ] I have added tests that prove my fix or feature works\r\n- [ ] New and existing unit tests pass locally\r\n- [ ] I have updated documentation if needed\r\n- [ ] No secrets or credentials are included\r\n`,\r\n },\r\n {\r\n id: 'bug-report',\r\n name: 'Bug Report Template',\r\n description: 'GitHub issue template for bugs',\r\n defaultPath: '.github/ISSUE_TEMPLATE/bug_report.md',\r\n category: 'github',\r\n content: `---\r\nname: Bug report\r\nabout: Create a report to help us improve\r\nlabels: bug\r\n---\r\n\r\n## Describe the bug\r\n\r\nA clear and concise description of what the bug is.\r\n\r\n## Steps to reproduce\r\n\r\n1. Go to '...'\r\n2. Click on '...'\r\n3. See error\r\n\r\n## Expected behavior\r\n\r\nA clear and concise description of what you expected to happen.\r\n\r\n## Actual behavior\r\n\r\nWhat actually happened.\r\n\r\n## Screenshots\r\n\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n## Environment\r\n\r\n- OS: [e.g. macOS 14]\r\n- Browser: [e.g. Chrome 120]\r\n- Version: [e.g. 1.2.3]\r\n- Node.js: [e.g. 20.x]\r\n\r\n## Additional context\r\n\r\nAdd any other context about the problem here.\r\n`,\r\n },\r\n {\r\n id: 'feature-request',\r\n name: 'Feature Request Template',\r\n description: 'GitHub issue template for features',\r\n defaultPath: '.github/ISSUE_TEMPLATE/feature_request.md',\r\n category: 'github',\r\n content: `---\r\nname: Feature request\r\nabout: Suggest an idea for this project\r\nlabels: enhancement\r\n---\r\n\r\n## Problem\r\n\r\nIs your feature request related to a problem? Please describe.\r\nA clear and concise description of what the problem is.\r\n\r\n## Proposed solution\r\n\r\nA clear and concise description of what you want to happen.\r\n\r\n## Alternatives considered\r\n\r\nA clear and concise description of any alternative solutions or features you've considered.\r\n\r\n## Implementation notes\r\n\r\nAny thoughts on how this might be implemented?\r\n\r\n## Additional context\r\n\r\nAdd any other context, mockups, or screenshots about the feature request here.\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const PROCESS_TEMPLATES: Template[] = [\r\n {\r\n id: 'changelog',\r\n name: 'CHANGELOG.md',\r\n description: 'Keep a Changelog format',\r\n defaultPath: 'CHANGELOG.md',\r\n category: 'process',\r\n content: `# Changelog — {{PROJECT_NAME}}\r\n\r\nAll notable changes to this project will be documented in this file.\r\n\r\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\r\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\r\n\r\n## [Unreleased]\r\n\r\n### Added\r\n-\r\n\r\n### Changed\r\n-\r\n\r\n### Fixed\r\n-\r\n\r\n### Removed\r\n-\r\n\r\n## [1.0.0] — {{DATE}}\r\n\r\n### Added\r\n- Initial release\r\n`,\r\n },\r\n {\r\n id: 'deployment',\r\n name: 'DEPLOYMENT.md',\r\n description: 'Deployment guide and procedures',\r\n defaultPath: 'DEPLOYMENT.md',\r\n category: 'process',\r\n content: `# Deployment Guide — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Environments\r\n\r\n| Environment | URL | Branch | Auto-deploy |\r\n|-------------|-----|--------|-------------|\r\n| Production | | \\`main\\` | No |\r\n| Staging | | \\`develop\\` | Yes |\r\n| Preview | | PRs | Yes |\r\n\r\n## Prerequisites\r\n\r\n- Access to deployment platform\r\n- Environment variables configured (see \\`.env.example\\`)\r\n- CI/CD pipeline passing\r\n\r\n## Deploy to production\r\n\r\n\\`\\`\\`bash\r\n# 1. Ensure tests pass\r\nnpm test\r\n\r\n# 2. Build and verify\r\nnpm run build\r\n\r\n# 3. Merge to main\r\ngit checkout main && git merge develop\r\n\r\n# 4. Tag the release\r\ngit tag v1.x.x && git push --tags\r\n\\`\\`\\`\r\n\r\n## Environment variables\r\n\r\n| Variable | Required | Description |\r\n|----------|----------|-------------|\r\n| | Yes | |\r\n\r\n## Rollback procedure\r\n\r\n1. Identify the last stable release tag\r\n2. \\`git checkout <tag>\\`\r\n3. Redeploy the previous version\r\n4. Verify the rollback with smoke tests\r\n\r\n## Smoke tests\r\n\r\nAfter every deploy, verify:\r\n- [ ] App loads at production URL\r\n- [ ] Auth flow works\r\n- [ ] Core features functional\r\n- [ ] No error spikes in monitoring\r\n\r\n## Contacts\r\n\r\n| Role | Contact |\r\n|------|---------|\r\n| On-call | |\r\n| Release manager | |\r\n`,\r\n },\r\n {\r\n id: 'testing',\r\n name: 'TESTING.md',\r\n description: 'Testing strategy and guide',\r\n defaultPath: 'TESTING.md',\r\n category: 'process',\r\n content: `# Testing Guide — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Test pyramid\r\n\r\n\\`\\`\\`\r\n /\\\\\r\n /E2E\\\\ 10% — Critical user flows only\r\n /------\\\\\r\n /Integr. \\\\ 20% — API, DB, service boundaries\r\n /----------\\\\\r\n / Unit \\\\ 70% — Functions, logic, utilities\r\n /______________\\\\\r\n\\`\\`\\`\r\n\r\n## Test strategy\r\n\r\n| Layer | Type | Tool | Coverage target |\r\n|-------|------|------|----------------|\r\n| Unit | Functions/logic | {{TEST_FRAMEWORK}} | 80%+ |\r\n| Integration | API/DB | {{TEST_FRAMEWORK}} | 70%+ |\r\n| E2E | User flows | Playwright | Key paths |\r\n\r\n## Coverage targets by directory\r\n\r\n| Directory | Target | Rationale |\r\n|-----------|--------|-----------|\r\n| \\`src/lib/\\` | 90%+ | Core business logic |\r\n| \\`src/api/\\` | 80%+ | API handlers |\r\n| \\`src/components/\\` | 60%+ | UI — focus on logic, not rendering |\r\n| \\`src/utils/\\` | 90%+ | Pure utility functions |\r\n\r\n## Running tests\r\n\r\n\\`\\`\\`bash\r\n# Run all tests\r\nnpm test\r\n\r\n# Run with coverage\r\nnpm run test:coverage\r\n\r\n# Run E2E tests\r\nnpm run test:e2e\r\n\r\n# Watch mode\r\nnpm run test:watch\r\n\\`\\`\\`\r\n\r\n## Writing tests\r\n\r\n### Unit test example\r\n\r\n\\`\\`\\`typescript\r\ndescribe('MyFunction', () => {\r\n it('should return expected value', () => {\r\n expect(myFunction(input)).toBe(expected)\r\n })\r\n})\r\n\\`\\`\\`\r\n\r\n### Integration test guidelines\r\n- Use a real database (not mocks) for DB tests\r\n- Reset state between tests\r\n- Test happy path and error cases\r\n\r\n### E2E test guidelines\r\n- Cover critical user journeys\r\n- Use stable selectors (\\`data-testid\\`)\r\n- Run against staging environment\r\n\r\n### Playwright config example\r\n\r\n\\`\\`\\`typescript\r\n// playwright.config.ts\r\nimport { defineConfig, devices } from '@playwright/test'\r\n\r\nexport default defineConfig({\r\n testDir: './e2e',\r\n fullyParallel: true,\r\n forbidOnly: !!process.env.CI,\r\n retries: process.env.CI ? 2 : 0,\r\n reporter: 'html',\r\n use: {\r\n baseURL: process.env.PLAYWRIGHT_BASE_URL ?? 'http://localhost:3000',\r\n trace: 'on-first-retry',\r\n },\r\n projects: [\r\n {name: 'chromium', use: {...devices['Desktop Chrome']}},\r\n {name: 'Mobile Safari', use: {...devices['iPhone 13']}},\r\n ],\r\n webServer: {\r\n command: 'npm run dev',\r\n url: 'http://localhost:3000',\r\n reuseExistingServer: !process.env.CI,\r\n },\r\n})\r\n\\`\\`\\`\r\n\r\n## Flaky test policy\r\n\r\n1. **Quarantine immediately** — tag with \\`@flaky\\` and skip in CI (\\`test.skip\\`)\r\n2. **Create a ticket** — track as a P2 bug with a 2-week SLA to fix\r\n3. **Root cause** — common causes: timing issues, shared state, network calls\r\n4. **Fix or delete** — flaky tests are worse than no tests (false confidence)\r\n\r\nQuarantine example:\r\n\\`\\`\\`typescript\r\ntest.skip('flaky: timing issue with animation', async ({ page }) => {\r\n // TODO: fix by waiting for animation end event instead of sleep\r\n})\r\n\\`\\`\\`\r\n\r\n## Test organization\r\n\r\n\\`\\`\\`\r\nsrc/\r\n __tests__/ # Unit tests\r\n __integration__/ # Integration tests\r\ne2e/ # E2E tests\r\n\\`\\`\\`\r\n\r\n## CI/CD\r\n\r\nTests run automatically on every PR. PRs cannot merge with failing tests.\r\n`,\r\n },\r\n {\r\n id: 'glossary',\r\n name: 'Glossary',\r\n description: 'Project terminology reference',\r\n defaultPath: 'docs/glossary.md',\r\n category: 'process',\r\n content: `# Glossary — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\nThis document defines terms used throughout the project documentation and codebase.\r\n\r\n## Terms\r\n\r\n| Term | Definition |\r\n|------|------------|\r\n| | |\r\n\r\n## Acronyms\r\n\r\n| Acronym | Full form | Meaning |\r\n|---------|-----------|---------|\r\n| | | |\r\n\r\n## Domain concepts\r\n\r\n<!-- Add domain-specific concepts here -->\r\n\r\n---\r\n\r\n*Keep this document updated as new terminology is introduced.*\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nconst today = new Date().toISOString().split('T')[0]\r\n\r\nexport const TECHNICAL_TEMPLATES: Template[] = [\r\n {\r\n id: 'prd',\r\n name: 'PRD',\r\n description: 'Product requirements document',\r\n defaultPath: 'docs/prd.md',\r\n category: 'technical',\r\n content: `# Product Requirements — {{PROJECT_NAME}}\r\n\r\n**Status:** Draft\r\n**Last updated:** {{DATE}}\r\n**Author:**\r\n**Stakeholders:**\r\n\r\n## Problem statement\r\n{{DESCRIPTION}}\r\n\r\n## Goals\r\n-\r\n-\r\n\r\n## Non-goals\r\n-\r\n-\r\n\r\n## User stories\r\n| As a... | I want to... | So that... |\r\n|---------|--------------|------------|\r\n| user | | |\r\n\r\n## Requirements\r\n\r\n### Functional\r\n{{KEY_FEATURES}}\r\n\r\n### Non-functional\r\n- Performance:\r\n- Security:\r\n- Reliability:\r\n- Scalability:\r\n\r\n## Success metrics\r\n| Metric | Current | Target |\r\n|--------|---------|--------|\r\n| | | |\r\n\r\n## Timeline\r\n| Milestone | Target date |\r\n|-----------|-------------|\r\n| | |\r\n\r\n## Open questions\r\n-\r\n`,\r\n },\r\n {\r\n id: 'architecture-overview',\r\n name: 'Architecture Overview',\r\n description: 'System architecture doc',\r\n defaultPath: 'docs/architecture/overview.md',\r\n category: 'technical',\r\n content: `# Architecture Overview — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Summary\r\n{{DESCRIPTION}}\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## System diagram\r\n\r\n### Context (C4 Level 1)\r\n\r\n\\`\\`\\`mermaid\r\ngraph TB\r\n User[\"User\"] --> System[\"{{PROJECT_NAME}}\"]\r\n System --> ExternalAPI[\"External APIs\"]\r\n System --> DB[\"Database\"]\r\n\\`\\`\\`\r\n\r\n### Container (C4 Level 2)\r\n\r\n\\`\\`\\`mermaid\r\ngraph TB\r\n Client[\"Web Client<br/>(Browser)\"] --> API[\"API Server<br/>(Node.js)\"]\r\n API --> DB[\"Database<br/>(PostgreSQL)\"]\r\n API --> Cache[\"Cache<br/>(Redis)\"]\r\n API --> Queue[\"Job Queue\"]\r\n\\`\\`\\`\r\n\r\n## Components\r\n\r\n| Component | Responsibility | Tech |\r\n|-----------|---------------|------|\r\n| | | |\r\n\r\n## Data flow\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n## Key decisions\r\n\r\n| Decision | Chosen | Alternative | Rationale |\r\n|----------|--------|-------------|-----------|\r\n| | | | |\r\n\r\n## ADR log\r\n\r\n| ADR | Title | Status | Date |\r\n|-----|-------|--------|------|\r\n| 001 | | Accepted | {{DATE}} |\r\n\r\n## Non-goals\r\n\r\n- <!-- What this system explicitly does NOT do -->\r\n\r\n## Security considerations\r\n- Authentication:\r\n- Authorization:\r\n- Data validation:\r\n- Secrets management:\r\n\r\n## Scalability notes\r\n-\r\n`,\r\n },\r\n {\r\n id: 'api-reference',\r\n name: 'API Reference',\r\n description: 'API endpoints reference',\r\n defaultPath: 'docs/api-reference.md',\r\n category: 'technical',\r\n content: `# API Reference — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Base URL\r\n\r\n\\`\\`\\`\r\nhttps://api.example.com/v1\r\n\\`\\`\\`\r\n\r\n## Versioning\r\n\r\nThis API uses URL-based versioning (\\`/v1/\\`, \\`/v2/\\`, etc.).\r\n\r\n- The current stable version is \\`v1\\`.\r\n- Deprecated versions are supported for 12 months after a new version is released.\r\n- Breaking changes always increment the major version.\r\n\r\n## Authentication\r\n\r\nAll requests require a bearer token in the Authorization header:\r\n\r\n\\`\\`\\`\r\nAuthorization: Bearer <token>\r\n\\`\\`\\`\r\n\r\n### Token refresh\r\n\r\nTokens expire after 1 hour. Refresh using:\r\n\r\n\\`\\`\\`\r\nPOST /auth/refresh\r\nContent-Type: application/json\r\n\r\n{\"refreshToken\": \"<refresh_token>\"}\r\n\\`\\`\\`\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{\"accessToken\": \"...\", \"refreshToken\": \"...\", \"expiresIn\": 3600}\r\n\\`\\`\\`\r\n\r\n## Rate limiting\r\n\r\n- **Limit:** 1000 requests/hour per API key\r\n- **Headers:** \\`X-RateLimit-Limit\\`, \\`X-RateLimit-Remaining\\`, \\`X-RateLimit-Reset\\`\r\n\r\n## Pagination\r\n\r\nList endpoints support cursor-based pagination:\r\n\r\n\\`\\`\\`\r\nGET /resources?cursor=<cursor>&limit=20\r\n\\`\\`\\`\r\n\r\n## Error format\r\n\r\nAll errors follow a standard envelope:\r\n\r\n\\`\\`\\`json\r\n{\r\n \"code\": \"VALIDATION_ERROR\",\r\n \"message\": \"Human-readable description\",\r\n \"details\": [{\"field\": \"email\", \"issue\": \"invalid format\"}]\r\n}\r\n\\`\\`\\`\r\n\r\n## Error codes\r\n\r\n| Code | Meaning |\r\n|------|---------|\r\n| 400 | Bad request — invalid parameters |\r\n| 401 | Unauthorized — missing or invalid token |\r\n| 403 | Forbidden — insufficient permissions |\r\n| 404 | Not found |\r\n| 422 | Unprocessable entity — validation error |\r\n| 429 | Too many requests |\r\n| 500 | Internal server error |\r\n\r\n## Webhooks\r\n\r\n### Signature verification\r\n\r\nAll webhook payloads are signed with HMAC-SHA256. Verify the signature:\r\n\r\n\\`\\`\\`\r\nX-Webhook-Signature: sha256=<hmac_hex>\r\n\\`\\`\\`\r\n\r\n\\`\\`\\`typescript\r\nimport crypto from 'crypto'\r\n\r\nfunction verifyWebhook(payload: string, signature: string, secret: string): boolean {\r\n const expected = crypto\r\n .createHmac('sha256', secret)\r\n .update(payload)\r\n .digest('hex')\r\n return crypto.timingSafeEqual(\r\n Buffer.from(\\`sha256=\\${expected}\\`),\r\n Buffer.from(signature)\r\n )\r\n}\r\n\\`\\`\\`\r\n\r\n## Endpoints\r\n\r\n### GET /resource\r\n\r\n**Description:** List resources\r\n\r\n**Query parameters:**\r\n- \\`limit\\` (integer, default 20) — items per page\r\n- \\`cursor\\` (string) — pagination cursor\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{\r\n \"data\": [],\r\n \"cursor\": null,\r\n \"total\": 0\r\n}\r\n\\`\\`\\`\r\n\r\n### POST /resource\r\n\r\n**Description:** Create a resource\r\n\r\n**Request body:**\r\n\\`\\`\\`json\r\n{}\r\n\\`\\`\\`\r\n\r\n**Response:**\r\n\\`\\`\\`json\r\n{}\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'runbook',\r\n name: 'Runbook',\r\n description: 'Operational runbook',\r\n defaultPath: 'docs/runbook.md',\r\n category: 'technical',\r\n content: `# Runbook — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## SLOs\r\n\r\n| Metric | Target |\r\n|--------|--------|\r\n| Availability | 99.9% |\r\n| P95 latency | < 500ms |\r\n| Error rate | < 0.1% |\r\n\r\n## Environments\r\n\r\n| Env | URL | Purpose |\r\n|-----|-----|---------|\r\n| Production | | Live traffic |\r\n| Staging | | Pre-release testing |\r\n| Development | | Local dev |\r\n\r\n## Alerting\r\n\r\n| Alert | Threshold | Severity | Action |\r\n|-------|-----------|----------|--------|\r\n| | | | |\r\n\r\n## On-call contacts\r\n\r\n| Role | Name | Contact |\r\n|------|------|---------|\r\n| Primary | | |\r\n| Secondary | | |\r\n\r\n## Escalation matrix\r\n\r\n| Time since incident | Contact | Method |\r\n|--------------------|---------|--------|\r\n| 0–15 min | On-call engineer | PagerDuty / phone |\r\n| 15–30 min | Team lead | Slack + phone |\r\n| 30+ min | Engineering manager | Phone + email |\r\n\r\n## Procedures\r\n\r\n### Deploy\r\n\r\n1.\r\n2.\r\n3.\r\n\r\n### Rollback\r\n\r\n**When to rollback:**\r\n\r\n| Signal | Action |\r\n|--------|--------|\r\n| Error rate > 1% after deploy | Immediate rollback |\r\n| P95 latency doubled | Rollback if no fix in 15 min |\r\n| Health check failing | Immediate rollback |\r\n| Critical bug reported | Rollback within 30 min |\r\n\r\n**Rollback steps:**\r\n\r\n\\`\\`\\`bash\r\n# 1. Identify last stable release\r\ngit log --oneline --tags --simplify-by-decoration | head -5\r\n\r\n# 2. Deploy previous version\r\ngit checkout <previous-tag>\r\nnpm run build && npm run deploy\r\n\r\n# 3. Verify rollback\r\ncurl -f https://your-app.com/health\r\n\\`\\`\\`\r\n\r\n### Troubleshooting\r\n\r\n#### High error rate\r\n\\`\\`\\`bash\r\n# Check recent application logs\r\ntail -f /var/log/app/error.log\r\n\r\n# Check error counts by endpoint\r\ngrep \"ERROR\" /var/log/app/app.log | awk '{print $5}' | sort | uniq -c | sort -rn | head -10\r\n\r\n# Review recent deploys\r\ngit log --oneline -10\r\n\\`\\`\\`\r\n\r\n1. Check application logs for exception traces\r\n2. Check downstream dependencies (database, cache, external APIs)\r\n3. Review recent deploys — consider rollback if deploy-correlated\r\n\r\n#### High latency\r\n\\`\\`\\`bash\r\n# Check database slow query log\r\npsql $DATABASE_URL -c \"SELECT query, calls, mean_exec_time FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;\"\r\n\r\n# Check cache hit rate\r\nredis-cli info stats | grep hit_rate\r\n\r\n# Check CPU/memory\r\ntop -b -n 1 | head -20\r\n\\`\\`\\`\r\n\r\n1. Check database query times (slow query log)\r\n2. Check cache hit rates\r\n3. Review resource utilization (CPU, memory, connections)\r\n\r\n#### Service won't start\r\n\\`\\`\\`bash\r\n# Check environment variables\r\nenv | grep -E \"DATABASE|REDIS|PORT\"\r\n\r\n# Test database connectivity\r\npsql $DATABASE_URL -c \"SELECT 1\"\r\n\r\n# Check port availability\r\nlsof -i :3000\r\n\\`\\`\\`\r\n\r\n#### Database connection issues\r\n\\`\\`\\`bash\r\n# Check connection pool status\r\npsql $DATABASE_URL -c \"SELECT count(*), state FROM pg_stat_activity GROUP BY state;\"\r\n\r\n# Check max connections\r\npsql $DATABASE_URL -c \"SHOW max_connections;\"\r\n\\`\\`\\`\r\n\r\n#### Memory leak suspected\r\n\\`\\`\\`bash\r\n# Monitor memory over time\r\nwatch -n 5 'ps aux --sort=-%mem | head -5'\r\n\r\n# Capture heap snapshot (Node.js)\r\nkill -USR2 <pid>\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'adr',\r\n name: 'Architecture Decision',\r\n description: 'Architecture Decision Record',\r\n defaultPath: 'docs/architecture/decisions/ADR-001.md',\r\n category: 'technical',\r\n content: `# ADR-001: Title\r\n\r\n**Status:** Proposed\r\n**Date:** {{DATE}}\r\n**Deciders:**\r\n\r\n## Context\r\nWhat is the issue that we're seeing that is motivating this decision or change?\r\n\r\n## Decision\r\nWhat is the change that we're proposing and/or doing?\r\n\r\n## Rationale\r\nWhy did we choose this option?\r\n\r\n## Alternatives considered\r\n- **Option A:** Description — pros/cons\r\n- **Option B:** Description — pros/cons\r\n\r\n## Consequences\r\n\r\n### Positive\r\n-\r\n\r\n### Negative\r\n-\r\n\r\n### Neutral\r\n-\r\n`,\r\n },\r\n {\r\n id: 'onboarding',\r\n name: 'Onboarding Guide',\r\n description: 'Developer onboarding guide',\r\n defaultPath: 'docs/onboarding.md',\r\n category: 'technical',\r\n content: `# Developer Onboarding — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n{{DESCRIPTION}}\r\n\r\n## Prerequisites\r\n- [ ] Access to repository ({{REPO_URL}})\r\n- [ ] Access to staging environment\r\n- [ ] Accounts: (list required accounts/services)\r\n\r\n## Day 1: Get running\r\n\r\n- [ ] Clone the repository and set up local environment\r\n- [ ] Run the app locally and verify it works\r\n- [ ] Read the architecture overview (\\`docs/architecture/overview.md\\`)\r\n- [ ] Meet your team lead and get a tour of the codebase\r\n\r\n\\`\\`\\`bash\r\n# Clone\r\ngit clone {{REPO_URL}}\r\ncd {{PROJECT_NAME}}\r\n\r\n# Install dependencies\r\nnpm install\r\n\r\n# Copy environment variables\r\ncp .env.example .env.local\r\n# Edit .env.local with real values (ask your team lead)\r\n\r\n# Start development server\r\nnpm run dev\r\n\\`\\`\\`\r\n\r\n## Week 1: Get productive\r\n\r\n- [ ] Complete the environment setup checklist below\r\n- [ ] Read \\`CONTRIBUTING.md\\` and understand the PR process\r\n- [ ] Submit your first PR (even a small doc fix counts)\r\n- [ ] Attend team standup and sprint planning\r\n- [ ] Review 2–3 recent merged PRs to understand code patterns\r\n- [ ] Shadow a code review\r\n\r\n## Month 1: Get comfortable\r\n\r\n- [ ] Deliver your first feature end-to-end\r\n- [ ] Lead a code review\r\n- [ ] Identify one piece of tech debt and create a ticket\r\n- [ ] Update this onboarding doc with anything that was unclear\r\n\r\n## Environment setup\r\n\r\n\\`\\`\\`bash\r\n# Install dependencies\r\nnpm install\r\n\r\n# Copy environment variables\r\ncp .env.example .env.local\r\n\r\n# Start development server\r\nnpm run dev\r\n\\`\\`\\`\r\n\r\n## Tech stack\r\n{{TECH_STACK}}\r\n\r\n## IDE setup\r\n- Recommended: VS Code or Cursor\r\n- Install recommended extensions (see \\`.vscode/extensions.json\\`)\r\n- Enable format on save\r\n\r\n## Project structure\r\n\r\n\\`\\`\\`\r\n(describe key directories here)\r\n\\`\\`\\`\r\n\r\n## Key concepts\r\n-\r\n\r\n## Common tasks\r\n\r\n### Running tests\r\n\\`\\`\\`bash\r\nnpm test\r\n\\`\\`\\`\r\n\r\n### Building for production\r\n\\`\\`\\`bash\r\nnpm run build\r\n\\`\\`\\`\r\n\r\n## Common pitfalls\r\n\r\n1. **Forgetting to copy .env.local** — the app won't start without required env vars. Copy from \\`.env.example\\` and fill in real values.\r\n2. **Running \\`npm install\\` instead of the project's package manager** — check \\`package.json\\` for the \\`packageManager\\` field or look for a lock file (\\`pnpm-lock.yaml\\`, \\`yarn.lock\\`).\r\n3. **Committing to \\`main\\` directly** — always branch and open a PR. Direct pushes to \\`main\\` are blocked.\r\n4. **Skipping tests** — CI will catch you, but it's faster to run \\`npm test\\` locally before pushing.\r\n5. **Not reading existing patterns** — before adding a new abstraction, search the codebase for how similar problems are solved.\r\n\r\n## Your first PR\r\n\r\n1. Pick a small, well-defined issue labelled \\`good first issue\\`\r\n2. Create a branch: \\`git checkout -b feat/your-name-first-pr\\`\r\n3. Make the change and add a test\r\n4. Open a PR with the PR template filled out\r\n5. Ask for a review in the team Slack channel\r\n\r\n## Key contacts\r\n\r\n| Role | Name | Contact |\r\n|------|------|---------|\r\n| | | |\r\n\r\n## Resources\r\n- Architecture overview: \\`docs/architecture/overview.md\\`\r\n- API reference: \\`docs/api-reference.md\\`\r\n- Runbook: \\`docs/runbook.md\\`\r\n- Contributing guide: \\`CONTRIBUTING.md\\`\r\n`,\r\n },\r\n {\r\n id: 'database',\r\n name: 'Database Docs',\r\n description: 'Database schema and design reference',\r\n defaultPath: 'docs/DATABASE.md',\r\n category: 'technical',\r\n content: `# Database Documentation — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n\r\n<!-- Brief description of the database design -->\r\n\r\n## Entity Relationship Diagram\r\n\r\n\\`\\`\\`mermaid\r\nerDiagram\r\n USERS {\r\n uuid id PK\r\n string email\r\n timestamp created_at\r\n }\r\n\\`\\`\\`\r\n\r\n## Tables\r\n\r\n### users\r\n\r\n| Column | Type | Nullable | Description |\r\n|--------|------|----------|-------------|\r\n| id | uuid | No | Primary key |\r\n| email | varchar | No | Unique email |\r\n| created_at | timestamp | No | Creation time |\r\n\r\n## Indexes\r\n\r\n| Table | Columns | Type | Purpose |\r\n|-------|---------|------|---------|\r\n| | | | |\r\n\r\n## Migrations\r\n\r\nMigrations live in \\`db/migrations/\\`. Run with:\r\n\r\n\\`\\`\\`bash\r\nnpm run db:migrate\r\n\\`\\`\\`\r\n\r\n## Connection\r\n\r\n\\`\\`\\`\r\nDATABASE_URL=postgresql://user:password@host:5432/dbname\r\n\\`\\`\\`\r\n\r\n## Backup & restore\r\n\r\n\\`\\`\\`bash\r\n# Backup\r\npg_dump $DATABASE_URL > backup.sql\r\n\r\n# Restore\r\npsql $DATABASE_URL < backup.sql\r\n\\`\\`\\`\r\n\r\n## Performance notes\r\n\r\n-\r\n`,\r\n },\r\n {\r\n id: 'openapi',\r\n name: 'OpenAPI Spec',\r\n description: 'OpenAPI 3.0 API specification scaffold',\r\n defaultPath: 'docs/api-spec.yaml',\r\n category: 'technical',\r\n content: `openapi: 3.0.3\r\ninfo:\r\n title: {{PROJECT_NAME}} API\r\n description: |\r\n {{DESCRIPTION}}\r\n version: 1.0.0\r\n contact:\r\n email: team@example.com\r\n\r\nservers:\r\n - url: https://api.example.com/v1\r\n description: Production\r\n - url: https://staging-api.example.com/v1\r\n description: Staging\r\n\r\nsecurity:\r\n - bearerAuth: []\r\n\r\npaths:\r\n /health:\r\n get:\r\n summary: Health check\r\n operationId: healthCheck\r\n security: []\r\n responses:\r\n '200':\r\n description: OK\r\n content:\r\n application/json:\r\n schema:\r\n type: object\r\n properties:\r\n status:\r\n type: string\r\n example: ok\r\n\r\n /resources:\r\n get:\r\n summary: List resources\r\n operationId: listResources\r\n parameters:\r\n - name: limit\r\n in: query\r\n schema:\r\n type: integer\r\n default: 20\r\n - name: cursor\r\n in: query\r\n schema:\r\n type: string\r\n responses:\r\n '200':\r\n description: Success\r\n content:\r\n application/json:\r\n schema:\r\n $ref: '#/components/schemas/ResourceList'\r\n '401':\r\n $ref: '#/components/responses/Unauthorized'\r\n\r\ncomponents:\r\n securitySchemes:\r\n bearerAuth:\r\n type: http\r\n scheme: bearer\r\n bearerFormat: JWT\r\n\r\n schemas:\r\n Resource:\r\n type: object\r\n properties:\r\n id:\r\n type: string\r\n format: uuid\r\n createdAt:\r\n type: string\r\n format: date-time\r\n\r\n ResourceList:\r\n type: object\r\n properties:\r\n data:\r\n type: array\r\n items:\r\n $ref: '#/components/schemas/Resource'\r\n cursor:\r\n type: string\r\n nullable: true\r\n total:\r\n type: integer\r\n\r\n Error:\r\n type: object\r\n properties:\r\n error:\r\n type: string\r\n message:\r\n type: string\r\n\r\n responses:\r\n Unauthorized:\r\n description: Unauthorized\r\n content:\r\n application/json:\r\n schema:\r\n $ref: '#/components/schemas/Error'\r\n`,\r\n },\r\n {\r\n id: 'meeting-notes',\r\n name: 'Meeting Notes',\r\n description: 'Meeting notes template',\r\n defaultPath: `docs/meetings/${today}.md`,\r\n category: 'technical',\r\n content: `# Meeting Notes — ${today}\r\n\r\n**Attendees:**\r\n**Facilitator:**\r\n\r\n## Agenda\r\n\r\n1.\r\n2.\r\n\r\n## Notes\r\n\r\n## Decisions\r\n\r\n## Action items\r\n\r\n| Action | Owner | Due |\r\n|--------|-------|-----|\r\n| | | |\r\n\r\n## Next meeting\r\n`,\r\n },\r\n {\r\n id: 'blank',\r\n name: 'Blank Document',\r\n description: 'Empty markdown file',\r\n defaultPath: 'docs/untitled.md',\r\n category: 'technical',\r\n content: '# Untitled\\n\\n',\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const INFRASTRUCTURE_TEMPLATES: Template[] = [\r\n {\r\n id: 'dockerfile',\r\n name: 'Dockerfile',\r\n description: 'Multi-stage Docker build with health check',\r\n defaultPath: 'Dockerfile',\r\n category: 'infrastructure',\r\n content: `# Stage 1: Install dependencies\r\nFROM node:20-alpine AS deps\r\nRUN apk add --no-cache libc6-compat\r\nWORKDIR /app\r\nCOPY package*.json ./\r\nRUN npm ci --only=production\r\n\r\n# Stage 2: Build\r\nFROM node:20-alpine AS builder\r\nWORKDIR /app\r\nCOPY --from=deps /app/node_modules ./node_modules\r\nCOPY . .\r\nRUN npm run build\r\n\r\n# Stage 3: Run\r\nFROM node:20-alpine AS runner\r\nWORKDIR /app\r\nENV NODE_ENV=production\r\nRUN addgroup --system --gid 1001 nodejs\r\nRUN adduser --system --uid 1001 appuser\r\nCOPY --from=builder /app/dist ./dist\r\nCOPY --from=deps /app/node_modules ./node_modules\r\nCOPY package*.json ./\r\nUSER appuser\r\nEXPOSE 3000\r\nHEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\\\\r\n CMD wget -qO- http://localhost:3000/health || exit 1\r\nCMD [\"node\", \"dist/index.js\"]\r\n`,\r\n },\r\n {\r\n id: 'docker-compose',\r\n name: 'docker-compose.yml',\r\n description: 'Docker Compose with app, Postgres, and Redis',\r\n defaultPath: 'docker-compose.yml',\r\n category: 'infrastructure',\r\n content: `# Docker Compose V2+ (no version key needed)\r\nservices:\r\n app:\r\n build: .\r\n ports:\r\n - \"3000:3000\"\r\n environment:\r\n DATABASE_URL: postgresql://postgres:password@db:5432/{{PROJECT_NAME}}\r\n REDIS_URL: redis://redis:6379\r\n depends_on:\r\n db:\r\n condition: service_healthy\r\n redis:\r\n condition: service_healthy\r\n\r\n db:\r\n image: postgres:16-alpine\r\n environment:\r\n POSTGRES_PASSWORD: password\r\n POSTGRES_DB: {{PROJECT_NAME}}\r\n healthcheck:\r\n test: [\"CMD-SHELL\", \"pg_isready -U postgres\"]\r\n interval: 10s\r\n timeout: 5s\r\n retries: 5\r\n volumes:\r\n - postgres_data:/var/lib/postgresql/data\r\n\r\n redis:\r\n image: redis:7-alpine\r\n healthcheck:\r\n test: [\"CMD\", \"redis-cli\", \"ping\"]\r\n interval: 10s\r\n timeout: 5s\r\n retries: 5\r\n volumes:\r\n - redis_data:/data\r\n\r\nvolumes:\r\n postgres_data:\r\n redis_data:\r\n`,\r\n },\r\n {\r\n id: 'dockerignore',\r\n name: '.dockerignore',\r\n description: 'Docker build context exclusions',\r\n defaultPath: '.dockerignore',\r\n category: 'infrastructure',\r\n content: `node_modules\r\nnpm-debug.log*\r\n.git\r\n.gitignore\r\n.env*\r\n!.env.example\r\ndist\r\nbuild\r\ncoverage\r\n.nyc_output\r\n*.test.*\r\n*.spec.*\r\n__tests__\r\ne2e\r\n.github\r\ndocs\r\nREADME.md\r\nCHANGELOG.md\r\n`,\r\n },\r\n {\r\n id: 'makefile',\r\n name: 'Makefile',\r\n description: 'Makefile with common dev/build/deploy targets',\r\n defaultPath: 'Makefile',\r\n category: 'infrastructure',\r\n content: `.PHONY: help dev build test lint docker-up docker-down migrate clean\r\n\r\nhelp: ## Show this help\r\n\\t@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = \":.*?## \"}; {printf \"\\\\033[36m%-20s\\\\033[0m %s\\\\n\", $$1, $$2}'\r\n\r\ndev: ## Start development server\r\n\\tnpm run dev\r\n\r\nbuild: ## Build for production\r\n\\tnpm run build\r\n\r\ntest: ## Run all tests\r\n\\tnpm test\r\n\r\nlint: ## Run linter\r\n\\tnpm run lint\r\n\r\ndocker-up: ## Start Docker services\r\n\\tdocker compose up -d\r\n\r\ndocker-down: ## Stop Docker services\r\n\\tdocker compose down\r\n\r\nmigrate: ## Run database migrations\r\n\\tnpm run db:migrate\r\n\r\nclean: ## Remove build artifacts\r\n\\trm -rf dist build .next coverage node_modules/.cache\r\n`,\r\n },\r\n {\r\n id: 'env-example',\r\n name: '.env.example',\r\n description: 'Annotated environment variables template',\r\n defaultPath: '.env.example',\r\n category: 'infrastructure',\r\n content: `# App Config\r\nNODE_ENV=development\r\nPORT=3000\r\nAPP_URL=http://localhost:3000\r\nLOG_LEVEL=info\r\n\r\n# Database\r\nDATABASE_URL=postgresql://user:password@localhost:5432/{{PROJECT_NAME}}_dev\r\n\r\n# Auth\r\nJWT_SECRET=your-super-secret-jwt-key-change-in-production\r\nJWT_EXPIRES_IN=7d\r\nSESSION_SECRET=your-session-secret-change-in-production\r\n\r\n# External Services\r\n# STRIPE_SECRET_KEY=sk_test_...\r\n# SENDGRID_API_KEY=SG....\r\n# AWS_ACCESS_KEY_ID=\r\n# AWS_SECRET_ACCESS_KEY=\r\n# AWS_REGION=us-east-1\r\n# AWS_S3_BUCKET=\r\n\r\n# Observability\r\n# SENTRY_DSN=https://...@sentry.io/...\r\n# DATADOG_API_KEY=\r\n# NEW_RELIC_LICENSE_KEY=\r\n`,\r\n },\r\n {\r\n id: 'nginx-conf',\r\n name: 'nginx.conf',\r\n description: 'Nginx reverse proxy with gzip, security headers, rate limiting',\r\n defaultPath: 'nginx/nginx.conf',\r\n category: 'infrastructure',\r\n content: `events {\r\n worker_connections 1024;\r\n}\r\n\r\nhttp {\r\n gzip on;\r\n gzip_types text/plain text/css application/json application/javascript text/xml;\r\n gzip_min_length 1000;\r\n\r\n # Rate limiting\r\n limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;\r\n\r\n server {\r\n listen 80;\r\n server_name _;\r\n\r\n # Security headers\r\n add_header X-Frame-Options \"SAMEORIGIN\" always;\r\n add_header X-Content-Type-Options \"nosniff\" always;\r\n add_header X-XSS-Protection \"1; mode=block\" always;\r\n add_header Referrer-Policy \"strict-origin-when-cross-origin\" always;\r\n add_header Strict-Transport-Security \"max-age=31536000; includeSubDomains\" always;\r\n\r\n location /api/ {\r\n limit_req zone=api burst=20 nodelay;\r\n proxy_pass http://app:3000;\r\n proxy_http_version 1.1;\r\n proxy_set_header Upgrade $http_upgrade;\r\n proxy_set_header Connection 'upgrade';\r\n proxy_set_header Host $host;\r\n proxy_set_header X-Real-IP $remote_addr;\r\n proxy_cache_bypass $http_upgrade;\r\n }\r\n\r\n location / {\r\n proxy_pass http://app:3000;\r\n proxy_http_version 1.1;\r\n proxy_set_header Host $host;\r\n proxy_set_header X-Real-IP $remote_addr;\r\n }\r\n }\r\n}\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const GITHUB_ACTIONS_TEMPLATES: Template[] = [\r\n {\r\n id: 'ci-workflow',\r\n name: 'CI Workflow',\r\n description: 'GitHub Actions CI: lint, typecheck, test matrix, coverage',\r\n defaultPath: '.github/workflows/ci.yml',\r\n category: 'github-actions',\r\n content: `name: CI\r\non:\r\n push:\r\n branches: [main, develop]\r\n pull_request:\r\n branches: [main, develop]\r\n\r\njobs:\r\n lint:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run lint\r\n - run: npm run typecheck\r\n\r\n test:\r\n runs-on: ubuntu-latest\r\n strategy:\r\n matrix:\r\n node-version: ['20', '22']\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '\\${{ matrix.node-version }}', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run test:coverage\r\n - uses: codecov/codecov-action@v4\r\n if: matrix.node-version == '20'\r\n\r\n build:\r\n runs-on: ubuntu-latest\r\n needs: [lint, test]\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run build\r\n`,\r\n },\r\n {\r\n id: 'cd-workflow',\r\n name: 'CD Workflow',\r\n description: 'GitHub Actions CD: deploy to production with health check',\r\n defaultPath: '.github/workflows/cd.yml',\r\n category: 'github-actions',\r\n content: `name: CD\r\non:\r\n push:\r\n branches: [main]\r\n\r\njobs:\r\n deploy:\r\n runs-on: ubuntu-latest\r\n # needs: [ci] # Uncomment if using a reusable CI workflow\r\n environment: production\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm run build\r\n - name: Deploy\r\n env:\r\n DEPLOY_TOKEN: \\${{ secrets.DEPLOY_TOKEN }}\r\n DEPLOY_URL: \\${{ secrets.DEPLOY_URL }}\r\n run: |\r\n # Add your deployment command here\r\n # e.g.: npx railway deploy, vercel deploy --prod, etc.\r\n echo \"Deploy to production\"\r\n - name: Health check\r\n run: |\r\n sleep 30\r\n curl -f \\${{ secrets.APP_URL }}/health || exit 1\r\n`,\r\n },\r\n {\r\n id: 'security-scan',\r\n name: 'Security Scan',\r\n description: 'GitHub Actions security: npm audit + CodeQL analysis',\r\n defaultPath: '.github/workflows/security.yml',\r\n category: 'github-actions',\r\n content: `name: Security\r\non:\r\n push:\r\n branches: [main]\r\n schedule:\r\n - cron: '0 0 * * 1' # Weekly on Monday\r\n\r\njobs:\r\n audit:\r\n runs-on: ubuntu-latest\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: actions/setup-node@v4\r\n with: {node-version: '20', cache: 'npm'}\r\n - run: npm ci\r\n - run: npm audit --audit-level=high\r\n\r\n codeql:\r\n runs-on: ubuntu-latest\r\n permissions:\r\n actions: read\r\n contents: read\r\n security-events: write\r\n steps:\r\n - uses: actions/checkout@v4\r\n - uses: github/codeql-action/init@v3\r\n with: {languages: javascript}\r\n - uses: github/codeql-action/autobuild@v3\r\n - uses: github/codeql-action/analyze@v3\r\n`,\r\n },\r\n {\r\n id: 'dependabot-config',\r\n name: 'Dependabot Config',\r\n description: 'Dependabot config: npm + GitHub Actions weekly updates',\r\n defaultPath: '.github/dependabot.yml',\r\n category: 'github-actions',\r\n content: `version: 2\r\nupdates:\r\n - package-ecosystem: npm\r\n directory: \"/\"\r\n schedule:\r\n interval: weekly\r\n day: monday\r\n groups:\r\n minor-and-patch:\r\n update-types: [\"minor\", \"patch\"]\r\n ignore:\r\n - dependency-name: \"*\"\r\n update-types: [\"version-update:semver-major\"]\r\n\r\n - package-ecosystem: github-actions\r\n directory: \"/\"\r\n schedule:\r\n interval: weekly\r\n day: monday\r\n`,\r\n },\r\n {\r\n id: 'release-workflow',\r\n name: 'Release Workflow',\r\n description: 'GitHub Actions release: GitHub Release + Docker image to GHCR',\r\n defaultPath: '.github/workflows/release.yml',\r\n category: 'github-actions',\r\n content: `name: Release\r\non:\r\n push:\r\n tags: ['v*']\r\n\r\njobs:\r\n release:\r\n runs-on: ubuntu-latest\r\n permissions:\r\n contents: write\r\n packages: write\r\n steps:\r\n - uses: actions/checkout@v4\r\n - name: Create GitHub Release\r\n uses: softprops/action-gh-release@v2\r\n with:\r\n generate_release_notes: true\r\n - name: Log in to GHCR\r\n uses: docker/login-action@v3\r\n with:\r\n registry: ghcr.io\r\n username: \\${{ github.actor }}\r\n password: \\${{ secrets.GITHUB_TOKEN }}\r\n - name: Build and push Docker image\r\n uses: docker/build-push-action@v5\r\n with:\r\n context: .\r\n push: true\r\n tags: |\r\n ghcr.io/\\${{ github.repository }}:\\${{ github.ref_name }}\r\n ghcr.io/\\${{ github.repository }}:latest\r\n`,\r\n },\r\n {\r\n id: 'codeowners',\r\n name: 'CODEOWNERS',\r\n description: 'GitHub CODEOWNERS file for review assignments',\r\n defaultPath: '.github/CODEOWNERS',\r\n category: 'github',\r\n content: `# IMPORTANT: Replace {{PROJECT_NAME}} below with your GitHub organization name\r\n# (org name and project name are often different)\r\n# Format: @org-name/team-slug\r\n\r\n# Global owners - review all changes\r\n* @{{PROJECT_NAME}}/maintainers\r\n\r\n# Documentation\r\ndocs/ @{{PROJECT_NAME}}/docs\r\n*.md @{{PROJECT_NAME}}/docs\r\n\r\n# CI/CD config\r\n.github/ @{{PROJECT_NAME}}/devops\r\nDockerfile @{{PROJECT_NAME}}/devops\r\ndocker-compose*.yml @{{PROJECT_NAME}}/devops\r\n\r\n# Security-sensitive files\r\n**/auth/ @{{PROJECT_NAME}}/security\r\n**/security/ @{{PROJECT_NAME}}/security\r\nSECURITY.md @{{PROJECT_NAME}}/security\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const CODE_QUALITY_TEMPLATES: Template[] = [\r\n {\r\n id: 'eslintrc',\r\n name: 'ESLint Config',\r\n description: 'ESLint config with TypeScript strict rules',\r\n defaultPath: '.eslintrc.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"extends\": [\r\n \"eslint:recommended\",\r\n \"plugin:@typescript-eslint/recommended\",\r\n \"plugin:@typescript-eslint/recommended-requiring-type-checking\"\r\n ],\r\n \"parser\": \"@typescript-eslint/parser\",\r\n \"parserOptions\": {\r\n \"project\": true,\r\n \"tsconfigRootDir\": \".\"\r\n },\r\n \"plugins\": [\"@typescript-eslint\"],\r\n \"rules\": {\r\n \"no-console\": \"warn\",\r\n \"no-unused-vars\": \"off\",\r\n \"@typescript-eslint/no-unused-vars\": [\"error\", { \"argsIgnorePattern\": \"^_\" }],\r\n \"@typescript-eslint/no-explicit-any\": \"warn\",\r\n \"@typescript-eslint/consistent-type-imports\": \"error\",\r\n \"@typescript-eslint/no-floating-promises\": \"error\"\r\n },\r\n \"ignorePatterns\": [\"dist/\", \"build/\", \"node_modules/\", \"*.config.js\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'prettierrc',\r\n name: 'Prettier Config',\r\n description: 'Prettier formatting config',\r\n defaultPath: '.prettierrc',\r\n category: 'code-quality',\r\n content: `{\r\n \"semi\": false,\r\n \"singleQuote\": true,\r\n \"trailingComma\": \"es5\",\r\n \"printWidth\": 100,\r\n \"tabWidth\": 2,\r\n \"useTabs\": false,\r\n \"bracketSpacing\": true,\r\n \"arrowParens\": \"avoid\"\r\n}\r\n`,\r\n },\r\n {\r\n id: 'tsconfig-strict',\r\n name: 'tsconfig (strict)',\r\n description: 'TypeScript config with strict settings for Node/ESM',\r\n defaultPath: 'tsconfig.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"compilerOptions\": {\r\n \"target\": \"ES2022\",\r\n \"lib\": [\"ES2022\"],\r\n \"module\": \"NodeNext\",\r\n \"moduleResolution\": \"NodeNext\",\r\n \"outDir\": \"dist\",\r\n \"rootDir\": \"src\",\r\n \"strict\": true,\r\n \"noUncheckedIndexedAccess\": true,\r\n \"exactOptionalPropertyTypes\": true,\r\n \"noImplicitReturns\": true,\r\n \"noFallthroughCasesInSwitch\": true,\r\n \"noImplicitOverride\": true,\r\n \"esModuleInterop\": true,\r\n \"skipLibCheck\": true,\r\n \"forceConsistentCasingInFileNames\": true,\r\n \"paths\": {\r\n \"@/*\": [\"./src/*\"]\r\n }\r\n },\r\n \"include\": [\"src/**/*\"],\r\n \"exclude\": [\"node_modules\", \"dist\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'editorconfig',\r\n name: '.editorconfig',\r\n description: 'EditorConfig for consistent editor settings',\r\n defaultPath: '.editorconfig',\r\n category: 'code-quality',\r\n content: `root = true\r\n\r\n[*]\r\nindent_style = space\r\nindent_size = 2\r\nend_of_line = lf\r\ncharset = utf-8\r\ntrim_trailing_whitespace = true\r\ninsert_final_newline = true\r\n\r\n[*.md]\r\ntrim_trailing_whitespace = false\r\n\r\n[Makefile]\r\nindent_style = tab\r\n\r\n[*.{yml,yaml}]\r\nindent_size = 2\r\n`,\r\n },\r\n {\r\n id: 'lint-staged',\r\n name: 'lint-staged Config',\r\n description: 'lint-staged config for pre-commit formatting and linting',\r\n defaultPath: '.lintstagedrc.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"*.{ts,tsx}\": [\"eslint --fix\", \"prettier --write\"],\r\n \"*.{js,jsx}\": [\"eslint --fix\", \"prettier --write\"],\r\n \"*.{json,md,yml,yaml}\": [\"prettier --write\"],\r\n \"*.{css,scss}\": [\"prettier --write\"]\r\n}\r\n`,\r\n },\r\n {\r\n id: 'commitlint',\r\n name: 'commitlint Config',\r\n description: 'commitlint config enforcing Conventional Commits',\r\n defaultPath: 'commitlint.config.js',\r\n category: 'code-quality',\r\n content: `module.exports = {\r\n extends: ['@commitlint/config-conventional'],\r\n rules: {\r\n 'type-enum': [2, 'always', [\r\n 'feat', 'fix', 'docs', 'style', 'refactor',\r\n 'perf', 'test', 'chore', 'revert', 'ci', 'build'\r\n ]],\r\n 'scope-case': [2, 'always', 'lower-case'],\r\n 'subject-case': [2, 'always', 'lower-case'],\r\n 'subject-max-length': [2, 'always', 100],\r\n 'body-max-line-length': [2, 'always', 200],\r\n },\r\n}\r\n`,\r\n },\r\n {\r\n id: 'husky-setup',\r\n name: 'Husky Setup Doc',\r\n description: 'Documentation for Husky git hooks setup',\r\n defaultPath: '.husky/README.md',\r\n category: 'code-quality',\r\n content: `# Husky Git Hooks\r\n\r\nThis project uses [Husky](https://typicode.github.io/husky/) to enforce code quality at commit time.\r\n\r\n## Setup\r\n\r\nAfter cloning and running \\`npm install\\`, Husky hooks are auto-installed via the \\`prepare\\` script.\r\n\r\nIf hooks aren't running, install manually:\r\n\r\n\\`\\`\\`\r\nnpx husky install\r\n\\`\\`\\`\r\n\r\n## Hooks\r\n\r\n| Hook | Command | Purpose |\r\n|------|---------|---------|\r\n| pre-commit | \\`lint-staged\\` | Lint and format staged files |\r\n| commit-msg | \\`commitlint\\` | Validate commit message format |\r\n| pre-push | \\`npm test\\` | Run tests before pushing |\r\n\r\n## Skip hooks (emergencies only)\r\n\r\n\\`\\`\\`\r\ngit commit --no-verify -m \"emergency fix\"\r\n\\`\\`\\`\r\n\r\nUse sparingly. CI will still catch failures.\r\n`,\r\n },\r\n {\r\n id: 'vscode-settings',\r\n name: 'VS Code Settings',\r\n description: 'VS Code workspace settings for the project',\r\n defaultPath: '.vscode/settings.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"editor.formatOnSave\": true,\r\n \"editor.defaultFormatter\": \"esbenp.prettier-vscode\",\r\n \"editor.codeActionsOnSave\": {\r\n \"source.fixAll.eslint\": \"explicit\",\r\n \"source.organizeImports\": \"explicit\"\r\n },\r\n \"typescript.preferences.importModuleSpecifier\": \"non-relative\",\r\n \"typescript.tsdk\": \"node_modules/typescript/lib\",\r\n \"files.eol\": \"\\\\n\",\r\n \"files.trimTrailingWhitespace\": true,\r\n \"files.insertFinalNewline\": true,\r\n \"[markdown]\": {\r\n \"editor.formatOnSave\": false\r\n }\r\n}\r\n`,\r\n },\r\n {\r\n id: 'vscode-extensions',\r\n name: 'VS Code Extensions',\r\n description: 'Recommended VS Code extensions for the project',\r\n defaultPath: '.vscode/extensions.json',\r\n category: 'code-quality',\r\n content: `{\r\n \"recommendations\": [\r\n \"esbenp.prettier-vscode\",\r\n \"dbaeumer.vscode-eslint\",\r\n \"ms-vscode.vscode-typescript-next\",\r\n \"bradlc.vscode-tailwindcss\",\r\n \"eamodio.gitlens\",\r\n \"usernamehw.errorlens\",\r\n \"streetsidesoftware.code-spell-checker\",\r\n \"github.copilot\",\r\n \"christian-kohler.path-intellisense\"\r\n ]\r\n}\r\n`,\r\n },\r\n]\r\n","import type { Template } from './types'\r\n\r\nexport const MONITORING_TEMPLATES: Template[] = [\r\n {\r\n id: 'health-check-doc',\r\n name: 'Health Check Guide',\r\n description: 'Health check endpoint documentation with Kubernetes config',\r\n defaultPath: 'docs/health-checks.md',\r\n category: 'monitoring',\r\n content: `# Health Checks — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Overview\r\n\r\nHealth check endpoints allow load balancers and orchestrators to verify service status.\r\n\r\n## Endpoints\r\n\r\n| Endpoint | Purpose | Auth required |\r\n|----------|---------|---------------|\r\n| \\`GET /health\\` | Liveness probe — is the process running? | No |\r\n| \\`GET /health/ready\\` | Readiness probe — can the service handle traffic? | No |\r\n| \\`GET /health/detailed\\` | Full dependency status | Yes (internal) |\r\n\r\n## Liveness Check (\\`GET /health\\`)\r\n\r\nReturns 200 if the process is alive, regardless of dependency status.\r\n\r\n\\`\\`\\`json\r\n{\"status\": \"ok\", \"uptime\": 1234}\r\n\\`\\`\\`\r\n\r\n## Readiness Check (\\`GET /health/ready\\`)\r\n\r\nReturns 200 only if all critical dependencies are healthy.\r\n\r\n\\`\\`\\`json\r\n{\r\n \"status\": \"ready\",\r\n \"dependencies\": {\r\n \"database\": \"ok\",\r\n \"redis\": \"ok\",\r\n \"external_api\": \"degraded\"\r\n }\r\n}\r\n\\`\\`\\`\r\n\r\nReturns 503 if any critical dependency is unhealthy.\r\n\r\n## Kubernetes Configuration\r\n\r\n\\`\\`\\`yaml\r\nlivenessProbe:\r\n httpGet:\r\n path: /health\r\n port: 3000\r\n initialDelaySeconds: 30\r\n periodSeconds: 10\r\nreadinessProbe:\r\n httpGet:\r\n path: /health/ready\r\n port: 3000\r\n initialDelaySeconds: 5\r\n periodSeconds: 5\r\n\\`\\`\\`\r\n`,\r\n },\r\n {\r\n id: 'slo-doc',\r\n name: 'SLO/SLA Document',\r\n description: 'Service Level Objectives with error budget and burn rate alerts',\r\n defaultPath: 'docs/slo.md',\r\n category: 'monitoring',\r\n content: `# Service Level Objectives — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n**Owner:** Platform Team\r\n\r\n## Availability SLO\r\n\r\n| Metric | Target | Error Budget (30 days) |\r\n|--------|--------|----------------------|\r\n| Availability | 99.9% | 43.8 minutes |\r\n| Success rate | 99.5% | — |\r\n\r\n## Latency SLO\r\n\r\n| Percentile | Target |\r\n|------------|--------|\r\n| p50 | < 100ms |\r\n| p95 | < 500ms |\r\n| p99 | < 1000ms |\r\n\r\n## Error Budget Policy\r\n\r\n| Burn Rate | Alert Window | Severity | Action |\r\n|-----------|-------------|----------|--------|\r\n| > 14.4x | 1 hour | Critical | Page on-call immediately |\r\n| > 6x | 6 hours | High | Page on-call |\r\n| > 3x | 24 hours | Medium | Ticket + monitor |\r\n| > 1x | 72 hours | Low | Review in standup |\r\n\r\n## Consequences of Exhausting Error Budget\r\n\r\n- Feature freeze until budget replenishes\r\n- Reliability sprint prioritized over new features\r\n- Post-mortem required for any budget burn > 50%\r\n\r\n## Measurement\r\n\r\n- Uptime tracked via synthetic monitoring (Pingdom / UptimeRobot)\r\n- Latency tracked via APM (Datadog / New Relic)\r\n- Error rate from application logs + Sentry\r\n`,\r\n },\r\n {\r\n id: 'incident-runbook',\r\n name: 'Incident Runbook',\r\n description: 'Incident response runbook with severity levels and escalation',\r\n defaultPath: 'docs/incident-runbook.md',\r\n category: 'monitoring',\r\n content: `# Incident Runbook — {{PROJECT_NAME}}\r\n\r\n**Last updated:** {{DATE}}\r\n\r\n## Severity Levels\r\n\r\n| Severity | Definition | Response Time | Example |\r\n|----------|-----------|---------------|---------|\r\n| P0 | Complete outage, all users affected | 15 minutes | Site down |\r\n| P1 | Major feature broken, >50% users affected | 30 minutes | Login broken |\r\n| P2 | Significant degradation, subset of users | 2 hours | Slow API |\r\n| P3 | Minor issue, workaround available | Next business day | Cosmetic bug |\r\n\r\n## Roles\r\n\r\n| Role | Responsibility |\r\n|------|---------------|\r\n| Incident Commander (IC) | Owns resolution, coordinates team, communicates status |\r\n| Tech Lead | Diagnoses root cause, coordinates fixes |\r\n| Comms Lead | Updates status page, notifies stakeholders |\r\n\r\n## Response Process\r\n\r\n### 0–15 minutes (Detect & Triage)\r\n1. Confirm the incident (not a false alarm)\r\n2. Assign Incident Commander\r\n3. Create incident Slack channel: \\`#incident-YYYYMMDD-description\\`\r\n4. Set severity level\r\n5. Start incident timeline document\r\n\r\n### 15–60 minutes (Investigate)\r\n1. Identify scope: what's broken, who's affected\r\n2. Check recent deployments (\\`git log\\`, deployment history)\r\n3. Review error rates and logs\r\n4. Consider rollback if recent deploy is suspected\r\n\r\n### Mitigation\r\n1. Apply fix or rollback\r\n2. Monitor for improvement\r\n3. Update status page\r\n4. Notify stakeholders\r\n\r\n## Post-Incident Checklist\r\n\r\n- [ ] Incident resolved and verified\r\n- [ ] Status page updated to \"resolved\"\r\n- [ ] Stakeholders notified\r\n- [ ] Timeline documented\r\n- [ ] Post-mortem scheduled (P0/P1) or ticket created (P2)\r\n- [ ] Action items created in project tracker\r\n`,\r\n },\r\n {\r\n id: 'postmortem',\r\n name: 'Postmortem Template',\r\n description: 'Blameless postmortem template with five-whys and action items',\r\n defaultPath: 'docs/postmortem-template.md',\r\n category: 'monitoring',\r\n content: `# Postmortem: [Title]\r\n\r\n**Date:** {{DATE}}\r\n**Severity:** P[0-3]\r\n**Duration:**\r\n**Author:**\r\n**Reviewers:**\r\n\r\n> This postmortem follows a blameless culture. We focus on systems and processes, not individuals.\r\n\r\n## Summary\r\n\r\n<!-- 2-3 sentence summary: what happened, why it matters, what we're doing about it -->\r\n\r\n## Impact\r\n\r\n- **Users affected:**\r\n- **Duration:**\r\n- **Revenue impact:**\r\n- **Data loss:**\r\n\r\n## Timeline\r\n\r\n| Time (UTC) | Event |\r\n|------------|-------|\r\n| 00:00 | Monitoring alert fired |\r\n| 00:05 | On-call engineer paged |\r\n| 00:15 | Incident confirmed, IC assigned |\r\n| 00:30 | Root cause identified |\r\n| 01:00 | Fix deployed |\r\n| 01:15 | Incident resolved |\r\n\r\n## Root Cause Analysis (Five Whys)\r\n\r\n**Problem:** [Describe the issue]\r\n\r\n1. **Why?** [First cause]\r\n2. **Why?** [Second cause]\r\n3. **Why?** [Third cause]\r\n4. **Why?** [Fourth cause]\r\n5. **Why?** [Root cause]\r\n\r\n## What Went Well\r\n\r\n-\r\n-\r\n\r\n## What Could Have Gone Better\r\n\r\n-\r\n-\r\n\r\n## Action Items\r\n\r\n| Action | Owner | Due Date | Priority |\r\n|--------|-------|----------|----------|\r\n| | | | P[0-3] |\r\n\r\n## Lessons Learned\r\n\r\n<!-- Key takeaways to share with the wider team -->\r\n`,\r\n },\r\n]\r\n","import { AI_AGENT_TEMPLATES } from './ai-agent'\r\nimport { GITHUB_TEMPLATES } from './github'\r\nimport { PROCESS_TEMPLATES } from './process'\r\nimport { TECHNICAL_TEMPLATES } from './technical'\r\nimport { INFRASTRUCTURE_TEMPLATES } from './infrastructure'\r\nimport { GITHUB_ACTIONS_TEMPLATES } from './github-actions'\r\nimport { CODE_QUALITY_TEMPLATES } from './code-quality'\r\nimport { MONITORING_TEMPLATES } from './monitoring'\r\n\r\nexport * from './types'\r\n\r\nexport const TEMPLATES = [\r\n ...AI_AGENT_TEMPLATES,\r\n ...GITHUB_TEMPLATES,\r\n ...PROCESS_TEMPLATES,\r\n ...TECHNICAL_TEMPLATES,\r\n ...INFRASTRUCTURE_TEMPLATES,\r\n ...GITHUB_ACTIONS_TEMPLATES,\r\n ...CODE_QUALITY_TEMPLATES,\r\n ...MONITORING_TEMPLATES,\r\n]\r\n\r\n// dedent removes common leading whitespace from template literals\r\nexport function dedent(str: string): string {\r\n const lines = str.split('\\n')\r\n // Skip empty leading lines\r\n const nonEmpty = lines.filter(l => l.trim().length > 0)\r\n if (nonEmpty.length === 0) return str\r\n const indent = Math.min(...nonEmpty.map(l => l.match(/^(\\s*)/)?.[1].length ?? 0))\r\n if (indent === 0) return str\r\n return lines.map(l => l.slice(indent)).join('\\n')\r\n}\r\n"],"names":["AI_AGENT_TEMPLATES","id","name","description","defaultPath","category","content"],"mappings":"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"}
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
7
7
  "static/chunks/0cz1d0mv5g_q7.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/gJtrYenzL6_deB-6pdvIL/_buildManifest.js",
11
- "static/gJtrYenzL6_deB-6pdvIL/_ssgManifest.js",
12
- "static/gJtrYenzL6_deB-6pdvIL/_clientMiddlewareManifest.js"
10
+ "static/uJ5RYxgFnE5svAvnuLDXN/_buildManifest.js",
11
+ "static/uJ5RYxgFnE5svAvnuLDXN/_ssgManifest.js",
12
+ "static/uJ5RYxgFnE5svAvnuLDXN/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/27culnr-k4v7j.js",
@@ -1 +1 @@
1
- self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/src/app/(app)/activity/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/board/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/docs/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/explorer/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/memory/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/roadmap/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/settings/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/setup/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/_not-found/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}"
1
+ self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/src/app/(app)/activity/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/board/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/chat/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/docs/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/explorer/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/memory/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/roadmap/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/settings/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/(app)/setup/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/_not-found/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ],\n \"[project]/src/app/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\n \"static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}"
@@ -8,6 +8,10 @@
8
8
  "static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2",
9
9
  "static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2"
10
10
  ],
11
+ "[project]/src/app/(app)/chat/page": [
12
+ "static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2",
13
+ "static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2"
14
+ ],
11
15
  "[project]/src/app/(app)/docs/page": [
12
16
  "static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2",
13
17
  "static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2"
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="dark geist_9c6cb61b-module__8NX9hq__variable geist_mono_d6617093-module__z61v7q__variable inter_ce44cde5-module__EWa6Cq__variable ibm_plex_sans_abbe3f68-module__2aQ_Fa__variable atkinson_hyperlegible_86f3eeac-module__H04cSq__variable dm_sans_4dbccdff-module__kMSx3G__variable jetbrains_mono_d9365dea-module__eFWXIa__variable ibm_plex_mono_a350e774-module__yi3qSG__variable dm_mono_c5369204-module__U0WqgG__variable" data-font-sans="geist" data-font-mono="geist-mono"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0qm101bdsxdyh.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/27culnr-k4v7j.js"/><script src="/_next/static/chunks/40re3aog6ymmi.js" async=""></script><script src="/_next/static/chunks/2nizd2srt2-vm.js" async=""></script><script src="/_next/static/chunks/1i9a4z5i_ajz0.js" async=""></script><script src="/_next/static/chunks/turbopack-2qsbj8zx38t0j.js" async=""></script><script src="/_next/static/chunks/2n91moa8g45as.js" async=""></script><script src="/_next/static/chunks/1dyovtojnx0d4.js" async=""></script><meta name="robots" content="noindex"/><title>VibeDoc</title><meta name="description" content="Project intelligence for AI-assisted development"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="bg-bg text-txt min-h-screen"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/27culnr-k4v7j.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[796229,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"default\"]\n3:I[32339,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"default\"]\n4:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"ViewportBoundary\"]\na:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"MetadataBoundary\"]\nc:I[563491,[\"/_next/static/chunks/2n91moa8g45as.js\",\"/_next/static/chunks/1dyovtojnx0d4.js\"],\"default\"]\n:HL[\"/_next/static/chunks/0qm101bdsxdyh.css\",\"style\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0qm101bdsxdyh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2n91moa8g45as.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark geist_9c6cb61b-module__8NX9hq__variable geist_mono_d6617093-module__z61v7q__variable inter_ce44cde5-module__EWa6Cq__variable ibm_plex_sans_abbe3f68-module__2aQ_Fa__variable atkinson_hyperlegible_86f3eeac-module__H04cSq__variable dm_sans_4dbccdff-module__kMSx3G__variable jetbrains_mono_d9365dea-module__eFWXIa__variable ibm_plex_mono_a350e774-module__yi3qSG__variable dm_mono_c5369204-module__U0WqgG__variable\",\"data-font-sans\":\"geist\",\"data-font-mono\":\"geist-mono\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-bg text-txt min-h-screen\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0qm101bdsxdyh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"gJtrYenzL6_deB-6pdvIL\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"VibeDoc\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Project intelligence for AI-assisted development\"}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="dark geist_9c6cb61b-module__8NX9hq__variable geist_mono_d6617093-module__z61v7q__variable inter_ce44cde5-module__EWa6Cq__variable ibm_plex_sans_abbe3f68-module__2aQ_Fa__variable atkinson_hyperlegible_86f3eeac-module__H04cSq__variable dm_sans_4dbccdff-module__kMSx3G__variable jetbrains_mono_d9365dea-module__eFWXIa__variable ibm_plex_mono_a350e774-module__yi3qSG__variable dm_mono_c5369204-module__U0WqgG__variable" data-font-sans="geist" data-font-mono="geist-mono"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/3_lsdgxa-h7ma.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/27culnr-k4v7j.js"/><script src="/_next/static/chunks/40re3aog6ymmi.js" async=""></script><script src="/_next/static/chunks/2nizd2srt2-vm.js" async=""></script><script src="/_next/static/chunks/1i9a4z5i_ajz0.js" async=""></script><script src="/_next/static/chunks/turbopack-2qsbj8zx38t0j.js" async=""></script><script src="/_next/static/chunks/2n91moa8g45as.js" async=""></script><script src="/_next/static/chunks/1dyovtojnx0d4.js" async=""></script><meta name="robots" content="noindex"/><title>VibeDoc</title><meta name="description" content="Project intelligence for AI-assisted development"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="bg-bg text-txt min-h-screen"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/27culnr-k4v7j.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[796229,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"default\"]\n3:I[32339,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"default\"]\n4:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"ViewportBoundary\"]\na:I[48081,[\"/_next/static/chunks/2n91moa8g45as.js\"],\"MetadataBoundary\"]\nc:I[563491,[\"/_next/static/chunks/2n91moa8g45as.js\",\"/_next/static/chunks/1dyovtojnx0d4.js\"],\"default\"]\n:HL[\"/_next/static/chunks/3_lsdgxa-h7ma.css\",\"style\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3_lsdgxa-h7ma.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2n91moa8g45as.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark geist_9c6cb61b-module__8NX9hq__variable geist_mono_d6617093-module__z61v7q__variable inter_ce44cde5-module__EWa6Cq__variable ibm_plex_sans_abbe3f68-module__2aQ_Fa__variable atkinson_hyperlegible_86f3eeac-module__H04cSq__variable dm_sans_4dbccdff-module__kMSx3G__variable jetbrains_mono_d9365dea-module__eFWXIa__variable ibm_plex_mono_a350e774-module__yi3qSG__variable dm_mono_c5369204-module__U0WqgG__variable\",\"data-font-sans\":\"geist\",\"data-font-mono\":\"geist-mono\",\"children\":[\"$\",\"body\",null,{\"className\":\"bg-bg text-txt min-h-screen\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3_lsdgxa-h7ma.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"uJ5RYxgFnE5svAvnuLDXN\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"VibeDoc\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Project intelligence for AI-assisted development\"}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/27culnr-k4v7j.js"/><script src="/_next/static/chunks/40re3aog6ymmi.js" async=""></script><script src="/_next/static/chunks/2nizd2srt2-vm.js" async=""></script><script src="/_next/static/chunks/1i9a4z5i_ajz0.js" async=""></script><script src="/_next/static/chunks/turbopack-2qsbj8zx38t0j.js" async=""></script><script src="/_next/static/chunks/27xj8jkjt-ck1.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/27culnr-k4v7j.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[796229,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n3:I[32339,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n4:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"ViewportBoundary\"]\na:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"MetadataBoundary\"]\nc:I[563491,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"gJtrYenzL6_deB-6pdvIL\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/27culnr-k4v7j.js"/><script src="/_next/static/chunks/40re3aog6ymmi.js" async=""></script><script src="/_next/static/chunks/2nizd2srt2-vm.js" async=""></script><script src="/_next/static/chunks/1i9a4z5i_ajz0.js" async=""></script><script src="/_next/static/chunks/turbopack-2qsbj8zx38t0j.js" async=""></script><script src="/_next/static/chunks/27xj8jkjt-ck1.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/27culnr-k4v7j.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[796229,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n3:I[32339,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n4:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"ViewportBoundary\"]\na:I[48081,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"MetadataBoundary\"]\nc:I[563491,[\"/_next/static/chunks/27xj8jkjt-ck1.js\"],\"default\"]\n7:X\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"uJ5RYxgFnE5svAvnuLDXN\"}\n7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\nb:[]\n"])</script></body></html>
@@ -60,6 +60,25 @@
60
60
  }
61
61
  }
62
62
  },
63
+ "/chat": {
64
+ "hints": 64,
65
+ "slots": {
66
+ "children": {
67
+ "hints": 96,
68
+ "slots": {
69
+ "children": {
70
+ "hints": 96,
71
+ "slots": {
72
+ "children": {
73
+ "hints": 160,
74
+ "slots": null
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ },
63
82
  "/docs": {
64
83
  "hints": 64,
65
84
  "slots": {
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"jigfQSUm+17SdkZoQ6X9UeH3R2kQy3HKAByBvJ+fxe4=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"fTSA6drim52QXM6F9Lp0hByR8FpDUD/OQvm70C1UOqo=\"\n}"