You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Always choose to use Hookstate `useHookstate` instead of React `useState`
# Run dev environment
- Client runs on port 3000, API server on 3030, file server on 8642
- Always check if it is already running before trying to run
- Always access the browser with https and check the env for the domain to access (may use LAN IP or tailscale)
# Testing Guidelines
- Write unit tests for core functionality
- Test edge cases and error conditions
- Mock dependencies appropriately
- Ensure tests are deterministic
- Run isolated tests with `npm run test -- <filename>` in the respective package's root
# Meta
- Always double check for errors
- Always ensure that any tests that are written pass
- Never do more than is asked of by the user, but always ensure that all issues are resolved before finishing
- Always double check your thinking, ensuring that any uncertainty is resolved by the user before continuing
- Do not make assumptions
- Never pander or appeal to the user, be objective and question if the solution actually meets what the user is requesting
- Be concise and clear in your communication, but not to the degree that your become unhelpful
- Ensure that any code and files that are no longer needed are removed
- Do not leave unnecessary code comments explaining what you've changed, only leave comments that provide information about the code itself that isn't immediately obvious from the code