@surething/cockpit 1.0.278 → 1.0.280

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 (719) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +6 -5
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +3 -3
  6. package/.next-prod/routes-manifest.json +12 -6
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  29. package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/bots/route.js +1 -1
  31. package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/route.js +1 -1
  43. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  45. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  47. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/commands/route.js +1 -1
  49. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/comments/route.js +1 -1
  51. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  53. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  55. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  57. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/export/route.js +1 -1
  59. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/query/route.js +1 -1
  61. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  63. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  65. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  67. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  69. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  71. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  73. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/file/route.js +1 -1
  75. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  77. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  79. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  81. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  83. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  85. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/index/route.js +1 -1
  87. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/init/route.js +1 -1
  89. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  91. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/read/route.js +1 -1
  93. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  95. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  97. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/save/route.js +1 -1
  99. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/search/route.js +1 -1
  101. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  103. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/files/text/route.js +1 -1
  105. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/fs/dirs/route.js +1 -0
  107. package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -0
  108. package/.next-prod/server/app/api/fs/dirs/route_client-reference-manifest.js +1 -0
  109. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  110. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  112. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  114. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  116. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  118. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  120. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  122. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  124. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  126. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js +1 -1
  128. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  130. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  132. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  134. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  136. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  138. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/global-state/route.js +2 -2
  140. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/health/route.js +1 -1
  142. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  144. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  146. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  148. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  150. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  152. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  154. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  156. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  158. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  160. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  162. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  164. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  166. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  168. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  170. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  172. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  174. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  176. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  178. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  180. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  182. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  184. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/note/route.js +1 -1
  186. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  188. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  190. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  192. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  194. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  196. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  198. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/output-styles/config/route.js +1 -1
  200. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
  201. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  202. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  203. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  204. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  205. package/.next-prod/server/app/api/project-state/route.js +1 -1
  206. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  207. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  208. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  209. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  212. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  213. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  214. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  215. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  216. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  217. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  220. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  221. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  222. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  224. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  226. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  228. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/projects/route.js +1 -1
  230. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  232. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  234. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  236. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  238. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  240. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  242. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  244. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  246. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  248. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  249. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  250. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  251. package/.next-prod/server/app/api/restart/route.js +1 -1
  252. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  253. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  254. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  255. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  256. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  257. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  258. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  259. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  260. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  261. package/.next-prod/server/app/api/review/order/route.js +1 -1
  262. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  263. package/.next-prod/server/app/api/review/route.js +1 -1
  264. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  265. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  266. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  267. package/.next-prod/server/app/api/review/users/route.js +1 -1
  268. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  269. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  270. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  271. package/.next-prod/server/app/api/services/config/route.js +1 -1
  272. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  273. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  274. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  275. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  279. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  280. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  281. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  282. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  283. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  284. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  285. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  286. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  287. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  290. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  291. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  292. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  293. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  294. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  295. package/.next-prod/server/app/api/settings/route.js +1 -1
  296. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  297. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  298. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  299. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  300. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  301. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  302. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  303. package/.next-prod/server/app/api/skills/route.js +1 -1
  304. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  305. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  306. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  307. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  308. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  309. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  311. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  312. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  313. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  315. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  317. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  319. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  321. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  323. package/.next-prod/server/app/api/terminal/running/route.js +1 -0
  324. package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -0
  325. package/.next-prod/server/app/api/terminal/running/route_client-reference-manifest.js +1 -0
  326. package/.next-prod/server/app/api/update/route.js +1 -1
  327. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  328. package/.next-prod/server/app/api/update-state/route.js +1 -1
  329. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  330. package/.next-prod/server/app/api/version/route.js +1 -1
  331. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  332. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  333. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  334. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  335. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  336. package/.next-prod/server/app/m/page.js +1 -1
  337. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  338. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  339. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  340. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  341. package/.next-prod/server/app/page.js +1 -1
  342. package/.next-prod/server/app/page.js.nft.json +1 -1
  343. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  344. package/.next-prod/server/app/project/page.js +1 -1
  345. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  346. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  347. package/.next-prod/server/app/review/[id]/page.js +1 -1
  348. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  349. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  350. package/.next-prod/server/app-paths-manifest.json +6 -5
  351. package/.next-prod/server/chunks/1863.js +1 -0
  352. package/.next-prod/server/chunks/2493.js +9 -9
  353. package/.next-prod/server/chunks/411.js +1 -0
  354. package/.next-prod/server/chunks/5591.js +2 -2
  355. package/.next-prod/server/chunks/7438.js +18 -17
  356. package/.next-prod/server/chunks/7918.js +1 -0
  357. package/.next-prod/server/chunks/8022.js +1 -1
  358. package/.next-prod/server/middleware-build-manifest.js +1 -1
  359. package/.next-prod/server/pages/404.html +2 -2
  360. package/.next-prod/server/pages/500.html +1 -1
  361. package/.next-prod/server/server-reference-manifest.json +1 -1
  362. package/.next-prod/static/_195_hPNVuma2vZS7bpTW/_buildManifest.js +1 -0
  363. package/.next-prod/static/chunks/81016-71999ca5bd6a6b2f.js +36 -0
  364. package/.next-prod/static/chunks/{95313-eb607273c688b022.js → 95313-af5cc33125d6c0ff.js} +3 -3
  365. package/.next-prod/static/chunks/99092-d9525c22b942b051.js +716 -0
  366. package/.next-prod/static/chunks/app/_global-error/page-4e18b53a1ed48d45.js +1 -0
  367. package/.next-prod/static/chunks/app/api/agent/test/route-4e18b53a1ed48d45.js +1 -0
  368. package/.next-prod/static/chunks/app/api/bash/route-4e18b53a1ed48d45.js +1 -0
  369. package/.next-prod/static/chunks/app/api/bots/[id]/route-4e18b53a1ed48d45.js +1 -0
  370. package/.next-prod/static/chunks/app/api/bots/route-4e18b53a1ed48d45.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/codex/route-4e18b53a1ed48d45.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/deepseek/route-4e18b53a1ed48d45.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/glm/route-4e18b53a1ed48d45.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/kimi/route-4e18b53a1ed48d45.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/ollama/route-4e18b53a1ed48d45.js +1 -0
  376. package/.next-prod/static/chunks/app/api/chat/route-4e18b53a1ed48d45.js +1 -0
  377. package/.next-prod/static/chunks/app/api/chat/stop/route-4e18b53a1ed48d45.js +1 -0
  378. package/.next-prod/static/chunks/app/api/claude-stats/route-4e18b53a1ed48d45.js +1 -0
  379. package/.next-prod/static/chunks/app/api/commands/route-4e18b53a1ed48d45.js +1 -0
  380. package/.next-prod/static/chunks/app/api/comments/route-4e18b53a1ed48d45.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/columns/route-4e18b53a1ed48d45.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/connect/route-4e18b53a1ed48d45.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/disconnect/route-4e18b53a1ed48d45.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/export/route-4e18b53a1ed48d45.js +1 -0
  385. package/.next-prod/static/chunks/app/api/db/query/route-4e18b53a1ed48d45.js +1 -0
  386. package/.next-prod/static/chunks/app/api/db/schemas/route-4e18b53a1ed48d45.js +1 -0
  387. package/.next-prod/static/chunks/app/api/deepseek/balance/route-4e18b53a1ed48d45.js +1 -0
  388. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-4e18b53a1ed48d45.js +1 -0
  389. package/.next-prod/static/chunks/app/api/deepseek/models/route-4e18b53a1ed48d45.js +1 -0
  390. package/.next-prod/static/chunks/app/api/dev/spans/route-4e18b53a1ed48d45.js +1 -0
  391. package/.next-prod/static/chunks/app/api/extension/version/route-4e18b53a1ed48d45.js +1 -0
  392. package/.next-prod/static/chunks/app/api/file/route-4e18b53a1ed48d45.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/blame/route-4e18b53a1ed48d45.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/clipboard/route-4e18b53a1ed48d45.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/copy/route-4e18b53a1ed48d45.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/delete/route-4e18b53a1ed48d45.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/expanded/route-4e18b53a1ed48d45.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/index/route-4e18b53a1ed48d45.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/init/route-4e18b53a1ed48d45.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/paste/route-4e18b53a1ed48d45.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/read/route-4e18b53a1ed48d45.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/readdir/route-4e18b53a1ed48d45.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/recent/route-4e18b53a1ed48d45.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/save/route-4e18b53a1ed48d45.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/search/route-4e18b53a1ed48d45.js +1 -0
  406. package/.next-prod/static/chunks/app/api/files/stat/route-4e18b53a1ed48d45.js +1 -0
  407. package/.next-prod/static/chunks/app/api/files/text/route-4e18b53a1ed48d45.js +1 -0
  408. package/.next-prod/static/chunks/app/api/fs/dirs/route-4e18b53a1ed48d45.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/blob/route-4e18b53a1ed48d45.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/branch-diff/route-4e18b53a1ed48d45.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/branches/route-4e18b53a1ed48d45.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/commit-diff/route-4e18b53a1ed48d45.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/commits/route-4e18b53a1ed48d45.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/current-branch/route-4e18b53a1ed48d45.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/diff/route-4e18b53a1ed48d45.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/discard/route-4e18b53a1ed48d45.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/stage/route-4e18b53a1ed48d45.js +1 -0
  418. package/.next-prod/static/chunks/app/api/git/status/route-4e18b53a1ed48d45.js +1 -0
  419. package/.next-prod/static/chunks/app/api/git/unstage/route-4e18b53a1ed48d45.js +1 -0
  420. package/.next-prod/static/chunks/app/api/git/worktree/route-4e18b53a1ed48d45.js +1 -0
  421. package/.next-prod/static/chunks/app/api/glm/credentials/route-4e18b53a1ed48d45.js +1 -0
  422. package/.next-prod/static/chunks/app/api/glm/models/route-4e18b53a1ed48d45.js +1 -0
  423. package/.next-prod/static/chunks/app/api/glm/usage/route-4e18b53a1ed48d45.js +1 -0
  424. package/.next-prod/static/chunks/app/api/global-state/route-4e18b53a1ed48d45.js +1 -0
  425. package/.next-prod/static/chunks/app/api/health/route-4e18b53a1ed48d45.js +1 -0
  426. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-4e18b53a1ed48d45.js +1 -0
  427. package/.next-prod/static/chunks/app/api/html-apps/route-4e18b53a1ed48d45.js +1 -0
  428. package/.next-prod/static/chunks/app/api/instructions/config/route-4e18b53a1ed48d45.js +1 -0
  429. package/.next-prod/static/chunks/app/api/kimi/credentials/route-4e18b53a1ed48d45.js +1 -0
  430. package/.next-prod/static/chunks/app/api/kimi/models/route-4e18b53a1ed48d45.js +1 -0
  431. package/.next-prod/static/chunks/app/api/kimi/usage/route-4e18b53a1ed48d45.js +1 -0
  432. package/.next-prod/static/chunks/app/api/lsp/definition/route-4e18b53a1ed48d45.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/hover/route-4e18b53a1ed48d45.js +1 -0
  434. package/.next-prod/static/chunks/app/api/lsp/references/route-4e18b53a1ed48d45.js +1 -0
  435. package/.next-prod/static/chunks/app/api/lsp/status/route-4e18b53a1ed48d45.js +1 -0
  436. package/.next-prod/static/chunks/app/api/lsp/warmup/route-4e18b53a1ed48d45.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/columns/route-4e18b53a1ed48d45.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/connect/route-4e18b53a1ed48d45.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-4e18b53a1ed48d45.js +1 -0
  440. package/.next-prod/static/chunks/app/api/mysql/export/route-4e18b53a1ed48d45.js +1 -0
  441. package/.next-prod/static/chunks/app/api/mysql/query/route-4e18b53a1ed48d45.js +1 -0
  442. package/.next-prod/static/chunks/app/api/mysql/schemas/route-4e18b53a1ed48d45.js +1 -0
  443. package/.next-prod/static/chunks/app/api/neo4j/connect/route-4e18b53a1ed48d45.js +1 -0
  444. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-4e18b53a1ed48d45.js +1 -0
  445. package/.next-prod/static/chunks/app/api/neo4j/query/route-4e18b53a1ed48d45.js +1 -0
  446. package/.next-prod/static/chunks/app/api/neo4j/schema/route-4e18b53a1ed48d45.js +1 -0
  447. package/.next-prod/static/chunks/app/api/note/route-4e18b53a1ed48d45.js +1 -0
  448. package/.next-prod/static/chunks/app/api/ollama/config/route-4e18b53a1ed48d45.js +1 -0
  449. package/.next-prod/static/chunks/app/api/ollama/default-model/route-4e18b53a1ed48d45.js +1 -0
  450. package/.next-prod/static/chunks/app/api/ollama/models/route-4e18b53a1ed48d45.js +1 -0
  451. package/.next-prod/static/chunks/app/api/ollama/start/route-4e18b53a1ed48d45.js +1 -0
  452. package/.next-prod/static/chunks/app/api/open-cursor/route-4e18b53a1ed48d45.js +1 -0
  453. package/.next-prod/static/chunks/app/api/open-vscode/route-4e18b53a1ed48d45.js +1 -0
  454. package/.next-prod/static/chunks/app/api/output-styles/config/route-4e18b53a1ed48d45.js +1 -0
  455. package/.next-prod/static/chunks/app/api/pinned-sessions/route-4e18b53a1ed48d45.js +1 -0
  456. package/.next-prod/static/chunks/app/api/project-settings/route-4e18b53a1ed48d45.js +1 -0
  457. package/.next-prod/static/chunks/app/api/project-state/route-4e18b53a1ed48d45.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-4e18b53a1ed48d45.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-4e18b53a1ed48d45.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-4e18b53a1ed48d45.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-4e18b53a1ed48d45.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/context/route-4e18b53a1ed48d45.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/file/route-4e18b53a1ed48d45.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-4e18b53a1ed48d45.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-4e18b53a1ed48d45.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/related/route-4e18b53a1ed48d45.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-4e18b53a1ed48d45.js +1 -0
  468. package/.next-prod/static/chunks/app/api/projectGraph/search/route-4e18b53a1ed48d45.js +1 -0
  469. package/.next-prod/static/chunks/app/api/projects/route-4e18b53a1ed48d45.js +1 -0
  470. package/.next-prod/static/chunks/app/api/push/public-key/route-4e18b53a1ed48d45.js +1 -0
  471. package/.next-prod/static/chunks/app/api/push/subscribe/route-4e18b53a1ed48d45.js +1 -0
  472. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-4e18b53a1ed48d45.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/command/route-4e18b53a1ed48d45.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/connect/route-4e18b53a1ed48d45.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/delete/route-4e18b53a1ed48d45.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/disconnect/route-4e18b53a1ed48d45.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/get/route-4e18b53a1ed48d45.js +1 -0
  478. package/.next-prod/static/chunks/app/api/redis/keys/route-4e18b53a1ed48d45.js +1 -0
  479. package/.next-prod/static/chunks/app/api/redis/set/route-4e18b53a1ed48d45.js +1 -0
  480. package/.next-prod/static/chunks/app/api/restart/route-4e18b53a1ed48d45.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-4e18b53a1ed48d45.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-4e18b53a1ed48d45.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/[id]/route-4e18b53a1ed48d45.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/identify/route-4e18b53a1ed48d45.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/order/route-4e18b53a1ed48d45.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/route-4e18b53a1ed48d45.js +1 -0
  487. package/.next-prod/static/chunks/app/api/review/share-info/route-4e18b53a1ed48d45.js +1 -0
  488. package/.next-prod/static/chunks/app/api/review/users/route-4e18b53a1ed48d45.js +1 -0
  489. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-4e18b53a1ed48d45.js +1 -0
  490. package/.next-prod/static/chunks/app/api/services/config/route-4e18b53a1ed48d45.js +1 -0
  491. package/.next-prod/static/chunks/app/api/services/scripts/route-4e18b53a1ed48d45.js +1 -0
  492. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-4e18b53a1ed48d45.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-4e18b53a1ed48d45.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-4e18b53a1ed48d45.js +1 -0
  495. package/.next-prod/static/chunks/app/api/session/user-messages/route-4e18b53a1ed48d45.js +1 -0
  496. package/.next-prod/static/chunks/app/api/session-by-path/route-4e18b53a1ed48d45.js +1 -0
  497. package/.next-prod/static/chunks/app/api/sessions/delegate/route-4e18b53a1ed48d45.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-4e18b53a1ed48d45.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/projects/route-4e18b53a1ed48d45.js +1 -0
  500. package/.next-prod/static/chunks/app/api/sessions/search/route-4e18b53a1ed48d45.js +1 -0
  501. package/.next-prod/static/chunks/app/api/sessions/status/route-4e18b53a1ed48d45.js +1 -0
  502. package/.next-prod/static/chunks/app/api/settings/route-4e18b53a1ed48d45.js +1 -0
  503. package/.next-prod/static/chunks/app/api/shutdown/route-4e18b53a1ed48d45.js +1 -0
  504. package/.next-prod/static/chunks/app/api/skills/[id]/route-4e18b53a1ed48d45.js +1 -0
  505. package/.next-prod/static/chunks/app/api/skills/content/route-4e18b53a1ed48d45.js +1 -0
  506. package/.next-prod/static/chunks/app/api/skills/route-4e18b53a1ed48d45.js +1 -0
  507. package/.next-prod/static/chunks/app/api/snapshots/blob/route-4e18b53a1ed48d45.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/diff/route-4e18b53a1ed48d45.js +1 -0
  509. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-4e18b53a1ed48d45.js +1 -0
  510. package/.next-prod/static/chunks/app/api/snapshots/route-4e18b53a1ed48d45.js +1 -0
  511. package/.next-prod/static/chunks/app/api/terminal/aliases/route-4e18b53a1ed48d45.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-4e18b53a1ed48d45.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-4e18b53a1ed48d45.js +1 -0
  514. package/.next-prod/static/chunks/app/api/terminal/env/route-4e18b53a1ed48d45.js +1 -0
  515. package/.next-prod/static/chunks/app/api/terminal/history/route-4e18b53a1ed48d45.js +1 -0
  516. package/.next-prod/static/chunks/app/api/terminal/running/route-4e18b53a1ed48d45.js +1 -0
  517. package/.next-prod/static/chunks/app/api/update/route-4e18b53a1ed48d45.js +1 -0
  518. package/.next-prod/static/chunks/app/api/update-state/route-4e18b53a1ed48d45.js +1 -0
  519. package/.next-prod/static/chunks/app/api/version/route-4e18b53a1ed48d45.js +1 -0
  520. package/.next-prod/static/chunks/app/apps/[...path]/route-4e18b53a1ed48d45.js +1 -0
  521. package/.next-prod/static/chunks/app/{layout-589122feb9071556.js → layout-0c3dcac0764d9e97.js} +1 -1
  522. package/.next-prod/static/chunks/app/manifest.webmanifest/route-4e18b53a1ed48d45.js +1 -0
  523. package/.next-prod/static/chunks/app/page-b472e7f948959009.js +1 -0
  524. package/.next-prod/static/chunks/app/project/page-b472e7f948959009.js +1 -0
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-4e18b53a1ed48d45.js +1 -0
  526. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-4e18b53a1ed48d45.js +1 -0
  527. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-4e18b53a1ed48d45.js +1 -0
  528. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-4e18b53a1ed48d45.js +1 -0
  529. package/.next-prod/static/css/e70d0cefe04f0619.css +1 -0
  530. package/.next-prod/trace +15 -15
  531. package/.next-prod/trace-build +1 -1
  532. package/.next-prod/types/app/api/{pick-folder → fs/dirs}/route.ts +3 -3
  533. package/.next-prod/types/app/api/terminal/running/route.ts +353 -0
  534. package/.next-prod/types/routes.d.ts +3 -2
  535. package/.next-prod/types/validator.ts +18 -9
  536. package/bin/pty-host.mjs +423 -0
  537. package/dist/{chunk-LPZXJPD6.mjs → chunk-3LSLUAN6.mjs} +143 -95
  538. package/dist/{chunk-W5MB7DIM.mjs → chunk-N6CFCP2N.mjs} +655 -9
  539. package/dist/httpApi.mjs +7 -3
  540. package/dist/scheduledTasks.mjs +67 -11
  541. package/dist/wsServer.mjs +118 -141
  542. package/package.json +3 -3
  543. package/server.mjs +12 -0
  544. package/skills/cr/SKILL.md +306 -126
  545. package/skills/ex/SKILL.md +39 -59
  546. package/skills/fx/SKILL.md +46 -4
  547. package/skills/go/SKILL.md +26 -87
  548. package/skills/qa/SKILL.md +46 -36
  549. package/.next-prod/server/app/api/pick-folder/route.js +0 -1
  550. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +0 -1
  551. package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +0 -1
  552. package/.next-prod/server/chunks/6548.js +0 -1
  553. package/.next-prod/static/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +0 -1
  554. package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +0 -35
  555. package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +0 -716
  556. package/.next-prod/static/chunks/app/_global-error/page-b3c86dd8f06140fe.js +0 -1
  557. package/.next-prod/static/chunks/app/api/agent/test/route-b3c86dd8f06140fe.js +0 -1
  558. package/.next-prod/static/chunks/app/api/bash/route-b3c86dd8f06140fe.js +0 -1
  559. package/.next-prod/static/chunks/app/api/bots/[id]/route-b3c86dd8f06140fe.js +0 -1
  560. package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +0 -1
  561. package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +0 -1
  562. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +0 -1
  563. package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +0 -1
  564. package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +0 -1
  565. package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +0 -1
  566. package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +0 -1
  567. package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +0 -1
  568. package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +0 -1
  569. package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +0 -1
  570. package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +0 -1
  571. package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +0 -1
  572. package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +0 -1
  573. package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +0 -1
  574. package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +0 -1
  575. package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +0 -1
  576. package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +0 -1
  577. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +0 -1
  578. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +0 -1
  579. package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +0 -1
  580. package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +0 -1
  581. package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +0 -1
  582. package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +0 -1
  583. package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +0 -1
  587. package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +0 -1
  588. package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +0 -1
  589. package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +0 -1
  590. package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +0 -1
  591. package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +0 -1
  592. package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +0 -1
  593. package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +0 -1
  594. package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +0 -1
  595. package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +0 -1
  596. package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +0 -1
  597. package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +0 -1
  598. package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +0 -1
  600. package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +0 -1
  601. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +0 -1
  602. package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +0 -1
  603. package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +0 -1
  604. package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +0 -1
  605. package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +0 -1
  606. package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +0 -1
  607. package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +0 -1
  608. package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +0 -1
  609. package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +0 -1
  610. package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +0 -1
  611. package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +0 -1
  612. package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +0 -1
  613. package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +0 -1
  614. package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +0 -1
  615. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +0 -1
  616. package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +0 -1
  617. package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +0 -1
  618. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +0 -1
  619. package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +0 -1
  620. package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +0 -1
  621. package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +0 -1
  622. package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +0 -1
  623. package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +0 -1
  624. package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +0 -1
  625. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +0 -1
  626. package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +0 -1
  627. package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +0 -1
  628. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +0 -1
  629. package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +0 -1
  630. package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +0 -1
  631. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +0 -1
  632. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +0 -1
  633. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +0 -1
  634. package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +0 -1
  635. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +0 -1
  636. package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +0 -1
  637. package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +0 -1
  638. package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +0 -1
  639. package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +0 -1
  640. package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +0 -1
  641. package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +0 -1
  642. package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +0 -1
  643. package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +0 -1
  644. package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +0 -1
  645. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +0 -1
  646. package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +0 -1
  647. package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +0 -1
  649. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +0 -1
  650. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +0 -1
  651. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +0 -1
  652. package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +0 -1
  653. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +0 -1
  654. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +0 -1
  655. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +0 -1
  656. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +0 -1
  657. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +0 -1
  658. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +0 -1
  659. package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +0 -1
  660. package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +0 -1
  661. package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +0 -1
  662. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +0 -1
  663. package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +0 -1
  664. package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +0 -1
  665. package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +0 -1
  666. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +0 -1
  667. package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +0 -1
  668. package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +0 -1
  669. package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +0 -1
  670. package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +0 -1
  671. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +0 -1
  672. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +0 -1
  673. package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +0 -1
  674. package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +0 -1
  675. package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +0 -1
  676. package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +0 -1
  677. package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +0 -1
  678. package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +0 -1
  679. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +0 -1
  680. package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +0 -1
  681. package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +0 -1
  682. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +0 -1
  683. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +0 -1
  684. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +0 -1
  685. package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +0 -1
  686. package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +0 -1
  687. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +0 -1
  688. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +0 -1
  689. package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +0 -1
  690. package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +0 -1
  691. package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +0 -1
  692. package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +0 -1
  693. package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +0 -1
  694. package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +0 -1
  695. package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +0 -1
  696. package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +0 -1
  697. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +0 -1
  698. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +0 -1
  699. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +0 -1
  700. package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +0 -1
  701. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +0 -1
  702. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +0 -1
  703. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +0 -1
  704. package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +0 -1
  705. package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +0 -1
  706. package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +0 -1
  707. package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +0 -1
  708. package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +0 -1
  709. package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +0 -1
  710. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +0 -1
  711. package/.next-prod/static/chunks/app/page-a69072e6dbd4a059.js +0 -1
  712. package/.next-prod/static/chunks/app/project/page-a69072e6dbd4a059.js +0 -1
  713. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +0 -1
  714. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +0 -1
  715. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +0 -1
  716. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +0 -1
  717. package/.next-prod/static/css/2abfec9d3e93011f.css +0 -1
  718. package/skills/ap/SKILL.md +0 -18
  719. /package/.next-prod/static/{I8gbcTQRiRdMF09goE7WI → _195_hPNVuma2vZS7bpTW}/_ssgManifest.js +0 -0
@@ -1,167 +1,347 @@
1
1
  ---
2
2
  name: cr
3
- description: "Full code review: triangulate every change statically, model state/timing slices dynamically."
3
+ description: "Full code review: triangulate every change statically, model state/timing slices dynamically. Use when reviewing a PR / branch / commit / working-tree diff; pass `hard` for per-slice subagent fan-out."
4
4
  ---
5
5
 
6
6
  # cr — Full Code Review
7
7
 
8
- Do a PR's complete review in one pass: **broad static sweep + deep dynamic dig**. This skill is **self-contained** in both methods.
8
+ > Form: **text diagrams for the skeleton, pseudocode for the deterministic logic
9
+ > (orchestration, gating, report format), short prose checklists for judgement.**
9
10
 
10
- Most PR review is static — read the snapshot and you can judge right/wrong, **easy but must not be skipped**. The hard part, the part you can't catch line-by-line, is **deriving dynamic behaviour from static code**: timing / state evolution / concurrency. cr does both tracks.
11
+ Most review is static — read the snapshot, judge right/wrong; easy, never skip it. The hard
12
+ part is **deriving dynamic behaviour from static code** (timing / state / concurrency). cr
13
+ does both tracks.
11
14
 
12
- ## Execution mode (choose before you start)
15
+ ## Principles (reason from these when no rule fits)
13
16
 
14
- **Iron rule: the actual review always runs in a 【clean subagent】; the main session only dispatches + mechanically merges, NEVER reviews in person.** Having just written the code in the main session, carrying the defensive "I know why I did it this way" context, is the worst possible reviewer. When a subagent is spawned via the Agent tool it **does not inherit the main session's history** — it sees only the diff + this skill → that is exactly the source of fresh eyes. The dev session's residual history **must not pollute** triage / modelling / downgrade judgements.
15
-
16
- Two side-effect red lines: ① the main session **does not make substantive judgements on the subagent's behalf**; ② splitting static out also removes the "static breadth dilutes dynamic modelling" dilution of the main thread.
17
-
18
- Three tiers by scale (**all enter at least one clean subagent**). **You pick between the first two by scale yourself; hard is enabled ONLY when the user explicitly asks for it — never escalate to it on your own** — however large the diff or however high the risk, without the user saying hard you cap at the default tier, and don't suggest switching to hard in the report either:
19
- - **Single subagent**: no dynamic surface / tiny → 1 clean subagent runs Part A. Main session just relays the diff + collects the report.
20
- - **Default (2 subagents)**: has a dynamic surface → 1 static + 1 dynamic, **both clean, in parallel**, each triaging on the clean diff itself (static scans all changes / dynamic lists every slice via the slice-archetype checklist).
21
- - **hard (1 + N subagents)**: **only when the user explicitly asks for hard (e.g. `/cr hard`)** → first 1 clean triage subagent produces the slice list, then fan out 1 static + 1 subagent per slice. Deepest, slowest. Once the user asks for it, run it as asked — don't downgrade on your own because "this change is small"; if no dynamic slice can be carved out, just note "no dynamic slice, per-slice fan-out degenerates to 1 static".
22
-
23
- Subagent prompt template: `Read this skill (cr/SKILL.md); apply only the matching Part to <your chunk (all of Part A / one dynamic slice)>, triage it yourself, and output findings in the unified format (including the origin tag)`.
24
-
25
- **Synthesis (main session, organize only — never re-judge)**: gather each subagent's findings → dedup (mark same-root-cause as "accomplices") → sort by impact × probability → one report + gradient chart. **It is forbidden to use the main session's dev context to whitewash / downgrade any finding** — take what the subagent judged as-is. To dispute one, **spawn a fresh clean subagent to re-check**, not the main session deciding on its own. The main session may organize the result into a short summary table, but the **expanded details must preserve the subagent's key evidence density**: for dynamic findings, carry over the state diagram / timeline / change trajectory / counterexample path; for static findings, carry over the triangulation evidence. Deduplication and wording cleanup are allowed; compressing a detailed subagent model into a one-line summary is not. Origin tags are taken as-is too — reclassifying an `introduced` finding as `pre-existing` is a form of whitewashing, and the main session is the most likely to do it (it knows "I didn't touch that part").
26
-
27
- > Trade-off: the default 2-subagent both isolates dev pollution and removes static-dilutes-dynamic; hard's per-slice fan-out is extra depth (in practice it dug image/video up to 🔴, and multiple independently-converging subagents raised confidence), expensive and slow, selected explicitly by the user (never auto-escalated).
28
-
29
- ## Step 1 — Triage (do this first in both modes)
30
- Read the diff, cut two surfaces (may overlap):
31
- - **Static surface** = all changes → go to **Part A**.
32
- - **Dynamic surface** = slices touching **state / timing / concurrency / cross-process timing** → additionally go to **Part B**.
33
-
34
- Splitting principle: **A judges as-written** (is it written correctly), **B judges over-time** (can timing break it through); check both surfaces on the same spot. No dynamic surface → skip Part B.
17
+ - **P1 Independent judgement** — reviewers are clean subagents; they never see each other's
18
+ work; the main session never judges, filters, or steers between them.
19
+ - **P2 Lossless relay** — the main session owns only the frame; everything inside a finding
20
+ is the reviewer's own words.
21
+ - **P3 Real behaviour over proxies** — judge what code and dependencies actually do (source,
22
+ comparison, caller), not what a name, comment, mock, green test or intuition suggests.
23
+ - **P4 Solution diagram first, then the breaks** — the reader understands a problem only
24
+ against the whole solution; draw once, say only what the drawing can't; rate by the harm
25
+ the broken promise existed to prevent.
35
26
 
36
27
  ---
37
28
 
38
- ## Part A — Static triangulation: cross-locate the change against three references
29
+ ## 0. Skeleton
30
+
31
+ ```text
32
+ ┌──────────────────────────────┐
33
+ │ main session │
34
+ │ run_cr(target, user_args) │ dispatches + assembles,
35
+ └──────────────┬───────────────┘ never reviews (P1)
36
+ ▼
37
+ ┌──────────────────────────────┐
38
+ │ choose_tier (by size only) │
39
+ └───┬──────────┬───────────┬───┘
40
+ tiny │ default │ │ user said "hard"
41
+ ▼ ▼ ▼
42
+ ┌─────────┐ ┌─────────┐ ┌───────────────────┐
43
+ │ 1 × all │ │ static │ │ triage → static + │
44
+ │ │ │ dynamic │ │ 1 per slice │
45
+ └────┬────┘ └────┬────┘ └─────────┬─────────┘
46
+ └───────────┼────────────────┘
47
+ ▼ each reviewer, in parallel, isolated
48
+ ┌──────────────────────────────┐
49
+ │ review(scope) §2 │
50
+ │ triage → Part A → Part B │
51
+ │ → emit ReviewerReport │
52
+ └──────────────┬───────────────┘
53
+ ▼
54
+ ┌──────────────────────────────┐
55
+ │ format_gate §4 │── fail ──► back to the SAME
56
+ └──────────────┬───────────────┘ reviewer, re-emit
57
+ pass ▼
58
+ ┌──────────────────────────────┐
59
+ │ assemble §1 │
60
+ │ merge accomplices, place ✗#n │
61
+ └──────────────┬───────────────┘
62
+ ▼
63
+ heading+verdict → diagram → findings → coverage
64
+ ```
39
65
 
40
- correctness, that "unknown", is triangulated against three independent references — **intent / input domain / surroundings**. Any one alone misses something (intent-only misses boundaries, input-only misses intent, surroundings-only misses both); only the three together nail it down.
66
+ ---
41
67
 
42
- Pick only the **semantic-layer problems tools can't judge** (style / format / unused vars / type mismatch go to linter & type-checker). Static bugs are almost always **the snapshot failing to match some reference**:
68
+ ## 1. Main session
43
69
 
44
- ### A1. vs intent (did it do what it claims)
45
- - Do the name / signature / type / PR description / comment **promises** match what the code **actually does**? (`isValid` returns true on error; PR says it changes X but actually touched Y)
46
- - Do error / boundary branches return the **right** thing, or did they carelessly return the happy-path value?
47
- - Are comments / docs in sync with the new code, or still describing the old behaviour?
70
+ > Dispatched as a review subagent? You are the clean reviewer — skip to §2. Don't spawn
71
+ > further subagents or disclaim their absence.
48
72
 
49
- ### A2. vs input domain (did it cover the full input set) — the #1 bug source
50
- - Is the whole set handled: null / undefined / empty / single element / duplicate / boundary value / overflow / negative / unicode / over-length?
51
- - Is the **error path** as correct as the happy path? On early returns / exception paths, are resources closed and state consistent?
52
- - Is external input (user text, params, deserialization, webhook) treated as **untrusted**? (injection, privilege escalation, unvalidated, secrets into logs)
53
- - Classic disease: happy path correct, input domain not fully covered.
73
+ ```python
74
+ def run_cr(target, user_args):
75
+ intent = requirements_only(target) # PR text / requirement / commit message;
76
+ # never the dev session's rationale
77
+ tier = choose_tier(target, user_args)
78
+ scopes = {
79
+ "single": [Scope("all")],
80
+ "default": [Scope("static"), Scope("dynamic")],
81
+ "hard": [Scope("static")] + [Scope("slice", s) for s in spawn_triage(target)],
82
+ }[tier]
83
+ # tier == "hard" and no slices → note "no dynamic slice, fan-out degenerates to 1 static"
54
84
 
55
- ### A3. vs surroundings (consistent with existing contracts / conventions)
56
- - **Contract drift**: changed a signature / type / enum / return shape — did **all consumers** change with it? (grep-visible, lint won't flag)
57
- - **Convention deviation**: should have used the project's established pattern / helper but used a raw primitive / reinvented it?
58
- - **Layering / boundary**: bypassed a layer it should go through, introduced a forbidden dependency direction?
59
- - **Type as source of truth**: or bypassed by `any` / assertions / casts?
60
- - **Security alignment**: a check the siblings all have (authn, tenant isolation) — missing here?
85
+ reports = parallel(spawn_clean(PROMPT.format(target, intent, s)) for s in scopes)
61
86
 
62
- ### Wrap-up (light; don't redo what tools cover)
63
- - Duplicated logic — especially duplicated **decisions / policies** — should converge to a single source? Dead code, over-complexity?
64
- - **Local** performance: N+1, IO in a loop, an obviously degraded algorithm, unbounded growth? (state-evolving cases go to Part B)
65
- - Tests: do the new logic's **boundary / error paths** have assertions? Does the red test fail before the fix and pass after?
87
+ for r in reports:
88
+ while (errors := format_gate(r)): # §4 — countable checks only
89
+ r = ask_same_reviewer(r, "fit your own findings to the format", errors)
66
90
 
67
- ---
91
+ return assemble(reports)
68
92
 
69
- ## Part B — Dynamic: derive the static code into a model, then review (dynamic-surface slices only)
93
+ def choose_tier(target, user_args):
94
+ if "hard" in user_args: return "hard" # only when the user asks; never escalate,
95
+ # never suggest it
96
+ if clearly_tiny(target): return "single" # size only — dynamic-surface is the
97
+ return "default" # reviewer's call; unsure → default
70
98
 
71
- You can't see timing bugs in a snapshot — they live in "how things change over time once running". Derive it into a dynamic model and review that, instead of scanning line-by-line.
99
+ PROMPT = """Read this skill (<absolute path to this file>); review {diff range};
100
+ the change intends: {intent}; running tests is <allowed / not allowed>.
101
+ Apply §2 to {scope}, triage it yourself, emit a ReviewerReport (§3)."""
102
+ ```
72
103
 
73
- **Model per slice (hard rule)**: before modelling, list **all** independent dynamic slices and tick each through B1–B3 — **don't model just the most obvious one and call it done; missing one slice = all of that slice's dynamic risks are missed**. To avoid omissions, sweep these **slice archetypes**:
74
- - **Shared-state init + multi-write** (accumulator / key / cache: who creates first, who writes many)
75
- - **State reused across processes / re-entry** (retry / recovery / multi-worker / queue)
76
- - **check-then-act across an async gap** (precheck → slow operation → side-effect lands late; concurrent starts collectively cross the precheck — TOCTOU)
77
- - **fire-and-forget write + later read** (read overwrites before the write lands)
78
- - **Implicit context across a hop** (ALS / log context: still there after crossing process / queue?)
104
+ ```python
105
+ def assemble(reports):
106
+ # MAY: ask a reviewer for ITS OWN missing detail; format-gate bounce
107
+ # MUST NOT: relay one reviewer's findings / hints to another; point a reviewer at a path;
108
+ # downgrade, drop, re-title, rewrite, summarise, reclassify Origin
109
+ # dispute a finding → spawn a FRESH clean subagent to re-check
110
+
111
+ findings = merge_accomplices(f for r in reports for f in r.findings)
112
+ # same root cause → one finding:
113
+ # severity = max(ratings) origin = earliest(introduced > activated > pre-existing)
114
+ # body = the block tracing more of the effect, verbatim
115
+ # + one line: "Independently confirmed by the <other> reviewer (<file:line>, rated <sev>)"
116
+ findings.sort(key=(severity desc, origin order))
117
+
118
+ diagram = static_report(reports).diagram # static reviewer covers the whole diff
119
+ for f in findings:
120
+ diagram.mark_once(f.break_location, f"✗#{f.n} {f.severity} {f.break_note}")
121
+ # mechanical placement only — no other edit to the diagram
122
+
123
+ return render(heading_and_verdict(findings), # the ONLY text the main session writes
124
+ # (incl. the > 5 findings index, §4),
125
+ diagram, # together with the coverage block
126
+ [f.block for f in findings],
127
+ coverage(reports))
128
+ ```
79
129
 
80
- ⚠ **One piece of code can be both a static finding point and a dynamic slice** — don't stop modelling it as a dynamic slice just because Part A already scanned it statically (wording, duplication, optional params). Static "claiming" ≠ dynamic coverage.
130
+ ---
81
131
 
82
- ### B1. Static read-in (input)
83
- Read out: **what states exist** · **who reads/who writes** (across features, across upstream callers — don't stop at this file) · **contract / type** · **control flow and entry points**.
132
+ ## 2. Reviewer
133
+
134
+ ```python
135
+ def review(scope):
136
+ static_surface = all_changes(diff)
137
+ dynamic_surface = slices_touching(diff, "state | timing | concurrency | retries | cross-process hop")
138
+ # A judges as-written; B judges over-time. Same spot can be in both.
139
+
140
+ findings = []
141
+ if scope in ("all", "static"):
142
+ findings += part_A(static_surface) # checklist §2.A
143
+ diagram = draw_solution_diagram(diff) # §3 rules; working copy for the report
144
+ if scope in ("all", "dynamic", "slice") and dynamic_surface:
145
+ slices = enumerate_all_slices(dynamic_surface, ARCHETYPES) # list ALL first
146
+ for s in slices: # a missed slice = all its risks missed
147
+ model = build_model(s) # state diagram · timeline · trajectory
148
+ for risk in RISKS: # §2.B, all six, every slice
149
+ findings += evaluate(risk, model)
150
+ coverage.add(s, "✗#n" if s has finding else "✓")
151
+ # slice not modelled → coverage.add(s, "— not modelled: <reason>")
152
+
153
+ for f in findings:
154
+ f.consequence = "When <trigger>, <the promised behaviour> does not happen."
155
+ f.origin = revert_counterfactual(f) # §3
156
+ f.severity = rate(f) # §3
157
+ if not traced_to_birth(f) and f.kind == "race":
158
+ f.probability += " needs dynamic verification: <what's missing>" # keep the tier
159
+
160
+ return ReviewerReport(findings, diagram, coverage) # working notes stay with you
161
+ ```
84
162
 
85
- ### B2. Build the dynamic model (the main artifact, written into the report as evidence)
86
- - **State diagram** — what states + transitions exist; annotate each transition with **who changes it under what condition**.
87
- - **Timeline** — all writers/readers on a time axis, marking who's first; **pull it through across components, across processes**, tracing back to the moment the state is **truly born** (not where it's re-referenced locally).
88
- - **Change trajectory** — how the key state value flows along the timeline: created / changed / read by whom, ever overwritten / no-op'd / lost midway.
163
+ ### 2.A Static checklist — triangulate against intent / input domain / surroundings
164
+
165
+ Only semantic problems tools can't judge (style / format / unused / type errors → linter).
166
+
167
+ - **A1 vs intent** — do name / signature / PR text / comments **promise** what the code
168
+ does? Do error / boundary branches return the right thing, not the happy-path value?
169
+ Comments and docs in sync?
170
+ - **A2 vs input domain** (#1 bug source) — null / empty / single / duplicate / boundary /
171
+ overflow / negative / unicode / over-length? Error path as correct as happy path,
172
+ including the error **shapes** that actually arrive (P3)? Resources closed, state
173
+ consistent on early return? External input treated as untrusted?
174
+ - **A3 vs surroundings** — contract drift (all consumers updated?); **dependency
175
+ contracts** checked in the dependency's source or docs (returns / throws / internal
176
+ behaviour / defaults / units, P3); convention / layering; types bypassed by `any` / casts;
177
+ security checks the siblings all have.
178
+ - **Wrap-up** — duplicated decisions; dead code; local perf (N+1, IO in loop, unbounded);
179
+ tests: boundary / error assertions, red-before-fix, **test doubles behave like the real
180
+ boundary** (P3).
181
+
182
+ ### 2.B Dynamic checklist
183
+
184
+ `ARCHETYPES` — sweep all when enumerating slices:
185
+ - shared-state init + multi-write · state reused across processes / re-entry ·
186
+ check-then-act across an async gap (TOCTOU) · fire-and-forget write + later read ·
187
+ implicit context across a hop · **state machines inside a dependency** (auto-retry,
188
+ backoff, cache, pool, buffer — what does the caller observe while it runs and once it ends?)
189
+
190
+ `build_model` — read who reads / writes (across features, callers, into dependencies), then
191
+ draw for yourself: **state diagram** (who changes it under what condition), **timeline**
192
+ (all actors on one axis, traced to where the state is truly born), **change trajectory**
193
+ (created / changed / read / overwritten / lost).
194
+
195
+ `RISKS` — evaluate every one on every slice:
196
+
197
+ | Risk | Look for |
198
+ |---|---|
199
+ | Order race | a writer before the initializer; "awaited here" ≠ first touch |
200
+ | Overlap / undercount | same event recorded twice, or by nobody |
201
+ | Lost update | stale read overwrites the correct value |
202
+ | Fail-open wrong value | degradation lets a wrong / missing value through; read the guard's actual comparison (`NaN` is false both ways) |
203
+ | Cross-process / re-entry | reused state cross-talks; implicit context lost over the hop |
204
+ | Provenance break | key value no-op'd / overwritten / wrapped / type-erased between source and use |
205
+
206
+ Uncertain about ordering or arithmetic → frame as satisfiability: free variables, only real
207
+ happens-before constraints, invariant; SAT = bug with its trigger, UNSAT = safe.
208
+ Disciplines: a census isn't done until order + overlap are verified · no downgrading on local
209
+ observation · green tests ≠ verification (was the bug's layer mocked away?).
89
210
 
90
- These two diagrams are the evidence — many bugs (a 6-second gap, a key created too early) only reveal themselves once drawn.
211
+ ---
91
212
 
92
- ### B3. Evaluate 6 classes of dynamic risk on the model
213
+ ## 3. Finding semantics
214
+
215
+ ```python
216
+ def revert_counterfactual(f):
217
+ if gone_if_reverted(f): return "introduced" # incl. half-landed changes: one side
218
+ # of a contract/enum/mirror updated,
219
+ # even if the line is outside the diff
220
+ if harmless_if_reverted(f): return "activated" # this change made it reachable
221
+ return "pre-existing"
222
+ # never blank; unsure → likeliest + what would settle it. Orthogonal to severity.
223
+
224
+ def rate(f):
225
+ if f.impact == "big" and (f.probability != "negligible" or f.irreversible):
226
+ return "🔴" # irreversible = data loss / wrong money / security
227
+ if f.should_fix: return "🟡"
228
+ return "⚪"
229
+ # a safeguard failing in the very scenario it exists for is rated by the harm it was
230
+ # meant to prevent — "no worse than before the change" is not a downgrade
231
+ ```
93
232
 
94
- | Risk | What to look for on the model |
95
- |---|---|
96
- | **Order race** | Is there a writer running before the initializer? "init is awaited in this function" ≠ it's the first touch of that state. Trace to the earliest cross-feature writer. |
97
- | **Overlap / undercount** | Multiple writers to one accumulator: is the same event recorded by >1 path (double count)? Is some event class recorded by no one (undercount)? Don't trust the comment's "this only records X" division. |
98
- | **Lost update** | fire-and-forget write + a following read: does it read a stale value and **overwrite** the locally-correct value? |
99
- | **fail-open wrong value** | Does the degradation path let through a *wrong value* or a *missing value*? Returning a confident wrong value for poisoned input = only half safe. **To judge fail-open/fail-closed, read the guard's actual comparison (`x < threshold` vs `x >= threshold`); don't go by comment or intuition — `NaN`/`Infinity` sentinels make every `x < threshold → safe return` guard evaluate false, so both let-through and block paths break at once.** |
100
- | **Cross-process / re-entry** | Does retry / recovery / multi-worker reusing the same state cross-talk? Does implicit context (ALS / log context) survive a cross-process hop? |
101
- | **Provenance break** | From source to landing point, is the key value no-op'd / overwritten / type-erased midway? (Seeing dedup / skip / idempotency guards → ask what failure they prevent → go to the path **without** them, or an older version, to find that failure.) |
102
-
103
- **Escalation: frame hard ordering / arithmetic as satisfiability** (optional — only for **order race** and **extreme value / cancellation**, and only when informal reasoning is uncertain):
104
- 1. **Free variables** — what can vary? Order (writer interleaving), values (key numeric variables / inputs / counts).
105
- 2. **Write only real constraints** — which happens-before relations truly hold (await / lock / queue order)? Which are just your **assumption**? + the invariant to hold.
106
- 3. **∃ counterexample?** — **SAT** (found an order/value that breaks the invariant) = bug, the counterexample is the trigger scenario; **UNSAT** = proven safe under this model (only if the model is faithful to the code).
107
-
108
- **Three disciplines (they decide findings quality)**
109
- 1. **A census isn't done until both order + overlap relations are verified.** Listing writers ≠ census complete.
110
- 2. **No downgrading on local observation.** For ordering / race findings, before downgrading you must trace the timeline to the state's birth. SMT phrasing: did you treat a non-existent happens-before as a constraint? ("some step is awaited in this function" ≠ it globally precedes other components' writes to the same state.) Not traced → mark `needs dynamic verification`, keep the tier, don't drop to ⚪.
111
- 3. **Green tests ≠ verification.** Ask: is there an **adversarial-order** test (shuffled / retry / write-before-init)? Was the layer the bug lives in mocked away? With a real trace, reconcile against the timeline.
233
+ `Consequence` — the first promised behaviour that fails, under its trigger, one clause:
234
+ **"When <trigger>, <the promised behaviour> does not happen."** Mechanism → `Break`;
235
+ downstream → `Effect`. ("X instead of Y" smuggles in a downstream effect — state Y's failure.)
236
+
237
+ **Solution diagram rules** — one ` ```text ` block, top to bottom, ≤ ~80 columns: one box per
238
+ component (name + `file:line`), decisions as branches labelled with their condition, happy
239
+ path straight down, dependencies collapsed to one box unless a break lives inside. It is a
240
+ claim about behaviour (P3): every arrow is real control flow, arms that don't join in code
241
+ don't join here, every path drawn to where it ends. Lines never cross a box or each other — repeat a terminal box (e.g. the same fail-closed exit) at the end of each path rather than route a long line across the diagram.
242
+ Annotations in a right-hand column. Each finding marked **once**: `✗#n 🔴 <what>`.
243
+
244
+ ```text
245
+ Webhook dedup (this change)
246
+
247
+ ┌───────────────────────────┐
248
+ │ provider webhook delivery │
249
+ └─────────────┬─────────────┘
250
+ ▼
251
+ ┌───────────────────────────┐
252
+ │ receive handler.ts:40 │
253
+ └─────────────┬─────────────┘
254
+ ▼
255
+ ┌───────────────────────────┐
256
+ │ dedup lookup dedup.ts:12 │ ✗#1 🔴 key = id + timestamp:
257
+ │ key = id + timestamp │ a redelivery never matches
258
+ └──────┬─────────────┬──────┘
259
+ hit │ │ miss
260
+ ▼ ▼
261
+ ┌──────────────┐ ┌──────────────────────┐
262
+ │ ignore │ │ process handler.ts:58│
263
+ │ (promised │ └──────────┬───────────┘
264
+ │ for repeats) │ ▼
265
+ └──────────────┘ ┌──────────────────────┐
266
+ │ charge billing.ts:90 │
267
+ └──────────────────────┘
268
+ ```
112
269
 
113
270
  ---
114
271
 
115
- ## Produce findings (summary table + details)
116
-
117
- Severity = **impact × probability**; give the product conclusion directly, don't make the reader do the math. Merge and dedup findings from both tracks. First output a **short summary table** for scanning, then expand each finding by number. Do not put long evidence into table cells; chat windows squeeze wide Markdown tables into unreadable narrow columns.
272
+ ## 4. Report format and gate
273
+
274
+ ```python
275
+ REPORT = [ # exactly these four parts, nothing else
276
+ "heading+verdict", # "## Review: <target>" + "<N> findings (🔴a 🟡b ⚪c). Worst: <Consequence verbatim>"
277
+ "diagram", # §3; unmarked if no findings
278
+ "findings", # one block each, sorted
279
+ "coverage", # ```text block
280
+ ]
281
+ # > 5 findings → index before the diagram, a Markdown list, one item per finding:
282
+ # "- #1 🔴 introduced — <Consequence>" (bare lines collapse into one paragraph)
283
+ # language = the user's; identifiers and file:line unchanged
284
+ # blank line before the "## Review" heading and before and after every code block
285
+ # test runs / scratch scripts / side notes → a finding's Why, or the last coverage line
286
+
287
+ def format_gate(report) -> list[str]: # countable checks only; never judges content
288
+ errors = []
289
+ for f in report.findings:
290
+ body = f.block.body
291
+ if not body.is_fenced("text"): errors.append(f"#{f.n}: body not in ```text")
292
+ if body.line_count() > 8: errors.append(f"#{f.n}: {body.line_count()} lines > 8")
293
+ if body.max_line_width() > 100: errors.append(f"#{f.n}: line > 100 chars")
294
+ if body.has_sub_bullets(): errors.append(f"#{f.n}: sub-bullets")
295
+ if f.block.heading != f"### #{f.n} {f.severity} {f.consequence}":
296
+ errors.append(f"#{f.n}: heading ≠ Consequence")
297
+ for line in report.coverage.slice_lines():
298
+ if words(line.name) > 6: errors.append(f"coverage: '{line.name}' > 6 words")
299
+ if report.diagram.marks_per_finding() > 1: errors.append("a ✗#n marked more than once")
300
+ if report.has_parts_outside(REPORT): errors.append("content outside the four parts")
301
+ return errors
302
+ ```
118
303
 
119
- **Every finding carries an `Origin` tag.** The first question a reader has is "which of these did this change cause, and which were already there" — the report answers that itself instead of waiting to be asked. The test is a **revert counterfactual** (revert this change: is the problem still there?), NOT "is the offending code inside the diff":
304
+ Finding block — Markdown heading, body in a ` ```text ` block (plain text, no backticks,
305
+ continuation lines indented under the field):
120
306
 
121
- - **Introduced** — reverting makes it disappear. **This includes half-landed changes**: a contract / enum / mirror table / bilingual copy / generated artifact updated on one side but not the other — the offending line **counts as introduced even when it is not in the diff**, because this change is what put the two sides out of sync. This is the class most often misjudged as pre-existing.
122
- - **Activated** — reverting leaves it there, but unreachable / inconsequential. This change is what made it reachable or costly for the first time (a new entry point, caller, provider, config shape).
123
- - **Pre-existing** — it happens either way; no causal link to this change, just spotted in passing.
307
+ ````
308
+ ### #1 🔴 When the provider redelivers the same webhook, the duplicate is not ignored
124
309
 
125
- `Origin` is **orthogonal** to severity: severity is decided by impact × probability alone. `Pre-existing` is not downgraded for "not being from this change", and `introduced` is not upgraded for "being freshly written" — the two answer different questions: whether to fix, versus who fixes it and when.
310
+ ```text
311
+ introduced · every redelivery; depends on provider retry policy
312
+ Break: ✗#1 dedup.ts:12 — the key includes the delivery timestamp,
313
+ so a redelivery never matches
314
+ Effect: redelivery → processed again (handler.ts:58) → charged twice (billing.ts:90)
315
+ Why: dedup must key on what stays stable across redeliveries;
316
+ verified against the provider's retry docs
317
+ Fix: key on the delivery id alone; add a test that redelivers the same payload
318
+ ```
319
+ ````
126
320
 
127
- | # | Severity | Origin | Location | Consequence | Direction |
128
- |---|---|---|---|---|---|
129
- | 1 | 🔴/🟡/⚪ | introduced/activated/pre-existing | `file:line` | What happens if unfixed (one plain-language consequence, no jargon) | One-sentence repair direction |
321
+ `Break` may carry a flat zoom-in of at most 3 lines when the mechanism needs it.
130
322
 
131
- Then expand by table number:
323
+ Coverage block — always present, one slice per line, marks `✗#n` / `✓` / `— not modelled:`:
132
324
 
133
- ```
134
- ### #1 <one-line consequence>
135
- Impact: how bad + to whom (specific: which users / tenants / callers, not a vague "users")
136
- Probability: how likely + what it depends on; if uncertain, say how to raise/lower the tier
137
- Origin: introduced / activated / pre-existing + a one-line counterfactual reason (what a revert would do); for "one side updated, the other not", name both sides
138
- Evidence: static → which triangulation reference fails (intent / input domain / surroundings); dynamic → preserve the subagent's state diagram / timeline / change trajectory / counterexample path, not a one-line summary
139
- Fix: what it should be / the broken invariant (jargon goes here)
325
+ ```text
326
+ introduced 1 (🔴1) / activated 0 / pre-existing 0
327
+ S1 dedup lookup on redelivery ✗#1
328
+ S2 concurrent first deliveries ✓
329
+ S3 retry after handler crash — not modelled: no retry path in diff
140
330
  ```
141
331
 
142
- - 🔴 high probability × big impact (blocks release) | 🟡 should fix but not bleeding | ⚪ nice-to-have. Sort summary table rows in descending severity, and **within the same severity order introduced → activated → pre-existing**, so "this change's bill" stays together.
143
- - `Consequence` states the **outcome**, not the technical cause (cause goes in the expanded `Evidence` / `Fix`).
144
- - `Location` must be a precise `file:line`; for a merged accomplice finding, use the core location in the table and mention other locations in the expanded `Evidence`.
145
- - Keep `Direction` in the summary table to one sentence; put the complete `Fix` in the expanded detail.
146
- - Expanded details are the complete information surface: if a subagent provided a dynamic model, timeline, path labels, or key code locations, the final report must carry those details forward; the summary table may be short, the detail must not erase evidence.
147
- - `Origin` is one of the three, never blank. If you can't tell, put the most likely one and say in the expanded `Origin` line what is missing to settle it (usually "haven't confirmed whether this code was touched by this change" — go check `git diff`, don't guess).
148
- - If a merged accomplice finding spans two origins (typically a newly introduced caller plus a pre-existing underlying defect), the table takes the **earlier** one (introduced > activated > pre-existing) and the detail explains both sides.
149
- - Multiple same-root-cause → mark as **"accomplices"** in `Consequence` or expanded `Evidence` and merge into one finding; don't report the same problem twice (especially when static/dynamic each see one side of the same line).
150
- - Expand each finding only once after the table; don't also emit a 7-column long table.
151
- - Close with a one-line origin tally first: `introduced N (🔴a 🟡b ⚪c) / activated M / pre-existing K`, so the reader doesn't have to count back.
152
- - Then the **impact × probability** gradient chart:
332
+ Static-only reviewer → `slices: none (static only)`.
153
333
 
154
- ```
155
- Impact ↑
156
- big │ 🔴 #1
157
- mid │ 🟡 #2
158
- small│ 🟡 #3 ⚪ #4
159
- └─────────────────────────────→ Probability
160
- low mid high
161
- ```
334
+ ---
162
335
 
163
- ## Don't go through the motions
164
- - **Don't skip escalation**: if Step 1 flagged a dynamic surface, you MUST actually run Part B on it (modelling + 6 risk classes); scanning statically once and stopping = a miss.
165
- - **Don't compete with tools** (static): style / format go to linter & type-checker, cr only picks the semantic layer.
166
- - **Don't hand-wave the dynamic**: seeing state / timing / concurrency, **build the model** (Part B), don't conclude from reading code.
167
- - **Trivial changes**: no dynamic surface → skip Part B, deliver only a static report.
336
+ ## Self-check
337
+
338
+ ```python
339
+ assert every reviewer triaged and judged alone; nothing relayed between tracks # P1
340
+ assert every report passed format_gate, or was bounced to its own author # P2
341
+ assert main session wrote only heading+verdict (+ index) and coverage; findings verbatim # P2
342
+ assert blank line before "## Review"; index (> 5 findings) is a "- " list, one per line # §4 —
343
+ # main-session text never passes format_gate
344
+ assert every behavioural claim rests on real code / source, not a proxy # P3
345
+ assert diagram arrows == real control flow; each ✗#n once, right-hand column # P4
346
+ assert every slice ✓ / ✗#n / not-modelled; every finding has an Origin # coverage
347
+ ```
@@ -1,73 +1,53 @@
1
1
  ---
2
2
  name: ex
3
- description: "Analyze a complex problem with a fixed thinking skeleton; analysis only, no code changes."
3
+ description: "Deep analysis of a complex question in one pass: answer first, then cited findings, options and open points; no code changes."
4
+ argument-hint: "[question]"
4
5
  ---
5
6
 
6
- # ex — structured discussion skill
7
-
8
- Analyze complex problems with a fixed thinking skeleton. **Output analysis only; do not modify code.**
9
-
10
- ## Entry: complexity check
11
-
12
- When the question arrives, **first judge complexity**:
13
-
14
- - **Simple problem** → answer directly, **do not apply the methodology** (KISS)
15
- - **Complex problem** → run the full 6-step skeleton below
16
-
17
- Treat as complex if any of these holds:
18
- - Multiple candidate solutions need trade-off
19
- - Multiple hypotheses need verification
20
- - Spans multiple modules / systems / layers
21
- - The user explicitly asks for deep discussion
22
-
23
- ## Methodology skeleton (complex problems only)
24
-
25
- Run in order, **in one pass, without stopping to ask the user**:
7
+ Deep analysis mode: take a complex question to a conclusion in one pass, backed by evidence. No code changes, and do not stop to ask the user — mark what is missing and keep going.
26
8
 
27
9
  ```
28
- 1. Problem study Clarify the problem itself through What / Why / How
29
- 2. Diverge Enumerate candidate hypotheses, solutions, perspectives
30
- 3. Converge Pick the top 1-3
31
- 4. Diverge again Deep-dive into the chosen ones (details, risks, edge cases)
32
- 5. Iterate-verify Verify key hypotheses via code search / web search / bash experiments
33
- 6. Summarize Conclude; use a comparison matrix when multiple options sit side by side
10
+ if simple(question): answer directly, skip everything below
11
+
12
+ think (not emitted): what / why / how → diverge on hypotheses and candidates
13
+ → converge on the top 1-3 → dig into them → verify the key claims
14
+ verify by: reading and searching code · official docs and web · small commands and experiments
15
+
16
+ emit, answer first, empty sections omitted:
17
+ ## Answer the bottom line, 1-3 sentences
18
+ <view> only if it helps: solution skeleton (how-to) · comparison matrix (A vs B)
19
+ · call chain / data flow (why it works this way)
20
+ ## Findings what supports the answer, one line each — <claim> — <file:line | link | output>
21
+ ## Options only when there is a choice to make: decision blocks (below)
22
+ ## Risks only when there are any
23
+ ## Pending what is missing — and which conclusion it would change
24
+
25
+ on follow-up: dig into what was asked, then emit only the delta, never the unchanged analysis:
26
+ ## Changed each edit as <section>: <old> → <new>; a changed Answer goes first
27
+ ## New findings, options or risks the follow-up added
28
+ ## Pending what is still missing
34
29
  ```
35
30
 
36
- ### What / Why / How facets (cross-cutting)
37
-
38
- - **What**: what is the problem / solution, what is the boundary
39
- - **Why**: why does this problem exist, why pick this solution
40
- - **How**: how to implement / land / verify it
31
+ `simple` = one clear answer, no trade-off, no hypothesis to test, one module. Anything spanning systems, needing a choice, or explicitly asked to go deep is complex.
41
32
 
42
- ## Execution rules
33
+ Findings you inferred but did not verify are marked `(hypothesis)` with the check that would confirm them. A solution skeleton shows the parts and how they connect at the level a decision is made on; drop every line whose removal would not change that decision.
43
34
 
44
- ### Run once, never interrupt the user
35
+ Written for skimming: every bullet one line, each fact stated once in the section it belongs to.
45
36
 
46
- - **Never call AskUserQuestion**
47
- - When information is missing → explicitly mark **"⚠️ Pending: xxx"** and let the user follow up later
48
- - Do not stop just because info is incomplete; push as far as the evidence allows
37
+ **Options** — a condensed MADR record: the question as a bold title, then a fenced text block with the decision drivers, the options, and the recommendation last:
49
38
 
50
- ### Verification means
39
+ **1. <question>**
51
40
 
52
- Allowed verification tools:
53
-
54
- | Means | Tools | Use case |
55
- |---|---|---|
56
- | Code search | Grep / Read / Glob | Find in-repo evidence for hypotheses |
57
- | Web search | WebSearch / WebFetch | Look up official docs and external material |
58
- | Bash experiments | Bash | Run small commands, test scripts, curl |
59
-
60
- **Forbidden**: verifying by asking the user via AskUserQuestion.
61
-
62
- ## Output rules
63
-
64
- - **No mandatory output template** — organize by what the problem needs
65
- - **Comparison matrix is optional** — use it only when multiple options / hypotheses must sit side by side
66
- - Simple questions get short answers; do not over-frame for the sake of framing
67
-
68
- ## What this skill does NOT do
41
+ ```
42
+ Drivers: <criterion> · <criterion>
43
+ A ★ <option>
44
+ + <gain>
45
+ - <cost>
46
+ B <option>
47
+ + <gain>
48
+ - <cost>
49
+
50
+ ★ A — <why, in terms of the drivers, one line>
51
+ ```
69
52
 
70
- - ❌ Do not modify code (this is a discussion skill, not an implementation skill)
71
- - ❌ Do not interrupt the user mid-flow (one-shot)
72
- - ❌ Do not force a comparison matrix on every question
73
- - ❌ Do not compete with `/qa` or `/fx` — the three are siblings, triggered explicitly by the user
53
+ Options mutually exclusive, at most 3. ★ is always given, never "up to you", and argued from the drivers.