Project Structure
The plan defines two trees: a documentation tree (charter artifacts) and a source tree (code).
Documentation Tree
Section titled “Documentation Tree”Every feature generates this structure:
charters/N-feature-name/ charter.md # The charter plan.md # Implementation plan research.md # Phase 0 decisions data-model.md # Entity definitions contracts/ # API contracts quickstart.md # Key test scenarios tasks.md # Task breakdownSource Tree Options
Section titled “Source Tree Options”Auro supports three layouts. Pick the one that matches your project.
Single Project
Section titled “Single Project”For CLIs, libraries, and simple apps:
src/ models/ # Data structures services/ # Business logic cli/ # Command-line interface lib/ # Shared utilitiestests/ integration/ # Integration tests unit/ # Unit testsWeb Application
Section titled “Web Application”For frontend + backend:
backend/ src/ routes/ # API endpoints models/ # Database models services/ # Business logicfrontend/ src/ pages/ # Route components components/# Shared UI api/ # Backend clientMobile + API
Section titled “Mobile + API”For platform-tailored clients:
api/ src/ # Shared API serverios/ Sources/ # Swift codeandroid/ src/ # Kotlin codeWhen to Use Which
Section titled “When to Use Which”- Building a CLI tool? Single project.
- Building a web app? Web application if frontend and backend are separate concerns, single project if it is a simple server-rendered app.
- Building for multiple platforms? Mobile + API.
The Simplicity Gate (Article VII) limits you to 3 projects maximum. If your structure has more, simplify.