Codapult
DocsBlogPricingPluginsDemo
Get Codapult
Logo

Build your SaaS with AI. Keep the architecture under control.

Get Codapult

Product

  • Pricing
  • Architecture
  • Modules
  • AI platform
  • Plugins

Developers

  • MCP
  • CLI
  • Documentation
  • Launch your SaaS
  • Build a B2B SaaS

Resources

  • Blog
  • FAQ

Connect

  • Contact
  • GitHub

Compare

  • SaaS template comparison
  • Codapult vs Supastarter
  • Codapult vs Makerkit
  • Codapult vs ShipFast
  • Codapult vs SaaSBold
  • Codapult vs Gravity
  • Codapult vs Nextbase
  • Codapult vs BuilderKit

Featured on

Codapult on LaunchNestCodapult on LaunchNestbetterlaunch.cobetterlaunch.coFeatured on LaunchBuffFeatured on LaunchBuffCodapult on PeerPushCodapult on PeerPushFeatured on LaunchItFeatured on LaunchIt
© 2026 Codapult·All rights reserved·Privacy Policy·Terms of Service
Full source code · One-time purchase · Self-host anywhere
All articles

Getting Started

  • Introduction
  • Quick Start
  • Your First 30 Minutes
  • Project Structure
  • License and Permitted Use
  • Starter Profiles and Recipes
  • Product Recipes

Configuration

  • Environment Variables
  • App Configuration
  • Which Modules Should I Enable?
  • Provider Matrix
  • Capability Coverage

Database

  • Database and Provider Guide
  • Database
  • Migrations

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Ai

  • AI Runtime Architecture and Evals
  • AI Features
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Security

  • Data Retention Policy
  • Security

Deployment

  • Enterprise E2E Evidence
  • Enterprise Production Readiness
  • Deployment, Backup, and Restore Runbook
  • Deployment
  • Troubleshooting

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Welcome Page
  • Referrals
  • GDPR Export and Deletion
  • Promotions
  • Outgoing Webhooks

Plugins

  • Plugin System
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
  • Build Your First Feature with Codapult MCP
  • How Guard Blocks an Architectural Regression
Developer Tools

How Guard Blocks an Architectural Regression

Use Guard to turn observed Codapult conventions into reviewed rules and catch regressions in changed files.

Guard protects the architecture your project has accepted. It observes the repository first, proposes evidence-based rules, and checks later changes against those rules. It learns the project's conventions instead of imposing a universal folder structure.

The regression example

Suppose a dashboard client component imports the database client directly. It may work locally, but it crosses a server/client boundary and bypasses the project's action or service layer. A reviewed Guard rule can flag that import when the file changes.

Establish the project policy

Run this once from the project root:

npx @codapult/cli guard init
npx @codapult/cli guard propose

Inspect the proposals. Approve only rules that describe an intentional project boundary. The exact rule IDs and findings come from the current repository, so do not copy an old fingerprint into another project.

Check a change

After the feature is edited:

npx @codapult/cli guard check --changed

For a complete verification gate:

npx @codapult/cli guard verify --json

Guard reports the changed file, the violated rule or contract, evidence, and the next action. Fix the boundary violation or record a deliberate, owner-attributed, time-bounded waiver when the exception is genuinely required.

A practical CI sequence

npx @codapult/cli guard doctor
npx @codapult/cli guard check --changed --json
pnpm type-check
pnpm lint
pnpm test
npx @codapult/cli guard verify --json

Keep Guard's generated state in the project repository when it is part of the team's architecture record. Review policy changes like code changes: a new rule changes what future work can merge.

Complete the release evidence

Guard works alongside TypeScript, ESLint, tests, SAST, provider acceptance tests, and human PR review. A clean Guard result confirms that changed code satisfies the configured architecture policy; pair it with the other release checks to verify provider configuration, backups, and deployment readiness.

Build Your First Feature with Codapult MCP