只有你能批准Only you can approve
批准和裁决只认你的原话和你在程序窗口里的选择。代理说"用户同意了"不算数,代理之间也不能互相批准。Approvals count only from your own words or your choice in a program window. An agent saying “the user agreed” does not count, and agents can’t approve each other.
pi 扩展包 · MIT 开源 · v0.1.0pi extension · MIT · v0.1.0
你在对话里说需求、点头确认。后台的 PM 拆任务、派代理写代码、审查、验收,最后把结果交回你手上。每一步能不能往下走,由你和程序决定,不由模型自己说了算。Describe what you want in chat and sign off. A background PM plans the work and sends agents to build, review and verify it, then hands the result back. You and the program decide what moves forward, not a model’s own claims.
OneCompany 是 pi 的扩展包。pi 是一个在终端里运行的编码代理。OneCompany is an extension for pi, a coding agent that runs in your terminal.
● 2 个需求运行中 ├─ ⠹ 角色跳跃、跳跃动画 · 任务 1/5 · ↻5 · 5 tool uses · 33.8k token · 12.3s │ ├ ⚑ login 待裁决:2 次未完成 │ ├ jump 第 1 轮审查 │ │ ├ ⠹ reviewer · ↻5/12 · 1m2s │ │ ├ ⠹ go-reviewer · ↻3/12 · 58.0s │ │ └ ✓ vue-reviewer 通过 · ↻6/12 · 1m40s │ └ ⠹ anim 执行 · vue-worker(第 1 次尝试)· ↻8/20 · 3m2s └─ ⠹ 角色快跑 · 任务 0/3 · ↻42 · 38 tool uses · 91.0k token · 2m17s └ 规划中(计划 v2 · 3 个任务)
状态面板示例。产品界面目前是中文。Sample status panel. The product UI is Chinese-only today.
标出来的三步只有你能做。其余由代理完成,程序逐步核对。The three marked steps are yours alone. Agents do the rest, and the program checks each one.
代理写代码很快,也很会说"做完了"。OneCompany 把关键判断交给程序和你。Agents write code fast, and they are quick to say “done”. OneCompany leaves the key calls to the program and to you.
批准和裁决只认你的原话和你在程序窗口里的选择。代理说"用户同意了"不算数,代理之间也不能互相批准。Approvals count only from your own words or your choice in a program window. An agent saying “the user agreed” does not count, and agents can’t approve each other.
各角色的权限、版本和阶段门槛都由程序核对。代理说"通过了"不能代替实际检查。The program checks every role’s permissions, versions and stage gates. An agent saying “passed” never replaces the actual check.
worker 改了本需求任务范围外的文件,结果被拒收。写入范围重叠的任务不会同时派出。A worker that edits files outside the requirement’s task scopes gets its result rejected. Tasks with overlapping write scopes are never dispatched at the same time.
提交带需求编号,需求完成时正文和原型归档进分支。以后能从代码查到当初为什么这样做。Commits carry the requirement ID, and the requirement and prototypes are archived in the branch when it completes. You can always find why the code looks the way it does.
你只和主代理说话,其他角色都在后台运行。不用另装子代理系统。You talk only to the main agent. Every other role runs in the background, with no separate subagent system to install.
角色定义是普通 md 文件,复制后可以自己改。/one:examples 把 Go、Vue 设计规范样例复制到项目里,照着改成团队自己的规范。Role definitions are plain md files you can copy and edit. /one:examples copies Go and Vue design guides into your project to adapt.
项目还在早期,这几件事先说清楚。This is an early project. Better to say these up front.
完整的已知限制 →Full list of known limits →装好 pi(Node ≥ 22.19)和 Git ≥ 2.38,给主窗口的模型配好凭据。Install pi (Node ≥ 22.19) and Git ≥ 2.38, and set up credentials for your model.
在终端运行上面那条安装命令。角色代理随包提供。Run the install command above. Role agents ship with the package.
在 Git 仓库里打开 pi,直接说需求,比如"登录页加上验证码登录"。Open pi inside a Git repo and say what you want, like “add code login to the sign-in page”.