True Care SystemTrue Care SystemDocumentation
Return to Website

SAFE AI-ASSISTED DEVELOPMENT

AI Coding Rules

Use AI assistance without weakening engineering review, privacy, security, or production stability.

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.

Permitted Use

  • Drafting targeted code changes from supplied current files.
  • Explaining existing code and identifying likely failure points.
  • Generating tests, documentation, SQL drafts, and review checklists.
  • Comparing before-and-after implementations.

Required Human Controls

TopicStandard
GroundingAI must work from the latest relevant files and requirements.
Scope controlDo not allow broad refactoring when a targeted fix is required.
VerificationDevelopers must review every line before deployment.
PHI protectionDo not send unredacted production PHI, credentials, or secrets into unapproved tools.
TestingAI-generated code requires the same checks as human-written code.
AuditabilitySecurity, HIPAA, and support logging must not be bypassed.
No invented factsDo not assume database fields, routes, or integrations that were not verified.

AI Change Review

  1. Confirm source files are current.
  2. Compare the complete diff.
  3. Check Provider isolation and authorization.
  4. Run type check, tests, and build.
  5. Manually test the exact production workflow.