feat: Add comprehensive architecture and legacy documentation, including conventions, endpoints, patterns, and stubs