Real-World Applications
While the Case Studies chapter demonstrates aspect-rs patterns in isolation, this chapter documents real-world applications of the aspect-rs methodology to production open-source projects.
These applications serve as validation for the RE2026 research project, showing that AOP patterns work across different Rust architectures in practice, not just in contrived examples.
Projects
- ZeroClaw – A 130K-line Rust AI agent framework (~29K stars). Fine-grained
Tooltrait with per-tool wrappers. - Claw-Code-Parity – A Rust port of an AI agent harness (~3.4K stars). Coarse-grained
ToolExecutortrait with executor-level wrappers. - Dual-Repo Progress Report – Comparative analysis and contribution progress across both projects.
Key Finding
Both projects exhibit a 92% applicability rate (11 out of 12 aspect-rs patterns) despite having fundamentally different tool system architectures. This confirms that crosscutting concerns are orthogonal to business logic design choices – they emerge from the same non-functional requirements regardless of abstraction granularity.