how does error handling work in this codebase
what is the overall architecture
how is state managed
where does authentication happen
how does the caching strategy work
how are database queries structured
what happens when the app starts up
how is configuration loaded
how does the sync mechanism work
how are user inputs validated
what logging exists and where
how are background jobs handled
how does the build process work
what external services does this talk to
how are errors surfaced to the user
how is data serialized and persisted
what are the main data models
how does routing work
how are tests organized
what security measures are in place
how does real-time collaboration work
how are files uploaded and stored
what happens on user signup
how are permissions checked
how is the UI themed and styled
