Skip to content

Your First Project: End-to-End with CAT

This tutorial walks you through a complete project using CAT — from initial intent capture through architecture, construction, and validation. We’ll build a small feature so you can experience the full DLC lifecycle.

Time: 30–60 minutes · Prerequisite: Getting Started

You’re adding a “password reset via email” feature to an existing web application. This is a well-scoped feature — perfect for learning the full flow.


cat-intent-statement

Clara asks you the five core questions. Here’s an example conversation:

Clara: Tell me — who is this for, and what problem are you solving?

You: Our web app users who forget their passwords. Currently they have to contact support to reset, which takes 24+ hours and creates support tickets.

Clara: Why is this important now?

You: Support ticket volume for password resets has doubled in the last quarter. Self-service would reduce ticket volume by an estimated 40%.

Clara assembles your answers into a structured Intent Statement artifact.

cat-intent-brief

Clara takes the Intent Statement and expands it into an operational Intent Brief with:

  • Detailed scope (in/out)
  • Success metrics with targets
  • Constraints and risks
  • Non-functional requirements
  • Dependencies

💡 Tip: For small features, you can use cat-quick-intent to combine the statement and brief into a single step.

cat-features-create

Clara decomposes the Intent Brief into a Feature list:

  • F1: Email-based password reset request flow
  • F2: Secure token generation and validation
  • F3: Password update with security requirements
Section titled “1.4 Validate Intent (Optional but Recommended)”
cat-intent-checkpoint

Clara validates that your Intent artifacts are complete and specific enough to proceed to Architecture.


New to the ARC? See What Is an ARC? before continuing.

cat-arc-builder

Julian, the Solution Architect, facilitates the creation of the Architecture Reference Contract.Julian will ask about:

  • Technology stack and patterns
  • Security constraints (critical for auth features)
  • API design decisions
  • Database schema changes
  • Error handling strategy

The ARC contains enforceable constraints — must-do and must-not-do rules that govern construction:

## Constraints
### MUST
- MUST use cryptographically secure random tokens (minimum 32 bytes)
- MUST expire reset tokens after 15 minutes
- MUST rate-limit reset requests to 3 per hour per email
- MUST hash tokens at rest using SHA-256
### MUST NOT
- MUST NOT reveal whether an email exists in the system
- MUST NOT send the actual password in any communication
- MUST NOT allow token reuse after successful reset
cat-ai-validation

Julian produces evidence that the AI correctly understands the Intent Brief and ARC before construction begins. This is a key governance gate.

cat-arc-checkpoint

Validates the ARC for completeness and alignment with the Intent Brief. This is the final gate before the Readiness Check.

cat-readiness-check

A cross-agent check that verifies traceability across Intent Brief → ARC → Features → Bolts. This gates the transition to construction.


New to bolts? See What Are Bolts? before continuing.

cat-bolt-writer

Julian decomposes Feature F1 into well-scoped Bolts:

  • Bolt 1.1: POST /api/password-reset endpoint
  • Bolt 1.2: Token generation and email dispatch
  • Bolt 1.3: GET /reset/:token validation page
  • Bolt 1.4: PUT /api/password-reset completion

Each bolt spec maps to specific ARC constraints and includes acceptance criteria.

cat-bolt-execution

Marcus, the Developer, executes each bolt against the ARC constraints. For each bolt, Marcus:

  1. Reads the bolt spec and relevant ARC sections
  2. Generates implementation code
  3. Runs constraint-aware testing
  4. Reports ARC compliance for each constraint touched
cat-code-review

Marcus and Vera review the implementation against ARC constraints, AI governance rules, and testing requirements.


cat-arc-adherence-check

Julian and Vera verify that every ARC constraint was honored in the implementation. This produces a constraint-by-constraint compliance matrix.

cat-work-acceptance

Clara evaluates the completed work against the original Intent Brief success criteria.

cat-compliance-report

Vera generates a full 10-control compliance matrix covering all artifacts from intent through validation. This is the final audit-ready document.


PhaseArtifacts Created
IntentIntent Statement, Intent Brief, Feature List, Intent Checkpoint
ArchitectureARC, AI Validation Report, Readiness Report
ConstructionBolt Specs (×4), Code, Code Review Reports
ValidationARC Adherence Report, Work Acceptance, Compliance Report

All artifacts live in _cat/artifacts/ with full traceability from intent to implementation.


GoalWhere to Go
Understand Quick vs Full flowsChoosing Your Track
Deep-dive into ARC conceptsWhat Is an ARC?
Learn about bolt decompositionWhat Are Bolts?
See the complete workflow catalogWorkflows Reference

See Also: DLC Overview · Choosing Your Track · Workflow Map