Skip to main content
DualMind is built by a small team: Harsh J. Bhanushali and Rishi A. Bangoriya, with the code at github.com/dualmindlabs. These are the conventions we review against.

Code

  • Work in src/. Ignore Backup/.
  • Controllers stay thin: validate, read the user from sub, call a service, map errors to the documented error shapes.
  • Use typed route constraints ({id:guid}) and escape user input in PostgREST filters with Uri.EscapeDataString.
  • New services go behind an interface and are registered in Program.cs with the right lifetime.
  • Add or update xUnit tests in tests/DualMind.API.Tests for every behaviour change.

Review checklist

  • The change is in a pull request with a clear description.
  • Tests or a manual test plan cover the change.
  • No secrets, keys or .env content in the diff.
  • Public API shapes are unchanged, or the docs and clients are updated with them.
  • Database changes are written down in Database schema and applied to every environment.
  • The change has been dry-run deployed where that applies.

Getting help

Email support@dualmindlab.tech or open an issue in the repository you’re working in.
Last modified on October 18, 2026