Date: 2026-05-11
Time: 15:10
ftl2-deployments is a collection of self-contained workspaces used for deploying services via the ftl2-ai-loop. Each workspace encapsulates everything needed for a specific deployment — desired state, AI loop rules, environment variables, and runtime-generated state/inventory files. The repository demonstrates real-world production usage of FTL2's AI reconciliation loop for infrastructure deployment.
desired_state.txt file describing what the AI loop should achieve (declarative intent)rules/ directory that constrain and guide the AI reconciliation loop.env files hold secrets/config per workspace (not committed to version control)Launching a deployment with the AI loop:
cd cloudflare-stargate
ftl2-ai-loop --incremental "Deploy ftl2-stargate with Caddy..."
--incremental flag: runs the AI loop incrementally rather than from scratchrules/ directories are an application of FTL2's policy system scoped to AI loop behavior.env files and secrets management tie into how credentials are handled per deploymentdesired_state.txt, rules/, .env, and runtime-generated state/inventory.env files are excluded from version control (secrets hygiene)--incremental flag enables incremental reconciliation rather than full re-deployment