> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specpilot.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# architecture.md

> How the project is built: components, data flow and architecture decisions (ADRs).

`.specs/architecture/architecture.md`. `specpilot validate` requires it.

## What it holds

* Overview and architecture patterns.
* Core components and the application structure.
* Design decisions, each with its date, context, decision and consequences.
* Deployment, security, performance and monitoring.
* Assumptions, marked `[ASSUMPTION]`.

## What setup writes

Those sections, with placeholders. `specpilot add-specs` and setup through your agent add what they found in the code. A Design & UI answer adds `## Design & UI`.

## Who reads it

* The App's Architecture view (see [Spec views](https://docs.specpilot.dev/app/spec-views.md)).
* `/specpilot-sync`, which compares it with your source folder and `package.json`.

## What validate checks

Warns when Overview, Architecture, Components or Decisions is missing.

Checked against SpecPilot 2.22.0.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.