# AllFrame Documentation Index
**Last Updated**: 2026-02-28
**Repository**: all-frame
**Project**: AllFrame - The Composable Rust API Framework
---
## ๐ Overview
AllFrame is the first Rust web framework **designed, built, and evolved exclusively through Test-Driven Development (TDD)**. This documentation supports the development and use of AllFrame as a framework, not an application.
**Core Promise:**
A composable crate ecosystem (`allframe-core`, `allframe-mcp`, `allframe-forge`) that provides compile-time DI, auto OpenAPI 3.1, OpenTelemetry, protocol-agnostic routing (REST/GraphQL/gRPC), CQRS/ES infrastructure, resilience patterns, and MCP server capabilities โ all with zero external runtime dependencies.
---
## ๐ Documentation Structure
For complete documentation structure and navigation, see **[INDEX.md](./INDEX.md)**.
### Key Documents
- **[PROJECT_STATUS.md](./PROJECT_STATUS.md)** - Current status, roadmap, and metrics
- **[PRD_01.md](./current/PRD_01.md)** - Product Requirements (PRIMARY SOURCE OF TRUTH)
- **[Phase Documentation](./phases/)** - All completed phases (CQRS, Router, etc.)
- **[Announcements](./announcements/)** - Project announcements and milestones
---
## ๐๏ธ Documentation Conventions
### Timestamps
All timestamped documentation uses format: `YYYY-MM-DD_FILENAME.md`
Example: `2025-11-23_ARCHITECTURE_DECISIONS.md`
### Status Markers
- โ
**Complete** - Feature fully implemented and tested
- ๐ง **Active** - Currently being worked on
- ๐ **Planned** - Planned for future implementation
- โ ๏ธ **Issues** - Known problems or deprecated content
### Linking
Always use relative paths:
```markdown
[PRD](./current/PRD_01.md)
[Clean Architecture Skill](../.claude/skills/rust-clean-architecture.md)
```
---
## ๐ Finding Documentation
### By Topic
- **Product Requirements**: `/docs/current/PRD_01.md`
- **Architecture**: `/docs/architecture/`
- **How-To Guides**: `/docs/guides/`
- **Historical**: `/docs/archive/`
### By Development Phase
- **Planning**: Start with `PRD_01.md`
- **Implementation**: Follow TDD workflow in `.claude/TDD_CHECKLIST.md`
- **Architecture**: Apply patterns from `.claude/skills/rust-clean-architecture.md`
---
## ๐ Contributing Documentation
### Creating New Documentation
1. Determine type (guide, architecture, operations)
2. Place in appropriate directory
3. Add timestamp if appropriate
4. Update this README.md
5. Add status marker (CURRENT, DRAFT, etc.)
### Deprecating Documentation
1. Move to `/docs/archive/` with timestamp prefix
2. Add deprecation marker to title
3. Update this INDEX
4. Add link to replacement document if applicable
### Updating Documentation
1. Update the document
2. Update "Last Updated" timestamp in document
3. If major changes, consider creating new timestamped version
---
## ๐ฏ AllFrame Core Concepts
### Tech Stack
- **Language**: Rust (edition 2021+)
- **Async Runtime**: Tokio
- **HTTP Server**: Hyper
- **Zero External Runtime Dependencies**: Only Tokio + Hyper + std
### Key Features
- **Compile-time DI**: Dependency injection resolved at compile time
- **Auto OpenAPI 3.1**: Swagger UI generated automatically
- **OpenTelemetry**: Auto-instrumentation for observability
- **Protocol-agnostic**: REST โ GraphQL โ gRPC โ WebSockets via config
- **CQRS + Event Sourcing**: Enforced architectural patterns
- **MCP Server**: LLMs can call your API as tools
- **LLM Code Generation**: `allframe forge` CLI
### Development Workflow
```bash
# Run tests (TDD-first!)
cargo test
# Run tests with coverage
cargo llvm-cov
# Check code quality
cargo clippy
cargo fmt
# Run examples
cargo run --example hello_world
# Build release
cargo build --release
```
---
## ๐งช Testing Philosophy
**100% TDD - NO EXCEPTIONS**
Every feature, macro, and public API must follow the RED-GREEN-REFACTOR cycle.
See **[TDD_CHECKLIST.md](../.claude/TDD_CHECKLIST.md)** for the complete mandatory workflow.
---
## ๐ Quick Reference
### Core Documentation
- **[PRD_01.md](./current/PRD_01.md)** - Product Requirements
- **[PROJECT_STATUS.md](./PROJECT_STATUS.md)** - Current status and roadmap
- **[TDD Checklist](../.claude/TDD_CHECKLIST.md)** - Testing workflow
- **[INDEX.md](./INDEX.md)** - Complete documentation index
### External Resources
See **[INDEX.md](./INDEX.md#external-resources)** for complete list of external references.
---
## ๐ Getting Started
### For Framework Users
1. Read [PRD_01.md](./current/PRD_01.md) to understand AllFrame's vision
2. Follow getting started guide (TBD in `/docs/guides/`)
3. Run `allframe ignite my-api` to scaffold a new project
### For Framework Contributors
1. Read [PRD_01.md](./current/PRD_01.md) thoroughly
2. Review [.claude/skills/rust-clean-architecture.md](../.claude/skills/rust-clean-architecture.md)
3. Follow [.claude/TDD_CHECKLIST.md](../.claude/TDD_CHECKLIST.md) for ALL changes
4. Ensure 100% test coverage before submitting PR
---
## ๐ Repository Structure
```
allframe/
โโโ crates/
โ โโโ allframe-core # Single public crate
โ โโโ allframe-macros # Proc macros (internal)
โ โโโ allframe-forge # LLM code-gen CLI
โโโ tests/
โ โโโ integration/ # One file per feature flag
โ โโโ property/ # Property-based tests
โ โโโ forge_regression/ # LLM generation tests
โโโ examples/
โ โโโ transformer_modes/ # Protocol examples
โโโ benches/
โ โโโ techempower/ # Performance benchmarks
โโโ docs/
โโโ current/ # Active documentation
โโโ guides/ # Tutorials
โโโ architecture/ # ADRs
```
---
## ๐ง Documentation Maintainers
For questions or suggestions about documentation:
- Create an issue with `[docs]` prefix
- Follow contribution guidelines
- Ensure all documentation follows TDD principles (code examples must have tests)
---
---
**AllFrame. One frame. Infinite transformations.**
*Built with TDD, from day zero.*