Feature Implementation
Systematic approach to implementing new features in the Rust memory system.
Quick Reference
-
Process - Implementation phases (planning, design, implementation, testing)
-
Structure - Module structure and file organization
-
Patterns - Code patterns and conventions
-
Quality - Quality standards and checklists
When to Use
-
Adding new functionality to the codebase
-
Following project conventions for feature development
-
Maintaining code quality and test coverage
Core Process
-
Planning - Understand requirements and constraints
-
Design - Architecture and module structure
-
Implementation - Write code following patterns
-
Testing - Add tests with >90% coverage
-
Documentation - Update docs and examples
See process.md for detailed phases and patterns.md for Rust code patterns.
Project Standards
-
File size: ≤ 500 LOC per file
-
Async/Tokio patterns for I/O
-
Error handling: anyhow::Result
-
Storage: Turso (durable) + redb (cache)
-
Serialization: postcard