True Care SystemTrue Care SystemDocumentation
Return to Website

ENGINEERING GOVERNANCE

Developer Guide Overview

Understand the scope, responsibilities, quality gates, and stability rules for True Care System development.

Production stability and security notice

Development changes must preserve working functionality, Provider isolation, role-based access, HIPAA auditability, released Mobile compatibility, and integration stability. Never deploy AI-generated or unreviewed code directly to production.

Engineering Scope

The guide applies to the NestJS API, Next.js Web application, React Native / Expo Mobile application, PostgreSQL database, Prisma schema, background jobs, Sandata integration, Supabase services, reporting, documentation, and future AI agents.

Developer Responsibilities

TopicStandard
Understand before editingRead the current implementation and verify how production users depend on it.
Maintain tenant isolationNever trust client-supplied Provider identifiers without server-side authorization.
Protect PHIAvoid exposing protected information in logs, errors, screenshots, exports, or test data.
Preserve auditabilityDo not bypass HIPAA, support-session, or administrative logging.
Validate end-to-end impactA backend change may affect Web, Mobile, payroll, billing, reports, or Sandata.
Keep changes reviewableUse focused files and commits with clear intent.
Prepare rollbackKnow how to reverse code, configuration, and SQL changes.

Definition of Done

  • Requirement is implemented without unrelated changes.
  • Provider scope and permissions are confirmed.
  • Type checking and build checks pass.
  • Database steps are documented where applicable.
  • Existing workflows are smoke-tested.
  • Audit and security behavior remain intact.
  • Deployment and rollback notes are available.