Skip to main content

AI-Assisted Development Delivery System

Project description

cdd-flow

AI-Assisted Development Delivery System

Status: v0.1.0 (draft) | Part of the CDD ecosystem

The Problem

AI-assisted development is fast. The handoff is slow.

You:     "Here's my context"          ← cdd-context handles this
AI:      "Here's your artifact"       
You:     *click download*
         *clear downloads folder*     ← friction
         *cd to project*              ← friction
         *extract tar*                ← friction
         *check what changed*         ← friction
         *run tests*                  ← friction
         *oops wrong project*         ← recovery?
         *download again*             ← repeat friction

The bottleneck moved. It's not writing code anymore. It's the artifact handoff.

The Solution

cdd-flow land

That's it. Artifact detected, integrated, Downloads cleaned, changes reported.

Quick Start

# Install
pip install cdd-flow

# In your project
cd ~/repos/my-project

# Land an artifact from AI
cdd-flow land

# Land and verify
cdd-flow land --verify

# Land, verify, and checkpoint
cdd-flow land --checkpoint "feature working"

# Oops, undo that
cdd-flow undo

The Core Loop

┌─────────────────────────────────────────────────────────────────┐
│                                                                 │
│   cdd-flow ctx          Push context to AI (clipboard)          │
│        │                                                        │
│        ▼                                                        │
│   [Work with AI]        AI produces artifact                    │
│        │                                                        │
│        ▼                                                        │
│   cdd-flow land         Detect → Integrate → Clean → Report     │
│        │                                                        │
│        ▼                                                        │
│   cdd-flow verify       Run CDD gates (optional)                │
│        │                                                        │
│        ▼                                                        │
│   cdd-flow checkpoint   Commit verified state                   │
│        │                                                        │
│        └────────────────► Iterate or complete                   │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Commands

Core Loop

cdd-flow ctx                    # Generate context → clipboard
cdd-flow land                   # Integrate artifact from Downloads
cdd-flow verify                 # Run verification gates
cdd-flow checkpoint "message"   # Commit verified state

Session Management

cdd-flow start "implement feature"   # Begin tracked session
cdd-flow status                      # Show current state
cdd-flow complete                    # End session
cdd-flow abandon                     # Abort and revert

Recovery

cdd-flow undo                   # Revert last landing
cdd-flow rollback               # Revert to last checkpoint
cdd-flow history                # Show iterations

Landing Intelligence

cdd-flow handles the mess:

$ cdd-flow land

# Clean state Found: artifact.tar (1 minute ago) Extracted 3 files
✓ Cleaned Downloads

# Mac duplicate nightmare Multiple versions detected:
    artifact (2).tar  (30 sec ago)  using
    artifact (1).tar  (5 min ago)   cleaning
    artifact.tar      (2 hours)     cleaning
✓ Landed and cleaned 3 files from Downloads

# Nothing there No recent artifacts in ~/Downloads
  Did you download from Claude?

Recovery

Every landing is reversible until checkpoint:

$ cdd-flow land           # Landed, but wrong
$ cdd-flow undo           # Reverted
$ cdd-flow land           # Try again
$ cdd-flow checkpoint     # Lock it in

Verification

Auto-detects or configure:

# .cdd-flow/config.yaml
verify:
  steps:
    - name: lint
      command: cdd lint contracts/
      required: true
    - name: test
      command: cdd test contracts/
      required: true

Aliases

For muscle memory:

alias fl='cdd-flow land'
alias flv='cdd-flow land --verify'
alias fu='cdd-flow undo'
alias fc='cdd-flow ctx'
alias fcp='cdd-flow checkpoint'
alias fs='cdd-flow status'

Typical rhythm:

$ fc              # Context → clipboard → paste to AI
$ fl              # Land artifact
$ flv             # Land + verify  
$ fcp "done"      # Checkpoint

Requirements

  • Python 3.10+
  • git (for checkpoints and recovery)

Dependencies installed automatically:

  • cdd-context (context generation)
  • cdd-tooling (verification)

Ecosystem

┌─────────────────────────────────────────────────────────────────┐
│                         CDD ECOSYSTEM                           │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│   cdd-flow         Orchestration (this repo)       ← YOU ARE   │
│      │             land, ctx, verify, checkpoint       HERE     │
│      │                                                          │
│      ├─────────► cdd-context     Context generation             │
│      │                           build, status, clear-cache     │
│      │                                                          │
│      └─────────► cdd-tooling     Verification                   │
│                                  analyze, lint, test, compare   │
│                                                                 │
│   cdd              Methodology (spec only)                      │
│                    SPEC.md, README.md                           │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Installation

# Full workstation setup (installs cdd-context and cdd-tooling)
pip install cdd-flow

# Or install individually
pip install cdd-context   # Just context generation
pip install cdd-tooling   # Just verification

Documentation

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdd_flow-0.1.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdd_flow-0.1.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file cdd_flow-0.1.0.tar.gz.

File metadata

  • Download URL: cdd_flow-0.1.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for cdd_flow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 240bc9a1cf9fc8b04398b14310f8c247b9c1400dd2eac3365b3a53d78a1b456d
MD5 88b98cd1ab160145f772bb356ab5b69a
BLAKE2b-256 c33309a201253527c0f1a744b7e03e50a8b27b9218728e98d25faf5fb7f808da

See more details on using hashes here.

File details

Details for the file cdd_flow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cdd_flow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for cdd_flow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7522ef994cb68d3abaf000f87caf4a52163673ec249c61b5fbaa35b974a16fd2
MD5 65847afed42e837a9b1f833eda404327
BLAKE2b-256 7ec622c9fa3a2c09ea5a6e20431f2570f59b50c34e46739cd40798267d8d25a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page