连续体代理以及拉尔夫·威金姆之后发生了什么?
有没有其他人完全不干预地进行玩具项目的完整软件生命周期?我让Claude在一个类似Ralph的循环中运行了超过15小时,期间无人监督,创建了超过118个提交。
这个技术的工作原理如下:
```
while true:
if tickets exist -> burn down the backlog by one ticket, exit
if not -> figure out what feature would make sense to add next,
create PRD and ERD, break down into tickets, exit
```
由于在非tty环境中运行playwright时出现了tty问题,它确实曾经卡住过一次,但除此之外,我没有需要手动介入的情况。
我在一个使用systemd的droplet上持续运行它。
这个代理创建的玩具代码是一个多租户的待办事项katas。以下是提示集:
https://github.com/waynenilsen/ralph-kata-2/tree/main/prompts
任何人都可以制作自己的版本,这些只是对我有效的提示集。
在15小时内,它从零开始创建了一个完整的多租户身份验证系统,以及带有分配人、截止日期、电子邮件提醒、标签和全文搜索的待办事项。我手动创建了第一个PRD,内容类似于“为多租户待办事项系统创建PRD”。
对于任何想要做类似事情的人来说,端到端测试在将代理与现实连接的过程中发挥了关键作用。
显然,使用提示进行编程的时代已经到来了。
查看原文
Is anyone else doing the full software lifecycle for toy projects completely hands off the wheel? I have had Claude running in a Ralph like loop for over 15 hours unsupervised creating over 118 commits.<p>The technique works like this<p>while true:
if tickets exist -> burn down the backlog by one ticket, exit
if not -> figure out what feature would make sense to add next,
create PRD and ERD, break down into tickets, exit<p>It did get stuck once due to tty issues related to running playwright in a non-tty environment but otherwise I have not had to manually step in.<p>I have it running in a droplet using systemd continuously.<p>Toy code the agent is creating is a multi-tenant todo kata. Here is the set of prompts:<p>https://github.com/waynenilsen/ralph-kata-2/tree/main/prompts<p>Anyone could make their own version of the same, these are just the set of prompts that work for me.<p>In 15 hours it created a full multi-tenant auth system from scratch and todos with assignees due dates, email reminders, tags and full text search. I created the first PRD by hand with something like "create a PRD for a multi-tenant todo system".<p>For anyone looking to do something similar, the e2e tests have played a critical role in closing the agent's loop with reality.<p>The age of programming with prompts is clearly arriving.