```Show HN: Eve 软件工厂```
Show HN: Eve Software Factory

原始链接: https://github.com/vercel-labs/eve-software-factory-template/tree/main

**Foreman** 是一款人工智能驱动的软件工厂,旨在实现端到端开发循环的自动化,让开发人员能够专注于高层决策。它直接与 GitHub 和 Linear 集成,利用四个专业的 AI 代理来处理任务的全生命周期: 1. **分类器 (Classifier):** 任务分拣与验证。 2. **分析师 (Analyst):** 规划任务并定义验收标准。 3. **执行者 (Implementer):** 在隔离沙盒中进行代码编写。 4. **审核员 (Reviewer):** 独立进行验证。 Foreman 维护一个“工厂大脑”来存储特定于仓库的知识,确保上下文在不同任务间得以保留。该系统具有高度互动性,可通过问题标签、@提及或本地 TUI 触发。当分配任务后,Foreman 会执行流水线、发布进度更新并提交一份经过审核的拉取请求草稿。它甚至能自行处理 CI 故障,并为人工审核人员提供导向摘要。 Foreman 专为通过 Vercel 进行无缝部署而设计,支持自定义设置命令和环境变量配置,以匹配您仓库的具体需求。通过在自动化繁琐工作的同时要求人工审批代码变更,Foreman 在不牺牲质量或监督的前提下,精简了开发流程。

Hacker News最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录Show HN: Eve 软件工厂 (github.com/vercel-labs)3 分,作者:flashbrew,36 分钟前 | 隐藏 | 过往 | 收藏 | 讨论使用此免费开源模板,几分钟内即可构建软件工厂 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

eve Software Factory Banner

Docs Agent Stack MIT License

Meet Foreman, an eve software factory that puts AI agents on every stage of the development loop and keeps people on the judgment calls.

Foreman takes tasks from GitHub and Linear, moves each one through four stations, and delivers a reviewed draft pull request on your repository. You review, mark ready, and merge.

Deploy with Vercel

  • Classifier triages the task: type, priority, complexity, actionable or not. When the task isn't actionable, Foreman asks the requester instead of building the wrong thing.
  • Analyst turns it into a plan with acceptance criteria, working from a live checkout of your repository.
  • Implementer executes the plan in its own sandbox, verifies with your repo's own checks, and pushes a branch.
  • Reviewer independently judges everything against the real diff, with evidence for each verdict.

Each station is its own agent with its own instructions, sandbox, and tools. The Reviewer sees only the pushed branch, never the Implementer's reasoning. Between runs, Foreman keeps a factory brain: notes about your repository that every run starts from. See the pipeline and factory memory for the full picture.

  • Label an issue factory. The pipeline runs on its own, posts progress as stations complete, and ends with a draft PR linked to the issue.
  • @mention it on an issue or PR. Mentions from repo owners, members, and collaborators start an interactive session.
  • Delegate in Linear. Linear Agent Sessions run the same pipeline and report progress back in Linear.
  • The dev TUI. Hand it a task locally. Changes to GitHub wait for your approval.
  • Red CI on a factory PR. Foreman diagnoses the failure and pushes a fix to its own branches, never yours.
  • Someone opens a pull request. Foreman posts one orienting comment for reviewers: a summary, not a review.

Deploy with Vercel

The Vercel deploy flow sets up everything: the GitHub connector, Linear connector, Vercel Blob store, and a prompt for the FACTORY_REPO and FACTORY_LABEL environment variables.

Configuration (see .env.example):

Variable Required Default What it does
FACTORY_REPO Yes The owner/repo the factory works on (the build fails without it)
FACTORY_SETUP_COMMAND No Runs once inside the sandbox checkout at build time (e.g. pnpm install), so every run starts with dependencies already installed
FACTORY_LABEL No factory The issue label that hands an issue to the factory
FACTORY_BRANCH_PREFIX No factory/ Branch prefix marking the factory's own PRs, which are the only branches automated CI fixes touch
FACTORY_BOT_NAME No the GitHub App's slug The @mention name, resolved from the connector automatically when unset
GITHUB_CONNECTOR / LINEAR_CONNECTOR Yes Set automatically from Vercel Connect connector UIDs

Link the project you deployed (or a fresh one), pull its environment, and start the TUI:

vercel link
vercel env pull
pnpm dev

Hand the agent a task ("users report the password reset email arrives twice, fix it") and watch the four stations fire in order, ending in a draft PR on FACTORY_REPO. Local runs are treated as untrusted, so changes to GitHub wait for your approval in the TUI.

联系我们 contact @ memedata.com