Cat-Factory
Home
  • Introduction
  • Core Concepts
  • Quick Start
  • Designing Your Board
  • Shared Services
  • Requirements
  • Running Pipelines
  • Recurring Pipelines
  • Pull Requests & Merging
  • Repositories
  • Issue & Document Sources
  • Budgets & Spend
  • Prompt Fragments
  • Deploy to Cloudflare
  • Deploy to Node.js
  • Configuration
  • Self-Hosted Runner Pools
  • Ephemeral Environments
  • Architecture
  • Integration Manifests
  • Packages & Repository Layout
GitHub
Home
  • Introduction
  • Core Concepts
  • Quick Start
  • Designing Your Board
  • Shared Services
  • Requirements
  • Running Pipelines
  • Recurring Pipelines
  • Pull Requests & Merging
  • Repositories
  • Issue & Document Sources
  • Budgets & Spend
  • Prompt Fragments
  • Deploy to Cloudflare
  • Deploy to Node.js
  • Configuration
  • Self-Hosted Runner Pools
  • Ephemeral Environments
  • Architecture
  • Integration Manifests
  • Packages & Repository Layout
GitHub
  • Get Started

    • Introduction
    • Core Concepts
    • Quick Start
  • Using Cat-Factory

    • Designing Your Board
    • Shared Services
    • Requirements
    • Running Pipelines
    • Recurring Pipelines
    • Pull Requests & Merging
    • Repositories
    • Issue & Document Sources
    • Budgets & Spend
    • Prompt Fragments

Running Pipelines

A pipeline is an ordered chain of agent steps that takes a task from plan to merged pull request. This page covers starting a run, choosing a model, and steering the run through its decision points.

Anatomy of a pipeline

The default Full build pipeline runs these steps in order:

Requirements Reviewer → Architect → Requirements Writer → Researcher → Coder
  → Blueprinter → Tester → Reviewer → Conflicts Gate → CI Gate → Merger
StepWhat it does
Requirements ReviewerReviews the collected requirements for gaps; pauses for human approval.
ArchitectPlans the implementation approach; pauses for human approval.
Requirements WriterAggregates tasks into the service's in-repo requirements spec + Gherkin.
ResearcherInvestigates prior art, libraries, and constraints.
CoderClones the repo and writes the implementation.
BlueprinterRefreshes the service → modules → features map in-repo from the new code.
TesterRuns and validates tests against the change.
ReviewerReviews the work for quality and correctness.
Conflicts GateKeeps the PR mergeable with its base, looping a resolver agent on conflicts.
CI GateGates the PR on green CI, looping a CI Fixer agent on failure.
MergerScores the PR and auto-merges within thresholds, or raises a review notification.

Other built-in pipelines include Quick implement, Map service (run after bootstrap), Write requirements, and the recurring presets Dependency updates / Tech debt (see Recurring Pipelines). Additional agent kinds include the Mock Builder, Acceptance Test Author, Acceptance Author, Documenter, Integrator, and a tech-debt analysis step; a deployment can also register custom kinds and pipelines.

Starting a run

From a selected block, start a run:

  1. Choose a pipeline appropriate to the task.
  2. Confirm the spend estimate against your remaining budget.
  3. Launch - the run is created and begins streaming progress.

Each agent runs on its kind's default model - see Choosing models below.

Choosing models

Model selection is set per agent kind, in Configuration → Default models:

  • Set a default model per agent kind to point a whole kind (say, the Architect) at a stronger model.
  • Where a kind has no default, the deployment's routing for that kind applies, then its global default.

Reserve stronger (and pricier) models for architecturally significant kinds and keep cheaper ones on routine steps to manage spend.

Watching progress live

Runs stream over WebSockets, so there's no polling. As the run executes you'll see:

  • Each step transition (Pending → Working → Done).
  • Subtask updates within a step.
  • Decision prompts when an agent needs you.
  • Failures, with the captured error for diagnosis.
  • Spend notifications as model calls are metered.

Every board and run share one live connection, so progress appears the moment the dashboard is open.

Responding to decision prompts

When a step needs human input it moves to Needs decision and shows a decision prompt. Answer the questions to continue. The most common prompts are the Requirements Reviewer and the Architect, which pause for your approval before implementation proceeds.

Durability, failures, and retries

Runs are checkpointed and resumable: each completed step is durably recorded by Cloudflare Workflows (or pg-boss on Node.js). Container work commits to a dedicated branch per task, and the harness pushes periodic checkpoints, so an evicted or retried run resumes on the same branch instead of starting over. A live no-progress guard ends a run early with a diagnostic if the agent thrashes without editing files.

Cat-Factory also owns the Git delivery contract: the agent commits its own work and validates locally, while the platform pushes, opens the pull request, and drives CI, so a container agent never needs push credentials. If a step fails, the error is captured and the run surfaces a manual retry from the failure point.

Web research

When web search is configured on the deployment, container agents (the Coder, CI Fixer, …) get web-search and web-fetch tools through a backend proxy, and the inline Architect / Researcher agents can use their provider's hosted web search. Both are opt-in and no-op until configured.

Run lifecycle

Running → (Needs you ⇄ Running)* → Completed | Paused (budget) | Failed

A run shows Needs you while paused on a human decision, Paused (budget) when stopped at the budget cap, and Completed once the agents finish and a pull request is ready for your review.


Next: review and merge what the agents produced in Pull Requests.

Edit this page on GitHub
Last Updated: 6/20/26, 7:25 PM
Prev
Requirements
Next
Recurring Pipelines