Files
baya-monorepo/product/todo.md
T
2026-06-21 00:05:07 +03:30

2.1 KiB

add no unused var rule to client lint rules and agent rules, for both projects, read agent specific files, and if it's not specified, specify a place which define project arcitecture and also add rules for subsequent agents to update that file, if their task changes the project in a way that the description should be updated

=======================================================================

the auth flow should be revised, we send the cookie to the server which contains the auth cookies, so we can pass that down as props also and use it as initial data for the AppStore, also the AppStore name should change to AuthContext, thats better and the flow of authentication and authorization should be reviewed to ensure it is configured with regaurd to best practices,

=======================================================================

rules should be added to the projects for agents to not to add verbose comment, if some where there is a really decision made that the code does not tells us ( me and agent) why that piece of code is like that, comment should be added

===================================================================

in client project if there is still javascript code, rewrite it with ts, with reguard to type rules, no type error and mismatch

=====================================================================================

in product folder, read all the docs, and extract the full information without summarizing and skipping data ( obviousely you can skip duplicate data), and create a single file, which is a coprehensive step by step explaination to the bussiness and data model with clear descriptions. write it in as html file with styles matched to the client project theme, just a single file, not more. so, long story short:

do not skip or ignore data

clear and comprehensive step by step explanation

map each step of the bussines and its description to the data model.

at the end of the file consider a whole section for all data models together with their realtions and the diagram( you can use canvas or anyhting that you can attach using cdn in the file)