Zing 论坛

正文

Rivo:面向AI编程代理的规范驱动开发工作流

探索一种纯Markdown、主机无关的AI辅助开发工作流,通过结构化规范文档解决上下文漂移和决策不透明问题

Rivo规范驱动开发AI编程助手Claude CodeCodex工作流Markdown代码审查
发布时间 2026/05/11 13:44最近活动 2026/05/11 13:54预计阅读 6 分钟
Rivo:面向AI编程代理的规范驱动开发工作流
1

章节 01

Rivo: Core Overview of Spec-Driven Workflow for AI Programming Agents

Rivo is a规范驱动开发 (Spec-Driven Development, SDD) plugin designed to solve context drift and decision opacity issues in AI-assisted development. It uses a pure Markdown, host-agnostic workflow with 12 minimal commands covering the full lifecycle from requirement to code. Key features include structured decision records, explicit status management, and multi-layered reviews to enable efficient human-AI collaboration while ensuring traceability and quality.

2

章节 02

Pain Points in Traditional AI-Assisted Development

AI programming tools like Claude Code and Codex CLI face two major problems: Context Drift (AI forgets earlier consensus in multi-round interactions) and Decision Opacity (AI's key judgments lack traceability). These issues stem from the absence of structured workflows and documented decision records, which Rivo aims to address.

3

章节 03

Rivo's Core Design Philosophy & Principles

Rivo follows a 'less is more' philosophy:

  • 12 commands covering the full development lifecycle
  • Zero code (no orchestration or validation scripts)
  • Pure Markdown for all specs (human-readable)
  • Host-agnostic (consistent operation across Claude Code and Codex CLI via bidirectional symmetry) It emphasizes explicit status management (10-state transition enum) without automated state machines, relying on manual compliance to keep workflows lightweight.
4

章节 04

Rivo's Workflow Tiers & Review Mechanisms

Rivo's workflow has three tiers:

  1. Requirement Tier: Understand problems (commands: /rivo:roadmap for project management, /rivo:charter for product principles, /rivo:clarify for root cause analysis producing contract.md)
  2. Engineering Tier: Translate to code (commands: /rivo:architect for architecture alignment, /rivo:spec for implementation specs, /rivo:code for TDD-based development)
  3. Closing Tier: Learn from experience (commands: /rivo:retro for复盘, /rivo:archive for task archiving) Each engineering command includes built-in reviews (e.g., /rivo:review-spec for规范 checks, /rivo:review-code for security/quality) with loop repairs until approval.
5

章节 05

Project Layout & Status Management

Rivo enforces a clear directory structure:

  • CHARTER.md: Product core principles (context anchor)
  • CLAUDE.md: Engineering norms (code style, language rules)
  • .rivo/: Contains project.yaml (single source of truth for epics/entries) and per-item docs (contract, spec, plan) Entry status transitions follow an enum: draft → clarified → claimed → ... → archived (no automated state machine; compliance is manual to maintain zero-code promise).
6

章节 06

Use Cases & Limitations of Rivo

Suitable Scenarios:

  • Complex multi-day projects (needs long-term context consistency)
  • Multi-person AI-assisted collaboration (standardized workflows & audit logs)
  • Quality-critical projects (multi-dimensional reviews)
  • Interpretability needs (traceable decision records)

Limitations:

  • Not a heavy framework (no state machines/automated checks)
  • Overkill for simple one-off tasks
  • Depends on host AI capabilities (file I/O, git operations, sub-agent generation)
7

章节 07

Conclusion & Future Outlook of Rivo

Rivo represents a new human-AI collaboration paradigm: AI handles execution/generation, humans manage judgment/quality, and spec docs act as contracts. It turns AI tools from 'toys' into production-ready ones by providing scaffolding for complex tasks while maintaining control and traceability. As AI programming agents become more普及, tools like Rivo will be key to balancing AI potential with quality and accountability.