{"id":117544,"date":"2026-10-25T01:56:26","date_gmt":"2026-10-24T17:56:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/117544.html"},"modified":"2026-10-25T01:56:26","modified_gmt":"2026-10-24T17:56:26","slug":"chatgpt%e3%80%81codex%e5%b7%a5%e7%a8%8b%e5%ae%9e%e6%88%98%ef%bc%9a3%e4%b8%aaagent%e5%b9%b6%e8%a1%8c%e5%bc%80%e5%8f%91%ef%bc%8cgit-worktree%e9%9a%94%e7%a6%bb%e4%ba%86%e4%bb%a3%e7%a0%81%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/117544.html","title":{"rendered":"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f"},"content":{"rendered":"<p>\u7528ChatGPT\u3001Codex\u505a\u5de5\u7a0b\u5f00\u53d1&#xff0c;\u5f88\u591a\u56e2\u961f\u5f00\u59cb\u628a\u4efb\u52a1\u62c6\u7ed9\u591a\u4e2aAgent&#xff1a;\u4e00\u4e2a\u6539\u8ba2\u5355\u63a5\u53e3&#xff0c;\u4e00\u4e2a\u91cd\u6784\u652f\u4ed8\u6a21\u5757&#xff0c;\u53e6\u4e00\u4e2a\u8865\u96c6\u6210\u6d4b\u8bd5\u3002\u4e3a\u4e86\u907f\u514d\u4e92\u76f8\u8986\u76d6\u6587\u4ef6&#xff0c;\u5927\u5bb6\u7ed9\u6bcf\u4e2aAgent\u521b\u5efa\u72ec\u7acb\u7684Git worktree\u3002<\/p>\n<p>\u4ee3\u7801\u770b\u8d77\u6765\u5b8c\u5168\u9694\u79bb\u4e86&#xff0c;\u6d4b\u8bd5\u5374\u51fa\u73b0\u53cd\u5e38\u73b0\u8c61&#xff1a;Agent A\u521a\u5199\u5165\u7684\u8ba2\u5355\u88abB\u7684\u6e05\u7406\u811a\u672c\u5220\u6389&#xff1b;C\u7684\u96c6\u6210\u6d4b\u8bd5\u5355\u72ec\u8dd1\u5168\u90e8\u901a\u8fc7&#xff0c;\u4e09\u8def\u5e76\u884c\u5374\u5076\u53d1\u5931\u8d25&#xff1b;\u6709\u4eba\u521a\u542f\u52a8\u670d\u52a1&#xff0c;\u53e6\u4e00\u4e2a\u4efb\u52a1\u5c31\u62a5\u7aef\u53e3\u88ab\u5360\u7528\u3002<\/p>\n<p>\u6700\u540e\u4e09\u4e2aAgent\u90fd\u62a5\u544a\u201c\u4ee3\u7801\u4fee\u6539\u5b8c\u6210\u201d&#xff0c;\u5408\u5e76\u524d\u7684\u9a8c\u8bc1\u7ed3\u679c\u5374\u4e92\u76f8\u77db\u76fe\u3002<\/p>\n<p>\u95ee\u9898\u4e0d\u662fworktree\u5931\u6548&#xff0c;\u800c\u662f\u56e2\u961f\u628a\u201c\u6587\u4ef6\u9694\u79bb\u201d\u8bef\u5f53\u6210\u4e86\u201c\u6267\u884c\u73af\u5883\u9694\u79bb\u201d\u3002<\/p>\n<p>Git\u77e5\u9053\u6bcf\u4e2a\u5206\u652f\u6709\u54ea\u4e9b\u6587\u4ef6&#xff0c;\u5374\u4e0d\u77e5\u9053\u6d4b\u8bd5\u5171\u7528\u4e86\u54ea\u4e2a\u6570\u636e\u5e93\u3001Redis\u5b9e\u4f8b\u6216Docker\u5bb9\u5668\u3002Agent\u6570\u91cf\u8d8a\u591a&#xff0c;\u8fd9\u6761\u8fb9\u754c\u8d8a\u5bb9\u6613\u88ab\u5ffd\u7565\u3002<\/p>\n<h3>\u4e00\u3001Git worktree\u5230\u5e95\u9694\u79bb\u4e86\u4ec0\u4e48&#xff1f;<\/h3>\n<p>\u666e\u901a\u60c5\u51b5\u4e0b&#xff0c;\u540c\u4e00\u4e2a\u4ed3\u5e93\u53ea\u80fd\u5728\u5f53\u524d\u76ee\u5f55\u68c0\u51fa\u4e00\u4e2a\u5de5\u4f5c\u7248\u672c\u3002git worktree\u5141\u8bb8\u5728\u53e6\u4e00\u4e2a\u76ee\u5f55\u68c0\u51fa\u72ec\u7acb\u5de5\u4f5c\u6811&#xff0c;\u8ba9\u591a\u4e2a\u4efb\u52a1\u540c\u65f6\u4fee\u6539\u5404\u81ea\u7684\u4ee3\u7801&#xff0c;\u4e0d\u5fc5\u9891\u7e41\u5207\u6362\u5206\u652f\u3002<\/p>\n<p>\u6bcf\u4e2aworktree\u6709\u81ea\u5df1\u7684\u5de5\u4f5c\u76ee\u5f55\u3001\u6682\u5b58\u533a\u548cHEAD&#xff0c;\u53ef\u4ee5\u5206\u522b\u7f16\u8bd1\u3001\u7f16\u8f91\u548c\u63d0\u4ea4\u3002\u4f46\u5b83\u4eec\u4ecd\u5c5e\u4e8e\u540c\u4e00\u4e2aGit\u4ed3\u5e93\u4f53\u7cfb&#xff0c;\u5171\u4eab\u5bf9\u8c61\u6570\u636e\u5e93\u548c\u90e8\u5206\u4ed3\u5e93\u7ea7\u5143\u6570\u636e\u3001\u5f15\u7528\u3002<\/p>\n<p>\u4e0d\u540c\u5de5\u4f5c\u6811\u4e0d\u4ee3\u8868\u5b8c\u5168\u72ec\u7acb\u7684Git\u670d\u52a1\u5668&#xff0c;\u66f4\u4e0d\u7b49\u4e8e\u4e0d\u540c\u5f00\u53d1\u5bb9\u5668\u3002<\/p>\n<p>\u5b83\u4e3b\u8981\u89e3\u51b3\u7684\u662f\u201c\u4e24\u4e2aAgent\u540c\u65f6\u6539\u4e00\u4e2a\u76ee\u5f55\u5bfc\u81f4\u6587\u4ef6\u8986\u76d6\u201d&#xff0c;\u4e0d\u662f\u201c\u4e24\u4e2aAgent\u8fd0\u884c\u6d4b\u8bd5\u65f6\u4e89\u7528\u76f8\u540c\u8d44\u6e90\u201d\u3002<\/p>\n<p>\u5373\u4f7f\u4ee3\u7801\u63d0\u4ea4\u5b8c\u5168\u4e0d\u51b2\u7a81&#xff0c;\u53ea\u8981\u6d4b\u8bd5\u914d\u7f6e\u6307\u5411\u540c\u4e00\u4e2alocalhost:5432&#xff0c;\u6570\u636e\u5c31\u53ef\u80fd\u76f8\u4e92\u5f71\u54cd\u3002<\/p>\n<h3>\u4e8c\u3001\u5148\u8fd8\u539f\u4e00\u6b21\u770b\u4f3c\u968f\u673a\u7684\u5931\u8d25<\/h3>\n<p>\u5047\u8bbe\u4e09\u4e2aworktree\u5206\u522b\u662f..\/order-ws\u3001..\/pay-ws\u548c..\/test-ws\u3002<\/p>\n<p>A\u7684\u6d4b\u8bd5\u5411test_order\u63d2\u5165\u4e00\u7b14\u5f85\u652f\u4ed8\u8ba2\u5355&#xff1b;B\u7684\u6d4b\u8bd5\u542f\u52a8\u524d\u6267\u884cTRUNCATE test_order\u91cd\u7f6e\u6570\u636e&#xff1b;C\u968f\u540e\u8c03\u7528\u8ba2\u5355\u8be6\u60c5\u63a5\u53e3&#xff0c;\u5f97\u5230\u201c\u8bb0\u5f55\u4e0d\u5b58\u5728\u201d\u3002<\/p>\n<p>A\u548cC\u5728\u672c\u5730\u5355\u72ec\u8dd1\u90fd\u80fd\u901a\u8fc7&#xff0c;\u56e0\u6b64\u5f00\u53d1\u4eba\u5458\u6000\u7591Codex\u4fee\u6539\u4e86\u67e5\u8be2\u903b\u8f91\u3002<\/p>\n<p>\u53ef\u4e00\u65e6\u628a\u4e09\u4e2a\u4efb\u52a1\u7684\u6d4b\u8bd5\u65f6\u95f4\u7ebf\u653e\u5728\u4e00\u8d77&#xff0c;\u5c31\u80fd\u770b\u5230\u5931\u8d25\u53d1\u751f\u5728B\u6e05\u8868\u4e4b\u540e\u3002<\/p>\n<p>\u8fd9\u7c7b\u95ee\u9898\u6709\u4e09\u4e2a\u5178\u578b\u4fe1\u53f7&#xff1a;<\/p>\n<p>\u5355\u72ec\u901a\u8fc7\u3001\u5e76\u53d1\u5076\u53d1\u5931\u8d25\u3001\u5931\u8d25\u70b9\u968f\u542f\u52a8\u987a\u5e8f\u53d8\u5316\u3002<\/p>\n<p>\u4f46\u4e0d\u8981\u76f4\u63a5\u4e0b\u7ed3\u8bba&#xff0c;CPU\u8d44\u6e90\u4e0d\u8db3\u3001\u5916\u90e8\u670d\u52a1\u6296\u52a8\u540c\u6837\u53ef\u80fd\u5728\u5e76\u53d1\u65f6\u51fa\u73b0\u3002<\/p>\n<p>\u8981\u901a\u8fc7\u8fd0\u884cID\u3001\u6570\u636e\u6807\u8bc6\u548c\u65f6\u95f4\u6233&#xff0c;\u628a\u5177\u4f53\u5931\u8d25\u5173\u8054\u5230\u53e6\u4e00\u4efb\u52a1\u7684\u5b9e\u9645\u64cd\u4f5c\u3002<\/p>\n<h3>\u4e09\u3001\u6700\u5bb9\u6613\u6f0f\u6389\u7684\u662f\u6d4b\u8bd5\u6570\u636e\u5e93<\/h3>\n<p>\u4e0d\u5c11Spring Boot\u9879\u76ee\u628aapplication-test.yml\u5199\u6210\u56fa\u5b9a\u8fde\u63a5\u5730\u5740\u3002<\/p>\n<p>\u4e09\u4e2aAgent\u867d\u7136\u5728\u4e0d\u540c\u76ee\u5f55\u6267\u884cMaven&#xff0c;\u5374\u53ef\u80fd\u90fd\u8fde\u63a5\u5230test_db\u3002<\/p>\n<p>\u8fd9\u4f1a\u4ea7\u751f\u4e24\u79cd\u5e72\u6270\u3002<\/p>\n<p>\u4e00\u79cd\u662f\u6d4b\u8bd5\u6570\u636e\u88ab\u6e05\u7406&#xff1a;DELETE\u3001TRUNCATE\u6216\u6d4b\u8bd5\u7ed3\u675f\u540e\u7684\u6e05\u573a\u811a\u672c&#xff0c;\u8bef\u5220\u5176\u4ed6\u4efb\u52a1\u4ecd\u5728\u4f7f\u7528\u7684\u8bb0\u5f55\u3002<\/p>\n<p>\u53e6\u4e00\u79cd\u662f\u8868\u7ed3\u6784\u88ab\u4fee\u6539&#xff1a;A\u6240\u5728\u5206\u652f\u65b0\u589e\u5b57\u6bb5&#xff0c;B\u6240\u5728\u5206\u652f\u8fd0\u884c\u65e7\u7248Flyway\u811a\u672c&#xff0c;C\u968f\u5373\u62a5\u5217\u4e0d\u5b58\u5728\u6216\u6821\u9a8c\u5931\u8d25\u3002<\/p>\n<p>\u7ed9\u4e0d\u540c\u8ba2\u5355\u52a0\u524d\u7f00\u53ea\u80fd\u89e3\u51b3\u4e00\u90e8\u5206\u6570\u636e\u78b0\u649e&#xff0c;\u89e3\u51b3\u4e0d\u4e86\u5171\u4eabSchema\u4e0a\u7684DDL\u548c\u5168\u8868\u6e05\u7406\u3002<\/p>\n<p>\u66f4\u7a33\u59a5\u7684\u65b9\u5f0f\u662f\u4e3a\u6bcf\u4e2aAgent\u5206\u914d\u72ec\u7acb\u6570\u636e\u5e93\u3001Schema\u6216\u72ec\u7acb\u7684\u6570\u636e\u5e93\u5bb9\u5668&#xff0c;\u5e76\u4fdd\u8bc1\u8fc1\u79fb\u4e0e\u6e05\u7406\u53ea\u4f5c\u7528\u4e8e\u81ea\u5df1\u7684\u8303\u56f4\u3002<\/p>\n<p>\u53e6\u5916&#xff0c;&#064;Transactional\u6d4b\u8bd5\u56de\u6eda\u4e5f\u4e0d\u662f\u4e07\u80fd\u9694\u79bb&#xff1a;\u6d4b\u8bd5\u82e5\u542f\u52a8\u5f02\u6b65\u7ebf\u7a0b\u3001\u53d1\u9001\u6d88\u606f&#xff0c;\u6216\u8005\u5916\u90e8\u63a5\u53e3\u81ea\u5df1\u63d0\u4ea4\u4e8b\u52a1&#xff0c;\u76f8\u5173\u526f\u4f5c\u7528\u672a\u5fc5\u5305\u542b\u5728\u6d4b\u8bd5\u7ebf\u7a0b\u7684\u56de\u6eda\u8303\u56f4\u5185\u3002<\/p>\n<h3>\u56db\u3001Redis\u548c\u6d88\u606f\u961f\u5217\u4f1a\u5236\u9020\u201c\u770b\u4e0d\u89c1\u201d\u7684\u4ea4\u53c9\u6c61\u67d3<\/h3>\n<p>\u7f13\u5b58\u95ee\u9898\u901a\u5e38\u66f4\u9690\u853d\u3002<\/p>\n<p>A\u5728Redis\u5199\u5165order:1024&#xff0c;B\u7684\u6d4b\u8bd5\u4e3a\u51c6\u5907\u73af\u5883\u6267\u884cFLUSHDB&#xff0c;A\u7684\u65ad\u8a00\u5c31\u53ef\u80fd\u7a81\u7136\u67e5\u4e0d\u5230\u6570\u636e\u3002<\/p>\n<p>\u5373\u4f7f\u53cc\u65b9\u4f7f\u7528\u4e0d\u540ckey&#xff0c;\u8fc7\u4e8e\u5bbd\u6cdb\u7684\u5220\u9664\u6a21\u5f0f\u4e5f\u53ef\u80fd\u8bef\u4f24\u3002<\/p>\n<p>Redis\u6570\u636e\u5e93\u7f16\u53f7\u4e0d\u5e94\u88ab\u5f53\u6210\u5f3a\u9694\u79bb\u673a\u5236&#xff0c;\u5c24\u5176\u4e0d\u80fd\u9632\u6b62\u8bef\u7528\u5168\u5c40\u6e05\u7406\u547d\u4ee4\u3002<\/p>\n<p>\u6d88\u606f\u961f\u5217\u540c\u6837\u5982\u6b64\u3002<\/p>\n<p>\u4e09\u4e2a\u4efb\u52a1\u5171\u7528\u4e00\u4e2a\u6d4b\u8bd5Topic\u548c\u6d88\u8d39\u8005\u7ec4\u65f6&#xff0c;\u4e00\u4e2a\u4efb\u52a1\u7684\u6d88\u8d39\u8005\u53ef\u80fd\u62ff\u8d70\u53e6\u4e00\u4e2a\u4efb\u52a1\u671f\u671b\u6536\u5230\u7684\u6d88\u606f&#xff1b;\u5171\u4eab\u91cd\u8bd5\u961f\u5217\u3001\u6b7b\u4fe1\u961f\u5217\u6216\u56fa\u5b9a\u6d88\u606fID&#xff0c;\u8fd8\u4f1a\u8ba9\u65ad\u8a00\u51fa\u73b0\u5076\u53d1\u6027\u3002<\/p>\n<p>\u5b9e\u8df5\u4e2d\u81f3\u5c11\u8981\u8ba9Redis key\u524d\u7f00\u3001Topic\u6216\u961f\u5217\u540d\u79f0\u3001\u6d88\u8d39\u8005\u7ec4\u3001\u6d4b\u8bd5\u6d88\u606fID\u5e26\u6709\u552f\u4e00\u7684\u4efb\u52a1\u6807\u8bc6\u3002<\/p>\n<p>\u5bf9\u9700\u8981\u4e25\u683c\u72ec\u7acb\u9a8c\u8bc1\u7684\u4efb\u52a1&#xff0c;\u76f4\u63a5\u4f7f\u7528\u72ec\u7acb\u5bb9\u5668\u6216Broker\u66f4\u7a33\u3002<\/p>\n<p>\u9694\u79bb\u4e0d\u80fd\u53ea\u770b\u201c\u6d88\u606f\u80fd\u4e0d\u80fd\u53d1\u201d&#xff0c;\u8fd8\u8981\u770b\u201c\u8c01\u80fd\u6d88\u8d39\u3001\u8c01\u80fd\u6e05\u7406\u201d\u3002<\/p>\n<h3>\u4e94\u3001Docker Compose\u3001\u7aef\u53e3\u548c\u4e34\u65f6\u6587\u4ef6\u4e5f\u662f\u5171\u4eab\u8d44\u6e90<\/h3>\n<p>\u591a\u4e2aAgent\u5728\u540c\u4e00\u53f0\u5f00\u53d1\u673a\u542f\u52a8\u670d\u52a1&#xff0c;\u53ef\u80fd\u90fd\u8981\u7ed1\u5b9a8080&#xff0c;\u56e0\u6b64\u7b2c\u4e8c\u4e2a\u670d\u52a1\u542f\u52a8\u5931\u8d25\u3002<\/p>\n<p>\u6709\u7684\u6d4b\u8bd5\u6846\u67b6\u6355\u83b7\u4e0d\u5230\u542f\u52a8\u5931\u8d25&#xff0c;\u968f\u540eHTTP\u8bf7\u6c42\u6253\u5230\u4e86\u7b2c\u4e00\u4e2aAgent\u7684\u670d\u52a1&#xff0c;\u7ed3\u679c\u770b\u8d77\u6765\u66f4\u8ff7\u60d1&#xff1a;<\/p>\n<p>\u6d4b\u8bd5\u901a\u8fc7\u4e86&#xff0c;\u5374\u9a8c\u8bc1\u7684\u4e0d\u662f\u672c\u5206\u652f\u4ee3\u7801\u3002<\/p>\n<p>Docker Compose\u4e5f\u5bb9\u6613\u8bef\u7528\u3002<\/p>\n<p>\u5982\u679c\u9879\u76ee\u540d\u79f0\u3001\u5bb9\u5668\u540d\u6216\u7f51\u7edc\u540d\u56fa\u5b9a&#xff0c;\u591a\u4e2a\u4efb\u52a1\u53ef\u80fd\u590d\u7528\u751a\u81f3\u91cd\u5efa\u540c\u4e00\u5957\u670d\u52a1\u3002<\/p>\n<p>\u5373\u4f7fCompose\u9879\u76ee\u540d\u79f0\u4e0d\u540c&#xff0c;\u56fa\u5b9a\u5bbf\u4e3b\u673a\u7aef\u53e3\u4ecd\u4f1a\u51b2\u7a81\u3002<\/p>\n<p>\u8fd8\u6709\u4e0d\u592a\u663e\u773c\u7684\u5171\u4eab\u76ee\u5f55&#xff0c;\u5982\/tmp\/report.json\u3001\u7edf\u4e00\u7684\u6d4b\u8bd5\u4e0a\u4f20\u76ee\u5f55\u3001\u751f\u6210\u6587\u4ef6\u8def\u5f84&#xff0c;\u4ee5\u53ca\u672c\u673a\u7f13\u5b58\u3002<\/p>\n<p>\u4e00\u4e2aAgent\u6e05\u7406\u4e34\u65f6\u76ee\u5f55&#xff0c;\u53e6\u4e00\u4e2aAgent\u5c31\u53ef\u80fd\u4e22\u5931\u5feb\u7167\u3002<\/p>\n<p>\u5916\u90e8\u5bf9\u8c61\u5b58\u50a8\u3001\u90ae\u4ef6\u6c99\u7bb1\u548c\u56de\u8c03\u5730\u5740\u540c\u6837\u9700\u8981\u5ba1\u67e5\u3002<\/p>\n<p>\u4e0d\u8981\u628a\u9694\u79bb\u7406\u89e3\u6210\u201c\u7ed9\u76ee\u5f55\u6362\u540d\u5b57\u201d&#xff0c;\u8981\u9010\u4e00\u68c0\u67e5\u8d44\u6e90\u7684\u521b\u5efa\u3001\u8bfb\u53d6\u3001\u4fee\u6539\u548c\u9500\u6bc1\u6743\u9650\u3002<\/p>\n<h3>\u516d\u3001\u7ed9\u6bcf\u4e2aAgent\u4e00\u4e2a\u8d2f\u7a7f\u5168\u94fe\u8def\u7684\u8fd0\u884c\u8eab\u4efd<\/h3>\n<p>\u6bd4\u8f83\u5b9e\u7528\u7684\u505a\u6cd5&#xff0c;\u662f\u7ed9\u6bcf\u6b21\u6267\u884c\u751f\u6210\u552f\u4e00\u7684run_id&#xff0c;\u4f8b\u5982order-241024-a01\u3002<\/p>\n<p>\u5b83\u4e0d\u4ec5\u5199\u8fdb\u65e5\u5fd7&#xff0c;\u8fd8\u8981\u53c2\u4e0e\u73af\u5883\u547d\u540d&#xff1a;\u6570\u636e\u5e93\u3001\u5bb9\u5668\u9879\u76ee\u3001\u7f13\u5b58\u524d\u7f00\u3001\u6d88\u606f\u8d44\u6e90\u3001\u4e0a\u4f20\u8def\u5f84\u548c\u6d4b\u8bd5\u62a5\u544a\u76ee\u5f55\u3002<\/p>\n<p>\u521b\u5efaworktree\u65f6\u5206\u522b\u4f7f\u7528\u72ec\u7acb\u5206\u652f&#xff1a;<\/p>\n<p>git worktree add -b agent\/order ..\/order-ws main<br \/>\ngit worktree add -b agent\/pay ..\/pay-ws main<br \/>\ngit worktree add -b agent\/test ..\/test-ws main<\/p>\n<p>\u518d\u4e3a\u5404\u81ea\u73af\u5883\u8bbe\u7f6e\u8d44\u6e90\u6807\u8bc6\u3002<\/p>\n<p>\u4ee5Compose\u4e3a\u4f8b&#xff0c;\u53ef\u4ee5\u8ba9COMPOSE_PROJECT_NAME\u548cAPP_PORT\u5206\u522b\u7531\u4efb\u52a1\u914d\u7f6e\u63d0\u4f9b&#xff1b;Compose\u6587\u4ef6\u4e2d\u7684\u7aef\u53e3\u6620\u5c04\u5e94\u5f15\u7528${APP_PORT}&#xff0c;\u800c\u4e0d\u662f\u786c\u7f16\u7801\u540c\u4e00\u4e2a\u7aef\u53e3\u3002<\/p>\n<p>COMPOSE_PROJECT_NAME&#061;order-a APP_PORT&#061;18081 docker compose up -d &#8211;wait<\/p>\n<p>COMPOSE_PROJECT_NAME&#061;pay-b APP_PORT&#061;18082 docker compose up -d &#8211;wait<\/p>\n<p>\u8fd9\u91cc\u7684\u4e24\u6761\u547d\u4ee4\u5e94\u5728\u5404\u81eaworktree\u6267\u884c\u3002<\/p>\n<p>\u771f\u5b9e\u7cfb\u7edf\u8fd8\u9700\u5206\u522b\u6307\u5b9a\u6570\u636e\u5e93\u540d\u79f0\u53ca\u51ed\u8bc1&#xff1b;\u4ec5\u6539\u53d8Compose\u9879\u76ee\u540d\u5e76\u4e0d\u80fd\u81ea\u52a8\u9694\u79bb\u5916\u90e8\u6570\u636e\u5e93\u3001Redis\u6216\u56fa\u5b9a\u7684\u5bbf\u4e3b\u673a\u76ee\u5f55\u3002<\/p>\n<p>run_id\u7684\u610f\u4e49\u4e0d\u662f\u4fbf\u4e8e\u547d\u540d&#xff0c;\u800c\u662f\u8ba9\u4e00\u6b21\u4efb\u52a1\u7684\u6240\u6709\u526f\u4f5c\u7528\u90fd\u80fd\u88ab\u5b9a\u4f4d\u548c\u9650\u5b9a\u3002<\/p>\n<h3>\u4e03\u3001\u9694\u79bb\u81f3\u5c11\u8981\u505a\u5230\u4e09\u5c42&#xff0c;\u4e0d\u5fc5\u6bcf\u4e2a\u4efb\u52a1\u90fd\u590d\u5236\u4e00\u6574\u5957\u751f\u4ea7\u73af\u5883<\/h3>\n<p>\u7b2c\u4e00\u5c42\u662f\u4ee3\u7801\u5c42&#xff1a;\u72ec\u7acbworktree\u3001\u72ec\u7acb\u5206\u652f\u53ca\u6784\u5efa\u8f93\u51fa\u3002<\/p>\n<p>\u7b2c\u4e8c\u5c42\u662f\u6267\u884c\u5c42&#xff1a;\u72ec\u7acb\u8fdb\u7a0b\u6216\u5bb9\u5668\u3001\u7aef\u53e3\u3001\u73af\u5883\u53d8\u91cf\u548c\u4e34\u65f6\u76ee\u5f55\u3002<\/p>\n<p>\u7b2c\u4e09\u5c42\u662f\u72b6\u6001\u5c42&#xff1a;\u9694\u79bb\u6570\u636e\u5e93\u3001\u7f13\u5b58\u3001\u6d88\u606f\u53ca\u5bf9\u8c61\u5b58\u50a8\u4e2d\u7684\u6d4b\u8bd5\u6570\u636e\u3002<\/p>\n<p>\u8f7b\u91cf\u5355\u5143\u6d4b\u8bd5\u901a\u5e38\u53ea\u9700\u8981\u7b2c\u4e00\u5c42&#xff1b;\u6d89\u53caSpring\u4e0a\u4e0b\u6587\u6216\u7f51\u7edc\u670d\u52a1\u7684\u96c6\u6210\u6d4b\u8bd5&#xff0c;\u9700\u8981\u7b2c\u4e8c\u5c42&#xff1b;\u4f1a\u8bfb\u5199\u6301\u4e45\u5316\u72b6\u6001\u3001\u8fd0\u884c\u6570\u636e\u5e93\u8fc1\u79fb\u7684\u6d4b\u8bd5&#xff0c;\u5219\u5fc5\u987b\u8ba4\u771f\u8bbe\u8ba1\u7b2c\u4e09\u5c42\u3002<\/p>\n<p>\u8d44\u6e90\u6210\u672c\u4e5f\u8981\u7b97\u3002<\/p>\n<p>\u4e09\u4e2aAgent\u5404\u62c9\u4e00\u6574\u5957\u6570\u636e\u5e93\u548cBroker&#xff0c;\u5f00\u53d1\u673a\u53ef\u80fd\u56e0\u5185\u5b58\u6216CPU\u4e0d\u8db3\u800c\u53d8\u6162\u3002<\/p>\n<p>\u5171\u4eab\u57fa\u7840\u8bbe\u65bd\u5e76\u975e\u7edd\u5bf9\u4e0d\u53ef\u7528&#xff0c;\u4f46\u5fc5\u987b\u6709\u53ef\u9760\u7684\u903b\u8f91\u547d\u540d\u7a7a\u95f4\u3001\u72ec\u7acb\u6743\u9650\u548c\u4e25\u683c\u6e05\u7406\u8fb9\u754c\u3002<\/p>\n<p>\u9694\u79bb\u7c92\u5ea6\u5e94\u7531\u6d4b\u8bd5\u526f\u4f5c\u7528\u51b3\u5b9a&#xff0c;\u800c\u4e0d\u662f\u7531Agent\u6570\u91cf\u673a\u68b0\u51b3\u5b9a\u3002<\/p>\n<h3>\u516b\u3001\u6700\u5371\u9669\u7684\u4e0d\u662f\u4e92\u76f8\u5931\u8d25&#xff0c;\u800c\u662f\u201c\u8bef\u901a\u8fc7\u201d<\/h3>\n<p>\u5f88\u591a\u4eba\u6ce8\u610f\u5230\u5e76\u884c\u6d4b\u8bd5\u53d8\u7ea2&#xff0c;\u5374\u5ffd\u89c6\u4e86\u66f4\u4e25\u91cd\u7684\u4e00\u79cd\u60c5\u51b5&#xff1a;<\/p>\n<p>C\u672c\u6765\u5e94\u8be5\u9a8c\u8bc1\u65b0\u652f\u4ed8\u903b\u8f91&#xff0c;\u4f46\u7531\u4e8e\u7aef\u53e3\u6307\u9519&#xff0c;\u8c03\u7528\u4e86A\u542f\u52a8\u7684\u65e7\u670d\u52a1&#xff1b;\u8fd4\u56de200&#xff0c;\u6d4b\u8bd5\u4e8e\u662f\u663e\u793a\u901a\u8fc7\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u4f8b\u5b50\u662f\u7f13\u5b58\u6b8b\u7559\u3002<\/p>\n<p>B\u5206\u652f\u7684\u65b0\u4ee3\u7801\u672c\u6765\u5b58\u5728\u67e5\u8be2Bug&#xff0c;\u6d4b\u8bd5\u5374\u8bfb\u53d6\u5230A\u63d0\u524d\u5199\u597d\u7684\u7f13\u5b58\u7ed3\u679c&#xff0c;\u63a9\u76d6\u4e86\u95ee\u9898\u3002<\/p>\n<p>\u6240\u4ee5\u6d4b\u8bd5\u62a5\u544a\u4e0d\u80fd\u53ea\u6709\u7eff\u8272\u52fe\u9009&#xff0c;\u8fd8\u8981\u56de\u7b54\u56db\u4e2a\u95ee\u9898&#xff1a;<\/p>\n<p>\u6267\u884c\u7684\u662f\u54ea\u4e2a\u63d0\u4ea4&#xff1f;\u8fde\u63a5\u7684\u662f\u54ea\u7ec4\u8d44\u6e90&#xff1f;\u6570\u636e\u7531\u8c01\u521b\u5efa&#xff1f;\u7ed3\u679c\u4e0e\u54ea\u4e2arun_id\u5bf9\u5e94&#xff1f;<\/p>\n<p>\u5728CI\u65e5\u5fd7\u91cc\u8bb0\u5f55commit SHA\u3001\u5bb9\u5668\u6216\u670d\u52a1\u5730\u5740\u3001\u6570\u636e\u5e93\u6807\u8bc6\u548c\u6d4b\u8bd5\u6570\u636e\u524d\u7f00&#xff0c;\u5e76\u5728\u5173\u952e\u63a5\u53e3\u56de\u663e\u6216\u65e5\u5fd7\u5173\u8054\u90e8\u7f72\u7248\u672c&#xff0c;\u80fd\u51cf\u5c11\u201c\u6d4b\u9519\u73af\u5883\u201d\u7684\u6982\u7387\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f&#xff0c;\u8fd0\u884c\u8eab\u4efd\u5c5e\u4e8e\u8ffd\u8e2a\u4fe1\u606f&#xff0c;\u4e0d\u5e94\u66ff\u4ee3\u6b63\u5f0f\u8ba4\u8bc1\u6388\u6743\u3002<\/p>\n<h3>\u4e5d\u3001\u5e76\u884c\u4efb\u52a1\u7684\u9a8c\u8bc1\u8981\u505a\u4e00\u7ec4\u5bf9\u7167\u5b9e\u9a8c<\/h3>\n<p>\u4e0d\u8981\u770b\u5230\u4e00\u4e2a\u6d4b\u8bd5\u5931\u8d25&#xff0c;\u5c31\u8ba9\u4e09\u4e2aAgent\u5404\u81ea\u91cd\u65b0\u8dd1\u4e00\u6b21&#xff0c;\u7136\u540e\u4ee5\u201c\u5355\u72ec\u90fd\u7eff\u201d\u4e3a\u7ed3\u8bba\u3002<\/p>\n<p>\u66f4\u6709\u7528\u7684\u662f\u56fa\u5b9aJDK\u7248\u672c\u3001\u955c\u50cf\u548c\u6d4b\u8bd5\u6570\u636e&#xff0c;\u5206\u522b\u6267\u884cA\u3001B\u3001C\u4e09\u7ec4\u72ec\u7acb\u6d4b\u8bd5&#xff0c;\u518d\u6267\u884c\u4e09\u8def\u5e76\u884c&#xff0c;\u5e76\u5bf9\u6bd4\u5931\u8d25\u4f4d\u7f6e\u3001\u8d44\u6e90\u8bb0\u5f55\u53ca\u65f6\u95f4\u7ebf\u3002<\/p>\n<p>\u5982\u679c\u5e76\u884c\u65f6\u5931\u8d25&#xff0c;\u5148\u68c0\u67e5\u662f\u4e0d\u662f\u540c\u4e00\u6570\u636e\u5e93\u8868\u88ab\u6e05\u7406\u3001\u540c\u4e00Topic\u88ab\u6d88\u8d39\u3001\u540c\u4e00\u7aef\u53e3\u88ab\u5360\u7528&#xff0c;\u6216\u5171\u4eab\u76ee\u5f55\u88ab\u8986\u76d6\u3002<\/p>\n<p>\u5982\u679c\u5b8c\u5168\u9694\u79bb\u72b6\u6001\u540e\u4ecd\u6162\u6216\u8d85\u65f6&#xff0c;\u8fd8\u5e94\u68c0\u67e5CPU\u8282\u6d41\u3001\u8fde\u63a5\u6570\u548c\u78c1\u76d8IO&#xff1a;<\/p>\n<p>\u8d44\u6e90\u5bb9\u91cf\u4e89\u7528\u4e0e\u72b6\u6001\u6c61\u67d3\u662f\u4e24\u4e2a\u4e0d\u540c\u95ee\u9898&#xff0c;\u4e0d\u80fd\u90fd\u5f52\u548e\u4e8eworktree\u3002<\/p>\n<p>\u5efa\u8bae\u628a\u6bcf\u8f6e\u6d4b\u8bd5\u7684\u8d77\u6b62\u65f6\u95f4\u3001run_id\u3001\u4ee3\u7801SHA\u3001\u914d\u7f6e\u7248\u672c\u548c\u6e05\u7406\u8bb0\u5f55\u7edf\u4e00\u4fdd\u5b58\u3002<\/p>\n<p>\u8fd9\u6837Codex\u53ef\u4ee5\u534f\u52a9\u5bf9\u9f50\u8bc1\u636e&#xff0c;\u800c\u4e0d\u662f\u53ea\u51ed\u7ea2\u8272\u5806\u6808\u731c\u6839\u56e0\u3002<\/p>\n<h3>\u5341\u3001\u6211\u4f1a\u7528\u4e00\u4e2a\u6307\u6807\u5224\u65ad\u9694\u79bb\u662f\u5426\u6709\u6548<\/h3>\n<p>\u4ed9\u9006\u8fd9\u7bc7\u53ea\u5b9a\u4e49\u4e00\u4e2a\u4e3b\u6307\u6807&#xff1a;<\/p>\n<p>\u8de8\u4efb\u52a1\u5e72\u6270\u7387&#xff08;Cross-task Interference Rate&#xff09;\u3002<\/p>\n<p>\u8ba1\u7b97\u65b9\u5f0f\u662f&#xff1a;<\/p>\n<p>\u7ecf\u8bc1\u636e\u786e\u8ba4\u7531\u5176\u4ed6Agent\u5171\u4eab\u8d44\u6e90\u64cd\u4f5c\u5f15\u8d77\u7684\u5931\u8d25\u8f6e\u6b21 \u00f7 \u5e76\u884c\u6d4b\u8bd5\u603b\u8f6e\u6b21\u3002<\/p>\n<p>\u4e3e\u4f8b&#xff0c;30\u8f6e\u4e09Agent\u5e76\u884c\u6d4b\u8bd5\u4e2d&#xff0c;\u67096\u8f6e\u56e0\u4e3a\u522b\u7684\u4efb\u52a1\u6e05\u8868\u6216\u6e05\u7f13\u5b58\u800c\u5931\u8d25&#xff0c;\u8de8\u4efb\u52a1\u5e72\u6270\u7387\u5c31\u662f20%\u3002<\/p>\n<p>\u8fd9\u53ea\u662f\u8bf4\u660e\u8ba1\u7b97\u65b9\u5f0f\u7684\u5047\u8bbe\u6570\u636e&#xff0c;\u4e0d\u4ee3\u8868\u884c\u4e1a\u57fa\u51c6\u3002<\/p>\n<p>\u6307\u6807\u7684\u5173\u952e\u662f\u201c\u786e\u8ba4\u5f52\u56e0\u201d\u3002<\/p>\n<p>\u4e0d\u80fd\u628a\u672c\u6765\u5c31\u4e0d\u7a33\u5b9a\u7684\u6d4b\u8bd5\u3001\u5916\u90e8API\u6545\u969c\u6216CPU\u8d85\u8f7d\u76f4\u63a5\u7b97\u6210\u8de8\u4efb\u52a1\u6c61\u67d3\u3002<\/p>\n<p>\u5bf9\u4e8e\u65e0\u6cd5\u786e\u5b9a\u7684\u5931\u8d25&#xff0c;\u5e94\u4fdd\u7559\u672a\u5f52\u56e0\u72b6\u6001&#xff0c;\u7ee7\u7eed\u8865\u65e5\u5fd7\u548c\u590d\u73b0\u8bc1\u636e\u3002<\/p>\n<p>\u9694\u79bb\u6539\u9020\u540e&#xff0c;\u53ef\u4ee5\u91cd\u590d\u540c\u6837\u7684\u5e76\u884c\u6d4b\u8bd5&#xff0c;\u89c2\u5bdf\u8fd9\u7c7b\u5931\u8d25\u662f\u5426\u6d88\u5931&#xff1b;\u4f46\u5373\u4f7f\u8fde\u7eed\u82e5\u5e72\u8f6e\u4e3a\u96f6&#xff0c;\u4e5f\u4e0d\u80fd\u8bc1\u660e\u6240\u6709\u8d44\u6e90\u90fd\u5df2\u5b8c\u5168\u9694\u79bb\u3002<\/p>\n<p>\u6307\u6807\u7528\u4e8e\u53d1\u73b0\u4e0e\u9a8c\u8bc1\u5177\u4f53\u5e72\u6270&#xff0c;\u4e0d\u662f\u7ed9\u5e76\u884c\u5f00\u53d1\u53d1\u4e00\u5f20\u6c38\u4e45\u5b89\u5168\u8bc1\u4e66\u3002<\/p>\n<h3>\u5341\u4e00\u3001\u6e05\u7406\u52a8\u4f5c\u5fc5\u987b\u6bd4\u521b\u5efa\u52a8\u4f5c\u66f4\u8c28\u614e<\/h3>\n<p>\u591aAgent\u8dd1\u5b8c\u540e\u9700\u8981\u56de\u6536\u6570\u636e\u5e93\u3001\u5bb9\u5668\u3001\u7f13\u5b58\u548c\u4e34\u65f6\u6587\u4ef6&#xff0c;\u5426\u5219\u5e76\u884c\u8d8a\u591a&#xff0c;\u9057\u7559\u8d44\u6e90\u8d8a\u591a\u3002<\/p>\n<p>\u4f46\u6700\u5bb9\u6613\u9020\u6210\u5927\u9762\u79ef\u5e72\u6270\u7684\u6070\u6070\u662f\u6e05\u7406\u811a\u672c\u3002<\/p>\n<p>\u4e0d\u8981\u8ba9\u4e00\u4e2a\u4efb\u52a1\u6267\u884cdocker system prune\u3001\u5168\u5c40FLUSHALL&#xff0c;\u6216\u5bf9\u5171\u4eab\u6d4b\u8bd5\u5e93\u65e0\u6761\u4ef6\u6e05\u8868\u3002<\/p>\n<p>\u6e05\u7406\u65f6\u53ea\u80fd\u5220\u9664\u5f53\u524drun_id\u62e5\u6709\u7684\u8d44\u6e90&#xff0c;\u6700\u597d\u7ed3\u5408\u8d44\u6e90\u6807\u7b7e\u3001\u767d\u540d\u5355\u548c\u8fc7\u671f\u56de\u6536\u673a\u5236\u3002<\/p>\n<p>\u6743\u9650\u4e0a\u4e5f\u8981\u533a\u5206&#xff1a;<\/p>\n<p>Agent\u53ef\u4ee5\u5220\u9664\u81ea\u5df1\u7684\u6d4b\u8bd5\u5bb9\u5668&#xff0c;\u4e0d\u7b49\u4e8e\u6709\u6743\u5220\u9664\u6574\u53f0\u673a\u5668\u4e0a\u7684\u6240\u6709\u5bb9\u5668\u3002<\/p>\n<p>\u9700\u8981\u8bbf\u95ee\u751f\u4ea7\u6216\u5171\u4eab\u5e73\u53f0\u65f6&#xff0c;\u66f4\u5e94\u7531\u72ec\u7acb\u7b56\u7565\u63a7\u5236&#xff0c;\u800c\u4e0d\u662f\u9ed8\u8ba4\u7ee7\u627f\u5f00\u53d1\u673a\u5668\u7684\u5168\u90e8\u51ed\u8bc1\u3002<\/p>\n<p>\u771f\u6b63\u53ef\u6301\u7eed\u7684\u5e76\u884c\u5de5\u4f5c\u6d41&#xff0c;\u4e0d\u53ea\u8981\u80fd\u542f\u52a8&#xff0c;\u8fd8\u8981\u80fd\u8ffd\u8e2a\u3001\u9650\u6743\u3001\u505c\u6b62\u548c\u5b89\u5168\u56de\u6536\u3002<\/p>\n<h3>\u5341\u4e8c\u3001ChatGPT\u3001Codex\u5e94\u8be5\u600e\u6837\u53c2\u4e0e\u591aAgent\u7f16\u6392&#xff1f;<\/h3>\n<p>\u6211\u66f4\u503e\u5411\u4e8e\u5148\u8ba9ChatGPT\u68b3\u7406\u8d44\u6e90\u4f9d\u8d56&#xff0c;\u5217\u51fa\u6bcf\u9879\u6d4b\u8bd5\u4f1a\u78b0\u5230\u7684\u6570\u636e\u5e93\u3001\u7f13\u5b58\u3001\u961f\u5217\u3001\u7aef\u53e3\u548c\u5916\u90e8\u7cfb\u7edf\u3002<\/p>\n<p>\u518d\u8ba9Codex\u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u3001\u6d4b\u8bd5\u6e05\u7406\u903b\u8f91\u4e0eCompose\u5b9a\u4e49&#xff0c;\u4e3a\u6bcf\u4e2a\u4efb\u52a1\u751f\u6210\u72ec\u7acb\u73af\u5883\u5165\u53e3\u3002<\/p>\n<p>\u968f\u540e\u7531\u7edf\u4e00\u8c03\u5ea6\u5668\u7ed9Agent\u5206\u914drun_id\u548c\u8d44\u6e90\u9884\u7b97&#xff1b;\u6267\u884c\u7ed3\u675f\u6536\u96c6\u6d4b\u8bd5\u62a5\u544a\u3001\u5de5\u5177\u8c03\u7528\u548c\u5dee\u5f02\u8bb0\u5f55\u3002<\/p>\n<p>\u591aAgent\u5404\u81ea\u8d1f\u8d23\u5f00\u53d1\u4efb\u52a1&#xff0c;\u4e0d\u80fd\u5404\u81ea\u968f\u610f\u7ba1\u7406\u5168\u5c40\u73af\u5883\u3002<\/p>\n<p>\u5982\u679c\u8d44\u6e90\u6210\u672c\u8fc7\u9ad8&#xff0c;\u4e5f\u53ef\u4ee5\u628a\u53ea\u8bfb\u9759\u6001\u5206\u6790\u5e76\u884c\u6267\u884c&#xff0c;\u5c06\u9700\u8981\u5199\u5165\u5171\u4eab\u6570\u636e\u5e93\u7684\u96c6\u6210\u6d4b\u8bd5\u6392\u961f\u8fd0\u884c\u3002<\/p>\n<p>\u5e76\u884c\u7684\u4ef7\u503c\u6765\u81ea\u541e\u5410\u6539\u5584&#xff0c;\u800c\u4e0d\u662f\u628a\u6bcf\u4e2a\u6b65\u9aa4\u5f3a\u884c\u540c\u65f6\u542f\u52a8\u3002<\/p>\n<h3>\u5341\u4e09\u3001Plus\u548cPro\u5230\u5e95\u600e\u4e48\u5224\u65ad&#xff1f;<\/h3>\n<p>\u5982\u679c\u4e3b\u8981\u8ba9ChatGPT\u3001Codex\u5728\u4e00\u4e2a\u4ed3\u5e93\u91cc\u4fee\u6539\u4ee3\u7801\u3001\u5076\u5c14\u542f\u52a8\u4e24\u4e09\u4e2aAgent&#xff0c;\u5e76\u4e14\u6d4b\u8bd5\u4ee5\u5355\u5143\u6d4b\u8bd5\u4e3a\u4e3b&#xff0c;Plus\u901a\u5e38\u53ef\u4ee5\u6ee1\u8db3\u8fd9\u7c7b\u5e38\u89c4\u5f00\u53d1\u9700\u6c42\u3002<\/p>\n<p>\u66f4\u503c\u5f97\u5148\u6295\u5165\u7cbe\u529b\u7684&#xff0c;\u662f\u89c4\u8303worktree\u3001\u6d4b\u8bd5\u76ee\u5f55\u548c\u5171\u4eab\u8d44\u6e90\u914d\u7f6e\u3002<\/p>\n<p>\u5982\u679c\u5de5\u4f5c\u65e5\u6301\u7eed\u8ba9\u591a\u4e2aAgent\u5904\u7406\u5927\u578b\u4ee3\u7801\u5e93&#xff0c;\u9891\u7e41\u8de8\u4ed3\u5e93\u4fee\u6539\u3001\u957f\u65f6\u95f4\u8fd0\u884c\u96c6\u6210\u6d4b\u8bd5\u3001\u5206\u6790\u65e5\u5fd7\u5e76\u53cd\u590d\u9a8c\u8bc1&#xff0c;\u5b9e\u9645\u4f7f\u7528\u5f3a\u5ea6\u660e\u663e\u66f4\u9ad8&#xff0c;Pro\u66f4\u9002\u5408\u8fd9\u7c7b\u9ad8\u9891\u3001\u957f\u4efb\u52a1\u5de5\u4f5c\u6d41\u3002<\/p>\n<p>\u5177\u4f53\u53ef\u7528\u989d\u5ea6\u4e0e\u5e76\u53d1\u80fd\u529b\u4ecd\u53d6\u51b3\u4e8e\u5f53\u65f6\u7684\u4ea7\u54c1\u9650\u5236&#xff0c;\u4e0d\u80fd\u4ec5\u56e0\u5347\u7ea7\u5957\u9910\u5c31\u8ba4\u4e3a\u53ef\u4ee5\u65e0\u9650\u5236\u5e76\u884c\u3002<\/p>\n<p>\u8fd8\u8981\u8bb0\u4f4f&#xff1a;<\/p>\n<p>Plus\u4e0ePro\u89e3\u51b3\u7684\u662f\u4f7f\u7528\u8d44\u6e90\u5339\u914d\u95ee\u9898&#xff0c;\u4e0d\u662f\u73af\u5883\u9694\u79bb\u95ee\u9898\u3002<\/p>\n<p>\u4e09\u4e2aAgent\u5171\u4eab\u540c\u4e00\u4e2a\u6d4b\u8bd5\u6570\u636e\u5e93&#xff0c;\u65e0\u8bba\u7528\u4ec0\u4e48\u5957\u9910&#xff0c;\u4ecd\u53ef\u80fd\u76f8\u4e92\u6e05\u7406\u6570\u636e\u3002<\/p>\n<h3>\u6700\u540e<\/h3>\n<p>3\u4e2aAgent\u5e76\u884c\u5f00\u53d1&#xff0c;worktree\u5df2\u7ecf\u9694\u79bb\u4ee3\u7801&#xff0c;\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u4ecd\u7136\u4e92\u76f8\u5e72\u6270&#xff1f;<\/p>\n<p>\u56e0\u4e3a\u4e00\u4e2a\u5f00\u53d1\u4efb\u52a1\u4e0d\u53ea\u6709\u4ee3\u7801&#xff0c;\u8fd8\u6709\u8fdb\u7a0b\u3001\u7aef\u53e3\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u3001\u6d88\u606f\u548c\u4e34\u65f6\u6587\u4ef6\u3002Git worktree\u53ea\u80fd\u9694\u79bb\u5176\u4e2d\u4e00\u90e8\u5206\u3002<\/p>\n<p>\u771f\u6b63\u6709\u6548\u7684\u5de5\u7a0b\u8def\u5f84\u662f&#xff1a;<\/p>\n<p>\u9694\u79bb\u4ee3\u7801 \u2192 \u6807\u8bc6\u6bcf\u6b21\u8fd0\u884c \u2192 \u76d8\u70b9\u5171\u4eab\u72b6\u6001 \u2192 \u5206\u914d\u72ec\u7acb\u8d44\u6e90 \u2192 \u5bf9\u7167\u9a8c\u8bc1 \u2192 \u6309\u8eab\u4efd\u5b89\u5168\u56de\u6536\u3002<\/p>\n<p>\u591aAgent\u5de5\u7a0b\u5316\u7684\u6210\u719f\u6807\u51c6&#xff0c;\u4e0d\u662f\u6bcf\u4e2aAgent\u90fd\u8bf4\u201c\u6d4b\u8bd5\u901a\u8fc7\u201d&#xff0c;\u800c\u662f\u56e2\u961f\u80fd\u8bc1\u660e&#xff1a;<\/p>\n<p>\u6bcf\u4e00\u4efd\u6d4b\u8bd5\u7ed3\u679c\u90fd\u6765\u81ea\u6b63\u786e\u7684\u4ee3\u7801\u548c\u73af\u5883&#xff0c;\u4e0d\u4f1a\u88ab\u53e6\u4e00\u4e2a\u4efb\u52a1\u7684\u526f\u4f5c\u7528\u6084\u6084\u6539\u5199\u3002<\/p>\n<p><span style=\"color:#fe2c24\">\u6301\u7eed\u5206\u4eab Codex\u3001\u5927\u6a21\u578b\u5f00\u53d1\u4e0e AI \u7f16\u7a0b\u5b9e\u6218\u5185\u5bb9&#xff0c;<\/span><\/p>\n<p><span style=\"color:#fe2c24\">\u4e5f\u6574\u7406\u4e86\u7a33\u5b9a\u7684 Plus\/Pro \u4f1a\u5458\u8ba2\u9605\u6e20\u9053&#xff0c;\u6709\u9700\u8981\u53ef\u81ea\u53d6\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528ChatGPT\u3001Codex\u505a\u5de5\u7a0b\u5f00\u53d1&#xff0c;\u5f88\u591a\u56e2\u961f\u5f00\u59cb\u628a\u4efb\u52a1\u62c6\u7ed9\u591a\u4e2aAgent&#xff1a;\u4e00\u4e2a\u6539\u8ba2\u5355\u63a5\u53e3&#xff0c;\u4e00\u4e2a\u91cd\u6784\u652f\u4ed8\u6a21\u5757&#xff0c;\u53e6\u4e00\u4e2a\u8865\u96c6\u6210\u6d4b\u8bd5\u3002\u4e3a\u4e86\u907f\u514d\u4e92\u76f8\u8986\u76d6\u6587\u4ef6&#xff0c;\u5927\u5bb6\u7ed9\u6bcf\u4e2aAgent\u521b\u5efa\u72ec\u7acb\u7684Git worktree\u3002\u4ee3\u7801\u770b\u8d77\u6765\u5b8c\u5168\u9694\u79bb\u4e86&#xff0c;\u6d4b\u8bd5\u5374\u51fa\u73b0\u53cd\u5e38\u73b0\u8c61&#xff1a;Agent A\u521a\u5199\u5165\u7684\u8ba2\u5355\u88abB\u7684\u6e05\u7406\u811a\u672c\u5220\u6389&#xff1b;C\u7684\u96c6\u6210\u6d4b\u8bd5\u5355\u72ec\u8dd1\u5168\u90e8\u901a\u8fc7&#xff0c;\u4e09\u8def\u5e76\u884c\u5374\u5076\u53d1\u5931\u8d25&amp;#xff1<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10832,11613,71,175,5058],"topic":[],"class_list":["post-117544","post","type-post","status-publish","format-standard","hentry","category-server","tag-chatgptplus","tag-chatgptpro","tag-ai-agent","tag-chatgpt","tag-codex"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/117544.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7528ChatGPT\u3001Codex\u505a\u5de5\u7a0b\u5f00\u53d1&#xff0c;\u5f88\u591a\u56e2\u961f\u5f00\u59cb\u628a\u4efb\u52a1\u62c6\u7ed9\u591a\u4e2aAgent&#xff1a;\u4e00\u4e2a\u6539\u8ba2\u5355\u63a5\u53e3&#xff0c;\u4e00\u4e2a\u91cd\u6784\u652f\u4ed8\u6a21\u5757&#xff0c;\u53e6\u4e00\u4e2a\u8865\u96c6\u6210\u6d4b\u8bd5\u3002\u4e3a\u4e86\u907f\u514d\u4e92\u76f8\u8986\u76d6\u6587\u4ef6&#xff0c;\u5927\u5bb6\u7ed9\u6bcf\u4e2aAgent\u521b\u5efa\u72ec\u7acb\u7684Git worktree\u3002\u4ee3\u7801\u770b\u8d77\u6765\u5b8c\u5168\u9694\u79bb\u4e86&#xff0c;\u6d4b\u8bd5\u5374\u51fa\u73b0\u53cd\u5e38\u73b0\u8c61&#xff1a;Agent A\u521a\u5199\u5165\u7684\u8ba2\u5355\u88abB\u7684\u6e05\u7406\u811a\u672c\u5220\u6389&#xff1b;C\u7684\u96c6\u6210\u6d4b\u8bd5\u5355\u72ec\u8dd1\u5168\u90e8\u901a\u8fc7&#xff0c;\u4e09\u8def\u5e76\u884c\u5374\u5076\u53d1\u5931\u8d25&amp;#xff1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/117544.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-24T17:56:26+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117544.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/117544.html\",\"name\":\"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-24T17:56:26+00:00\",\"dateModified\":\"2026-10-24T17:56:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/117544.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/117544.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/117544.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/117544.html","og_locale":"zh_CN","og_type":"article","og_title":"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7528ChatGPT\u3001Codex\u505a\u5de5\u7a0b\u5f00\u53d1&#xff0c;\u5f88\u591a\u56e2\u961f\u5f00\u59cb\u628a\u4efb\u52a1\u62c6\u7ed9\u591a\u4e2aAgent&#xff1a;\u4e00\u4e2a\u6539\u8ba2\u5355\u63a5\u53e3&#xff0c;\u4e00\u4e2a\u91cd\u6784\u652f\u4ed8\u6a21\u5757&#xff0c;\u53e6\u4e00\u4e2a\u8865\u96c6\u6210\u6d4b\u8bd5\u3002\u4e3a\u4e86\u907f\u514d\u4e92\u76f8\u8986\u76d6\u6587\u4ef6&#xff0c;\u5927\u5bb6\u7ed9\u6bcf\u4e2aAgent\u521b\u5efa\u72ec\u7acb\u7684Git worktree\u3002\u4ee3\u7801\u770b\u8d77\u6765\u5b8c\u5168\u9694\u79bb\u4e86&#xff0c;\u6d4b\u8bd5\u5374\u51fa\u73b0\u53cd\u5e38\u73b0\u8c61&#xff1a;Agent A\u521a\u5199\u5165\u7684\u8ba2\u5355\u88abB\u7684\u6e05\u7406\u811a\u672c\u5220\u6389&#xff1b;C\u7684\u96c6\u6210\u6d4b\u8bd5\u5355\u72ec\u8dd1\u5168\u90e8\u901a\u8fc7&#xff0c;\u4e09\u8def\u5e76\u884c\u5374\u5076\u53d1\u5931\u8d25&amp;#xff1","og_url":"https:\/\/www.wsisp.com\/helps\/117544.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-24T17:56:26+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/117544.html","url":"https:\/\/www.wsisp.com\/helps\/117544.html","name":"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-24T17:56:26+00:00","dateModified":"2026-10-24T17:56:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/117544.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/117544.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/117544.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ChatGPT\u3001Codex\u5de5\u7a0b\u5b9e\u6218\uff1a3\u4e2aAgent\u5e76\u884c\u5f00\u53d1\uff0cGit worktree\u9694\u79bb\u4e86\u4ee3\u7801\uff0c\u4e3a\u4ec0\u4e48\u6d4b\u8bd5\u8fd8\u662f\u4e92\u76f8\u5e72\u6270\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=117544"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/117544\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=117544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=117544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=117544"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=117544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}