跳到正文

先写规格 — 再让 AI Agent 照着构建

给每个 Agent 一份契约。在确认完成之前先验证代码。

Planu 将需求转化为获批的规格,让实现保持一致,并依据明确的验收标准验证结果。

开始使用

商业和非商业用途均可免费使用 · 兼容的 Node.js 运行环境 · 开始时无需 Planu API 密钥

构建时验证

展示产品事实,而不是装饰性计数器。

提交1df10e320
标签
v5.7.5
来源
提交
验证时间

已发布的 Planu 工件

从需求到发布,沿着契约完成工作。

这份精简记录来自经过清理和许可的生命周期与验证证据,而不是预设的终端动画。

SPEC-1150 / spec.md已完成
01
规格

Clear released specs from the pending release ledger

Make the release commit the atomic source of truth for which pending specs were published, while preserving any ledger entry created or updated after the immutable release-base snapshot.

02
生命周期
  1. 已批准
  2. 实现中
  3. 已完成
03
验收标准
  • AC1GIVEN `planu/releases/pending.json` contains valid entries at `RELEASE_BASE_HEAD`, WHEN the release commit is created, THEN every current entry with the same complete `{specId,title,completedAt}` identity is removed, and a shared cross-process lock makes entries added or changed after the snapshot—including an append attempted during reconciliation—remain.
  • AC2GIVEN release execution resumes before or after the release commit, WHEN pending reconciliation runs, THEN it derives the same snapshot from the persisted `RELEASE_BASE_HEAD`, is idempotent, and never repeats mutation after `release-commit` is recorded; `tests/integration/release-pipeline-recovery.test.ts` line 4 changes the recovery expectation.
  • AC3GIVEN dry-run mode, a missing/empty snapshot, or malformed snapshot/current JSON, WHEN pending reconciliation is evaluated, THEN dry-run performs no write, missing/empty snapshot preserves current state, and malformed data exits non-zero without changing the current file.
  • AC4GIVEN release 4.11.17 publishes the currently queued specs, WHEN delivery completes, THEN `planu/releases/pending.json` is empty, npm exposes 4.11.17, and `main`, `develop`, and `release` resolve to the same release commit.
验证✓ 已通过
已发布v4.11.17d589ca65c

带来的改变

减少重复理解,改善审查,让交付可验证。

  1. 意图持久化

    需求保存在可审查的规格中,而不是消失在聊天记录里。

  2. 受控实现

    审批和就绪检查为每个 Agent 提供相同边界。

  3. done 前提供证据

    验证会依据已接受的标准检查交付代码。

一份契约,多个 Host

切换 Agent 时保留工作流。

Planu 将同一本地规格生命周期连接到 Claude Code、Codex、Cursor、Windsurf、Gemini CLI 及其他支持的 MCP Host。

查看支持的工具
  • Claude Code
  • Codex
  • Cursor
  • Windsurf
  • Gemini CLI
  • OpenCode

透明设计

本地项目状态,网络边界清晰。

规格和决策保存为可读的本地文件。更新、诊断及您配置的集成可能使用网络。

阅读配置详情
  • 可读的本地项目工件
  • 开始时无需 Planu API 密钥
  • 明确记录遥测与集成边界

$ npx -y @planu/cli@latest install

让下一个 Agent 从规格开始。

安装一次,描述一个真实功能,完成第一次验证闭环。

打开安装指南

直接支持

支持下一次发布。

选择网络并直接发送其原生资产。Planu 不会连接您的钱包。

或使用加密货币捐赠

二维码 BTC

Bitcoin 主网

bc1q0wpklyw24krxpzy52g8fu6tgtyvws7v3etc40p

仅在此网络发送原生 BTC。

区块链转账公开且可追踪。此处不要求姓名或电子邮件。

BTC · Bitcoin 主网bc1q0wpklyw24krxpzy52g8fu6tgtyvws7v3etc40p

ETH · Ethereum 主网0xe26326f8bA13Ae7C6Eee79A10A7f3ad696Ebb5bB

SOL · Solana 主网A6ujVihGksWwF1NRVDBgGtNeqPXnN5vFpwLtXhANqXY3