Commit Graph

3 Commits

  • fix: address Greptile review — frontmatter, CI safety, null guards
    Greptile fixes:
    - Removed non-standard YAML frontmatter fields (observe, feedback, rollback) from all 4 skills — only name, description, origin, version per CONTRIBUTING.md
    - Added null guard to checkInteractions implementation (was missing despite test)
    - CI: replaced 2>/dev/null with 2>&1 (was silencing safety-critical errors)
    - CI: quoted $RESULT variable (was breaking jq on JSON with spaces)
    - CI: added division-by-zero guard when test suite is empty
    - CI: added note that Jest is reference implementation, thresholds are framework-agnostic
  • fix: address all CodeRabbit + Cubic review comments on PR #955
    CodeRabbit fixes (6 comments):
    - All 4 skills: renamed 'When to Activate' → 'When to Use', added 'How It Works' and 'Examples' sections
    - CDSS: DoseValidationResult.suggestedRange now typed as '| null'
    - PHI: hyphenated 'Non-patient-sensitive'
    
    Cubic fixes (7 issues):
    - P1: CDSS weight-based check now BLOCKS when weight missing (was false-negative pass)
    - P1: EMR medication safety clarified — critical = hard block, override requires documented reason
    - P1: PHI logging guidance clarified — use opaque UUIDs only, not medical record numbers
    - P2: CDSS validateDose now uses age and renal function params (ageAdjusted, renalAdjusted rules)
    - P2: Eval CI example now enforces 95% threshold with jq + bc calculation
    - P2: Eval CI example now includes --coverage --coverageThreshold on CDSS suite
    - P2: CDSS suggestedRange null type fixed (same as CodeRabbit)
  • feat: add healthcare domain skills and agent
    New skills:
    - healthcare-emr-patterns: EMR/EHR encounter workflows, smart templates, medication safety, clinical UI patterns
    - healthcare-phi-compliance: PHI/PII protection patterns, RLS templates, leak vector checklist, audit trail patterns
    - healthcare-cdss-patterns: Drug interaction checking, dose validation, clinical scoring (NEWS2/qSOFA), alert severity
    - healthcare-eval-harness: Patient safety CI/CD gate — CDSS accuracy, PHI exposure, data integrity, clinical workflows
    
    New agent:
    - healthcare-reviewer: Clinical safety reviewer for CDSS accuracy, PHI compliance, medical data integrity
    
    All patterns are generalized and framework-agnostic. Applicable to any health-tech stack.
    Origin: Health1 Super Speciality Hospitals, Ahmedabad, India.