Skip to content

Project Structure ​

The repository layout is documented once, in Repository. This page shows the same tree from the perspective of the documentation site.

text
KHAWI/
├── apps/
│   ├── web/
│   └── admin/
├── services/
│   └── api/
├── packages/
│   ├── matching/
│   ├── compliance/
│   ├── validation/
│   └── config/
├── database/
│   ├── migrations/
│   └── seeds/
├── cms/
│   └── strapi/
├── docs/               VitePress documentation
├── brand/
├── context/
├── scripts/
└── public/

Documentation layout ​

text
docs/
├── index.md
├── contextllms.txt            AI/agent project context
├── .vitepress/
├── getting-started/
├── introduction/
├── brand/
├── product/
├── ux/
├── architecture/
├── strapi/
├── matching/
├── database/
├── api/
├── security/
├── compliance/
├── regulatory/
├── operations/
├── engineering/
└── spec/                      Numbered specification deliverables

Docs versus spec ​

docs/spec/ holds the numbered specification series — PRD, system architecture, ERD, API specification, and so on. The topical directories are the living reference.

When they disagree, the topical directory is current and the spec/ file is a historical deliverable. Neither is edited to match the other after the fact; conflicts are resolved in the topical directory.

Source of truth ​

ConcernLocation
Productdocs/product/
Architecturedocs/architecture/
Strapidocs/strapi/
Matchingdocs/matching/
Databasedocs/database/
APIdocs/api/
Compliancedocs/compliance/
Regulatorydocs/regulatory/
AI contextdocs/contextllms.txt

KHAWI — same route, go together.