mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
1 line
37 KiB
JavaScript
1 line
37 KiB
JavaScript
"use strict";(globalThis.webpackChunkccw_docs=globalThis.webpackChunkccw_docs||[]).push([[567],{1184(e,l,n){n.d(l,{R:()=>r,x:()=>c});var s=n(3696);const i={},d=s.createContext(i);function r(e){const l=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(l):{...l,...e}},[l,e])}function c(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(d.Provider,{value:l},e.children)}},1878(e,l,n){n.r(l),n.d(l,{assets:()=>t,contentTitle:()=>h,default:()=>o,frontMatter:()=>c,metadata:()=>s,toc:()=>x});const s=JSON.parse('{"id":"workflows/faq","title":"\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898","description":"\u5de5\u4f5c\u6d41\u4f7f\u7528\u4e2d\u7684\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u7b54","source":"@site/i18n/zh/docusaurus-plugin-content-docs/current/workflows/faq.mdx","sourceDirName":"workflows","slug":"/workflows/faq","permalink":"/docs/zh/workflows/faq","draft":false,"unlisted":false,"editUrl":"https://github.com/ccw/docs/tree/main/docs/workflows/faq.mdx","tags":[],"version":"current","sidebarPosition":7,"frontMatter":{"title":"\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898","description":"\u5de5\u4f5c\u6d41\u4f7f\u7528\u4e2d\u7684\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u7b54","sidebar_position":7}}');var i=n(2540),d=n(1184),r=n(1540);const c={title:"\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898",description:"\u5de5\u4f5c\u6d41\u4f7f\u7528\u4e2d\u7684\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u7b54",sidebar_position:7},h="\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898",t={},x=[{value:"\u901a\u7528\u95ee\u9898",id:"\u901a\u7528\u95ee\u9898",level:2},{value:"Main Workflow \u548c Issue Workflow \u6709\u4ec0\u4e48\u533a\u522b\uff1f",id:"what-is-the-difference-between-main-workflow-and-issue-workflow",level:3},{value:"\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5de5\u4f5c\u6d41\u7ea7\u522b\uff1f",id:"\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5de5\u4f5c\u6d41\u7ea7\u522b",level:3},{value:"\u4ec0\u4e48\u662f\u6700\u5c0f\u6267\u884c\u5355\u5143\uff1f",id:"\u4ec0\u4e48\u662f\u6700\u5c0f\u6267\u884c\u5355\u5143",level:3},{value:"Level 1 \u95ee\u9898",id:"level-1-\u95ee\u9898",level:2},{value:"\u4f55\u65f6\u4f7f\u7528 Level 1\uff1f",id:"\u4f55\u65f6\u4f7f\u7528-level-1",level:3},{value:"Level 2 \u95ee\u9898",id:"level-2-\u95ee\u9898",level:2},{value:"lite-plan\u3001lite-fix \u548c multi-cli-plan \u6709\u4ec0\u4e48\u533a\u522b\uff1f",id:"lite-planlite-fix-\u548c-multi-cli-plan-\u6709\u4ec0\u4e48\u533a\u522b",level:3},{value:"\u4ec0\u4e48\u662f\u70ed\u4fee\u590d\u6a21\u5f0f\uff1f",id:"\u4ec0\u4e48\u662f\u70ed\u4fee\u590d\u6a21\u5f0f",level:3},{value:"\u4f55\u65f6\u4f7f\u7528 multi-cli-plan vs lite-plan\uff1f",id:"\u4f55\u65f6\u4f7f\u7528-multi-cli-plan-vs-lite-plan",level:3},{value:"Level 3 \u95ee\u9898",id:"level-3-\u95ee\u9898",level:2},{value:"plan\u3001tdd-plan \u548c test-fix-gen \u6709\u4ec0\u4e48\u533a\u522b\uff1f",id:"plantdd-plan-\u548c-test-fix-gen-\u6709\u4ec0\u4e48\u533a\u522b",level:3},{value:"\u4ec0\u4e48\u662f TDD\uff08\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1\uff09\uff1f",id:"\u4ec0\u4e48\u662f-tdd\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1",level:3},{value:"\u4e3a\u4ec0\u4e48 TDD \u8981\u6c42\u5148\u5199\u6d4b\u8bd5\uff1f",id:"\u4e3a\u4ec0\u4e48-tdd-\u8981\u6c42\u5148\u5199\u6d4b\u8bd5",level:3},{value:"test-fix-gen \u4e2d\u6709\u54ea\u4e9b\u6d4b\u8bd5\u5c42\u7ea7\uff1f",id:"test-fix-gen-\u4e2d\u6709\u54ea\u4e9b\u6d4b\u8bd5\u5c42\u7ea7",level:3},{value:"Level 4 \u95ee\u9898",id:"level-4-\u95ee\u9898",level:2},{value:"\u4f55\u65f6\u4f7f\u7528 brainstorm\uff1f",id:"\u4f55\u65f6\u4f7f\u7528-brainstorm",level:3},{value:"brainstorm \u4e2d\u6709\u54ea\u4e9b\u53ef\u7528\u89d2\u8272\uff1f",id:"brainstorm-\u4e2d\u6709\u54ea\u4e9b\u53ef\u7528\u89d2\u8272",level:3},{value:"\u4ec0\u4e48\u662f With-File \u5de5\u4f5c\u6d41\uff1f",id:"\u4ec0\u4e48\u662f-with-file-\u5de5\u4f5c\u6d41",level:3},{value:"Level 5 \u95ee\u9898",id:"level-5-\u95ee\u9898",level:2},{value:"\u4f55\u65f6\u4f7f\u7528 ccw-coordinator\uff1f",id:"\u4f55\u65f6\u4f7f\u7528-ccw-coordinator",level:3},{value:"ccw-coordinator \u4e0e\u5176\u4ed6\u7ea7\u522b\u6709\u4f55\u4e0d\u540c\uff1f",id:"ccw-coordinator-\u4e0e\u5176\u4ed6\u7ea7\u522b\u6709\u4f55\u4e0d\u540c",level:3},{value:"\u6267\u884c\u95ee\u9898",id:"\u6267\u884c\u95ee\u9898",level:2},{value:"\u4ec0\u4e48\u662f lite-execute\uff1f",id:"\u4ec0\u4e48\u662f-lite-execute",level:3},{value:"\u4ec0\u4e48\u662f execute\uff1f",id:"\u4ec0\u4e48\u662f-execute",level:3},{value:"\u4f1a\u8bdd\u95ee\u9898",id:"\u4f1a\u8bdd\u95ee\u9898",level:2},{value:"\u5982\u4f55\u6062\u590d\u6682\u505c\u7684\u4f1a\u8bdd\uff1f",id:"\u5982\u4f55\u6062\u590d\u6682\u505c\u7684\u4f1a\u8bdd",level:3},{value:"\u5982\u4f55\u5b8c\u6210\u4f1a\u8bdd\uff1f",id:"\u5982\u4f55\u5b8c\u6210\u4f1a\u8bdd",level:3},{value:"\u5982\u4f55\u5217\u51fa\u6240\u6709\u4f1a\u8bdd\uff1f",id:"\u5982\u4f55\u5217\u51fa\u6240\u6709\u4f1a\u8bdd",level:3},{value:"\u4ea7\u7269\u95ee\u9898",id:"\u4ea7\u7269\u95ee\u9898",level:2},{value:"\u5de5\u4f5c\u6d41\u4ea7\u7269\u5b58\u50a8\u5728\u54ea\u91cc\uff1f",id:"\u5de5\u4f5c\u6d41\u4ea7\u7269\u5b58\u50a8\u5728\u54ea\u91cc",level:3},{value:"\u4f1a\u8bdd\u4e2d\u5305\u542b\u54ea\u4e9b\u6587\u4ef6\uff1f",id:"\u4f1a\u8bdd\u4e2d\u5305\u542b\u54ea\u4e9b\u6587\u4ef6",level:3},{value:"\u6d4b\u8bd5\u95ee\u9898",id:"\u6d4b\u8bd5\u95ee\u9898",level:2},{value:"\u5982\u4f55\u4e3a\u73b0\u6709\u4ee3\u7801\u6dfb\u52a0\u6d4b\u8bd5\uff1f",id:"\u5982\u4f55\u4e3a\u73b0\u6709\u4ee3\u7801\u6dfb\u52a0\u6d4b\u8bd5",level:3},{value:"\u5982\u4f55\u4fee\u590d\u5931\u8d25\u7684\u6d4b\u8bd5\uff1f",id:"\u5982\u4f55\u4fee\u590d\u5931\u8d25\u7684\u6d4b\u8bd5",level:3},{value:"\u6545\u969c\u6392\u9664",id:"\u6545\u969c\u6392\u9664",level:2},{value:"\u6211\u7684\u5de5\u4f5c\u6d41\u5931\u8d25\u4e86\uff0c\u8be5\u600e\u4e48\u529e\uff1f",id:"\u6211\u7684\u5de5\u4f5c\u6d41\u5931\u8d25\u4e86\u8be5\u600e\u4e48\u529e",level:3},{value:"\u5982\u4f55\u8df3\u8fc7\u5931\u8d25\u7684\u4efb\u52a1\uff1f",id:"\u5982\u4f55\u8df3\u8fc7\u5931\u8d25\u7684\u4efb\u52a1",level:3},{value:"\u5982\u4f55\u6e05\u7406\u65e7\u4f1a\u8bdd\uff1f",id:"\u5982\u4f55\u6e05\u7406\u65e7\u4f1a\u8bdd",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:2},{value:"\u5de5\u4f5c\u6d41\u6700\u4f73\u5b9e\u8df5\u6709\u54ea\u4e9b\uff1f",id:"\u5de5\u4f5c\u6d41\u6700\u4f73\u5b9e\u8df5\u6709\u54ea\u4e9b",level:3},{value:"\u4f55\u65f6\u4f7f\u7528 worktree \u9694\u79bb\uff1f",id:"\u4f55\u65f6\u4f7f\u7528-worktree-\u9694\u79bb",level:3},{value:"\u76f8\u5173\u6587\u6863",id:"\u76f8\u5173\u6587\u6863",level:2}];function j(e){const l={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.header,{children:(0,i.jsx)(l.h1,{id:"\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898",children:"\u5de5\u4f5c\u6d41\u5e38\u89c1\u95ee\u9898"})}),"\n",(0,i.jsx)(l.p,{children:"CCW \u5de5\u4f5c\u6d41\u7684\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u7b54\u3002"}),"\n",(0,i.jsx)(l.h2,{id:"\u901a\u7528\u95ee\u9898",children:"\u901a\u7528\u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"what-is-the-difference-between-main-workflow-and-issue-workflow",children:"Main Workflow \u548c Issue Workflow \u6709\u4ec0\u4e48\u533a\u522b\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"Main Workflow"})," \u7528\u4e8e\u4e3b\u8981\u5f00\u53d1\uff08Level 1-5\uff09\uff0c\u800c ",(0,i.jsx)(l.strong,{children:"Issue Workflow"})," \u7528\u4e8e\u5f00\u53d1\u540e\u671f\u7684\u7ef4\u62a4\u5de5\u4f5c\u3002"]}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u65b9\u9762"}),(0,i.jsx)(l.th,{children:"Main Workflow"}),(0,i.jsx)(l.th,{children:"Issue Workflow"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u7528\u9014"})}),(0,i.jsx)(l.td,{children:"\u529f\u80fd\u5f00\u53d1"}),(0,i.jsx)(l.td,{children:"\u5f00\u53d1\u540e\u4fee\u590d"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u65f6\u673a"})}),(0,i.jsx)(l.td,{children:"\u5f00\u53d1\u9636\u6bb5"}),(0,i.jsx)(l.td,{children:"\u4e3b\u5de5\u4f5c\u6d41\u5b8c\u6210\u540e"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u5e76\u884c\u5904\u7406"})}),(0,i.jsx)(l.td,{children:"\u4f9d\u8d56\u5206\u6790"}),(0,i.jsx)(l.td,{children:"Worktree \u9694\u79bb\uff08\u53ef\u9009\uff09"})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5de5\u4f5c\u6d41\u7ea7\u522b",children:"\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5de5\u4f5c\u6d41\u7ea7\u522b\uff1f"}),"\n",(0,i.jsx)(r.A,{chart:'\n flowchart TD\n Start([\u5f00\u59cb]) --\x3e Q1{\u5f00\u53d1\u540e\u671f?}\n Q1 --\x3e|\u662f| Issue["Issue Workflow"]\n Q1 --\x3e|\u5426| Q2{\u547d\u4ee4\u4e0d\u786e\u5b9a?}\n Q2 --\x3e|\u662f| L5["Level 5: ccw-coordinator"]\n Q2 --\x3e|\u5426| Q3{\u9700\u6c42\u6e05\u6670?}\n Q3 --\x3e|\u5426| L4["Level 4: brainstorm"]\n Q3 --\x3e|\u662f| Q4{\u9700\u8981\u6301\u4e45\u5316\u4f1a\u8bdd?}\n Q4 --\x3e|\u662f| Q5{\u5f00\u53d1\u7c7b\u578b?}\n Q4 --\x3e|\u5426| Q6{\u591a\u89c6\u89d2\u5206\u6790?}\n Q5 --\x3e|\u6807\u51c6\u5f00\u53d1| L3Std["Level 3: plan"]\n Q5 --\x3e|TDD| L3TDD["Level 3: tdd-plan"]\n Q5 --\x3e|\u6d4b\u8bd5\u4fee\u590d| L3Test["Level 3: test-fix-gen"]\n Q6 --\x3e|\u662f| L2Multi["Level 2: multi-cli-plan"]\n Q6 --\x3e|\u5426| Q7{Bug \u4fee\u590d?}\n Q7 --\x3e|\u662f| L2Fix["Level 2: lite-fix"]\n Q7 --\x3e|\u5426| Q8{\u9700\u8981\u89c4\u5212?}\n Q8 --\x3e|\u662f| L2Plan["Level 2: lite-plan"]\n Q8 --\x3e|\u5426| L1["Level 1: lite-lite-lite"]\n\n classDef startend fill:#c8e6c9,stroke:#388e3c\n classDef decision fill:#fff9c4,stroke:#f57c00\n classDef level fill:#e3f2fd,stroke:#1976d2\n\n class Start startend,Q1,Q2,Q3,Q4,Q6,Q7,Q8 decision,Issue,L1,L2Plan,L2Fix,L2Multi,L3Std,L3TDD,L3Test,L4,L5 level\n'}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f\u6700\u5c0f\u6267\u884c\u5355\u5143",children:"\u4ec0\u4e48\u662f\u6700\u5c0f\u6267\u884c\u5355\u5143\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u6700\u5c0f\u6267\u884c\u5355\u5143"}),"\u662f\u6307\u5fc5\u987b\u4f5c\u4e3a\u539f\u5b50\u7ec4\u4e00\u8d77\u6267\u884c\u7684\u547d\u4ee4\u96c6\u5408\u3002\u62c6\u5206\u8fd9\u4e9b\u547d\u4ee4\u4f1a\u7834\u574f\u903b\u8f91\u6d41\u7a0b\u5e76\u4ea7\u751f\u4e0d\u5b8c\u6574\u7684\u72b6\u6001\u3002"]}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u793a\u4f8b"}),"\uff1a\u5355\u5143 ",(0,i.jsx)(l.code,{children:"lite-plan -> lite-execute"})," \u5fc5\u987b\u4e00\u8d77\u5b8c\u6210\u3002\u5728 ",(0,i.jsx)(l.code,{children:"lite-plan"})," \u4e4b\u540e\u505c\u6b62\u4f1a\u7559\u4e0b\u8ba1\u5212\u4f46\u6ca1\u6709\u5b9e\u73b0\u3002"]}),"\n",(0,i.jsx)(l.h2,{id:"level-1-\u95ee\u9898",children:"Level 1 \u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u4f55\u65f6\u4f7f\u7528-level-1",children:"\u4f55\u65f6\u4f7f\u7528 Level 1\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:["\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u4f7f\u7528 Level 1 (",(0,i.jsx)(l.code,{children:"lite-lite-lite"}),")\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u5feb\u901f\u4fee\u590d\uff08\u62fc\u5199\u9519\u8bef\u3001\u5c0f\u5e45\u8c03\u6574\uff09"}),"\n",(0,i.jsx)(l.li,{children:"\u7b80\u5355\u529f\u80fd\uff08\u5355\u4e2a\u51fd\u6570\u3001\u5c0f\u578b\u5de5\u5177\uff09"}),"\n",(0,i.jsx)(l.li,{children:"\u914d\u7f6e\u66f4\u6539\uff08\u73af\u5883\u53d8\u91cf\u3001\u8d85\u65f6\u503c\uff09"}),"\n",(0,i.jsx)(l.li,{children:"\u6587\u6863\u66f4\u65b0\uff08readme\u3001\u6ce8\u91ca\uff09"}),"\n"]}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u4e0d\u8981\u4f7f\u7528"}),"\u5728\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u591a\u6a21\u5757\u66f4\u6539"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u6301\u4e45\u5316\u8bb0\u5f55"}),"\n",(0,i.jsx)(l.li,{children:"\u590d\u6742\u91cd\u6784"}),"\n",(0,i.jsx)(l.li,{children:"\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"level-2-\u95ee\u9898",children:"Level 2 \u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"lite-planlite-fix-\u548c-multi-cli-plan-\u6709\u4ec0\u4e48\u533a\u522b",children:"lite-plan\u3001lite-fix \u548c multi-cli-plan \u6709\u4ec0\u4e48\u533a\u522b\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u5de5\u4f5c\u6d41"}),(0,i.jsx)(l.th,{children:"\u7528\u9014"}),(0,i.jsx)(l.th,{children:"\u4f7f\u7528\u573a\u666f"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"lite-plan"})}),(0,i.jsx)(l.td,{children:"\u9700\u6c42\u6e05\u6670"}),(0,i.jsx)(l.td,{children:"\u5355\u6a21\u5757\u529f\u80fd"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"lite-fix"})}),(0,i.jsx)(l.td,{children:"Bug \u8bca\u65ad"}),(0,i.jsx)(l.td,{children:"Bug \u4fee\u590d\u3001\u751f\u4ea7\u95ee\u9898"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"multi-cli-plan"})}),(0,i.jsx)(l.td,{children:"\u591a\u89c6\u89d2\u5206\u6790"}),(0,i.jsx)(l.td,{children:"\u6280\u672f\u9009\u578b\u3001\u65b9\u6848\u6bd4\u8f83"})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f\u70ed\u4fee\u590d\u6a21\u5f0f",children:"\u4ec0\u4e48\u662f\u70ed\u4fee\u590d\u6a21\u5f0f\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:'/workflow:lite-fix --hotfix "Production database connection failing"\n'})}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u70ed\u4fee\u590d\u6a21\u5f0f"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u8df3\u8fc7\u5927\u90e8\u5206\u8bca\u65ad\u9636\u6bb5"}),"\n",(0,i.jsx)(l.li,{children:"\u6700\u5c0f\u5316\u89c4\u5212\uff08\u76f4\u63a5\u6267\u884c\uff09"}),"\n",(0,i.jsx)(l.li,{children:"\u81ea\u52a8\u751f\u6210\u540e\u7eed\u4efb\u52a1\u7528\u4e8e\u5b8c\u6574\u4fee\u590d + \u590d\u76d8"}),"\n",(0,i.jsx)(l.li,{children:(0,i.jsx)(l.strong,{children:"\u4ec5\u7528\u4e8e\u751f\u4ea7\u7d27\u6025\u60c5\u51b5"})}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"\u4f55\u65f6\u4f7f\u7528-multi-cli-plan-vs-lite-plan",children:"\u4f55\u65f6\u4f7f\u7528 multi-cli-plan vs lite-plan\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:["\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u4f7f\u7528 ",(0,i.jsx)(l.code,{children:"multi-cli-plan"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u591a\u4e2a\u89c6\u89d2\uff08Gemini\u3001Codex\u3001Claude\uff09"}),"\n",(0,i.jsx)(l.li,{children:"\u6280\u672f\u9009\u578b\u51b3\u7b56"}),"\n",(0,i.jsx)(l.li,{children:"\u65b9\u6848\u6bd4\u8f83"}),"\n",(0,i.jsx)(l.li,{children:"\u67b6\u6784\u6743\u8861"}),"\n"]}),"\n",(0,i.jsxs)(l.p,{children:["\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u4f7f\u7528 ",(0,i.jsx)(l.code,{children:"lite-plan"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u9700\u6c42\u6e05\u6670"}),"\n",(0,i.jsx)(l.li,{children:"\u5355\u89c6\u89d2\u8db3\u591f"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u66f4\u5feb\u8fed\u4ee3"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"level-3-\u95ee\u9898",children:"Level 3 \u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"plantdd-plan-\u548c-test-fix-gen-\u6709\u4ec0\u4e48\u533a\u522b",children:"plan\u3001tdd-plan \u548c test-fix-gen \u6709\u4ec0\u4e48\u533a\u522b\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u5de5\u4f5c\u6d41"}),(0,i.jsx)(l.th,{children:"\u7528\u9014"}),(0,i.jsx)(l.th,{children:"\u5173\u952e\u7279\u6027"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"plan"})}),(0,i.jsx)(l.td,{children:"\u6807\u51c6\u5f00\u53d1"}),(0,i.jsx)(l.td,{children:"5 \u9636\u6bb5\u89c4\u5212\u4e0e\u9a8c\u8bc1"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"tdd-plan"})}),(0,i.jsx)(l.td,{children:"\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1"}),(0,i.jsx)(l.td,{children:"\u7ea2-\u7eff-\u91cd\u6784\u5faa\u73af"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"test-fix-gen"})}),(0,i.jsx)(l.td,{children:"\u6d4b\u8bd5\u4fee\u590d"}),(0,i.jsx)(l.td,{children:"\u6e10\u8fdb\u5f0f\u6d4b\u8bd5\u5c42\u7ea7\uff08L0-L3\uff09"})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f-tdd\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1",children:"\u4ec0\u4e48\u662f TDD\uff08\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1\uff09\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"TDD"})," \u9075\u5faa\u7ea2-\u7eff-\u91cd\u6784\u5faa\u73af\uff1a"]}),"\n",(0,i.jsxs)(l.ol,{children:["\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u7ea2\uff08Red\uff09"}),"\uff1a\u7f16\u5199\u5931\u8d25\u7684\u6d4b\u8bd5"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u7eff\uff08Green\uff09"}),"\uff1a\u7f16\u5199\u6700\u5c0f\u4ee3\u7801\u4f7f\u6d4b\u8bd5\u901a\u8fc7"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u91cd\u6784\uff08Refactor\uff09"}),"\uff1a\u5728\u4fdd\u6301\u6d4b\u8bd5\u901a\u8fc7\u7684\u540c\u65f6\u6539\u8fdb\u4ee3\u7801"]}),"\n"]}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u94c1\u5f8b"}),"\uff1a"]}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{children:"\u6ca1\u6709\u5931\u8d25\u7684\u6d4b\u8bd5\u5c31\u4e0d\u5199\u751f\u4ea7\u4ee3\u7801\n"})}),"\n",(0,i.jsx)(l.h3,{id:"\u4e3a\u4ec0\u4e48-tdd-\u8981\u6c42\u5148\u5199\u6d4b\u8bd5",children:"\u4e3a\u4ec0\u4e48 TDD \u8981\u6c42\u5148\u5199\u6d4b\u8bd5\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u65b9\u9762"}),(0,i.jsx)(l.th,{children:"\u6d4b\u8bd5\u4f18\u5148"}),(0,i.jsx)(l.th,{children:"\u6d4b\u8bd5\u968f\u540e"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u8bc1\u660e"})}),(0,i.jsx)(l.td,{children:"\u6d4b\u8bd5\u5728\u5b9e\u73b0\u524d\u5931\u8d25"}),(0,i.jsx)(l.td,{children:"\u6d4b\u8bd5\u7acb\u5373\u901a\u8fc7\uff08\u65e0\u8bc1\u660e\uff09"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u53d1\u73b0"})}),(0,i.jsx)(l.td,{children:"\u7f16\u7801\u524d\u53d1\u73b0\u8fb9\u754c\u60c5\u51b5"}),(0,i.jsx)(l.td,{children:"\u7f16\u7801\u540e\u53d1\u73b0\u8fb9\u754c\u60c5\u51b5"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u9a8c\u8bc1"})}),(0,i.jsx)(l.td,{children:"\u9a8c\u8bc1\u9700\u6c42"}),(0,i.jsx)(l.td,{children:"\u9a8c\u8bc1\u5b9e\u73b0"})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"test-fix-gen-\u4e2d\u6709\u54ea\u4e9b\u6d4b\u8bd5\u5c42\u7ea7",children:"test-fix-gen \u4e2d\u6709\u54ea\u4e9b\u6d4b\u8bd5\u5c42\u7ea7\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u5c42\u7ea7"}),(0,i.jsx)(l.th,{children:"\u7c7b\u578b"}),(0,i.jsx)(l.th,{children:"\u63cf\u8ff0"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"L0"})}),(0,i.jsx)(l.td,{children:"\u9759\u6001"}),(0,i.jsx)(l.td,{children:"\u7c7b\u578b\u68c0\u67e5\u3001linting"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"L1"})}),(0,i.jsx)(l.td,{children:"\u5355\u5143"}),(0,i.jsx)(l.td,{children:"\u51fd\u6570\u7ea7\u522b\u6d4b\u8bd5"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"L2"})}),(0,i.jsx)(l.td,{children:"\u96c6\u6210"}),(0,i.jsx)(l.td,{children:"\u7ec4\u4ef6\u4ea4\u4e92"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"L3"})}),(0,i.jsx)(l.td,{children:"E2E"}),(0,i.jsx)(l.td,{children:"\u5b8c\u6574\u7cfb\u7edf\u6d4b\u8bd5"})]})]})]}),"\n",(0,i.jsx)(l.h2,{id:"level-4-\u95ee\u9898",children:"Level 4 \u95ee\u9898"}),"\n",(0,i.jsxs)(l.h3,{id:"\u4f55\u65f6\u4f7f\u7528-brainstorm",children:["\u4f55\u65f6\u4f7f\u7528 brainstorm",":auto-parallel","\uff1f"]}),"\n",(0,i.jsxs)(l.p,{children:["\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u4f7f\u7528 Level 4 (",(0,i.jsx)(l.code,{children:"brainstorm:auto-parallel"}),")\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u65b0\u529f\u80fd\u8bbe\u8ba1"}),"\n",(0,i.jsx)(l.li,{children:"\u7cfb\u7edf\u67b6\u6784\u91cd\u6784"}),"\n",(0,i.jsx)(l.li,{children:"\u63a2\u7d22\u6027\u9700\u6c42"}),"\n",(0,i.jsx)(l.li,{children:"\u4e0d\u786e\u5b9a\u7684\u5b9e\u73b0\u65b9\u6cd5"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u591a\u7ef4\u5ea6\u6743\u8861"}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"brainstorm-\u4e2d\u6709\u54ea\u4e9b\u53ef\u7528\u89d2\u8272",children:"brainstorm \u4e2d\u6709\u54ea\u4e9b\u53ef\u7528\u89d2\u8272\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u89d2\u8272"}),(0,i.jsx)(l.th,{children:"\u63cf\u8ff0"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"system-architect"})}),(0,i.jsx)(l.td,{children:"\u7cfb\u7edf\u8bbe\u8ba1"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"ui-designer"})}),(0,i.jsx)(l.td,{children:"UI \u8bbe\u8ba1"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"ux-expert"})}),(0,i.jsx)(l.td,{children:"\u7528\u6237\u4f53\u9a8c"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"product-manager"})}),(0,i.jsx)(l.td,{children:"\u4ea7\u54c1\u9700\u6c42"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"product-owner"})}),(0,i.jsx)(l.td,{children:"\u4e1a\u52a1\u4ef7\u503c"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"data-architect"})}),(0,i.jsx)(l.td,{children:"\u6570\u636e\u7ed3\u6784"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"scrum-master"})}),(0,i.jsx)(l.td,{children:"\u6d41\u7a0b\u548c\u56e2\u961f"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"subject-matter-expert"})}),(0,i.jsx)(l.td,{children:"\u9886\u57df\u4e13\u4e1a\u77e5\u8bc6"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"test-strategist"})}),(0,i.jsx)(l.td,{children:"\u6d4b\u8bd5\u7b56\u7565"})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f-with-file-\u5de5\u4f5c\u6d41",children:"\u4ec0\u4e48\u662f With-File \u5de5\u4f5c\u6d41\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"With-File \u5de5\u4f5c\u6d41"}),"\u63d0\u4f9b\u591a CLI \u534f\u4f5c\u7684\u6587\u6863\u5316\u63a2\u7d22\uff1a"]}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u5de5\u4f5c\u6d41"}),(0,i.jsx)(l.th,{children:"\u7528\u9014"}),(0,i.jsx)(l.th,{children:"\u7ea7\u522b"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"brainstorm-with-file"})}),(0,i.jsx)(l.td,{children:"\u591a\u89c6\u89d2\u6784\u601d"}),(0,i.jsx)(l.td,{children:"4"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"debug-with-file"})}),(0,i.jsx)(l.td,{children:"\u5047\u8bbe\u9a71\u52a8\u8c03\u8bd5"}),(0,i.jsx)(l.td,{children:"3"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:"analyze-with-file"})}),(0,i.jsx)(l.td,{children:"\u534f\u4f5c\u5206\u6790"}),(0,i.jsx)(l.td,{children:"3"})]})]})]}),"\n",(0,i.jsx)(l.h2,{id:"level-5-\u95ee\u9898",children:"Level 5 \u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u4f55\u65f6\u4f7f\u7528-ccw-coordinator",children:"\u4f55\u65f6\u4f7f\u7528 ccw-coordinator\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:["\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u4f7f\u7528 Level 5 (",(0,i.jsx)(l.code,{children:"ccw-coordinator"}),")\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u590d\u6742\u7684\u591a\u6b65\u9aa4\u5de5\u4f5c\u6d41"}),"\n",(0,i.jsx)(l.li,{children:"\u4e0d\u786e\u5b9a\u4f7f\u7528\u54ea\u4e9b\u547d\u4ee4"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u7aef\u5230\u7aef\u81ea\u52a8\u5316"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u5b8c\u6574\u7684\u72b6\u6001\u8ddf\u8e2a\u548c\u53ef\u6062\u590d\u6027"}),"\n",(0,i.jsx)(l.li,{children:"\u56e2\u961f\u534f\u4f5c\u7edf\u4e00\u6267\u884c\u6d41\u7a0b"}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"ccw-coordinator-\u4e0e\u5176\u4ed6\u7ea7\u522b\u6709\u4f55\u4e0d\u540c",children:"ccw-coordinator \u4e0e\u5176\u4ed6\u7ea7\u522b\u6709\u4f55\u4e0d\u540c\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u65b9\u9762"}),(0,i.jsx)(l.th,{children:"Level 1-4"}),(0,i.jsx)(l.th,{children:"Level 5"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u547d\u4ee4\u9009\u62e9"})}),(0,i.jsx)(l.td,{children:"\u624b\u52a8"}),(0,i.jsx)(l.td,{children:"\u81ea\u52a8"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u7f16\u6392"})}),(0,i.jsx)(l.td,{children:"\u624b\u52a8"}),(0,i.jsx)(l.td,{children:"\u667a\u80fd"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:(0,i.jsx)(l.strong,{children:"\u72b6\u6001\u8ddf\u8e2a"})}),(0,i.jsx)(l.td,{children:"\u5404\u5f02"}),(0,i.jsx)(l.td,{children:"\u5b8c\u6574\u6301\u4e45\u5316"})]})]})]}),"\n",(0,i.jsx)(l.h2,{id:"\u6267\u884c\u95ee\u9898",children:"\u6267\u884c\u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f-lite-execute",children:"\u4ec0\u4e48\u662f lite-execute\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.code,{children:"lite-execute"})," \u662f Level 2 \u5de5\u4f5c\u6d41\u7684\u7edf\u4e00\u6267\u884c\u547d\u4ee4\uff1a"]}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"/workflow:lite-execute --in-memory\n"})}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u7279\u6027"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u72ec\u7acb\u4efb\u52a1\u5e76\u884c\u6267\u884c"}),"\n",(0,i.jsx)(l.li,{children:"\u4f9d\u8d56\u4efb\u52a1\u987a\u5e8f\u6267\u884c"}),"\n",(0,i.jsx)(l.li,{children:"\u901a\u8fc7 TodoWrite \u8ddf\u8e2a\u8fdb\u5ea6"}),"\n",(0,i.jsx)(l.li,{children:"\u53ef\u9009\u4ee3\u7801\u5ba1\u67e5"}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"\u4ec0\u4e48\u662f-execute",children:"\u4ec0\u4e48\u662f execute\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.code,{children:"execute"})," \u662f Level 3 \u5de5\u4f5c\u6d41\u7684\u7edf\u4e00\u6267\u884c\u547d\u4ee4\uff1a"]}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"/workflow:execute --session WFS-{session-id}\n"})}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"\u7279\u6027"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u4f9d\u8d56\u5206\u6790"}),"\n",(0,i.jsx)(l.li,{children:"\u5e76\u884c/\u987a\u5e8f\u4efb\u52a1\u6267\u884c"}),"\n",(0,i.jsx)(l.li,{children:"\u57fa\u4e8e\u4f1a\u8bdd\u7684\u8fdb\u5ea6\u8ddf\u8e2a"}),"\n",(0,i.jsx)(l.li,{children:"\u4efb\u52a1\u5b8c\u6210\u6458\u8981"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"\u4f1a\u8bdd\u95ee\u9898",children:"\u4f1a\u8bdd\u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u6062\u590d\u6682\u505c\u7684\u4f1a\u8bdd",children:"\u5982\u4f55\u6062\u590d\u6682\u505c\u7684\u4f1a\u8bdd\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"/workflow:session:resume # \u6062\u590d\u6700\u8fd1\u7684\u4f1a\u8bdd\r\n/workflow:session:resume WFS-{session-id} # \u6062\u590d\u7279\u5b9a\u4f1a\u8bdd\n"})}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u5b8c\u6210\u4f1a\u8bdd",children:"\u5982\u4f55\u5b8c\u6210\u4f1a\u8bdd\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"/workflow:session:complete --session WFS-{session-id}\n"})}),"\n",(0,i.jsx)(l.p,{children:"\u8fd9\u5c06\u4f7f\u7528\u7ecf\u9a8c\u6559\u8bad\u5f52\u6863\u4f1a\u8bdd\u5e76\u66f4\u65b0\u6e05\u5355\u3002"}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u5217\u51fa\u6240\u6709\u4f1a\u8bdd",children:"\u5982\u4f55\u5217\u51fa\u6240\u6709\u4f1a\u8bdd\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"/workflow:session:list\n"})}),"\n",(0,i.jsx)(l.h2,{id:"\u4ea7\u7269\u95ee\u9898",children:"\u4ea7\u7269\u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u5de5\u4f5c\u6d41\u4ea7\u7269\u5b58\u50a8\u5728\u54ea\u91cc",children:"\u5de5\u4f5c\u6d41\u4ea7\u7269\u5b58\u50a8\u5728\u54ea\u91cc\uff1f"}),"\n",(0,i.jsxs)(l.table,{children:[(0,i.jsx)(l.thead,{children:(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.th,{children:"\u7ea7\u522b"}),(0,i.jsx)(l.th,{children:"\u4ea7\u7269\u4f4d\u7f6e"})]})}),(0,i.jsxs)(l.tbody,{children:[(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:"Level 1"}),(0,i.jsx)(l.td,{children:"\u65e0\uff08\u65e0\u72b6\u6001\uff09"})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:"Level 2"}),(0,i.jsxs)(l.td,{children:[(0,i.jsx)(l.code,{children:"memory://plan"})," \u6216 ",(0,i.jsx)(l.code,{children:".workflow/.lite-fix/"}),"\u3001",(0,i.jsx)(l.code,{children:".workflow/.multi-cli-plan/"})]})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:"Level 3"}),(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:".workflow/active/WFS-{session}/"})})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:"Level 4"}),(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:".workflow/active/WFS-{session}/.brainstorming/"})})]}),(0,i.jsxs)(l.tr,{children:[(0,i.jsx)(l.td,{children:"Level 5"}),(0,i.jsx)(l.td,{children:(0,i.jsx)(l.code,{children:".workflow/.ccw-coordinator/{session}/"})})]})]})]}),"\n",(0,i.jsx)(l.h3,{id:"\u4f1a\u8bdd\u4e2d\u5305\u542b\u54ea\u4e9b\u6587\u4ef6",children:"\u4f1a\u8bdd\u4e2d\u5305\u542b\u54ea\u4e9b\u6587\u4ef6\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{children:".workflow/active/WFS-{session}/\r\n\u251c\u2500\u2500 workflow-session.json # \u4f1a\u8bdd\u5143\u6570\u636e\r\n\u251c\u2500\u2500 IMPL_PLAN.md # \u5b9e\u73b0\u8ba1\u5212\r\n\u251c\u2500\u2500 TODO_LIST.md # \u8fdb\u5ea6\u8ddf\u8e2a\r\n\u251c\u2500\u2500 .task/\r\n\u2502 \u251c\u2500\u2500 IMPL-001.json # \u4efb\u52a1\u5b9a\u4e49\r\n\u2502 \u251c\u2500\u2500 IMPL-002.json\r\n\u2502 \u2514\u2500\u2500 ...\r\n\u2514\u2500\u2500 .process/\r\n \u251c\u2500\u2500 context-package.json # \u9879\u76ee\u4e0a\u4e0b\u6587\r\n \u2514\u2500\u2500 planning-notes.md\n"})}),"\n",(0,i.jsx)(l.h2,{id:"\u6d4b\u8bd5\u95ee\u9898",children:"\u6d4b\u8bd5\u95ee\u9898"}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u4e3a\u73b0\u6709\u4ee3\u7801\u6dfb\u52a0\u6d4b\u8bd5",children:"\u5982\u4f55\u4e3a\u73b0\u6709\u4ee3\u7801\u6dfb\u52a0\u6d4b\u8bd5\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:'# \u4f1a\u8bdd\u6a21\u5f0f\uff08\u4ece\u73b0\u6709\u4f1a\u8bdd\uff09\r\n/workflow:test-fix-gen WFS-user-auth-v2\r\n\r\n# \u63d0\u793a\u6a21\u5f0f\uff08\u76f4\u63a5\u63cf\u8ff0\uff09\r\n/workflow:test-fix-gen "Add unit tests for the auth API"\n'})}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u4fee\u590d\u5931\u8d25\u7684\u6d4b\u8bd5",children:"\u5982\u4f55\u4fee\u590d\u5931\u8d25\u7684\u6d4b\u8bd5\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:'/workflow:test-fix-gen "Tests failing for user registration"\r\n/workflow:test-cycle-execute\n'})}),"\n",(0,i.jsx)(l.p,{children:"\u5de5\u4f5c\u6d41\u5c06\uff1a"}),"\n",(0,i.jsxs)(l.ol,{children:["\n",(0,i.jsx)(l.li,{children:"\u5206\u6790\u6d4b\u8bd5\u5931\u8d25"}),"\n",(0,i.jsx)(l.li,{children:"\u8bc6\u522b\u6839\u672c\u539f\u56e0"}),"\n",(0,i.jsx)(l.li,{children:"\u8fed\u4ee3\u4fee\u590d\u95ee\u9898"}),"\n",(0,i.jsx)(l.li,{children:"\u9a8c\u8bc1 >= 95% \u901a\u8fc7\u7387"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"\u6545\u969c\u6392\u9664",children:"\u6545\u969c\u6392\u9664"}),"\n",(0,i.jsx)(l.h3,{id:"\u6211\u7684\u5de5\u4f5c\u6d41\u5931\u8d25\u4e86\u8be5\u600e\u4e48\u529e",children:"\u6211\u7684\u5de5\u4f5c\u6d41\u5931\u8d25\u4e86\uff0c\u8be5\u600e\u4e48\u529e\uff1f"}),"\n",(0,i.jsxs)(l.ol,{children:["\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u68c0\u67e5\u9519\u8bef\u6d88\u606f"})," - \u8bc6\u522b\u6839\u672c\u539f\u56e0"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u67e5\u770b state.json"})," - \u68c0\u67e5 ",(0,i.jsx)(l.code,{children:".workflow/.ccw-coordinator/{session}/state.json"})]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u6062\u590d\u4f1a\u8bdd"})," - \u4f7f\u7528 ",(0,i.jsx)(l.code,{children:"/workflow:session:resume"})," \u7ee7\u7eed"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u8c03\u6574\u5e76\u91cd\u8bd5"})," - \u6839\u636e\u9519\u8bef\u4fee\u6539\u65b9\u6cd5"]}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u8df3\u8fc7\u5931\u8d25\u7684\u4efb\u52a1",children:"\u5982\u4f55\u8df3\u8fc7\u5931\u8d25\u7684\u4efb\u52a1\uff1f"}),"\n",(0,i.jsx)(l.p,{children:'\u7f16\u8f91\u4efb\u52a1 JSON \u5c06\u72b6\u6001\u8bbe\u7f6e\u4e3a "completed"\uff1a'}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"jq '.status = \"completed\"' .workflow/active/WFS-{session}/.task/IMPL-001.json\n"})}),"\n",(0,i.jsx)(l.h3,{id:"\u5982\u4f55\u6e05\u7406\u65e7\u4f1a\u8bdd",children:"\u5982\u4f55\u6e05\u7406\u65e7\u4f1a\u8bdd\uff1f"}),"\n",(0,i.jsx)(l.pre,{children:(0,i.jsx)(l.code,{className:"language-bash",children:"# \u5217\u51fa\u4f1a\u8bdd\r\n/workflow:session:list\r\n\r\n# \u5220\u9664\u7279\u5b9a\u4f1a\u8bdd\r\nrm -rf .workflow/active/WFS-{session-id}\r\n\r\n# \u6e05\u7406\u6240\u6709\u5df2\u5b8c\u6210\u7684\u4f1a\u8bdd\r\n/workflow:clean\n"})}),"\n",(0,i.jsx)(l.h2,{id:"\u6700\u4f73\u5b9e\u8df5",children:"\u6700\u4f73\u5b9e\u8df5"}),"\n",(0,i.jsx)(l.h3,{id:"\u5de5\u4f5c\u6d41\u6700\u4f73\u5b9e\u8df5\u6709\u54ea\u4e9b",children:"\u5de5\u4f5c\u6d41\u6700\u4f73\u5b9e\u8df5\u6709\u54ea\u4e9b\uff1f"}),"\n",(0,i.jsxs)(l.ol,{children:["\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u4ece\u7b80\u5355\u5f00\u59cb"})," - \u4f7f\u7528\u6ee1\u8db3\u9700\u6c42\u7684\u6700\u4f4e\u7ea7\u522b"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u6267\u884c\u524d\u89c4\u5212"})," - \u5c3d\u53ef\u80fd\u4f7f\u7528\u9a8c\u8bc1\u6b65\u9aa4"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u6301\u7eed\u6d4b\u8bd5"})," - \u5c06\u6d4b\u8bd5\u96c6\u6210\u5230\u5de5\u4f5c\u6d41\u4e2d"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u4ee3\u7801\u5ba1\u67e5"})," - \u4f7f\u7528\u5185\u7f6e\u5ba1\u67e5\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.strong,{children:"\u8bb0\u5f55\u51b3\u7b56"})," - \u5bf9\u590d\u6742\u51b3\u7b56\u4f7f\u7528\u5934\u8111\u98ce\u66b4\u5de5\u4f5c\u6d41"]}),"\n"]}),"\n",(0,i.jsx)(l.h3,{id:"\u4f55\u65f6\u4f7f\u7528-worktree-\u9694\u79bb",children:"\u4f55\u65f6\u4f7f\u7528 worktree \u9694\u79bb\uff1f"}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"Worktree \u9694\u79bb"}),"\u4e3b\u8981\u7528\u4e8e ",(0,i.jsx)(l.strong,{children:"Issue Workflow"}),"\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u4e3b\u5f00\u53d1\u5b8c\u6210\u540e"}),"\n",(0,i.jsxs)(l.li,{children:["\u5df2\u5408\u5e76\u5230 ",(0,i.jsx)(l.code,{children:"main"})," \u5206\u652f"]}),"\n",(0,i.jsx)(l.li,{children:"\u53d1\u73b0\u9700\u8981\u4fee\u590d\u7684\u95ee\u9898"}),"\n",(0,i.jsx)(l.li,{children:"\u9700\u8981\u5728\u4e0d\u5f71\u54cd\u5f53\u524d\u5f00\u53d1\u7684\u60c5\u51b5\u4e0b\u4fee\u590d"}),"\n"]}),"\n",(0,i.jsxs)(l.p,{children:[(0,i.jsx)(l.strong,{children:"Main Workflow"})," \u4e0d\u9700\u8981 worktree\uff0c\u56e0\u4e3a\uff1a"]}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:"\u4f9d\u8d56\u5206\u6790\u89e3\u51b3\u4e86\u5e76\u884c\u95ee\u9898"}),"\n",(0,i.jsx)(l.li,{children:"\u4ee3\u7406\u5e76\u884c\u6267\u884c\u72ec\u7acb\u4efb\u52a1"}),"\n",(0,i.jsx)(l.li,{children:"\u4e0d\u9700\u8981\u6587\u4ef6\u7cfb\u7edf\u9694\u79bb"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"\u76f8\u5173\u6587\u6863",children:"\u76f8\u5173\u6587\u6863"}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/introduction",children:"\u7b80\u4ecb"})," - \u5de5\u4f5c\u6d41\u6982\u8ff0"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/level-1-ultra-lightweight",children:"Level 1"})," - \u8d85\u8f7b\u91cf\u7ea7\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/level-2-rapid",children:"Level 2"})," - \u5feb\u901f\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/level-3-standard",children:"Level 3"})," - \u6807\u51c6\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/level-4-brainstorm",children:"Level 4"})," - \u5934\u8111\u98ce\u66b4\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/docs/zh/workflows/level-5-intelligent",children:"Level 5"})," - \u667a\u80fd\u5de5\u4f5c\u6d41"]}),"\n",(0,i.jsxs)(l.li,{children:[(0,i.jsx)(l.a,{href:"/commands/general/ccw",children:"\u547d\u4ee4"})," - \u547d\u4ee4\u53c2\u8003"]}),"\n"]})]})}function o(e={}){const{wrapper:l}={...(0,d.R)(),...e.components};return l?(0,i.jsx)(l,{...e,children:(0,i.jsx)(j,{...e})}):j(e)}}}]); |