# fix issue with locale detection # cleanup layout # add rules and conventions and structure again for both projects # inspect the authorization flow and check both for client and server checking in the client project # make sure there is a proper central service for all server and client ( one for server and one for client) fetchs which handles headers based on the browser cookies or cookies api in next.js # ensure there is react query configured for server state management in the client project # ensure proper error handling and toast for api errors in the client project # add proper lint and type rules in client project and add rules for agents to do not violate those rules