# System Architecture

## Overview

{{overview}}

## System Context

{{system_context}}

### Context Diagram

```
{{context_diagram}}
```

### Users

{{#each users}}
- **{{this.name}}**: {{this.description}}
{{/each}}

### External Systems

{{#each external_systems}}
- **{{this.name}}**: {{this.purpose}}
{{/each}}

## Architecture Pattern

**Pattern**: {{architecture_pattern}}
**Rationale**: {{architecture_rationale}}

## Component Architecture

### Components

{{#each components}}
#### {{this.name}}

- **Purpose**: {{this.purpose}}
- **Responsibilities**: {{this.responsibilities}}
- **Dependencies**: {{this.dependencies}}
{{/each}}

### Component Diagram

```
{{component_diagram}}
```

## Data Flow

{{data_flow_description}}

```
{{data_flow_diagram}}
```

## Technology Stack

| Layer | Technology | Purpose |
|-------|------------|---------|
{{#each tech_stack}}
| {{this.layer}} | {{this.technology}} | {{this.purpose}} |
{{/each}}

## Non-Functional Requirements

### Performance

{{#each nfr_performance}}
- **{{this.metric}}**: {{this.target}}
{{/each}}

### Security

{{#each nfr_security}}
- {{this}}
{{/each}}

### Scalability

{{scalability_approach}}

## Constraints

{{#each constraints}}
- {{this}}
{{/each}}

## Key Decisions

| Decision | Choice | Rationale |
|----------|--------|-----------|
{{#each key_decisions}}
| {{this.decision}} | {{this.choice}} | {{this.rationale}} |
{{/each}}

---
*Generated by specs.md - fabriqa.ai FIRE Flow*
