# Deltaflow: A Brownfield-First Workflow Framework Designed for AI Programming Agents

> An experimental Codex plugin that balances structure and flexibility through intelligent mode selection, transforming rough ideas into actionable plans, specifications, and implementations.

- 板块: [Openclaw Llm](https://www.zingnex.cn/en/forum/board/openclaw-llm)
- 发布时间: 2026-06-01T19:14:48.000Z
- 最近活动: 2026-06-01T19:20:54.342Z
- 热度: 132.9
- 关键词: AI编程代理, Codex, Claude Code, 工作流框架, 棕地开发, 软件工程, 开发工具, 代码生成
- 页面链接: https://www.zingnex.cn/en/forum/thread/deltaflow-ai
- Canonical: https://www.zingnex.cn/forum/thread/deltaflow-ai
- Markdown 来源: floors_fallback

---

## Deltaflow Framework Guide: A Brownfield-First Workflow Solution for AI Programming Agents

Title: Deltaflow: A Brownfield-First Workflow Framework Designed for AI Programming Agents

Core Viewpoint: Deltaflow is an experimental Codex plugin that adopts the 'brownfield-first' concept, balancing structure and flexibility through an intelligent mode selection mechanism, turning rough ideas into actionable plans, specifications, and implementations.

Source Information:
- Original Author/Maintainer: tavaresgmg
- Source Platform: GitHub
- Original Link: https://github.com/tavaresgmg/deltaflow
- Release Date: 2026-06-01

This framework integrates the advantages of various mature methodologies, aiming to solve the dilemma between structure and flexibility in the use of AI programming agents and adapt to the diversity of real development scenarios.

## Background: The Dilemma Between Structure and Flexibility for AI Programming Agents

With the popularity of AI programming agents (such as Codex, Claude Code), developers face a dilemma: relying entirely on conversational interactions lacks structure, plans are hard to maintain across sessions, and reviewers cannot understand intentions; overly structured frameworks turn each task into a small product project, generating a lot of redundant artifacts.

Existing workflow frameworks tend to lean towards two extremes: either too loose (relying only on chat records) or too heavy (forcing a complete specification process). This 'all-or-nothing' design is difficult to adapt to the diversity of real development scenarios.

## Core Approach: Intelligent Mode Selection and Progressive Workflow

Core Idea of Deltaflow: Adopt the 'brownfield-first' concept, acknowledging that most development is carried out on existing codebases, and match the appropriate workflow depth according to task complexity and risk through intelligent mode selection.

Five Progressive Workflow Modes:
1. Direct Patch: Suitable for simple low-risk changes (e.g., document fixes, small bugs), directly generating code changes;
2. Diagnosis: When the root cause of a problem is unclear, systematically investigate to determine the essence;
3. Discovery: When requirements are vague or solutions are unclear, exploratory research produces option comparisons and recommendations;
4. Incremental Specification: Standard mode for medium-complexity tasks, producing concise specification documents (change scope, interface contracts, verification standards);
5. Full Tracked Change: Used for high-risk/large-scale refactoring, including complete design documents, implementation plans, testing strategies, and rollback plans.

Six-Step Work Cycle: Receive input → Complexity detection → Mode selection → Artifact generation → Implementation and verification → Review and archiving, avoiding over-engineering or insufficient processes.

## Technical Implementation and Future Roadmap

Technical Implementation: The current MVP uses a plug-in architecture, with directory structure including Codex plugin configuration, skill definition documents, reference materials, research and architecture documents, etc. Verification scripts support local execution: `node scripts/validate-deltaflow.mjs`.

Current Status: The project is in the initial scaffolding phase, with workflows kept concise, pending validation of effectiveness through real brownfield tickets.

Roadmap: The primary goal is full Codex support; future plans include more IDE integrations, team collaboration features, historical session retrieval, custom mode configuration (Claude Code compatibility is on the roadmap but not required for MVP).

## Practical Significance and Insights: Reference Value for AI-Assisted Development

Reference Significance of Deltaflow for AI-Assisted Development Tools:
1. Context Awareness: Understand codebase historical debt and constraints;
2. Progressive Structuring: Dynamically adjust process depth according to task characteristics instead of enforcing uniformity;
3. Artifact Economy: Each document and specification has a clear purpose, avoiding process for process's sake;
4. Human-Machine Collaboration: The framework serves developers and reviewers, reducing bureaucracy.

For teams using or evaluating AI programming agents, Deltaflow provides a pragmatic middle path, and its subsequent evolution is worth paying attention to.
