@surething/cockpit 1.1.10 β†’ 1.1.11

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 (569) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +4 -2
  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 -0
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/.next-prod/server/app/_global-error.html +1 -1
  10. package/.next-prod/server/app/_global-error.rsc +1 -1
  11. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next-prod/server/app/_not-found/page.js +1 -1
  15. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  16. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  17. package/.next-prod/server/app/api/bash/route.js +1 -1
  18. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  19. package/.next-prod/server/app/api/bots/files/route.js +1 -1
  20. package/.next-prod/server/app/api/bots/route.js +1 -1
  21. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  22. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  23. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  24. package/.next-prod/server/app/api/chat/grok/route.js +1 -1
  25. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  26. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  27. package/.next-prod/server/app/api/chat/route.js +1 -1
  28. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  29. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  30. package/.next-prod/server/app/api/commands/route.js +1 -1
  31. package/.next-prod/server/app/api/comments/route.js +1 -1
  32. package/.next-prod/server/app/api/db/columns/route.js +1 -1
  33. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  34. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  35. package/.next-prod/server/app/api/db/export/route.js +1 -1
  36. package/.next-prod/server/app/api/db/query/route.js +1 -1
  37. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  38. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  39. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  40. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  41. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  42. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  43. package/.next-prod/server/app/api/file/route.js +1 -1
  44. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  45. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  46. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  47. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  48. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  49. package/.next-prod/server/app/api/files/index/route.js +1 -1
  50. package/.next-prod/server/app/api/files/init/route.js +1 -1
  51. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  52. package/.next-prod/server/app/api/files/read/route.js +1 -1
  53. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  54. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  55. package/.next-prod/server/app/api/files/save/route.js +1 -1
  56. package/.next-prod/server/app/api/files/search/route.js +1 -1
  57. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  58. package/.next-prod/server/app/api/files/text/route.js +1 -1
  59. package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
  60. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  61. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  62. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  63. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  64. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  65. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  66. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  67. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  68. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  69. package/.next-prod/server/app/api/git/status/route.js +1 -1
  70. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  71. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  72. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  73. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  74. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  75. package/.next-prod/server/app/api/global-state/route.js +2 -2
  76. package/.next-prod/server/app/api/grok/models/route.js +1 -1
  77. package/.next-prod/server/app/api/health/route.js +1 -1
  78. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  79. package/.next-prod/server/app/api/html-apps/files/route.js +1 -1
  80. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  81. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  82. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  83. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  84. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  85. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  86. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  87. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  88. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  89. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  90. package/.next-prod/server/app/api/mobile-link/route.js +1 -1
  91. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  92. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  93. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  94. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  95. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  96. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  97. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  98. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  99. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  100. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  101. package/.next-prod/server/app/api/note/list/route.js +1 -1
  102. package/.next-prod/server/app/api/note/route.js +1 -1
  103. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  104. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  105. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  106. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  107. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  108. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  109. package/.next-prod/server/app/api/pi/thinking/route.js +1 -1
  110. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  111. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  112. package/.next-prod/server/app/api/project-state/route.js +2 -2
  113. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  114. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  115. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  116. package/.next-prod/server/app/api/projectGraph/clones/route.js +1 -0
  117. package/.next-prod/server/app/api/projectGraph/clones/route.js.nft.json +1 -0
  118. package/.next-prod/server/app/api/projectGraph/clones/route_client-reference-manifest.js +1 -0
  119. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  120. package/.next-prod/server/app/api/projectGraph/crap/route.js +1 -0
  121. package/.next-prod/server/app/api/projectGraph/crap/route.js.nft.json +1 -0
  122. package/.next-prod/server/app/api/projectGraph/crap/route_client-reference-manifest.js +1 -0
  123. package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -1
  124. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  125. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  126. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  127. package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -1
  128. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  129. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  130. package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
  131. package/.next-prod/server/app/api/projects/route.js +1 -1
  132. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  133. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  134. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  135. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  136. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  137. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  138. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  139. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  140. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  141. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  142. package/.next-prod/server/app/api/restart/route.js +1 -1
  143. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  144. package/.next-prod/server/app/api/services/config/route.js +1 -1
  145. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  146. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  147. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  148. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  149. package/.next-prod/server/app/api/session/image/route.js +1 -1
  150. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  151. package/.next-prod/server/app/api/session-bots/route.js +1 -1
  152. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  153. package/.next-prod/server/app/api/session-context/route.js +2 -2
  154. package/.next-prod/server/app/api/session-title/route.js +1 -1
  155. package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
  156. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  157. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  158. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  159. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  160. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  161. package/.next-prod/server/app/api/settings/route.js +1 -1
  162. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  163. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  164. package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
  165. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  166. package/.next-prod/server/app/api/skills/files/route.js +1 -1
  167. package/.next-prod/server/app/api/skills/route.js +1 -1
  168. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  169. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  170. package/.next-prod/server/app/api/snapshots/mark/route.js +1 -1
  171. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  172. package/.next-prod/server/app/api/snapshots/restore/route.js +1 -1
  173. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  174. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  175. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  176. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  177. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  178. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  179. package/.next-prod/server/app/api/terminal/running/route.js +1 -1
  180. package/.next-prod/server/app/api/update/route.js +1 -1
  181. package/.next-prod/server/app/api/update-state/route.js +1 -1
  182. package/.next-prod/server/app/api/version/route.js +1 -1
  183. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  184. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  185. package/.next-prod/server/app/m/page.js +1 -1
  186. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  187. package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
  188. package/.next-prod/server/app/page.js +1 -1
  189. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  190. package/.next-prod/server/app/project/page.js +1 -1
  191. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  192. package/.next-prod/server/app-paths-manifest.json +4 -2
  193. package/.next-prod/server/chunks/4949.js +1 -1
  194. package/.next-prod/server/chunks/6610.js +11 -11
  195. package/.next-prod/server/middleware-build-manifest.js +1 -1
  196. package/.next-prod/server/pages/500.html +1 -1
  197. package/.next-prod/server/server-reference-manifest.json +1 -1
  198. package/.next-prod/static/Dj5ykXLzxdIQZcSyjppsm/_buildManifest.js +1 -0
  199. package/.next-prod/static/chunks/{92000-31efb4d63c10446f.js β†’ 60169-2e401ccea5e39a00.js} +21 -21
  200. package/.next-prod/static/chunks/{98596-ffbe0304646a9336.js β†’ 98596-43e9fe35436097c6.js} +6 -6
  201. package/.next-prod/static/chunks/app/_global-error/{page-6af5bc188af96106.js β†’ page-b40b02f6a2592427.js} +1 -1
  202. package/.next-prod/static/chunks/app/api/agent/test/{route-6af5bc188af96106.js β†’ route-b40b02f6a2592427.js} +1 -1
  203. package/.next-prod/static/chunks/app/api/bash/{route-6af5bc188af96106.js β†’ route-b40b02f6a2592427.js} +1 -1
  204. package/.next-prod/static/chunks/app/api/bots/[id]/{route-6af5bc188af96106.js β†’ route-b40b02f6a2592427.js} +1 -1
  205. package/.next-prod/static/chunks/app/api/bots/files/route-b40b02f6a2592427.js +1 -0
  206. package/.next-prod/static/chunks/app/api/bots/route-b40b02f6a2592427.js +1 -0
  207. package/.next-prod/static/chunks/app/api/chat/codex/route-b40b02f6a2592427.js +1 -0
  208. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b40b02f6a2592427.js +1 -0
  209. package/.next-prod/static/chunks/app/api/chat/glm/route-b40b02f6a2592427.js +1 -0
  210. package/.next-prod/static/chunks/app/api/chat/grok/route-b40b02f6a2592427.js +1 -0
  211. package/.next-prod/static/chunks/app/api/chat/kimi/route-b40b02f6a2592427.js +1 -0
  212. package/.next-prod/static/chunks/app/api/chat/ollama/route-b40b02f6a2592427.js +1 -0
  213. package/.next-prod/static/chunks/app/api/chat/route-b40b02f6a2592427.js +1 -0
  214. package/.next-prod/static/chunks/app/api/chat/stop/route-b40b02f6a2592427.js +1 -0
  215. package/.next-prod/static/chunks/app/api/claude-stats/route-b40b02f6a2592427.js +1 -0
  216. package/.next-prod/static/chunks/app/api/commands/route-b40b02f6a2592427.js +1 -0
  217. package/.next-prod/static/chunks/app/api/comments/route-b40b02f6a2592427.js +1 -0
  218. package/.next-prod/static/chunks/app/api/db/columns/route-b40b02f6a2592427.js +1 -0
  219. package/.next-prod/static/chunks/app/api/db/connect/route-b40b02f6a2592427.js +1 -0
  220. package/.next-prod/static/chunks/app/api/db/disconnect/route-b40b02f6a2592427.js +1 -0
  221. package/.next-prod/static/chunks/app/api/db/export/route-b40b02f6a2592427.js +1 -0
  222. package/.next-prod/static/chunks/app/api/db/query/route-b40b02f6a2592427.js +1 -0
  223. package/.next-prod/static/chunks/app/api/db/schemas/route-b40b02f6a2592427.js +1 -0
  224. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b40b02f6a2592427.js +1 -0
  225. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b40b02f6a2592427.js +1 -0
  226. package/.next-prod/static/chunks/app/api/deepseek/models/route-b40b02f6a2592427.js +1 -0
  227. package/.next-prod/static/chunks/app/api/dev/spans/route-b40b02f6a2592427.js +1 -0
  228. package/.next-prod/static/chunks/app/api/extension/version/route-b40b02f6a2592427.js +1 -0
  229. package/.next-prod/static/chunks/app/api/file/route-b40b02f6a2592427.js +1 -0
  230. package/.next-prod/static/chunks/app/api/files/blame/route-b40b02f6a2592427.js +1 -0
  231. package/.next-prod/static/chunks/app/api/files/clipboard/route-b40b02f6a2592427.js +1 -0
  232. package/.next-prod/static/chunks/app/api/files/copy/route-b40b02f6a2592427.js +1 -0
  233. package/.next-prod/static/chunks/app/api/files/delete/route-b40b02f6a2592427.js +1 -0
  234. package/.next-prod/static/chunks/app/api/files/expanded/route-b40b02f6a2592427.js +1 -0
  235. package/.next-prod/static/chunks/app/api/files/index/route-b40b02f6a2592427.js +1 -0
  236. package/.next-prod/static/chunks/app/api/files/init/route-b40b02f6a2592427.js +1 -0
  237. package/.next-prod/static/chunks/app/api/files/paste/route-b40b02f6a2592427.js +1 -0
  238. package/.next-prod/static/chunks/app/api/files/read/route-b40b02f6a2592427.js +1 -0
  239. package/.next-prod/static/chunks/app/api/files/readdir/route-b40b02f6a2592427.js +1 -0
  240. package/.next-prod/static/chunks/app/api/files/recent/route-b40b02f6a2592427.js +1 -0
  241. package/.next-prod/static/chunks/app/api/files/save/route-b40b02f6a2592427.js +1 -0
  242. package/.next-prod/static/chunks/app/api/files/search/route-b40b02f6a2592427.js +1 -0
  243. package/.next-prod/static/chunks/app/api/files/stat/route-b40b02f6a2592427.js +1 -0
  244. package/.next-prod/static/chunks/app/api/files/text/route-b40b02f6a2592427.js +1 -0
  245. package/.next-prod/static/chunks/app/api/fs/dirs/route-b40b02f6a2592427.js +1 -0
  246. package/.next-prod/static/chunks/app/api/git/blob/route-b40b02f6a2592427.js +1 -0
  247. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b40b02f6a2592427.js +1 -0
  248. package/.next-prod/static/chunks/app/api/git/branches/route-b40b02f6a2592427.js +1 -0
  249. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b40b02f6a2592427.js +1 -0
  250. package/.next-prod/static/chunks/app/api/git/commits/route-b40b02f6a2592427.js +1 -0
  251. package/.next-prod/static/chunks/app/api/git/current-branch/route-b40b02f6a2592427.js +1 -0
  252. package/.next-prod/static/chunks/app/api/git/diff/route-b40b02f6a2592427.js +1 -0
  253. package/.next-prod/static/chunks/app/api/git/discard/route-b40b02f6a2592427.js +1 -0
  254. package/.next-prod/static/chunks/app/api/git/stage/route-b40b02f6a2592427.js +1 -0
  255. package/.next-prod/static/chunks/app/api/git/status/route-b40b02f6a2592427.js +1 -0
  256. package/.next-prod/static/chunks/app/api/git/unstage/route-b40b02f6a2592427.js +1 -0
  257. package/.next-prod/static/chunks/app/api/git/worktree/route-b40b02f6a2592427.js +1 -0
  258. package/.next-prod/static/chunks/app/api/glm/credentials/route-b40b02f6a2592427.js +1 -0
  259. package/.next-prod/static/chunks/app/api/glm/models/route-b40b02f6a2592427.js +1 -0
  260. package/.next-prod/static/chunks/app/api/glm/usage/route-b40b02f6a2592427.js +1 -0
  261. package/.next-prod/static/chunks/app/api/global-state/route-b40b02f6a2592427.js +1 -0
  262. package/.next-prod/static/chunks/app/api/grok/models/route-b40b02f6a2592427.js +1 -0
  263. package/.next-prod/static/chunks/app/api/health/route-b40b02f6a2592427.js +1 -0
  264. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b40b02f6a2592427.js +1 -0
  265. package/.next-prod/static/chunks/app/api/html-apps/files/route-b40b02f6a2592427.js +1 -0
  266. package/.next-prod/static/chunks/app/api/html-apps/route-b40b02f6a2592427.js +1 -0
  267. package/.next-prod/static/chunks/app/api/instructions/config/route-b40b02f6a2592427.js +1 -0
  268. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b40b02f6a2592427.js +1 -0
  269. package/.next-prod/static/chunks/app/api/kimi/models/route-b40b02f6a2592427.js +1 -0
  270. package/.next-prod/static/chunks/app/api/kimi/usage/route-b40b02f6a2592427.js +1 -0
  271. package/.next-prod/static/chunks/app/api/lsp/definition/route-b40b02f6a2592427.js +1 -0
  272. package/.next-prod/static/chunks/app/api/lsp/hover/route-b40b02f6a2592427.js +1 -0
  273. package/.next-prod/static/chunks/app/api/lsp/references/route-b40b02f6a2592427.js +1 -0
  274. package/.next-prod/static/chunks/app/api/lsp/status/route-b40b02f6a2592427.js +1 -0
  275. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b40b02f6a2592427.js +1 -0
  276. package/.next-prod/static/chunks/app/api/mobile-link/route-b40b02f6a2592427.js +1 -0
  277. package/.next-prod/static/chunks/app/api/mysql/columns/route-b40b02f6a2592427.js +1 -0
  278. package/.next-prod/static/chunks/app/api/mysql/connect/route-b40b02f6a2592427.js +1 -0
  279. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b40b02f6a2592427.js +1 -0
  280. package/.next-prod/static/chunks/app/api/mysql/export/route-b40b02f6a2592427.js +1 -0
  281. package/.next-prod/static/chunks/app/api/mysql/query/route-b40b02f6a2592427.js +1 -0
  282. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b40b02f6a2592427.js +1 -0
  283. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b40b02f6a2592427.js +1 -0
  284. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b40b02f6a2592427.js +1 -0
  285. package/.next-prod/static/chunks/app/api/neo4j/query/route-b40b02f6a2592427.js +1 -0
  286. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b40b02f6a2592427.js +1 -0
  287. package/.next-prod/static/chunks/app/api/note/list/route-b40b02f6a2592427.js +1 -0
  288. package/.next-prod/static/chunks/app/api/note/route-b40b02f6a2592427.js +1 -0
  289. package/.next-prod/static/chunks/app/api/ollama/config/route-b40b02f6a2592427.js +1 -0
  290. package/.next-prod/static/chunks/app/api/ollama/default-model/route-b40b02f6a2592427.js +1 -0
  291. package/.next-prod/static/chunks/app/api/ollama/models/route-b40b02f6a2592427.js +1 -0
  292. package/.next-prod/static/chunks/app/api/ollama/start/route-b40b02f6a2592427.js +1 -0
  293. package/.next-prod/static/chunks/app/api/open-cursor/route-b40b02f6a2592427.js +1 -0
  294. package/.next-prod/static/chunks/app/api/open-vscode/route-b40b02f6a2592427.js +1 -0
  295. package/.next-prod/static/chunks/app/api/pi/thinking/route-b40b02f6a2592427.js +1 -0
  296. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b40b02f6a2592427.js +1 -0
  297. package/.next-prod/static/chunks/app/api/project-settings/route-b40b02f6a2592427.js +1 -0
  298. package/.next-prod/static/chunks/app/api/project-state/route-b40b02f6a2592427.js +1 -0
  299. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b40b02f6a2592427.js +1 -0
  300. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b40b02f6a2592427.js +1 -0
  301. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b40b02f6a2592427.js +1 -0
  302. package/.next-prod/static/chunks/app/api/projectGraph/clones/route-b40b02f6a2592427.js +1 -0
  303. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b40b02f6a2592427.js +1 -0
  304. package/.next-prod/static/chunks/app/api/projectGraph/crap/route-b40b02f6a2592427.js +1 -0
  305. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-b40b02f6a2592427.js +1 -0
  306. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b40b02f6a2592427.js +1 -0
  307. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b40b02f6a2592427.js +1 -0
  308. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b40b02f6a2592427.js +1 -0
  309. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-b40b02f6a2592427.js +1 -0
  310. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b40b02f6a2592427.js +1 -0
  311. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b40b02f6a2592427.js +1 -0
  312. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-b40b02f6a2592427.js +1 -0
  313. package/.next-prod/static/chunks/app/api/projects/route-b40b02f6a2592427.js +1 -0
  314. package/.next-prod/static/chunks/app/api/push/public-key/route-b40b02f6a2592427.js +1 -0
  315. package/.next-prod/static/chunks/app/api/push/subscribe/route-b40b02f6a2592427.js +1 -0
  316. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b40b02f6a2592427.js +1 -0
  317. package/.next-prod/static/chunks/app/api/redis/command/route-b40b02f6a2592427.js +1 -0
  318. package/.next-prod/static/chunks/app/api/redis/connect/route-b40b02f6a2592427.js +1 -0
  319. package/.next-prod/static/chunks/app/api/redis/delete/route-b40b02f6a2592427.js +1 -0
  320. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b40b02f6a2592427.js +1 -0
  321. package/.next-prod/static/chunks/app/api/redis/get/route-b40b02f6a2592427.js +1 -0
  322. package/.next-prod/static/chunks/app/api/redis/keys/route-b40b02f6a2592427.js +1 -0
  323. package/.next-prod/static/chunks/app/api/redis/set/route-b40b02f6a2592427.js +1 -0
  324. package/.next-prod/static/chunks/app/api/restart/route-b40b02f6a2592427.js +1 -0
  325. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b40b02f6a2592427.js +1 -0
  326. package/.next-prod/static/chunks/app/api/services/config/route-b40b02f6a2592427.js +1 -0
  327. package/.next-prod/static/chunks/app/api/services/scripts/route-b40b02f6a2592427.js +1 -0
  328. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b40b02f6a2592427.js +1 -0
  329. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b40b02f6a2592427.js +1 -0
  330. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b40b02f6a2592427.js +1 -0
  331. package/.next-prod/static/chunks/app/api/session/image/route-b40b02f6a2592427.js +1 -0
  332. package/.next-prod/static/chunks/app/api/session/user-messages/route-b40b02f6a2592427.js +1 -0
  333. package/.next-prod/static/chunks/app/api/session-bots/route-b40b02f6a2592427.js +1 -0
  334. package/.next-prod/static/chunks/app/api/session-by-path/route-b40b02f6a2592427.js +1 -0
  335. package/.next-prod/static/chunks/app/api/session-context/route-b40b02f6a2592427.js +1 -0
  336. package/.next-prod/static/chunks/app/api/session-title/route-b40b02f6a2592427.js +1 -0
  337. package/.next-prod/static/chunks/app/api/session-title/suggest/route-b40b02f6a2592427.js +1 -0
  338. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b40b02f6a2592427.js +1 -0
  339. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b40b02f6a2592427.js +1 -0
  340. package/.next-prod/static/chunks/app/api/sessions/projects/route-b40b02f6a2592427.js +1 -0
  341. package/.next-prod/static/chunks/app/api/sessions/search/route-b40b02f6a2592427.js +1 -0
  342. package/.next-prod/static/chunks/app/api/sessions/status/route-b40b02f6a2592427.js +1 -0
  343. package/.next-prod/static/chunks/app/api/settings/route-b40b02f6a2592427.js +1 -0
  344. package/.next-prod/static/chunks/app/api/shutdown/route-b40b02f6a2592427.js +1 -0
  345. package/.next-prod/static/chunks/app/api/skills/[id]/route-b40b02f6a2592427.js +1 -0
  346. package/.next-prod/static/chunks/app/api/skills/builtin/route-b40b02f6a2592427.js +1 -0
  347. package/.next-prod/static/chunks/app/api/skills/content/route-b40b02f6a2592427.js +1 -0
  348. package/.next-prod/static/chunks/app/api/skills/files/route-b40b02f6a2592427.js +1 -0
  349. package/.next-prod/static/chunks/app/api/skills/route-b40b02f6a2592427.js +1 -0
  350. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b40b02f6a2592427.js +1 -0
  351. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b40b02f6a2592427.js +1 -0
  352. package/.next-prod/static/chunks/app/api/snapshots/mark/route-b40b02f6a2592427.js +1 -0
  353. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b40b02f6a2592427.js +1 -0
  354. package/.next-prod/static/chunks/app/api/snapshots/restore/route-b40b02f6a2592427.js +1 -0
  355. package/.next-prod/static/chunks/app/api/snapshots/route-b40b02f6a2592427.js +1 -0
  356. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b40b02f6a2592427.js +1 -0
  357. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b40b02f6a2592427.js +1 -0
  358. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b40b02f6a2592427.js +1 -0
  359. package/.next-prod/static/chunks/app/api/terminal/env/route-b40b02f6a2592427.js +1 -0
  360. package/.next-prod/static/chunks/app/api/terminal/history/route-b40b02f6a2592427.js +1 -0
  361. package/.next-prod/static/chunks/app/api/terminal/running/route-b40b02f6a2592427.js +1 -0
  362. package/.next-prod/static/chunks/app/api/update/route-b40b02f6a2592427.js +1 -0
  363. package/.next-prod/static/chunks/app/api/update-state/route-b40b02f6a2592427.js +1 -0
  364. package/.next-prod/static/chunks/app/api/version/route-b40b02f6a2592427.js +1 -0
  365. package/.next-prod/static/chunks/app/apps/[...path]/route-b40b02f6a2592427.js +1 -0
  366. package/.next-prod/static/chunks/app/{layout-7107ed4eeac1f693.js β†’ layout-a568d04e8d2707c3.js} +1 -1
  367. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b40b02f6a2592427.js +1 -0
  368. package/.next-prod/static/chunks/app/{page-338a2c84319778b1.js β†’ page-6675d44ff6c5ebc6.js} +1 -1
  369. package/.next-prod/static/chunks/app/project/{page-338a2c84319778b1.js β†’ page-6675d44ff6c5ebc6.js} +1 -1
  370. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b40b02f6a2592427.js +1 -0
  371. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b40b02f6a2592427.js +1 -0
  372. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b40b02f6a2592427.js +1 -0
  373. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b40b02f6a2592427.js +1 -0
  374. package/.next-prod/trace +86 -86
  375. package/.next-prod/trace-build +1 -1
  376. package/.next-prod/types/app/api/projectGraph/clones/route.ts +353 -0
  377. package/.next-prod/types/app/api/projectGraph/crap/route.ts +353 -0
  378. package/.next-prod/types/routes.d.ts +3 -1
  379. package/.next-prod/types/validator.ts +18 -0
  380. package/README.md +1 -1
  381. package/README.zh.md +1 -1
  382. package/bin/cock-codegraph.mjs +111 -27
  383. package/bin/cockpit.mjs +1 -1
  384. package/bin/managed-npm-updater.mjs +0 -1
  385. package/desktop-checksums.json +4 -4
  386. package/dist/scheduledTasks.mjs +22 -10
  387. package/dist/wsServer.mjs +899 -160
  388. package/package.json +1 -1
  389. package/scripts/copy-tree-sitter-wasms.mjs +2 -2
  390. package/skills/ar/SKILL.md +293 -0
  391. package/skills/ar/boundary.md +48 -0
  392. package/skills/ar/evolution.md +38 -0
  393. package/skills/ar/legibility.md +52 -0
  394. package/skills/ar/reviewer.md +261 -0
  395. package/skills/ar/structure.md +38 -0
  396. package/skills/cg/SKILL.md +85 -14
  397. package/skills/cr/SKILL.md +62 -293
  398. package/skills/cr/reviewer.md +303 -0
  399. package/skills/rf/SKILL.md +6 -5
  400. package/skills/rf/axes.md +24 -2
  401. package/skills/rf/fix.md +58 -10
  402. package/skills/rf/lenses.md +27 -6
  403. package/skills/rf/sources.md +86 -24
  404. package/.next-prod/static/IlC_BH61CJ0hFaOu_akE9/_buildManifest.js +0 -1
  405. package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +0 -1
  406. package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +0 -1
  407. package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +0 -1
  408. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +0 -1
  409. package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +0 -1
  410. package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +0 -1
  411. package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +0 -1
  412. package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +0 -1
  413. package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +0 -1
  414. package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +0 -1
  415. package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +0 -1
  416. package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +0 -1
  417. package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +0 -1
  418. package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +0 -1
  419. package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +0 -1
  420. package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +0 -1
  421. package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +0 -1
  422. package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +0 -1
  423. package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +0 -1
  424. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +0 -1
  425. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +0 -1
  426. package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +0 -1
  427. package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +0 -1
  428. package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +0 -1
  429. package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +0 -1
  430. package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +0 -1
  431. package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +0 -1
  432. package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +0 -1
  433. package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +0 -1
  434. package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +0 -1
  435. package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +0 -1
  436. package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +0 -1
  437. package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +0 -1
  438. package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +0 -1
  439. package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +0 -1
  440. package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +0 -1
  441. package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +0 -1
  442. package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +0 -1
  443. package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +0 -1
  444. package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +0 -1
  445. package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +0 -1
  446. package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +0 -1
  447. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +0 -1
  448. package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +0 -1
  449. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +0 -1
  450. package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +0 -1
  451. package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +0 -1
  452. package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +0 -1
  453. package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +0 -1
  454. package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +0 -1
  455. package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +0 -1
  456. package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +0 -1
  457. package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +0 -1
  458. package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +0 -1
  459. package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +0 -1
  460. package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +0 -1
  461. package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +0 -1
  462. package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +0 -1
  463. package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +0 -1
  464. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +0 -1
  465. package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +0 -1
  466. package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +0 -1
  467. package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +0 -1
  468. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +0 -1
  469. package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +0 -1
  470. package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +0 -1
  471. package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +0 -1
  472. package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +0 -1
  473. package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +0 -1
  474. package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +0 -1
  475. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +0 -1
  476. package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +0 -1
  477. package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +0 -1
  478. package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +0 -1
  479. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +0 -1
  480. package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +0 -1
  481. package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +0 -1
  482. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +0 -1
  483. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +0 -1
  484. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +0 -1
  485. package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +0 -1
  486. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +0 -1
  487. package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +0 -1
  488. package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +0 -1
  489. package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +0 -1
  490. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +0 -1
  491. package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +0 -1
  492. package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +0 -1
  493. package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +0 -1
  494. package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +0 -1
  495. package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +0 -1
  496. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +0 -1
  497. package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +0 -1
  498. package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +0 -1
  499. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +0 -1
  500. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +0 -1
  501. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +0 -1
  502. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +0 -1
  503. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +0 -1
  504. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +0 -1
  505. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +0 -1
  506. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +0 -1
  507. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +0 -1
  508. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +0 -1
  509. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +0 -1
  510. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +0 -1
  511. package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +0 -1
  512. package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +0 -1
  513. package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +0 -1
  514. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +0 -1
  515. package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +0 -1
  516. package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +0 -1
  517. package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +0 -1
  518. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +0 -1
  519. package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +0 -1
  520. package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +0 -1
  521. package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +0 -1
  522. package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +0 -1
  523. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +0 -1
  524. package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +0 -1
  525. package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +0 -1
  526. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +0 -1
  527. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +0 -1
  528. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +0 -1
  529. package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +0 -1
  530. package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +0 -1
  531. package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +0 -1
  532. package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +0 -1
  533. package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +0 -1
  534. package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +0 -1
  535. package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +0 -1
  536. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +0 -1
  537. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +0 -1
  538. package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +0 -1
  539. package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +0 -1
  540. package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +0 -1
  541. package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +0 -1
  542. package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +0 -1
  543. package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +0 -1
  544. package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +0 -1
  545. package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +0 -1
  546. package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +0 -1
  547. package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +0 -1
  548. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +0 -1
  549. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +0 -1
  550. package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +0 -1
  551. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +0 -1
  552. package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +0 -1
  553. package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +0 -1
  554. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +0 -1
  555. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +0 -1
  556. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +0 -1
  557. package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +0 -1
  558. package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +0 -1
  559. package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +0 -1
  560. package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +0 -1
  561. package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +0 -1
  562. package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +0 -1
  563. package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +0 -1
  564. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +0 -1
  565. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +0 -1
  566. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +0 -1
  567. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +0 -1
  568. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +0 -1
  569. /package/.next-prod/static/{IlC_BH61CJ0hFaOu_akE9 β†’ Dj5ykXLzxdIQZcSyjppsm}/_ssgManifest.js +0 -0
@@ -24,53 +24,45 @@ does both tracks.
24
24
  against the whole solution; draw once, say only what the drawing can't; rate by the harm
25
25
  the broken promise existed to prevent.
26
26
 
27
+
28
+ ## Files
29
+
30
+ | File (under `{{COCKPIT_DIR}}/skills/cr/`) | Holds | Who opens it |
31
+ |---|---|---|
32
+ | `SKILL.md` | principles, Β§1 orchestration Β· rounds Β· brief, Β§5 fix plan | the main session only β€” including a session the whole review is handed to |
33
+ | `reviewer.md` | Β§2 review (static, dynamic, cg), Β§3 finding semantics, Β§4 report format and gate | every reviewer; the main session for Β§4 when gating and assembling |
34
+
35
+ Section numbers run across both files. A reviewer that never opens `reviewer.md` reviews
36
+ with no checklist and its report fails Β§4 β€” running it from memory is not running it.
37
+
38
+ **Where a rule goes.** Anything a reviewer emits or is checked against β€” checklists, finding
39
+ semantics, report format, the format gate, what to do with a malformed brief β€” lives in
40
+ `reviewer.md`. `SKILL.md` holds only what the main session does: choose the tier, dispatch,
41
+ assemble, plan fixes. A reviewer rule placed here is a rule no reviewer reads.
42
+
43
+ Reviewers are pointed at `reviewer.md`, never at this file (Β§1.2): its templates (especially
44
+ the fix plan) are the main session's, and a reviewer that reads them emits them.
45
+
46
+ > **A review subagent who landed here anyway:** close this file, open
47
+ > `{{COCKPIT_DIR}}/skills/cr/reviewer.md` and follow Β§2–§4 there. Don't spawn further subagents
48
+ > or disclaim their absence.
49
+
27
50
  ---
28
51
 
29
52
  ## 0. Skeleton
30
53
 
31
54
  ```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 β†’ outside β†’ coverage
64
- β–Ό
65
- fix plan Β§5 β€” appended by the main session, marked as its own
55
+ run_cr (main, never reviews) ─► choose_tier: tiny β†’ 1 Γ— all Β· default β†’ static + dynamic
56
+ Β· "hard" β†’ static + 1 per slice ─► clean reviewers in parallel, isolated (reviewer.md Β§2)
57
+ ─► format_gate (Β§4), bounce to the SAME reviewer ─► assemble: merge accomplices, place βœ—#n
58
+ ─► heading+verdict β†’ diagram β†’ findings β†’ outside β†’ coverage ─► fix plan (Β§5, main's own)
66
59
  ```
67
60
 
68
61
  ---
69
62
 
70
63
  ## 1. Main session
71
64
 
72
- > Dispatched as a review subagent? You are the clean reviewer β€” skip to Β§2. Don't spawn
73
- > further subagents or disclaim their absence.
65
+ > Β§4 (report format and gate) lives in `reviewer.md`; open it before gating and assembling.
74
66
 
75
67
  ```python
76
68
  def run_cr(target, user_args):
@@ -100,6 +92,8 @@ def run_cr(target, user_args):
100
92
  for r in reports:
101
93
  while (errors := format_gate(r)): # Β§4 β€” countable checks only
102
94
  r = ask_same_reviewer(r, "fit your own findings to the format", errors)
95
+ # a bounce changes form only; a content change (a number, a rating, an origin)
96
+ # must be stated in the re-emitted report, never slipped in
103
97
 
104
98
  return assemble(reports)
105
99
 
@@ -114,17 +108,26 @@ PROMPT = BRIEF_TEMPLATE # Β§1.2 β€” filled in verbatim,
114
108
 
115
109
  ```python
116
110
  def assemble(reports):
117
- # MAY: ask a reviewer for ITS OWN missing detail; format-gate bounce
111
+ # The ONLY things the main session does to reviewer text (P2) β€” anything not listed here
112
+ # is not done, however small (no trimming, re-wording, re-counting inside a block):
113
+ # 1. REORDER findings, outside lines and coverage lines;
114
+ # 2. RENUMBER through one oldβ†’new table: every "#n" / "βœ—#n" in reviewer text is replaced
115
+ # by the table, nothing else on the line;
116
+ # 3. APPEND its own lines after a reviewer's block, each marked "(main)" β€” never
117
+ # between or inside a reviewer's lines;
118
+ # 4. DROP an outside line whose file:line repeats one already kept.
119
+ # MAY also: ask a reviewer for ITS OWN missing detail; format-gate bounce
118
120
  # MUST NOT: relay one reviewer's findings / hints to another; point a reviewer at a path;
119
121
  # downgrade, drop, re-title, rewrite, summarise, reclassify Origin
120
122
  # dispute a finding β†’ spawn a FRESH clean subagent to re-check
121
123
 
122
124
  findings = merge_accomplices(f for r in reports for f in r.findings)
123
- # same root cause β†’ one finding:
124
- # severity = max(ratings) origin = earliest(introduced > activated > pre-existing)
125
- # body = the block tracing more of the effect, verbatim
126
- # + one line: "Independently confirmed by the <other> reviewer (<file:line>, rated <sev>)"
125
+ # same root cause β†’ one finding: keep the highest-rated block (tie: the one tracing
126
+ # more of the effect) β€” heading and body verbatim, so no rating is rewritten β€” and
127
+ # append (op 3): "(main) Independently confirmed by the <other> reviewer (<file:line>,
128
+ # rated <sev>, origin <origin>)"
127
129
  findings.sort(key=(severity desc, origin order))
130
+ renumber(findings) # op 2
128
131
 
129
132
  diagram = static_report(reports).diagram # static reviewer covers the whole diff
130
133
  for f in findings:
@@ -135,7 +138,7 @@ def assemble(reports):
135
138
  # (incl. the > 5 findings index, Β§4),
136
139
  diagram, # together with the coverage block
137
140
  [f.block for f in findings],
138
- outside(reports), # union, deduped by file:line, verbatim
141
+ outside(reports), # union, op 4, verbatim
139
142
  coverage(reports))
140
143
  ```
141
144
 
@@ -175,10 +178,11 @@ One template, two openings β€” pick by the role of whoever receives it:
175
178
  - **A reviewer** (one per scope, spawned by whoever runs Β§1), opening
176
179
  `You are the clean reviewer (Β§2). Your scope: <all | static | dynamic | slice: <name>>.`
177
180
 
178
- This template is the whole brief, however it is transported.
181
+ The two openings read different files: the hand-off reads this `SKILL.md`, a reviewer reads
182
+ `reviewer.md` only. This template is the whole brief, however it is transported.
179
183
 
180
184
  ```text
181
- Read and follow <absolute path to this SKILL.md>. <opening, as above>
185
+ Read and follow <absolute path to SKILL.md (hand-off) | reviewer.md (reviewer)>. <opening, as above>
182
186
  Write the report in <user's language>; identifiers and file:line unchanged.
183
187
 
184
188
  ## Change under review
@@ -218,241 +222,7 @@ def dispatch_check(brief, round): # main session, before sending; a
218
222
  ])
219
223
  ```
220
224
 
221
- The reviewer's side: a brief that is not this template (no round, extra sections, a range
222
- narrower than the whole change) is not repaired by the reviewer. Review the whole change
223
- anyway, head the report `## Review: <target> (round ?)` when the round is missing, and make
224
- the last coverage line `brief does not follow Β§1.2: <what is missing>`.
225
-
226
- ---
227
-
228
- ## 2. Reviewer
229
-
230
- ```python
231
- def review(scope):
232
- static_surface = all_changes(diff)
233
- dynamic_surface = slices_touching(diff, "state | timing | concurrency | retries | cross-process hop")
234
- # A judges as-written; B judges over-time. Same spot can be in both.
235
-
236
- findings = []
237
- if scope in ("all", "static"):
238
- findings += part_A(static_surface) # checklist Β§2.A
239
- diagram = draw_solution_diagram(diff) # Β§3 rules; working copy for the report
240
- if scope in ("all", "dynamic", "slice") and dynamic_surface:
241
- slices = enumerate_all_slices(dynamic_surface, ARCHETYPES) # list ALL first
242
- for s in slices: # a missed slice = all its risks missed
243
- model = build_model(s) # state diagram Β· timeline Β· trajectory
244
- for risk in RISKS: # Β§2.B, all seven, every slice
245
- findings += evaluate(risk, model)
246
- coverage.add(s, "βœ—#n" if s has finding else "βœ“")
247
- # slice not modelled β†’ coverage.add(s, "β€” not modelled: <reason>")
248
-
249
- for f in findings:
250
- f.consequence = "When <trigger>, <the promised behaviour> does not happen."
251
- f.origin = revert_counterfactual(f) # Β§3
252
- f.severity = rate(f) # Β§3
253
- if not traced_to_birth(f) and f.kind == "race":
254
- f.probability += " needs dynamic verification: <what's missing>" # keep the tier
255
-
256
- return ReviewerReport(findings, diagram, coverage) # working notes stay with you
257
- ```
258
-
259
- ### 2.A Static checklist β€” triangulate against intent / input domain / surroundings
260
-
261
- Only semantic problems tools can't judge (style / format / unused / type errors β†’ linter).
262
-
263
- - **A1 vs intent** β€” do name / signature / PR text / comments **promise** what the code
264
- does? Do error / boundary branches return the right thing, not the happy-path value?
265
- Comments and docs in sync?
266
- - **A2 vs input domain** (#1 bug source) β€” null / empty / single / duplicate / boundary /
267
- overflow / negative / unicode / over-length? Error path as correct as happy path,
268
- including the error **shapes** that actually arrive (P3)? Resources closed, state
269
- consistent on early return? External input treated as untrusted?
270
- For inputs that control identity, access, resource selection, or side effects, trace
271
- omitted vs explicit empty / zero / null / false vs valid values to the branch that uses
272
- them. Check where they collapse into one or fall into a default (`||` / `??`, truthiness
273
- checks, JSON dropping `undefined`, query-string / form coercion).
274
- - **A3 vs surroundings** β€” contract drift (all consumers updated?); **dependency
275
- contracts** checked in the dependency's source or docs (returns / throws / internal
276
- behaviour / defaults / units, P3); convention / layering; types bypassed by `any` / casts;
277
- security checks the siblings all have.
278
- - **Wrap-up** β€” duplicated decisions; dead code; local perf (N+1, IO in loop, unbounded);
279
- tests: boundary / error assertions, red-before-fix, **test doubles behave like the real
280
- boundary** (P3).
281
-
282
- ### 2.B Dynamic checklist
283
-
284
- `ARCHETYPES` β€” sweep all when enumerating slices:
285
- - shared-state init + multi-write Β· state reused across processes / re-entry Β·
286
- check-then-act across an async gap (TOCTOU) Β· fire-and-forget write + later read Β·
287
- implicit context across a hop Β· **state machines inside a dependency** (auto-retry,
288
- backoff, cache, pool, buffer β€” what does the caller observe while it runs and once it ends?) Β·
289
- side-effecting call that fails or times out (outcome unknown to the caller)
290
-
291
- `build_model` β€” read who reads / writes (across features, callers, into dependencies), then
292
- draw for yourself: **state diagram** (who changes it under what condition), **timeline**
293
- (all actors on one axis, traced to where the state is truly born), **change trajectory**
294
- (created / changed / read / overwritten / lost).
295
-
296
- `RISKS` β€” evaluate every one on every slice:
297
-
298
- | Risk | Look for |
299
- |---|---|
300
- | Order race | a writer before the initializer; "awaited here" β‰  first touch |
301
- | Overlap / undercount | same event recorded twice, or by nobody |
302
- | Lost update | stale read overwrites the correct value |
303
- | Fail-open wrong value | degradation lets a wrong / missing value through; read the guard's actual comparison (`NaN` is false both ways) |
304
- | Ambiguous outcome | a failure after the side effect may have landed; did the guard (idempotency key / txn / lock) hold; caller saw an error or no reply; auto-retry or "try again" guidance repeats or loses the effect |
305
- | Cross-process / re-entry | reused state cross-talks; implicit context lost over the hop |
306
- | Provenance break | key value no-op'd / overwritten / wrapped / type-erased between source and use |
307
-
308
- Uncertain about ordering or arithmetic β†’ frame as satisfiability: free variables, only real
309
- happens-before constraints, invariant; SAT = bug with its trigger, UNSAT = safe.
310
- Disciplines: a census isn't done until order + overlap are verified Β· no downgrading on local
311
- observation Β· green tests β‰  verification (was the bug's layer mocked away?).
312
-
313
- ---
314
-
315
- ## 3. Finding semantics
316
-
317
- ```python
318
- def revert_counterfactual(f):
319
- if gone_if_reverted(f): return "introduced" # incl. half-landed changes: one side
320
- # of a contract/enum/mirror updated,
321
- # even if the line is outside the diff
322
- if harmless_if_reverted(f): return "activated" # this change made it reachable
323
- return "pre-existing"
324
- # never blank; unsure β†’ likeliest + what would settle it. Orthogonal to severity.
325
- # pre-existing AND not activated β†’ not a finding; it goes to the "outside" list (Β§4)
326
- # unless it defeats the stated intent (the change cannot deliver its promise while it
327
- # stands) β€” then it stays a finding, Why: "blocks intent: <how>"
328
-
329
- def rate(f):
330
- if f.impact == "big" and (f.probability != "negligible" or f.irreversible):
331
- return "πŸ”΄" # irreversible = data loss / wrong money / security
332
- if f.should_fix: return "🟑"
333
- return "βšͺ"
334
- # a safeguard failing in the very scenario it exists for is rated by the harm it was
335
- # meant to prevent β€” "no worse than before the change" is not a downgrade
336
- ```
337
-
338
- `Consequence` β€” the first promised behaviour that fails, under its trigger, one clause:
339
- **"When <trigger>, <the promised behaviour> does not happen."** Mechanism β†’ `Break`;
340
- downstream β†’ `Effect`. ("X instead of Y" smuggles in a downstream effect β€” state Y's failure.)
341
-
342
- **Solution diagram rules** β€” one ` ```text ` block, top to bottom, ≀ ~80 columns: one box per
343
- component (name + `file:line`), decisions as branches labelled with their condition, happy
344
- path straight down, dependencies collapsed to one box unless a break lives inside. It is a
345
- claim about behaviour (P3): every arrow is real control flow, arms that don't join in code
346
- 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.
347
- Annotations in a right-hand column. Each finding marked **once**: `βœ—#n πŸ”΄ <what>`.
348
-
349
- ```text
350
- Webhook dedup (this change)
351
-
352
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
353
- β”‚ provider webhook delivery β”‚
354
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
355
- β–Ό
356
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
357
- β”‚ receive handler.ts:40 β”‚
358
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
359
- β–Ό
360
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
361
- β”‚ dedup lookup dedup.ts:12 β”‚ βœ—#1 πŸ”΄ key = id + timestamp:
362
- β”‚ key = id + timestamp β”‚ a redelivery never matches
363
- β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
364
- hit β”‚ β”‚ miss
365
- β–Ό β–Ό
366
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
367
- β”‚ ignore β”‚ β”‚ process handler.ts:58β”‚
368
- β”‚ (promised β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
369
- β”‚ for repeats) β”‚ β–Ό
370
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
371
- β”‚ charge billing.ts:90 β”‚
372
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
373
- ```
374
-
375
- ---
376
-
377
- ## 4. Report format and gate
378
-
379
- ```python
380
- REPORT = [ # exactly these five parts, nothing else
381
- "heading+verdict", # "## Review: <task> (round N)" +
382
- # "<N> findings (πŸ”΄a 🟑b βšͺc). Worst: <Consequence verbatim>"
383
- # β€” counts only introduced / activated / intent-blocking findings
384
- "diagram", # Β§3; unmarked if no findings
385
- "findings", # one block each, sorted
386
- "outside", # pre-existing, not activated: one line each, no block, not counted;
387
- # omitted when empty
388
- "coverage", # ```text block
389
- ]
390
- # > 5 findings β†’ index before the diagram, a Markdown list, one item per finding:
391
- # "- #1 πŸ”΄ introduced β€” <Consequence>" (bare lines collapse into one paragraph)
392
- # language = the user's; identifiers and file:line unchanged
393
- # blank line before the "## Review" heading and before and after every code block
394
- # test runs / scratch scripts / side notes β†’ a finding's Why, or the last coverage line
395
-
396
- def format_gate(report) -> list[str]: # countable checks only; never judges content
397
- errors = []
398
- for f in report.findings:
399
- body = f.block.body
400
- if not body.is_fenced("text"): errors.append(f"#{f.n}: body not in ```text")
401
- if body.line_count() > 8: errors.append(f"#{f.n}: {body.line_count()} lines > 8")
402
- if body.max_line_width() > 100: errors.append(f"#{f.n}: line > 100 chars")
403
- if body.has_sub_bullets(): errors.append(f"#{f.n}: sub-bullets")
404
- if f.block.heading != f"### #{f.n} {f.severity} {f.consequence}":
405
- errors.append(f"#{f.n}: heading β‰  Consequence")
406
- if f.origin == "pre-existing" and "blocks intent" not in f.why:
407
- errors.append(f"#{f.n}: pre-existing, not intent-"
408
- "blocking β†’ move to outside")
409
- for line in report.outside.lines():
410
- if len(line) > 120: errors.append("outside: one line per item, ≀ 120")
411
- for line in report.coverage.slice_lines():
412
- if words(line.name) > 6: errors.append(f"coverage: '{line.name}' > 6 words")
413
- if report.diagram.marks_per_finding() > 1: errors.append("a βœ—#n marked more than once")
414
- if report.has_parts_outside(REPORT): errors.append("content outside the five parts")
415
- return errors
416
- ```
417
-
418
- Finding block β€” Markdown heading, body in a ` ```text ` block (plain text, no backticks,
419
- continuation lines indented under the field):
420
-
421
- ````
422
- ### #1 πŸ”΄ When the provider redelivers the same webhook, the duplicate is not ignored
423
-
424
- ```text
425
- introduced Β· every redelivery; depends on provider retry policy
426
- Break: βœ—#1 dedup.ts:12 β€” the key includes the delivery timestamp,
427
- so a redelivery never matches
428
- Effect: redelivery β†’ processed again (handler.ts:58) β†’ charged twice (billing.ts:90)
429
- Why: dedup must key on what stays stable across redeliveries;
430
- verified against the provider's retry docs
431
- Fix: key on the delivery id alone; add a test that redelivers the same payload
432
- ```
433
- ````
434
-
435
- `Break` may carry a flat zoom-in of at most 3 lines when the mechanism needs it.
436
-
437
- Outside block β€” only when non-empty; severity is still rated (Β§3) so a serious old problem
438
- stays visible, but it is registered, not fixed in this change:
439
-
440
- ```text
441
- Seen outside this change (pre-existing, not activated β€” register, don't fix here)
442
- πŸ”΄ queue.ts:88 β€” When a job times out after its side effect, the retry repeats the effect
443
- 🟑 parse.ts:31 β€” When the input is empty, the error names the wrong field
444
- ```
445
-
446
- Coverage block β€” always present, one slice per line, marks `βœ—#n` / `βœ“` / `β€” not modelled:`:
447
-
448
- ```text
449
- introduced 1 (πŸ”΄1) / activated 0 / pre-existing 0
450
- S1 dedup lookup on redelivery βœ—#1
451
- S2 concurrent first deliveries βœ“
452
- S3 retry after handler crash β€” not modelled: no retry path in diff
453
- ```
454
-
455
- Static-only reviewer β†’ `slices: none (static only)`.
225
+ The reviewer's side of a malformed brief is in `reviewer.md` (top), where reviewers read it.
456
226
 
457
227
  ---
458
228
 
@@ -496,8 +266,10 @@ def plan_fixes(report):
496
266
  # 1. the cause lives in code this change wrote or modified, not shared or old code
497
267
  # 2. the fix adds no mechanism (below) and touches no module the diff didn't
498
268
  # 3. it is not much larger than patching the symptoms one by one
499
- # the same class back two rounds running β†’ recommend a separate structural
500
- # diagnosis of that class, not a wider fix inside this review loop
269
+ # the same class back two rounds running β†’ stop patching examples: the plan's first
270
+ # step is a structural diagnosis of that class (its root cause and the invariant that
271
+ # closes it), run once the user agrees; its fix is then placed by the three conditions
272
+ # above β€” this PR when all hold, else a separate PR
501
273
  if fix.adds_mechanism: # new state, persisted shape, error / status code,
502
274
  # background or retry path, or an edit in a module
503
275
  # the diff didn't touch
@@ -526,21 +298,18 @@ example a reviewer named, so the next round reports the next example of the same
526
298
  cause fixed inside the change's own code ends that loop; a cause chased into shared or old
527
299
  code restarts the first one β€” hence the three conditions.
528
300
 
301
+
529
302
  ---
530
303
 
531
- ## Self-check
304
+ ## Self-check (main session)
532
305
 
533
306
  ```python
534
- assert every reviewer triaged and judged alone; nothing relayed between tracks # P1
535
- assert every report passed format_gate, or was bounced to its own author # P2
536
- assert main session wrote only heading+verdict (+ index) and coverage; findings verbatim # P2
537
- assert blank line before "## Review"; index (> 5 findings) is a "- " list, one per line # Β§4 β€”
538
- # main-session text never passes format_gate
539
- assert every behavioural claim rests on real code / source, not a proxy # P3
540
- assert diagram arrows == real control flow; each βœ—#n once, right-hand column # P4
541
- assert every slice βœ“ / βœ—#n / not-modelled; every finding has an Origin # coverage
307
+ assert every reviewer judged alone; nothing relayed between tracks; findings verbatim # P1, P2
308
+ assert every report passed format_gate, or was bounced to its own author # P2
309
+ assert main session wrote only heading+verdict (+ index), coverage and the fix plan;
310
+ blank line before "## Review"; index (> 5 findings) is a "- " list # Β§4 β€”
311
+ # main-session text never passes format_gate
542
312
  assert dispatch_check passed: brief == Β§1.2 template filled in, nothing added;
543
- round counted per task; round 1's intent verbatim; the whole change reviewed # Β§1.1, Β§1.2
544
- assert pre-existing, non-activated, non-blocking β†’ outside list, not a finding # Β§3, Β§4
545
- assert findings > 0 β†’ a fix plan follows the report, headed as the main session's # Β§5
313
+ round counted per task; round 1's intent verbatim; the whole change reviewed # Β§1.1, Β§1.2
314
+ assert findings > 0 β†’ a fix plan follows the report, headed as the main session's # Β§5
546
315
  ```