Greenfield Workflow

Create a new integration from scratch

Overview

The greenfield workflow guides you through building a new Apache Camel integration from requirements to generated code and runtime-verification evidence. The AI conducts a structured interview, decomposes the design into tasks, generates implementation code, and reports which runtime checks passed, failed, or could not run.

This guide walks through a complete example: building an order processing integration.

What You Built

In one session, without writing code directly, you created:

  • 5 Camel YAML route files
  • Integration tests using Citrus framework
  • Docker Compose setup when external services require it
  • Configuration management with external properties
  • Retry and dead-letter handling within the affected routes
  • Observability with route IDs and descriptions, plus context-specific correlation and logging

All code follows the constitution’s 8 architecture rules and passed the adversarial pre-filter plus two-stage review per task.

Next Steps

Summary

The greenfield workflow transforms requirements into an implementation and verification evidence through four phases:

  1. /camel-brainstorm - Socratic interview → Design Specification
  2. /camel-plan - Task decomposition → Implementation Plan
  3. /camel-execute - Wave-based execution → Camel YAML routes
  4. /camel-validate - Static quality analysis → Validation report

Runtime verification runs internally during execute. The design approval remains the pipeline’s required human gate while the AI handles implementation mechanics.