@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.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +4 -2
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +12 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/files/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/grok/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +2 -2
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js +2 -2
- package/.next-prod/server/app/api/grok/models/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/files/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/mobile-link/route.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/note/list/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/pi/thinking/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/clones/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/clones/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/clones/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/crap/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/crap/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/crap/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/image/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session-bots/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-context/route.js +2 -2
- package/.next-prod/server/app/api/session-title/route.js +1 -1
- package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/files/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/mark/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/restore/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/running/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +4 -2
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/6610.js +11 -11
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/Dj5ykXLzxdIQZcSyjppsm/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{92000-31efb4d63c10446f.js β 60169-2e401ccea5e39a00.js} +21 -21
- package/.next-prod/static/chunks/{98596-ffbe0304646a9336.js β 98596-43e9fe35436097c6.js} +6 -6
- package/.next-prod/static/chunks/app/_global-error/{page-6af5bc188af96106.js β page-b40b02f6a2592427.js} +1 -1
- package/.next-prod/static/chunks/app/api/agent/test/{route-6af5bc188af96106.js β route-b40b02f6a2592427.js} +1 -1
- package/.next-prod/static/chunks/app/api/bash/{route-6af5bc188af96106.js β route-b40b02f6a2592427.js} +1 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/{route-6af5bc188af96106.js β route-b40b02f6a2592427.js} +1 -1
- package/.next-prod/static/chunks/app/api/bots/files/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/grok/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/fs/dirs/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/grok/models/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/files/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mobile-link/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/note/list/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/pi/thinking/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/clones/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/crap/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/edges/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/maps/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session/image/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session-bots/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session-context/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/builtin/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/files/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/mark/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/restore/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/running/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/{layout-7107ed4eeac1f693.js β layout-a568d04e8d2707c3.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/app/{page-338a2c84319778b1.js β page-6675d44ff6c5ebc6.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-338a2c84319778b1.js β page-6675d44ff6c5ebc6.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b40b02f6a2592427.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b40b02f6a2592427.js +1 -0
- package/.next-prod/trace +86 -86
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/projectGraph/clones/route.ts +353 -0
- package/.next-prod/types/app/api/projectGraph/crap/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +3 -1
- package/.next-prod/types/validator.ts +18 -0
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/bin/cock-codegraph.mjs +111 -27
- package/bin/cockpit.mjs +1 -1
- package/bin/managed-npm-updater.mjs +0 -1
- package/desktop-checksums.json +4 -4
- package/dist/scheduledTasks.mjs +22 -10
- package/dist/wsServer.mjs +899 -160
- package/package.json +1 -1
- package/scripts/copy-tree-sitter-wasms.mjs +2 -2
- package/skills/ar/SKILL.md +293 -0
- package/skills/ar/boundary.md +48 -0
- package/skills/ar/evolution.md +38 -0
- package/skills/ar/legibility.md +52 -0
- package/skills/ar/reviewer.md +261 -0
- package/skills/ar/structure.md +38 -0
- package/skills/cg/SKILL.md +85 -14
- package/skills/cr/SKILL.md +62 -293
- package/skills/cr/reviewer.md +303 -0
- package/skills/rf/SKILL.md +6 -5
- package/skills/rf/axes.md +24 -2
- package/skills/rf/fix.md +58 -10
- package/skills/rf/lenses.md +27 -6
- package/skills/rf/sources.md +86 -24
- package/.next-prod/static/IlC_BH61CJ0hFaOu_akE9/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +0 -1
- /package/.next-prod/static/{IlC_BH61CJ0hFaOu_akE9 β Dj5ykXLzxdIQZcSyjppsm}/_ssgManifest.js +0 -0
package/skills/cr/SKILL.md
CHANGED
|
@@ -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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
>
|
|
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
|
-
#
|
|
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
|
-
#
|
|
125
|
-
#
|
|
126
|
-
#
|
|
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,
|
|
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
|
-
|
|
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
|
|
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
|
|
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 β
|
|
500
|
-
# diagnosis of that class
|
|
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
|
|
535
|
-
assert every report passed format_gate, or was bounced to its own author
|
|
536
|
-
assert main session wrote only heading+verdict (+ index) and
|
|
537
|
-
|
|
538
|
-
|
|
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
|
|
544
|
-
assert
|
|
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
|
```
|