@surething/cockpit 1.1.8 → 1.1.9

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 (598) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +9 -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 +24 -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/coedit/route.js +1 -1
  117. package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -0
  118. package/.next-prod/server/app/api/projectGraph/edges/route.js.nft.json +1 -0
  119. package/.next-prod/server/app/api/projectGraph/edges/route_client-reference-manifest.js +1 -0
  120. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  121. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  122. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  123. package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -0
  124. package/.next-prod/server/app/api/projectGraph/maps/route.js.nft.json +1 -0
  125. package/.next-prod/server/app/api/projectGraph/maps/route_client-reference-manifest.js +1 -0
  126. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  127. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  128. package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
  129. package/.next-prod/server/app/api/projects/route.js +1 -1
  130. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  131. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  132. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  133. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  134. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  135. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  136. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  137. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  138. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  139. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  140. package/.next-prod/server/app/api/restart/route.js +1 -1
  141. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  142. package/.next-prod/server/app/api/services/config/route.js +1 -1
  143. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  144. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  145. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  146. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  147. package/.next-prod/server/app/api/session/image/route.js +1 -1
  148. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  149. package/.next-prod/server/app/api/session-bots/route.js +1 -1
  150. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  151. package/.next-prod/server/app/api/session-context/route.js +2 -2
  152. package/.next-prod/server/app/api/session-title/route.js +1 -1
  153. package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
  154. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  155. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  156. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  157. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  158. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  159. package/.next-prod/server/app/api/settings/route.js +1 -1
  160. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  161. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  162. package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
  163. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  164. package/.next-prod/server/app/api/skills/files/route.js +1 -1
  165. package/.next-prod/server/app/api/skills/route.js +1 -1
  166. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  167. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  168. package/.next-prod/server/app/api/snapshots/mark/route.js +1 -0
  169. package/.next-prod/server/app/api/snapshots/mark/route.js.nft.json +1 -0
  170. package/.next-prod/server/app/api/snapshots/mark/route_client-reference-manifest.js +1 -0
  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 -0
  173. package/.next-prod/server/app/api/snapshots/restore/route.js.nft.json +1 -0
  174. package/.next-prod/server/app/api/snapshots/restore/route_client-reference-manifest.js +1 -0
  175. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  176. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  177. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  178. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  179. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  180. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  181. package/.next-prod/server/app/api/terminal/running/route.js +1 -1
  182. package/.next-prod/server/app/api/update/route.js +1 -1
  183. package/.next-prod/server/app/api/update-state/route.js +1 -1
  184. package/.next-prod/server/app/api/version/route.js +1 -1
  185. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  186. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  187. package/.next-prod/server/app/m/page.js +2 -1
  188. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  189. package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
  190. package/.next-prod/server/app/page.js +1 -1
  191. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  192. package/.next-prod/server/app/project/page.js +1 -1
  193. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  194. package/.next-prod/server/app-paths-manifest.json +9 -5
  195. package/.next-prod/server/chunks/2493.js +13 -13
  196. package/.next-prod/server/chunks/4949.js +1 -1
  197. package/.next-prod/server/chunks/6610.js +34 -34
  198. package/.next-prod/server/chunks/7270.js +1 -1
  199. package/.next-prod/server/chunks/9830.js +2 -2
  200. package/.next-prod/server/chunks/9998.js +1 -1
  201. package/.next-prod/server/middleware-build-manifest.js +1 -1
  202. package/.next-prod/server/next-font-manifest.js +1 -1
  203. package/.next-prod/server/next-font-manifest.json +1 -1
  204. package/.next-prod/server/pages/500.html +1 -1
  205. package/.next-prod/server/server-reference-manifest.json +1 -1
  206. package/.next-prod/static/LwAYWBEgXwTIkuj7U9BpE/_buildManifest.js +1 -0
  207. package/.next-prod/static/chunks/{50189-b59a96372658a46a.js → 55541-994b26deaa23f4e6.js} +2 -2
  208. package/.next-prod/static/chunks/{731-fd4b8bcd1d40dfe9.js → 6837-78c0d1a8165d46f7.js} +21 -21
  209. package/.next-prod/static/chunks/92000-46024df89fb50e16.js +41 -0
  210. package/.next-prod/static/chunks/98596-4ca2d2544138aefd.js +733 -0
  211. package/.next-prod/static/chunks/app/_global-error/page-6af5bc188af96106.js +1 -0
  212. package/.next-prod/static/chunks/app/api/agent/test/route-6af5bc188af96106.js +1 -0
  213. package/.next-prod/static/chunks/app/api/bash/route-6af5bc188af96106.js +1 -0
  214. package/.next-prod/static/chunks/app/api/bots/[id]/route-6af5bc188af96106.js +1 -0
  215. package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +1 -0
  216. package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +1 -0
  217. package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +1 -0
  218. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +1 -0
  219. package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +1 -0
  220. package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +1 -0
  221. package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +1 -0
  222. package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +1 -0
  223. package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +1 -0
  224. package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +1 -0
  225. package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +1 -0
  226. package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +1 -0
  227. package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +1 -0
  228. package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +1 -0
  229. package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +1 -0
  230. package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +1 -0
  231. package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +1 -0
  232. package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +1 -0
  233. package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +1 -0
  234. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +1 -0
  235. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +1 -0
  236. package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +1 -0
  237. package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +1 -0
  238. package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +1 -0
  239. package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +1 -0
  240. package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +1 -0
  241. package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +1 -0
  242. package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +1 -0
  243. package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +1 -0
  244. package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +1 -0
  245. package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +1 -0
  246. package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +1 -0
  247. package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +1 -0
  248. package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +1 -0
  249. package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +1 -0
  250. package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +1 -0
  251. package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +1 -0
  252. package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +1 -0
  253. package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +1 -0
  254. package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +1 -0
  255. package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +1 -0
  256. package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +1 -0
  257. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +1 -0
  258. package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +1 -0
  259. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +1 -0
  260. package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +1 -0
  261. package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +1 -0
  262. package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +1 -0
  263. package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +1 -0
  264. package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +1 -0
  265. package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +1 -0
  266. package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +1 -0
  267. package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +1 -0
  268. package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +1 -0
  269. package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +1 -0
  270. package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +1 -0
  271. package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +1 -0
  272. package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +1 -0
  273. package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +1 -0
  274. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +1 -0
  275. package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +1 -0
  276. package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +1 -0
  277. package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +1 -0
  278. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +1 -0
  279. package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +1 -0
  280. package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +1 -0
  281. package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +1 -0
  282. package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +1 -0
  283. package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +1 -0
  284. package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +1 -0
  285. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +1 -0
  286. package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +1 -0
  287. package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +1 -0
  288. package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +1 -0
  289. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +1 -0
  290. package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +1 -0
  291. package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +1 -0
  292. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +1 -0
  293. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +1 -0
  294. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +1 -0
  295. package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +1 -0
  296. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +1 -0
  297. package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +1 -0
  298. package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +1 -0
  299. package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +1 -0
  300. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +1 -0
  301. package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +1 -0
  302. package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +1 -0
  303. package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +1 -0
  304. package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +1 -0
  305. package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +1 -0
  306. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +1 -0
  307. package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +1 -0
  308. package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +1 -0
  309. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +1 -0
  310. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +1 -0
  311. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +1 -0
  312. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +1 -0
  313. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +1 -0
  314. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +1 -0
  315. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +1 -0
  316. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +1 -0
  317. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +1 -0
  318. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +1 -0
  319. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +1 -0
  320. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +1 -0
  321. package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +1 -0
  322. package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +1 -0
  323. package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +1 -0
  324. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +1 -0
  325. package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +1 -0
  326. package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +1 -0
  327. package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +1 -0
  328. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +1 -0
  329. package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +1 -0
  330. package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +1 -0
  331. package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +1 -0
  332. package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +1 -0
  333. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +1 -0
  334. package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +1 -0
  335. package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +1 -0
  336. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +1 -0
  337. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +1 -0
  338. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +1 -0
  339. package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +1 -0
  340. package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +1 -0
  341. package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +1 -0
  342. package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +1 -0
  343. package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +1 -0
  344. package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +1 -0
  345. package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +1 -0
  346. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +1 -0
  347. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +1 -0
  348. package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +1 -0
  349. package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +1 -0
  350. package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +1 -0
  351. package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +1 -0
  352. package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +1 -0
  353. package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +1 -0
  354. package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +1 -0
  355. package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +1 -0
  356. package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +1 -0
  357. package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +1 -0
  358. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +1 -0
  359. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +1 -0
  360. package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +1 -0
  361. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +1 -0
  362. package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +1 -0
  363. package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +1 -0
  364. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +1 -0
  365. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +1 -0
  366. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +1 -0
  367. package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +1 -0
  368. package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +1 -0
  369. package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +1 -0
  370. package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +1 -0
  371. package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +1 -0
  372. package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +1 -0
  373. package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +1 -0
  374. package/.next-prod/static/chunks/app/{layout-f0ff0ab277c84dc6.js → layout-7107ed4eeac1f693.js} +1 -1
  375. package/.next-prod/static/chunks/app/m/page-0c8e79e2f753aecb.js +2 -0
  376. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +1 -0
  377. package/.next-prod/static/chunks/app/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
  378. package/.next-prod/static/chunks/app/project/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
  379. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +1 -0
  380. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +1 -0
  381. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +1 -0
  382. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +1 -0
  383. package/.next-prod/static/css/fa34d3b1412ca27a.css +1 -0
  384. package/.next-prod/trace +86 -15
  385. package/.next-prod/trace-build +1 -1
  386. package/.next-prod/types/app/api/projectGraph/edges/route.ts +353 -0
  387. package/.next-prod/types/app/api/projectGraph/maps/route.ts +353 -0
  388. package/.next-prod/types/app/api/snapshots/mark/route.ts +353 -0
  389. package/.next-prod/types/app/api/snapshots/restore/route.ts +353 -0
  390. package/.next-prod/types/routes.d.ts +5 -1
  391. package/.next-prod/types/validator.ts +36 -0
  392. package/README.md +6 -0
  393. package/bin/rotateLog.mjs +6 -5
  394. package/desktop-checksums.json +4 -4
  395. package/dist/{anthropicCompat-PQWSZ3O7.mjs → anthropicCompat-4HZVLIFE.mjs} +3 -2
  396. package/dist/auth.mjs +19 -3
  397. package/dist/authAudit.mjs +79 -0
  398. package/dist/{chunk-6QDJ3QAX.mjs → chunk-6QHHEA3D.mjs} +11 -9
  399. package/dist/{chunk-2PDNZOMA.mjs → chunk-HJT5ZRYY.mjs} +2 -2
  400. package/dist/{chunk-S7FDWHAF.mjs → chunk-LSFNZJMR.mjs} +26825 -29730
  401. package/dist/{chunk-3S5JGONK.mjs → chunk-N3DTLFZE.mjs} +14 -12
  402. package/dist/{chunk-AKBWZB3V.mjs → chunk-QPFJKR3B.mjs} +2 -2
  403. package/dist/{chunk-LQISLDJ5.mjs → chunk-SI632CNY.mjs} +1 -1
  404. package/dist/{chunk-G747UZSS.mjs → chunk-T4M6CNFO.mjs} +132 -34
  405. package/dist/chunk-WSSVELJX.mjs +2920 -0
  406. package/dist/{chunk-2O6IH2TF.mjs → chunk-X4R5HO25.mjs} +2 -2
  407. package/dist/deepseek-YEPNQ2GX.mjs +13 -0
  408. package/dist/glm-SGT2LTOS.mjs +15 -0
  409. package/dist/httpApi.mjs +9 -8
  410. package/dist/kimi-FDXILCYU.mjs +15 -0
  411. package/dist/scheduledTasks.mjs +41 -15
  412. package/dist/{sessionStore-FF2VHKXM.mjs → sessionStore-WJGMZM4A.mjs} +2 -1
  413. package/dist/wsServer.mjs +63 -26
  414. package/package.json +3 -3
  415. package/public/html-lib/markdown.js +1 -1
  416. package/server.mjs +6 -1
  417. package/skills/cr/SKILL.md +184 -11
  418. package/skills/dl/SKILL.md +5 -0
  419. package/skills/rf/SKILL.md +124 -0
  420. package/skills/rf/axes.md +87 -0
  421. package/skills/rf/converge.md +50 -0
  422. package/skills/rf/fix.md +138 -0
  423. package/skills/rf/lenses.md +76 -0
  424. package/skills/rf/report.md +133 -0
  425. package/skills/rf/sources.md +129 -0
  426. package/.next-prod/static/AO-RPvB4uxOb6-XZ_0YXg/_buildManifest.js +0 -1
  427. package/.next-prod/static/chunks/17220-89a26ee102272095.js +0 -732
  428. package/.next-prod/static/chunks/45590-d1a8b4e539cc8dda.js +0 -42
  429. package/.next-prod/static/chunks/app/_global-error/page-42efcb4fd08c5099.js +0 -1
  430. package/.next-prod/static/chunks/app/api/agent/test/route-42efcb4fd08c5099.js +0 -1
  431. package/.next-prod/static/chunks/app/api/bash/route-42efcb4fd08c5099.js +0 -1
  432. package/.next-prod/static/chunks/app/api/bots/[id]/route-42efcb4fd08c5099.js +0 -1
  433. package/.next-prod/static/chunks/app/api/bots/files/route-42efcb4fd08c5099.js +0 -1
  434. package/.next-prod/static/chunks/app/api/bots/route-42efcb4fd08c5099.js +0 -1
  435. package/.next-prod/static/chunks/app/api/chat/codex/route-42efcb4fd08c5099.js +0 -1
  436. package/.next-prod/static/chunks/app/api/chat/deepseek/route-42efcb4fd08c5099.js +0 -1
  437. package/.next-prod/static/chunks/app/api/chat/glm/route-42efcb4fd08c5099.js +0 -1
  438. package/.next-prod/static/chunks/app/api/chat/grok/route-42efcb4fd08c5099.js +0 -1
  439. package/.next-prod/static/chunks/app/api/chat/kimi/route-42efcb4fd08c5099.js +0 -1
  440. package/.next-prod/static/chunks/app/api/chat/ollama/route-42efcb4fd08c5099.js +0 -1
  441. package/.next-prod/static/chunks/app/api/chat/route-42efcb4fd08c5099.js +0 -1
  442. package/.next-prod/static/chunks/app/api/chat/stop/route-42efcb4fd08c5099.js +0 -1
  443. package/.next-prod/static/chunks/app/api/claude-stats/route-42efcb4fd08c5099.js +0 -1
  444. package/.next-prod/static/chunks/app/api/commands/route-42efcb4fd08c5099.js +0 -1
  445. package/.next-prod/static/chunks/app/api/comments/route-42efcb4fd08c5099.js +0 -1
  446. package/.next-prod/static/chunks/app/api/db/columns/route-42efcb4fd08c5099.js +0 -1
  447. package/.next-prod/static/chunks/app/api/db/connect/route-42efcb4fd08c5099.js +0 -1
  448. package/.next-prod/static/chunks/app/api/db/disconnect/route-42efcb4fd08c5099.js +0 -1
  449. package/.next-prod/static/chunks/app/api/db/export/route-42efcb4fd08c5099.js +0 -1
  450. package/.next-prod/static/chunks/app/api/db/query/route-42efcb4fd08c5099.js +0 -1
  451. package/.next-prod/static/chunks/app/api/db/schemas/route-42efcb4fd08c5099.js +0 -1
  452. package/.next-prod/static/chunks/app/api/deepseek/balance/route-42efcb4fd08c5099.js +0 -1
  453. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-42efcb4fd08c5099.js +0 -1
  454. package/.next-prod/static/chunks/app/api/deepseek/models/route-42efcb4fd08c5099.js +0 -1
  455. package/.next-prod/static/chunks/app/api/dev/spans/route-42efcb4fd08c5099.js +0 -1
  456. package/.next-prod/static/chunks/app/api/extension/version/route-42efcb4fd08c5099.js +0 -1
  457. package/.next-prod/static/chunks/app/api/file/route-42efcb4fd08c5099.js +0 -1
  458. package/.next-prod/static/chunks/app/api/files/blame/route-42efcb4fd08c5099.js +0 -1
  459. package/.next-prod/static/chunks/app/api/files/clipboard/route-42efcb4fd08c5099.js +0 -1
  460. package/.next-prod/static/chunks/app/api/files/copy/route-42efcb4fd08c5099.js +0 -1
  461. package/.next-prod/static/chunks/app/api/files/delete/route-42efcb4fd08c5099.js +0 -1
  462. package/.next-prod/static/chunks/app/api/files/expanded/route-42efcb4fd08c5099.js +0 -1
  463. package/.next-prod/static/chunks/app/api/files/index/route-42efcb4fd08c5099.js +0 -1
  464. package/.next-prod/static/chunks/app/api/files/init/route-42efcb4fd08c5099.js +0 -1
  465. package/.next-prod/static/chunks/app/api/files/paste/route-42efcb4fd08c5099.js +0 -1
  466. package/.next-prod/static/chunks/app/api/files/read/route-42efcb4fd08c5099.js +0 -1
  467. package/.next-prod/static/chunks/app/api/files/readdir/route-42efcb4fd08c5099.js +0 -1
  468. package/.next-prod/static/chunks/app/api/files/recent/route-42efcb4fd08c5099.js +0 -1
  469. package/.next-prod/static/chunks/app/api/files/save/route-42efcb4fd08c5099.js +0 -1
  470. package/.next-prod/static/chunks/app/api/files/search/route-42efcb4fd08c5099.js +0 -1
  471. package/.next-prod/static/chunks/app/api/files/stat/route-42efcb4fd08c5099.js +0 -1
  472. package/.next-prod/static/chunks/app/api/files/text/route-42efcb4fd08c5099.js +0 -1
  473. package/.next-prod/static/chunks/app/api/fs/dirs/route-42efcb4fd08c5099.js +0 -1
  474. package/.next-prod/static/chunks/app/api/git/blob/route-42efcb4fd08c5099.js +0 -1
  475. package/.next-prod/static/chunks/app/api/git/branch-diff/route-42efcb4fd08c5099.js +0 -1
  476. package/.next-prod/static/chunks/app/api/git/branches/route-42efcb4fd08c5099.js +0 -1
  477. package/.next-prod/static/chunks/app/api/git/commit-diff/route-42efcb4fd08c5099.js +0 -1
  478. package/.next-prod/static/chunks/app/api/git/commits/route-42efcb4fd08c5099.js +0 -1
  479. package/.next-prod/static/chunks/app/api/git/current-branch/route-42efcb4fd08c5099.js +0 -1
  480. package/.next-prod/static/chunks/app/api/git/diff/route-42efcb4fd08c5099.js +0 -1
  481. package/.next-prod/static/chunks/app/api/git/discard/route-42efcb4fd08c5099.js +0 -1
  482. package/.next-prod/static/chunks/app/api/git/stage/route-42efcb4fd08c5099.js +0 -1
  483. package/.next-prod/static/chunks/app/api/git/status/route-42efcb4fd08c5099.js +0 -1
  484. package/.next-prod/static/chunks/app/api/git/unstage/route-42efcb4fd08c5099.js +0 -1
  485. package/.next-prod/static/chunks/app/api/git/worktree/route-42efcb4fd08c5099.js +0 -1
  486. package/.next-prod/static/chunks/app/api/glm/credentials/route-42efcb4fd08c5099.js +0 -1
  487. package/.next-prod/static/chunks/app/api/glm/models/route-42efcb4fd08c5099.js +0 -1
  488. package/.next-prod/static/chunks/app/api/glm/usage/route-42efcb4fd08c5099.js +0 -1
  489. package/.next-prod/static/chunks/app/api/global-state/route-42efcb4fd08c5099.js +0 -1
  490. package/.next-prod/static/chunks/app/api/grok/models/route-42efcb4fd08c5099.js +0 -1
  491. package/.next-prod/static/chunks/app/api/health/route-42efcb4fd08c5099.js +0 -1
  492. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-42efcb4fd08c5099.js +0 -1
  493. package/.next-prod/static/chunks/app/api/html-apps/files/route-42efcb4fd08c5099.js +0 -1
  494. package/.next-prod/static/chunks/app/api/html-apps/route-42efcb4fd08c5099.js +0 -1
  495. package/.next-prod/static/chunks/app/api/instructions/config/route-42efcb4fd08c5099.js +0 -1
  496. package/.next-prod/static/chunks/app/api/kimi/credentials/route-42efcb4fd08c5099.js +0 -1
  497. package/.next-prod/static/chunks/app/api/kimi/models/route-42efcb4fd08c5099.js +0 -1
  498. package/.next-prod/static/chunks/app/api/kimi/usage/route-42efcb4fd08c5099.js +0 -1
  499. package/.next-prod/static/chunks/app/api/lsp/definition/route-42efcb4fd08c5099.js +0 -1
  500. package/.next-prod/static/chunks/app/api/lsp/hover/route-42efcb4fd08c5099.js +0 -1
  501. package/.next-prod/static/chunks/app/api/lsp/references/route-42efcb4fd08c5099.js +0 -1
  502. package/.next-prod/static/chunks/app/api/lsp/status/route-42efcb4fd08c5099.js +0 -1
  503. package/.next-prod/static/chunks/app/api/lsp/warmup/route-42efcb4fd08c5099.js +0 -1
  504. package/.next-prod/static/chunks/app/api/mobile-link/route-42efcb4fd08c5099.js +0 -1
  505. package/.next-prod/static/chunks/app/api/mysql/columns/route-42efcb4fd08c5099.js +0 -1
  506. package/.next-prod/static/chunks/app/api/mysql/connect/route-42efcb4fd08c5099.js +0 -1
  507. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-42efcb4fd08c5099.js +0 -1
  508. package/.next-prod/static/chunks/app/api/mysql/export/route-42efcb4fd08c5099.js +0 -1
  509. package/.next-prod/static/chunks/app/api/mysql/query/route-42efcb4fd08c5099.js +0 -1
  510. package/.next-prod/static/chunks/app/api/mysql/schemas/route-42efcb4fd08c5099.js +0 -1
  511. package/.next-prod/static/chunks/app/api/neo4j/connect/route-42efcb4fd08c5099.js +0 -1
  512. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-42efcb4fd08c5099.js +0 -1
  513. package/.next-prod/static/chunks/app/api/neo4j/query/route-42efcb4fd08c5099.js +0 -1
  514. package/.next-prod/static/chunks/app/api/neo4j/schema/route-42efcb4fd08c5099.js +0 -1
  515. package/.next-prod/static/chunks/app/api/note/list/route-42efcb4fd08c5099.js +0 -1
  516. package/.next-prod/static/chunks/app/api/note/route-42efcb4fd08c5099.js +0 -1
  517. package/.next-prod/static/chunks/app/api/ollama/config/route-42efcb4fd08c5099.js +0 -1
  518. package/.next-prod/static/chunks/app/api/ollama/default-model/route-42efcb4fd08c5099.js +0 -1
  519. package/.next-prod/static/chunks/app/api/ollama/models/route-42efcb4fd08c5099.js +0 -1
  520. package/.next-prod/static/chunks/app/api/ollama/start/route-42efcb4fd08c5099.js +0 -1
  521. package/.next-prod/static/chunks/app/api/open-cursor/route-42efcb4fd08c5099.js +0 -1
  522. package/.next-prod/static/chunks/app/api/open-vscode/route-42efcb4fd08c5099.js +0 -1
  523. package/.next-prod/static/chunks/app/api/pi/thinking/route-42efcb4fd08c5099.js +0 -1
  524. package/.next-prod/static/chunks/app/api/pinned-sessions/route-42efcb4fd08c5099.js +0 -1
  525. package/.next-prod/static/chunks/app/api/project-settings/route-42efcb4fd08c5099.js +0 -1
  526. package/.next-prod/static/chunks/app/api/project-state/route-42efcb4fd08c5099.js +0 -1
  527. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-42efcb4fd08c5099.js +0 -1
  528. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-42efcb4fd08c5099.js +0 -1
  529. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-42efcb4fd08c5099.js +0 -1
  530. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-42efcb4fd08c5099.js +0 -1
  531. package/.next-prod/static/chunks/app/api/projectGraph/file/route-42efcb4fd08c5099.js +0 -1
  532. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-42efcb4fd08c5099.js +0 -1
  533. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-42efcb4fd08c5099.js +0 -1
  534. package/.next-prod/static/chunks/app/api/projectGraph/related/route-42efcb4fd08c5099.js +0 -1
  535. package/.next-prod/static/chunks/app/api/projectGraph/search/route-42efcb4fd08c5099.js +0 -1
  536. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-42efcb4fd08c5099.js +0 -1
  537. package/.next-prod/static/chunks/app/api/projects/route-42efcb4fd08c5099.js +0 -1
  538. package/.next-prod/static/chunks/app/api/push/public-key/route-42efcb4fd08c5099.js +0 -1
  539. package/.next-prod/static/chunks/app/api/push/subscribe/route-42efcb4fd08c5099.js +0 -1
  540. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-42efcb4fd08c5099.js +0 -1
  541. package/.next-prod/static/chunks/app/api/redis/command/route-42efcb4fd08c5099.js +0 -1
  542. package/.next-prod/static/chunks/app/api/redis/connect/route-42efcb4fd08c5099.js +0 -1
  543. package/.next-prod/static/chunks/app/api/redis/delete/route-42efcb4fd08c5099.js +0 -1
  544. package/.next-prod/static/chunks/app/api/redis/disconnect/route-42efcb4fd08c5099.js +0 -1
  545. package/.next-prod/static/chunks/app/api/redis/get/route-42efcb4fd08c5099.js +0 -1
  546. package/.next-prod/static/chunks/app/api/redis/keys/route-42efcb4fd08c5099.js +0 -1
  547. package/.next-prod/static/chunks/app/api/redis/set/route-42efcb4fd08c5099.js +0 -1
  548. package/.next-prod/static/chunks/app/api/restart/route-42efcb4fd08c5099.js +0 -1
  549. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-42efcb4fd08c5099.js +0 -1
  550. package/.next-prod/static/chunks/app/api/services/config/route-42efcb4fd08c5099.js +0 -1
  551. package/.next-prod/static/chunks/app/api/services/scripts/route-42efcb4fd08c5099.js +0 -1
  552. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-42efcb4fd08c5099.js +0 -1
  553. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-42efcb4fd08c5099.js +0 -1
  554. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-42efcb4fd08c5099.js +0 -1
  555. package/.next-prod/static/chunks/app/api/session/image/route-42efcb4fd08c5099.js +0 -1
  556. package/.next-prod/static/chunks/app/api/session/user-messages/route-42efcb4fd08c5099.js +0 -1
  557. package/.next-prod/static/chunks/app/api/session-bots/route-42efcb4fd08c5099.js +0 -1
  558. package/.next-prod/static/chunks/app/api/session-by-path/route-42efcb4fd08c5099.js +0 -1
  559. package/.next-prod/static/chunks/app/api/session-context/route-42efcb4fd08c5099.js +0 -1
  560. package/.next-prod/static/chunks/app/api/session-title/route-42efcb4fd08c5099.js +0 -1
  561. package/.next-prod/static/chunks/app/api/session-title/suggest/route-42efcb4fd08c5099.js +0 -1
  562. package/.next-prod/static/chunks/app/api/sessions/delegate/route-42efcb4fd08c5099.js +0 -1
  563. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-42efcb4fd08c5099.js +0 -1
  564. package/.next-prod/static/chunks/app/api/sessions/projects/route-42efcb4fd08c5099.js +0 -1
  565. package/.next-prod/static/chunks/app/api/sessions/search/route-42efcb4fd08c5099.js +0 -1
  566. package/.next-prod/static/chunks/app/api/sessions/status/route-42efcb4fd08c5099.js +0 -1
  567. package/.next-prod/static/chunks/app/api/settings/route-42efcb4fd08c5099.js +0 -1
  568. package/.next-prod/static/chunks/app/api/shutdown/route-42efcb4fd08c5099.js +0 -1
  569. package/.next-prod/static/chunks/app/api/skills/[id]/route-42efcb4fd08c5099.js +0 -1
  570. package/.next-prod/static/chunks/app/api/skills/builtin/route-42efcb4fd08c5099.js +0 -1
  571. package/.next-prod/static/chunks/app/api/skills/content/route-42efcb4fd08c5099.js +0 -1
  572. package/.next-prod/static/chunks/app/api/skills/files/route-42efcb4fd08c5099.js +0 -1
  573. package/.next-prod/static/chunks/app/api/skills/route-42efcb4fd08c5099.js +0 -1
  574. package/.next-prod/static/chunks/app/api/snapshots/blob/route-42efcb4fd08c5099.js +0 -1
  575. package/.next-prod/static/chunks/app/api/snapshots/diff/route-42efcb4fd08c5099.js +0 -1
  576. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-42efcb4fd08c5099.js +0 -1
  577. package/.next-prod/static/chunks/app/api/snapshots/route-42efcb4fd08c5099.js +0 -1
  578. package/.next-prod/static/chunks/app/api/terminal/aliases/route-42efcb4fd08c5099.js +0 -1
  579. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-42efcb4fd08c5099.js +0 -1
  580. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-42efcb4fd08c5099.js +0 -1
  581. package/.next-prod/static/chunks/app/api/terminal/env/route-42efcb4fd08c5099.js +0 -1
  582. package/.next-prod/static/chunks/app/api/terminal/history/route-42efcb4fd08c5099.js +0 -1
  583. package/.next-prod/static/chunks/app/api/terminal/running/route-42efcb4fd08c5099.js +0 -1
  584. package/.next-prod/static/chunks/app/api/update/route-42efcb4fd08c5099.js +0 -1
  585. package/.next-prod/static/chunks/app/api/update-state/route-42efcb4fd08c5099.js +0 -1
  586. package/.next-prod/static/chunks/app/api/version/route-42efcb4fd08c5099.js +0 -1
  587. package/.next-prod/static/chunks/app/apps/[...path]/route-42efcb4fd08c5099.js +0 -1
  588. package/.next-prod/static/chunks/app/m/page-50e48b4ba0942454.js +0 -1
  589. package/.next-prod/static/chunks/app/manifest.webmanifest/route-42efcb4fd08c5099.js +0 -1
  590. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-42efcb4fd08c5099.js +0 -1
  591. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-42efcb4fd08c5099.js +0 -1
  592. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-42efcb4fd08c5099.js +0 -1
  593. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-42efcb4fd08c5099.js +0 -1
  594. package/.next-prod/static/css/74144fec62c7ff43.css +0 -1
  595. package/dist/deepseek-5QJ2IWS3.mjs +0 -12
  596. package/dist/glm-SIOUQCWL.mjs +0 -14
  597. package/dist/kimi-NKL4WBNS.mjs +0 -14
  598. /package/.next-prod/static/{AO-RPvB4uxOb6-XZ_0YXg → LwAYWBEgXwTIkuj7U9BpE}/_ssgManifest.js +0 -0
@@ -60,7 +60,9 @@ does both tracks.
60
60
  │ merge accomplices, place ✗#n │
61
61
  └──────────────┬───────────────┘
62
62
  ▼
63
- heading+verdict → diagram → findings → coverage
63
+ heading+verdict → diagram → findings → outside → coverage
64
+ ▼
65
+ fix plan §5 — appended by the main session, marked as its own
64
66
  ```
65
67
 
66
68
  ---
@@ -72,9 +74,16 @@ does both tracks.
72
74
 
73
75
  ```python
74
76
  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)
77
+ intent = frozen_intent(target) # round 1: requirements_only(target) — PR text /
78
+ # requirement / commit message, never the dev
79
+ # session's rationale. Later rounds reuse the
80
+ # round-1 text VERBATIM: invariants, mechanisms
81
+ # and fixes added since are not intent
82
+ snap = mark_snapshot(target) # §1.1 — POST /api/snapshots/mark
83
+ prev = last_mark(conversation) # from the previous "## Review" heading, if any
84
+ diff = Full(target) if prev is None else Increment(prev, snap, base=merge_base(target))
85
+ registered = registered_residuals() # flat list, one line each, no rationale
86
+ tier = choose_tier(diff, user_args)
78
87
  scopes = {
79
88
  "single": [Scope("all")],
80
89
  "default": [Scope("static"), Scope("dynamic")],
@@ -82,7 +91,7 @@ def run_cr(target, user_args):
82
91
  }[tier]
83
92
  # tier == "hard" and no slices → note "no dynamic slice, fan-out degenerates to 1 static"
84
93
 
85
- reports = parallel(spawn_clean(PROMPT.format(target, intent, s)) for s in scopes)
94
+ reports = parallel(spawn_clean(PROMPT.fill(diff, intent, registered, s)) for s in scopes)
86
95
 
87
96
  for r in reports:
88
97
  while (errors := format_gate(r)): # §4 — countable checks only
@@ -96,9 +105,7 @@ def choose_tier(target, user_args):
96
105
  if clearly_tiny(target): return "single" # size only — dynamic-surface is the
97
106
  return "default" # reviewer's call; unsure → default
98
107
 
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)."""
108
+ PROMPT = BRIEF_TEMPLATE # §1.2 — filled in verbatim, nothing added
102
109
  ```
103
110
 
104
111
  ```python
@@ -124,9 +131,75 @@ def assemble(reports):
124
131
  # (incl. the > 5 findings index, §4),
125
132
  diagram, # together with the coverage block
126
133
  [f.block for f in findings],
134
+ outside(reports), # union, deduped by file:line, verbatim
127
135
  coverage(reports))
128
136
  ```
129
137
 
138
+ ### 1.1 Snapshot and increment
139
+
140
+ Each round marks the tree with Cockpit's shadow snapshots (the project's own .git is never
141
+ touched; uncommitted and untracked work is included):
142
+
143
+ ```bash
144
+ curl -sS --fail-with-body -X POST "{{BASE_URL}}/api/snapshots/mark" \
145
+ -H "Content-Type: application/json" \
146
+ -d '{"cwd": "<abs repo path>", "label": "cr round <N>"}' # → { hash }
147
+ ```
148
+
149
+ - The main session takes both marks and passes them in the brief; the reviewer never calls
150
+ `/mark` (it stays read-only and only reads `range-diff`).
151
+ - Round 1 reviews `git diff <base>` (merge-base with the target branch) as before, and
152
+ records its mark.
153
+ - Round N reviews the increment between the two marks:
154
+ `GET {{BASE_URL}}/api/snapshots/range-diff?cwd=<abs>&base=<prev mark>&head=<this mark>`
155
+ — JSON per file (status, ± lines, old/new content); re-request with `&file=<path>` when
156
+ `contentDeferred` is set. The reviewer may read the cumulative `git diff <base>` for
157
+ context; a finding must sit in the increment, be activated by it, or be a regression the
158
+ increment causes in the cumulative change.
159
+ - The heading carries the mark: `## Review: <target> (round N, mark <hash:10>)` — that is
160
+ how the next round finds `prev`.
161
+ - Fall back to a full review, and say why in the heading, when the mark call fails
162
+ (snapshots suspended, or not running under Cockpit) or `prev` is gone (snapshots are kept
163
+ for a limited time).
164
+
165
+ ### 1.2 Brief — fill in verbatim, add nothing
166
+
167
+ Every reviewer, in-process subagent or a session delegated with `/dl`, gets exactly this:
168
+
169
+ ```text
170
+ Read and follow <absolute path to this SKILL.md>. You are the clean reviewer (§2).
171
+ Your scope: <all | static | dynamic | slice: <name>>. Write the report in <user's language>;
172
+ identifiers and file:line unchanged.
173
+
174
+ ## Change under review
175
+ Repo: <abs path> Branch: <name> PR: <url or "none">
176
+ Round <N>. <Round 1: review `git diff <base>` plus untracked files.>
177
+ <Round ≥2: review the increment
178
+ {{BASE_URL}}/api/snapshots/range-diff?cwd=<abs>&base=<prev mark>&head=<this mark>;
179
+ read `git diff <base>` for context only.>
180
+
181
+ ## Intent (round 1 text, unchanged)
182
+ <requirements_only(target) — PR text / requirement / commit message, copied from round 1>
183
+
184
+ ## Already registered — report only if this change makes one worse
185
+ <one line per residual, no rationale; "none" if empty>
186
+
187
+ ## Constraints
188
+ Read-only: no edits, commits, pushes, PR comments or external writes; do not call /mark.
189
+ Tests: <exact commands> | not allowed. <environment limits the user stated, or omit>
190
+
191
+ ## Output
192
+ The report exactly as §4 says.
193
+ ```
194
+
195
+ Anything not in this template — focus areas ("please assess …"), earlier rounds' findings or
196
+ how they were fixed, invariants written while fixing, call-graph entry points or line numbers,
197
+ a test list, a restated report format — does not go in. Each of these aims the reviewer at the
198
+ author's newest mechanism, and the next round then reviews whatever the last fix added (P1).
199
+ If you believe the reviewer needs something else, the intent is incomplete: tell the user
200
+ instead of adding it to the brief. A user request to "generate review instructions" means
201
+ filling in this template.
202
+
130
203
  ---
131
204
 
132
205
  ## 2. Reviewer
@@ -136,6 +209,10 @@ def review(scope):
136
209
  static_surface = all_changes(diff)
137
210
  dynamic_surface = slices_touching(diff, "state | timing | concurrency | retries | cross-process hop")
138
211
  # A judges as-written; B judges over-time. Same spot can be in both.
212
+ if diff.is_increment: # round ≥ 2, §1.1
213
+ static_surface = all_changes(diff.increment)
214
+ dynamic_surface = slices_touching(diff.increment, ...) # same archetypes
215
+ # read the cumulative diff to understand; judge only what the increment changes
139
216
 
140
217
  findings = []
141
218
  if scope in ("all", "static"):
@@ -220,6 +297,9 @@ def revert_counterfactual(f):
220
297
  if harmless_if_reverted(f): return "activated" # this change made it reachable
221
298
  return "pre-existing"
222
299
  # never blank; unsure → likeliest + what would settle it. Orthogonal to severity.
300
+ # pre-existing AND not activated → not a finding; it goes to the "outside" list (§4)
301
+ # unless it defeats the stated intent (the change cannot deliver its promise while it
302
+ # stands) — then it stays a finding, Why: "blocks intent: <how>"
223
303
 
224
304
  def rate(f):
225
305
  if f.impact == "big" and (f.probability != "negligible" or f.irreversible):
@@ -272,10 +352,14 @@ Webhook dedup (this change)
272
352
  ## 4. Report format and gate
273
353
 
274
354
  ```python
275
- REPORT = [ # exactly these four parts, nothing else
276
- "heading+verdict", # "## Review: <target>" + "<N> findings (🔴a 🟡b ⚪c). Worst: <Consequence verbatim>"
355
+ REPORT = [ # exactly these five parts, nothing else
356
+ "heading+verdict", # "## Review: <target> (round N, mark <hash:10>)" +
357
+ # "<N> findings (🔴a 🟡b ⚪c). Worst: <Consequence verbatim>"
358
+ # — counts only introduced / activated / intent-blocking findings
277
359
  "diagram", # §3; unmarked if no findings
278
360
  "findings", # one block each, sorted
361
+ "outside", # pre-existing, not activated: one line each, no block, not counted;
362
+ # omitted when empty
279
363
  "coverage", # ```text block
280
364
  ]
281
365
  # > 5 findings → index before the diagram, a Markdown list, one item per finding:
@@ -294,10 +378,15 @@ def format_gate(report) -> list[str]: # countable checks only; never ju
294
378
  if body.has_sub_bullets(): errors.append(f"#{f.n}: sub-bullets")
295
379
  if f.block.heading != f"### #{f.n} {f.severity} {f.consequence}":
296
380
  errors.append(f"#{f.n}: heading ≠ Consequence")
381
+ if f.origin == "pre-existing" and "blocks intent" not in f.why:
382
+ errors.append(f"#{f.n}: pre-existing, not intent-"
383
+ "blocking → move to outside")
384
+ for line in report.outside.lines():
385
+ if len(line) > 120: errors.append("outside: one line per item, ≤ 120")
297
386
  for line in report.coverage.slice_lines():
298
387
  if words(line.name) > 6: errors.append(f"coverage: '{line.name}' > 6 words")
299
388
  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")
389
+ if report.has_parts_outside(REPORT): errors.append("content outside the five parts")
301
390
  return errors
302
391
  ```
303
392
 
@@ -320,6 +409,15 @@ Fix: key on the delivery id alone; add a test that redelivers the same payloa
320
409
 
321
410
  `Break` may carry a flat zoom-in of at most 3 lines when the mechanism needs it.
322
411
 
412
+ Outside block — only when non-empty; severity is still rated (§3) so a serious old problem
413
+ stays visible, but it is registered, not fixed in this change:
414
+
415
+ ```text
416
+ Seen outside this change (pre-existing, not activated — register, don't fix here)
417
+ 🔴 queue.ts:88 — When a job times out after its side effect, the retry repeats the effect
418
+ 🟡 parse.ts:31 — When the input is empty, the error names the wrong field
419
+ ```
420
+
323
421
  Coverage block — always present, one slice per line, marks `✗#n` / `✓` / `— not modelled:`:
324
422
 
325
423
  ```text
@@ -333,6 +431,77 @@ Static-only reviewer → `slices: none (static only)`.
333
431
 
334
432
  ---
335
433
 
434
+ ## 5. After the report — the fix plan (main session)
435
+
436
+ The reviewers' report ends at coverage and is relayed untouched (P2). The main session then
437
+ **always appends a fix plan** in the same message, under its own heading so it never reads as a
438
+ reviewer's verdict — a list of findings with no next step leaves the user picking one by one.
439
+ Written in the user's language, like the report:
440
+
441
+ ````
442
+ ---
443
+ ## Fix plan (main session — not a review finding)
444
+ ```text
445
+ ① <cause, one line> #<n> #<m>
446
+ fix <one change at the cause> · ~<lines> · new review surface: <…>
447
+ when this PR | separate PR (why)
448
+ #<k> <fix> · this PR
449
+ ```
450
+ ★ Recommended: <which groups in this PR, in what order; what goes separate; what is only registered>
451
+ Reply with a plain yes in your language to apply it, or name groups (①②) / findings (#n).
452
+ ````
453
+
454
+ Built only from the findings' own Break / Fix lines — no new analysis, no re-rating. No
455
+ findings → no plan; only "outside" items → one line "nothing to fix in this change; N
456
+ registered". When the user replies, apply the chosen groups by the same rules:
457
+
458
+ ```python
459
+ def plan_fixes(report):
460
+ for item in report.outside:
461
+ register(item) # wherever the project tracks issues, or the PR's
462
+ # residual list;
463
+ # fixed here only if the user names it
464
+ groups = group_by_cause(report.findings) # findings one missing rule explains → one group;
465
+ # the rest stay single. Round ≥ 2: a finding in a
466
+ # class the last fix covered only by example →
467
+ # say "the last round fixed an example"
468
+ for g in groups:
469
+ fix = design_fix(g) # at the cause only if ALL three hold — else patch each
470
+ # symptom minimally here and register the cause:
471
+ # 1. the cause lives in code this change wrote or modified, not shared or old code
472
+ # 2. the fix adds no mechanism (below) and touches no module the diff didn't
473
+ # 3. it is not much larger than patching the symptoms one by one
474
+ # the same class back two rounds running → recommend /rf (converge.md), not a wider
475
+ # fix inside this review loop
476
+ if fix.adds_mechanism: # new state, persisted shape, error / status code,
477
+ # background or retry path, or an edit in a module
478
+ # the diff didn't touch
479
+ ask_user("this PR or a separate one?", default="separate")
480
+ if fix.root_outside_diff: # "fix the root cause" whose root is shared or old code
481
+ contain_minimally_here(); propose_separate_pr(fix.root)
482
+ fix.cost += "new review surface: <what the next round will now have to review>"
483
+ present(groups) # the appended plan above; a plain yes applies the
484
+ # ★ groups, naming ①② or #n applies those
485
+ if diff_grew_well_past(round_1) or touches_new_module():
486
+ recommend("/rf before the next round") # the scope is growing, not converging
487
+ if no introduced/activated 🔴 remains:
488
+ recommend("commit now; another round is optional") # say it, don't only offer fixes
489
+
490
+ # Findings from /rf on an in-flight change pass the same gate: rf's plan marks each root
491
+ # cause "now" or "follow-up", and only "now" goes into this change. Accepting the
492
+ # recommendation means the "now" causes, not every finding in the report.
493
+ ```
494
+
495
+ Why: every mechanism added to fix a finding becomes the next round's review surface, and
496
+ each round then finds the edges of the last fix. Fixing pre-existing problems "while we're
497
+ here" makes a small change grow round after round even when every finding is correct — the
498
+ reviewer is right each time, the scope is not. The opposite failure is fixing only the
499
+ example a reviewer named, so the next round reports the next example of the same class. A
500
+ cause fixed inside the change's own code ends that loop; a cause chased into shared or old
501
+ code restarts the first one — hence the three conditions.
502
+
503
+ ---
504
+
336
505
  ## Self-check
337
506
 
338
507
  ```python
@@ -344,4 +513,8 @@ assert blank line before "## Review"; index (> 5 findings) is a "- " list, one p
344
513
  assert every behavioural claim rests on real code / source, not a proxy # P3
345
514
  assert diagram arrows == real control flow; each ✗#n once, right-hand column # P4
346
515
  assert every slice ✓ / ✗#n / not-modelled; every finding has an Origin # coverage
516
+ assert brief == §1.2 template filled in, nothing added; round ≥ 2 → intent is round 1's
517
+ verbatim and the increment between two main-session marks was reviewed # §1.1, §1.2
518
+ assert pre-existing, non-activated, non-blocking → outside list, not a finding # §3, §4
519
+ assert findings > 0 → a fix plan follows the report, headed as the main session's # §5
347
520
  ```
@@ -34,6 +34,11 @@ EOF_JSON
34
34
  session's engine cannot be determined. `model` is optional and never inherited
35
35
  - For a one-liner you may send `"prompt": "..."` instead of `briefPath` (escape `"` and `\`)
36
36
  - Do not delete the brief file — the child reads it after you return
37
+ - **When the task is running a skill** (`/cr`, `/qa`, …), that skill owns the brief: fill in
38
+ its dispatch template (cr §1.2) — it already holds the transport facts the child needs —
39
+ and stop. Don't append focus areas, your own rationale or earlier rounds' history: the
40
+ child sees nothing else, so it takes them as requirements. With `--wait`, relay the result the way that skill says (cr: findings
41
+ verbatim) before adding your own triage
37
42
  - A 400 names the problem (missing directory, unconfigured engine, too many delegated sessions running) — report it, do not retry blindly
38
43
 
39
44
  The receipt: `{ cwd, engine, model?, sessionId, link, title, createdAt, parent? }`.
@@ -0,0 +1,124 @@
1
+ ---
2
+ name: rf
3
+ description: "Find — and find all — the real problems that make a codebase harder to change: knowledge duplicated across places, dead or unfinished code, decisions in the wrong layer, broken boundaries and contracts. Several independent angles, merged and evidence-checked. Scope: a path, a feature or scenario, a just-finished change (PR / branch / diff), review findings that keep coming, or `audit` for the whole repo. Diagnosis is read-only; the report groups findings into a few root causes with a recommended plan, and replying to it (or naming causes / numbers) fixes them after you approve, accepting only less code with quality no worse."
4
+ argument-hint: "[audit | <path / feature / PR · branch · diff / findings> | yes · <root causes ①② or finding numbers to fix>]"
5
+ ---
6
+
7
+ # rf — find the real problems, all of them
8
+
9
+ ## Why rf exists (reason from this when no rule fits)
10
+
11
+ AI writes code at roughly the average of the context it reads, and most of that context is
12
+ the repository. Two ways of doing a thing → it copies either; a half-finished migration →
13
+ it extends both halves. So a repo that ships through AI rots by default, and review and
14
+ tests only ask whether each change is *correct* — not whether the repository got better.
15
+
16
+ rf is that second line, and its job is **diagnosis**: find the problems that make the next
17
+ change more expensive, find all of them, prove each one on the code, and rank them. Fixing
18
+ is a second, separate step the engineer starts by picking findings; it adds only what an
19
+ ordinary rewrite skips — every site found before editing, merges proven to be one piece of
20
+ knowledge, and acceptance on **less code, quality no worse**.
21
+
22
+ ## Principles
23
+
24
+ - **P1 Real** — every finding cites `file:line` and says how it was checked. Names,
25
+ comments and resemblance are leads, not evidence; an unverified suspicion is labelled so.
26
+ - **P2 All** — a single pass sees a few problems and a different few each time; coverage
27
+ comes from **independent angles, merged** (§2). Where no source can see, say so.
28
+ - **P3 Ranked** — order by what the next change pays (`axes.md`), churn breaking ties.
29
+ - **P4 Taste is the engineer's** — rf proposes the target shape and whether two places are
30
+ the same knowledge; it never decides either. Conflicts with written rules go to the
31
+ engineer unresolved.
32
+ - **P5 Diagnosis is read-only** — no edits, no probes that write, no tests, builds or
33
+ installs; an already-installed read-only checker is the one exception (`sources.md`, "Per
34
+ language"). Code changes only in fix mode: picked findings, an approved plan (`fix.md`).
35
+ Never read env or secret files (`.env*`, local config holding credentials, keys,
36
+ certificates) — note them as unread instead.
37
+
38
+ ## Files
39
+
40
+ | File (under `{{COCKPIT_DIR}}/skills/rf/`) | Holds | Who opens it |
41
+ |---|---|---|
42
+ | `axes.md` | what counts as a problem, severity, tags, line format | everyone, first |
43
+ | `lenses.md` | the angles and what each looks for | each reviewer: its own angle |
44
+ | `sources.md` | cg / grep / git / skeleton: what each sees and misses; how to find every site | everyone, before any search |
45
+ | `converge.md` | review findings that keep coming → the root cause | the main session, Findings entry |
46
+ | `fix.md` | picked findings → plan → batches → acceptance | the main session, Fix entry only |
47
+ | `report.md` | the report's parts, the diagram, finding format, format gate | the main session, when rendering |
48
+
49
+ **Running a step from memory of this table is not running it** — open the file.
50
+
51
+ ## 1. Entry and scope
52
+
53
+ ```python
54
+ def scope_of(target):
55
+ if picks_findings(target): return Fix # a yes, "①③", "3 5" after an rf report → fix.md
56
+ if names_findings(target): return Findings # /cr reports, PR comments → converge.md first
57
+ if names_a_change(target): return Change # "pr", "#123", branch, commit, "this change"
58
+ if target == "audit": return Repo # whole tree
59
+ if names_a_path(target): return Area
60
+ return Theme # a feature, scenario or concept
61
+ ```
62
+
63
+ The main session prepares the scope, never the verdicts:
64
+ - **Change** — the changed files (uncommitted work: `git status --porcelain`, `git diff HEAD`,
65
+ `git ls-files --others --exclude-standard`; drop env/secret files) and a price per
66
+ mechanism the change adds: `mechanism · prod lines · test lines · surfaces · guards against`.
67
+ Plus the change's **intent**: PR text / requirement / commit message only, never the dev
68
+ session's rationale or invariants it added while fixing. Reviewers judge `scope` against it.
69
+ - **Theme** — a map of the feature as it is: entry points → callees / impact → co-changed
70
+ files, storage, config, docs, tests. The map is the scope.
71
+ - **Repo** — the map: cg `symbols format=summary`, churn per file over 6 months (no git
72
+ history → say so; churn and co-change evidence are unavailable), hotspots
73
+ (high churn × the cyclomatic complexity cg `edges` reports per function). Skip vendored and
74
+ generated output.
75
+ - **Findings** — run `converge.md` §1–§2; its clusters and invariants join the merge below.
76
+ - **Maps** (Area / Theme / Repo) — write `layers.json` from the repo's declared layering, then run
77
+ cg `maps` on the scope before spawning (`sources.md` "Maps"). Mechanical facts, not the main
78
+ session's opinion, so they stay compatible with clean reviewers.
79
+ - **Fix** — leave this file and follow `fix.md`; §2–§3 below are for diagnosis only.
80
+
81
+ ## 2. Independent angles, merged
82
+
83
+ ```python
84
+ def diagnose(scope):
85
+ tier = "single" if clearly_small(scope) else "angles" # a few files → one reviewer, all lenses
86
+ reviewers = [ANGLES_ALL] if tier == "single" else ANGLES # lenses.md: A · B · C · D
87
+ maps = run_maps(scope, layers_from_repo_rules()) # sources.md "Maps"; None if skipped
88
+ reports = parallel(spawn_clean(PROMPT.format(scope=scope, angle=a,
89
+ maps=maps if a in ("C", "D") else None)) for a in reviewers)
90
+ # maps go to C and D only: they point at state and flow problems,
91
+ # and draw A's attention away from scanning for small duplicates
92
+ merged = merge(reports) # same root cause → one finding; keep every reviewer's evidence,
93
+ # note "found by A and C"; never rewrite, drop or re-rank inside one
94
+ for f in merged:
95
+ if not f.location or not f.how_checked:
96
+ f = ask_same_reviewer(f, "give file:line and how you checked") # mechanical gate
97
+ # a finding you doubt → a fresh clean subagent re-checks it; never overrule it yourself
98
+ return render(rank(merged)) # axes.md order; report.md format and gate
99
+ ```
100
+
101
+ ```text
102
+ PROMPT: Read <SKILL.md>, axes.md, sources.md, and lenses.md section <angle>. Scope: <scope>.
103
+ Repo rules: read them yourself. Find every problem your angle covers inside the
104
+ scope, each in the axes.md line format with file:line and how you checked it.
105
+ Read-only. Report only; do not propose fixes beyond the target shape.
106
+ [Change:] The change intends: <intent>. Give every finding a scope line
107
+ (axes.md "Scope") — needed only if you can name the part of the intent that fails
108
+ or the guarantee the change itself declares that breaks without it.
109
+ [C, D with maps:] Read <maps> first and compare it with the repo's declared
110
+ architecture; every edge against a written rule, every write reached from several
111
+ entry points and every state with several writers is a lead — verify on the code, and
112
+ answer the maps' open question. They miss things; do not limit yourself to them.
113
+ ```
114
+
115
+ Reviewers are clean: they see the scope and the skill files, never each other's reports or
116
+ the main session's opinions. That independence is what makes the union larger than any one
117
+ pass.
118
+
119
+ ## 3. Output — one message, then stop
120
+
121
+ Render the report exactly as `report.md` says — the scope drawn first with every problem marked
122
+ on it, an index, short findings, everything that needs the engineer's decision in one place —
123
+ and run its format gate until it passes. Then stop: never start fixing in the same turn, even
124
+ when a fix looks obvious.
@@ -0,0 +1,87 @@
1
+ # rf axes — what counts as a problem
2
+
3
+ ## First principle, gate, order
4
+
5
+ Software's cost is in changing it, and nobody holds the whole system in their head. A
6
+ problem is **a place where the next change got more expensive for an ordinary maintainer
7
+ who did not write this part**, along three orthogonal axes:
8
+
9
+ | Axis | Cost | Invariant |
10
+ |---|---|---|
11
+ | **Boundary** | blast radius — how much must be held at once | what changes together lives together; each piece of knowledge lives once |
12
+ | **Structure** | verifying a change — by reading vs by modelling timing | decisions are cheap to verify |
13
+ | **Evolution** | coordinating parties that deploy apart | contracts never break in place |
14
+
15
+ **Gate.** Each finding says in one sentence which class of future change it makes more
16
+ expensive, harder to verify, or dependent on impossible coordination. No sentence → drop it.
17
+
18
+ **Order** by impact (a judgement, in words), churn breaking ties (`git log`, measured). No
19
+ scores. Ugly code nobody touches comes last.
20
+
21
+ **Instantiate** to the repo: its declared layering, boundaries and contract surfaces; phrase
22
+ findings against them ("breaks your declared X"). A written rule that endorses a costly
23
+ pattern is a conflict for the engineer, not a licence.
24
+
25
+ ## The axes in one paragraph each
26
+
27
+ **Boundary.** One business change lands in one module; a module changes for one kind of
28
+ reason. Evidence is co-change, not appearance: co-change with no import is hidden coupling,
29
+ the most dangerous kind. Knowledge copied into several places that drifted apart stops
30
+ co-changing, so co-change cannot see it — scan for it directly (`lenses.md` A).
31
+
32
+ **Structure.** Decisions live in a pure core, effects in a thin shell, timing orchestration
33
+ stays thin; dependencies flow effect → pure, dynamic → static. The expensive quadrant is ④ —
34
+ orchestration, concurrency, retry — where decisions written between suspension points (await,
35
+ callbacks, threads, goroutines, futures) and branches can only be verified by modelling timing.
36
+ Shadow state (a copy written from a moving source, an outcome inferred instead of read back) is
37
+ a ④ disease.
38
+
39
+ **Evolution.** A contract crossing a deployment or persistence boundary (public API,
40
+ cross-process types, event payloads, DB schema / persisted state / enums) evolves only by
41
+ expand → migrate → contract. Adding an enum member is safe only if old consumers fail
42
+ closed on unknown values; giving an existing value a new meaning is never safe in place.
43
+ Signatures inside one deployable are not contracts.
44
+
45
+ ## Tags — what kind of problem, in the order to consider them
46
+
47
+ | Tag | Means | Before proposing it |
48
+ |---|---|---|
49
+ | `delete` | it can go: dead code or feature, forwarding wrapper, obsoleted option, stale words, subsumed test, a guard for a state that cannot occur | "unused" checked with every source (`sources.md`); runtime-built names that can't be ruled out → say so |
50
+ | `merge` | one piece of knowledge in several places | say why it is the **same** knowledge (same rules, lifecycle, reasons to change), not just similar shape |
51
+ | `finish` | a half migration, an unfinished contract step | both halves located |
52
+ | `move` | in the wrong place: layering, ownership, fan-in | the declared or dominant direction it breaks |
53
+ | `converge` | case-by-case patches approximating an invariant; shadow state; a contract failing open; guards that should fold into one exit | the invariant in one sentence |
54
+ | `reshape` | the shape itself — split, extract, inline | none of the above fits |
55
+ | `pin` | the shape is right but nothing stops it regressing | the rule form the repo already uses; for a removed guard, a `Pruned → <where the state now goes>` comment in the language's comment syntax |
56
+ | `drift` | code contradicting a rule the repo wrote down | the rule, quoted |
57
+
58
+ A defensive branch is classified by the engineer, never by rf: **legitimate no-op** (keep the
59
+ early return), **impossible** (delete; let it fail loudly), **possible but not worth a branch**
60
+ (fold into the one error exit), **irreversible loss** (keep). rf gives the evidence and a guess.
61
+
62
+ Never propose removing trust-boundary validation, data-loss error handling, security checks,
63
+ accessibility, or a guard every sibling call site has — removing one changes behaviour.
64
+
65
+ ## Line format
66
+
67
+ ```text
68
+ <tag> <axis> <what is wrong> → <target shape>. [path:line, …] (sites: ~n)
69
+ cost: <which future change gets more expensive, for whom> churn: <commits / 6 mo | new>
70
+ scope: needed — <the part of the intent it blocks> | later (Change scope only)
71
+ ```
72
+
73
+ ## Scope (Change only)
74
+
75
+ An in-flight change is not the place for every improvement its review turns up. Each finding
76
+ says whether this change needs it:
77
+
78
+ - **needed** — without it the change does not deliver its intent, or breaks a guarantee the
79
+ change itself declares. Name that part of the intent; no name → it is `later`.
80
+ - **later** — it would make the code better, but this change does not depend on it. Default:
81
+ a follow-up change, unless the engineer picks it by number.
82
+
83
+ Every rf finding makes some future change cheaper; that alone is `later`. Structural tags
84
+ (`reshape`, `move`, `merge` across modules) are usually `later`; a `delete` of code this
85
+ change just added, or a `finish` of a half-landed contract it introduced, is usually `needed`.
86
+
87
+ `sites` counts the `path:line` ranges a fix would touch; before a full census it is `~n`.
@@ -0,0 +1,50 @@
1
+ # rf converge — when review findings keep coming
2
+
3
+ Input: review findings, usually from several rounds (`/cr` reports, PR comments, a pasted
4
+ list). Symptom: each round's finding is fixed by one more branch, so the next round finds
5
+ the next case. Cause: a principle nobody wrote down, approximated one example at a time —
6
+ usually around a mechanism the change itself added. The diagnosis is the cause, not the
7
+ next patch.
8
+
9
+ ## 1. Map, cluster, find the generator
10
+
11
+ ```python
12
+ for f in findings:
13
+ f.site, f.state, f.round = locate(f), shared_state_touched(f), round_of(f) # cg search/callers
14
+ clusters = group(findings, by=(mechanism, state)) # not by file or severity
15
+ generators = [fn for fn in functions_hit(findings)
16
+ if len(rounds_that_patched(fn)) >= 2] # git log -L :fn:file over the window;
17
+ # corroborate: complexity rising per round
18
+ mechanisms = added_in_window() # each priced: lines, surfaces, what it guards
19
+ ```
20
+
21
+ A cluster needs a **shared cause**, not a shared location — state it and check every member;
22
+ a member it doesn't explain leaves. Findings fitting no cluster are ordinary one-offs.
23
+
24
+ ## 2. Name the invariant each cluster approximates
25
+
26
+ Form: **"<decision / write> is based on <source>, never on <proxy>"** or **"<state> always
27
+ satisfies <condition>"**. It must explain every finding in the cluster, else it is wrong.
28
+
29
+ | Recurring shape | Invariant |
30
+ |---|---|
31
+ | local copy written from a snapshot while the source still changes | write only from a fresh read after your last write |
32
+ | outcome inferred from a request's response or error | read the authoritative state afterwards; decide from that |
33
+ | decision from a copy that lags the source | read the source at the decision point |
34
+ | one transition handled in several entry points | one function owns it; entry points call it |
35
+ | a failed or empty read taken as "no" | unavailable evidence is its own outcome: fail closed or retry |
36
+ | evidence used beyond what it covers (other object, version, lifetime) | decide only within what it proves |
37
+
38
+ ## 3. Ask the widest question
39
+
40
+ Should the change, or the part producing the findings, be **withdrawn** — the outcome
41
+ reached another way, or not yet? Which added mechanism could go entirely, and what evidence
42
+ (a sandbox run, documented behaviour, a test) says the invariant holds without it?
43
+
44
+ ## Into the report
45
+
46
+ Each cluster becomes one `converge` finding (`axes.md` line format) carrying: its findings
47
+ and rounds, the generator functions, the invariant, the mechanisms that could go with their
48
+ evidence, and whether withdrawal is worth weighing. It joins the angle reviewers' findings
49
+ in SKILL.md §2's merge. A stop rule for further review rounds is the engineer's call; a
50
+ useful default is to fix only findings that break an invariant on money, data or security.