Skip to main content

Engineering Standards

The current codebase follows a few consistent rules:

  • prefer strict TypeScript and typed boundaries
  • keep tenant context server-derived
  • keep wallet and reward writes transactional
  • keep append-only data append-only
  • use DB constraints for deduplication and uniqueness
  • keep provider integrations behind small adapter layers
  • keep UI route guards as UX only, not security
  • keep docs aligned to the current code rather than the original plan
Written byDhruv Doshi