Zing Forum

Reading

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.

AI编程代理CodexClaude Code工作流框架棕地开发软件工程开发工具代码生成
Published 2026-06-02 03:14Recent activity 2026-06-02 03:20Estimated read 7 min
Deltaflow: A Brownfield-First Workflow Framework Designed for AI Programming Agents
1

Section 01

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:

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.

2

Section 02

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.

3

Section 03

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.

4

Section 04

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).

5

Section 05

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.