Refactor client and server contract documentation to clarify architecture, roles, and responsibilities. Update client guidelines to enforce strict API contract adherence and eliminate local DTO duplications. Enhance server documentation on DDD, CQRS, and invariants, ensuring clear separation of concerns and proper error handling. Introduce new sections on backend analysis and checklist for contract compliance.