Stage 07 of 07 in Toolchain
Durable Workflow Engine

CodeFlow

A production-grade execution engine combining Temporal workflow durability with CrewAI multi-agent crews. CodeFlow automates end-to-end pull request lifecycles through a registry of integrations (GitHub App, Axolo). A distinct layer from Retort — Retort generates agent configs at dev time, CodeFlow runs multi-step workflows at runtime — each surviving network drops and process restarts transparently.

Quick Execution · CLI Hook
$ temporal workflow start --task-queue codeflow-review --type pull_request_autopr
Temporal state durability
multi-hour PR pipelines survive network drops and process restarts transparently
GitHub App integration
webhooks on PR open/sync → automated analysis, issue creation, quality gates
Open Source (MIT)
github.com/celladore/codeflow-engine — full CI/CD templates included
Ecosystem Handshakes

How CodeFlow Connects to the Stack

Celladore is engineered as a unified, composable toolchain where every tool feeds upstream contexts and downstream verification loops without friction.

PR Status → Task Graph

→ Baton

CodeFlow reports PR creation, review check outcomes, and merge status back to Baton's central task graph as task evidence.

Quality Gates → Workflow Triggers

→ Retort

Outputs that pass Retort's deterministic quality gates trigger CodeFlow Temporal workflows for automated branch creation and PR synthesis.

Review Crews → Model Gateway

→ Sluice

All CodeFlow multi-agent PR review calls route through Sluice — gaining failover protection, rate limits, and cost attribution automatically.

Architecture Specs

Technical Matrix

Runtime & Engine:
TypeScript / Temporal / CrewAI / Node.js 22 / Python 3.12
Deployment Target:
Azure Kubernetes Service / Azure Container Apps
Communication Protocol:
Temporal gRPC + GitHub App Webhooks + Axolo Notifications
Licensing Tier:
MIT Open Source (codeflow-engine)
Upstream Ingestion: Retort Quality Gates, Baton Task Leases, GitHub Webhooks (PR events), Sluice Model Gateway
Downstream Consumers: GitHub Pull Requests, Slack / Axolo Alerts, CI/CD Pipelines, Baton Task Graph
Venture Origin Bred from AutoPR & DevEngine

Invented from Real Scars

⚡ The Production Incident

Long-running multi-agent PR review crews crashed halfway through 2-hour refactor jobs due to transient API drops, losing all uncommitted progress and requiring full restarts.

🛡️ Failure Mode Prevented

Dropped asynchronous PR workflows, corrupted intermediate Git worktrees, and lost multi-hour agent work.

Tested in production workloads across Phoenix VC ventures.
Core Capabilities

Architectural Features & Guarantees

Modular design built for high velocity, deterministic reliability, and strict enterprise isolation.

Fault-Tolerant Temporal Workflows

Temporal state machines run multi-hour code generation and review pipelines. Any network interruption or process restart is transparent — workflows resume exactly where they left off.

Multi-Agent Review Crews

CrewAI-based crews dispatched through a registry of integrations (GitHub App, Axolo). Specialized agents handle architecture review, unit testing, and security auditing with dynamic consensus.

GitHub App Webhook Pipeline

Triggers on pull_request.opened and pull_request.synchronize. Emits structured events: analysis.completed, issues.created, security.alert, quality.gate.failed.

Declarative Workflow Config

Per-repo .codeflow.yml controls AI provider, model, workflow triggers, quality gate thresholds (security block on critical, coverage minimum), and notification channels.

Git Worktree Isolation

Automated code refactors execute in ephemeral, isolated worktrees — guaranteeing branch safety and clean commits without contaminating the main working tree.

Automated Merge Readiness

Verify test suite coverage, security scans, and gate approvals before automatically signaling pull requests as ready for maintainer merge.

Integration & API Hub

Typed API Contract & Snippets

Live cURL, TypeScript, and Python invocation payloads for CodeFlow.

DEVELOPER HUB & VERIFIED API CONTRACTS

Unified Developer Interface

Dispatch durable, multi-agent review workflows and AutoPR engines executing on Temporal with CrewAI.

POSThttps://codeflow.celladoresystems.com/api/workflows/dispatchTemporal Engine
import { CodeFlowClient } from "@celladore/codeflow";

const codeflow = new CodeFlowClient({
  token: process.env.CODEFLOW_TOKEN || "YOUR_CODEFLOW_TOKEN",
  endpoint: "https://codeflow.celladoresystems.com",
});

const workflow = await codeflow.dispatch({
  workflowType: "pull_request_autopr",
  repo: "celladore/celladore-web",
  prNumber: 29,
});

console.log(`Dispatched Temporal execution: ${workflow.executionId}`);
Open Source Activity

Repository Activity

Live contributor data and repository metrics pulled directly from GitHub's public API.

Cached Snapshot (1h TTL)
celladore/codeflow-engine
0 stars·0 forks·0 watchers·📝 297 contributions·🔀 1 open / 63 closed PRs·4 open issues

Last repository update: Aug 20, 2026

Top Public Contributors & Commit Breakdown

Status Notice: CodeFlow is open source under MIT. Deploy Temporal multi-agent PR review crews to automate pull request lifecycles and merge verification. Alpha preview available at codeflow.celladoresystems.com. Get in touch with the founder .

esc