# Architecture

> **Auto-Generated by Agent-Kit Semantic Memory Sync**
> Last Synced: 2026-03-04 06:26 UTC
> ⚠️ Do NOT manually edit — changes will be overwritten on next sync.

## Detected Frameworks & Runtimes

_(not yet detected)_

## Language Breakdown

| Language   | Volume      |
| ---------- | ----------- |
| Python     | 1,229 lines |
| JavaScript | 1,178 lines |

## Live Directory Structure

```
Agent-kit-P1/
├── bin/
│   ├── cli.js
│   ├── commands.js
│   ├── engine.js
│   └── mcp.js
├── docs/
│   ├── architecture/
│   └── prd/
│       └── auth-system.md
├── LICENSE
├── manifest.json
├── memory/
│   ├── backend/
│   │   └── api-contracts.md
│   ├── frontend/
│   │   └── design-system.md
│   ├── global/
│   │   ├── architecture.md
│   │   ├── conventions.md
│   │   ├── decisions.md
│   │   └── project-overview.md
│   └── product/
│       └── milestones.md
├── METADATA.md
├── package-lock.json
├── package.json
├── PROJECT_STATUS.md
├── README.md
├── scripts/
│   ├── checklist.py
│   ├── inject_antigravity.py
│   ├── memory_sync.py
│   ├── migrate_skills.py
│   ├── security_chaos_test.py
│   ├── spawn_agent.py
│   └── sync_api_contracts.py
└── src/
    ├── api/
    ├── backend/
    │   ├── auth/
    │   │   └── ...
    │   └── main.py
    └── components/
```

## Data Flow

```
Client → Frontend → API Gateway → Backend Services → Database
                                                    → Cache
                                                    → Queue
```

## Key Architecture Decisions

_(Add ADRs here — they will be preserved across syncs if placed below this line)_

---
