Hotfix Procedure Skill
Guide the creation and execution of emergency hotfix procedures for Talosix EDC production systems. Hotfixes bypass the standard release cycle but must still maintain regulatory compliance for validated clinical trial systems.
When to Use
- Production defect impacting clinical data collection or integrity
- Security vulnerability requiring immediate remediation
- System availability issue not resolvable by infrastructure changes alone
- Regulatory compliance gap discovered in production
Hotfix Classification
When a Hotfix Is Warranted
A hotfix (emergency change) is justified when:
- Patient safety is potentially impacted
- Clinical data integrity is at risk
- System is unavailable and no infrastructure workaround exists
- A security breach or critical vulnerability is actively exploitable
- Regulatory non-compliance is discovered that cannot wait for next release
When a Hotfix Is NOT Warranted
Route through standard release process instead:
- Cosmetic or UI issues with no data impact
- Feature requests or enhancements
- Performance issues with acceptable workarounds
- Non-critical bugs with workarounds documented
Hotfix Procedure
Phase 1: Authorization (Target: < 30 minutes)
Report and classify the production issue
- Document the issue: symptoms, impact, affected studies/sites
- Classify severity (SEV-1 or SEV-2 required for hotfix)
- Identify clinical impact: data integrity, patient safety, regulatory
Obtain emergency change authorization
- Contact: Engineering Manager + QA Lead + Product Owner
- For patient safety impact: additionally notify Clinical Operations Director
- Document verbal approval (written follow-up within 24 hours)
- Record: approver names, timestamp, justification for emergency path
Assign hotfix team
- Developer (code fix)
- Reviewer (code review)
- QA Engineer (abbreviated validation)
- Deployment lead (production deployment)
Phase 2: Development (Target: scope-dependent)
Create hotfix branch
Branch from: production tag (not develop)
Naming: hotfix/<ticket-id>-<short-description>
Implement the fix
- Minimal change scope: fix only the identified issue
- No refactoring, no feature additions, no "while we're here" changes
- Include unit tests covering the fix
- Update any affected validation test scripts
Code review
- Required even for hotfixes: minimum one reviewer
- Focus review on: correctness, scope limitation, regression risk
- Document review in pull request
Merge strategy
- Merge hotfix branch to production branch/tag
- Immediately also merge to develop/main to prevent regression
Phase 3: Abbreviated Validation (Target: < 2 hours)
Hotfixes require abbreviated but compliant validation:
Risk-based test scope
- Test the specific fix (direct verification)
- Test immediately adjacent functionality (regression)
- Test core critical paths: form save, audit trail, e-signatures
- Document rationale for test scope limitation
Required validation artifacts (abbreviated set)
Validation execution
- Execute in pre-production environment first
- All targeted tests must pass (no waivers on abbreviated set)
- Document any observations or deviations
- QA sign-off on test results
Phase 4: Deployment
Pre-deployment
- Database backup (mandatory, no exceptions)
- Confirm rollback procedure for this specific hotfix
- Notify stakeholders: deployment starting
Deploy to production
- Follow standard deployment procedure
- Execute with deployment checklist (abbreviated for hotfix scope)
Post-deployment verification
- Execute smoke tests on the fixed functionality
- Verify fix resolves the reported issue
- Monitor for 1 hour minimum (2 hours for data integrity issues)
- Confirm no new errors introduced
Phase 5: Post-Hotfix Documentation (Within 24-48 hours)
Complete change control documentation
- Formalize the emergency change request
- Obtain written approvals (retroactive)
- Document the full timeline of events
- Attach all validation artifacts
Update validation records
- Update traceability matrix
- File test evidence in validation repository
- Update system validation summary if needed
Root cause analysis
- Why did the defect escape to production?
- What process improvement prevents recurrence?
- Document findings
CAPA assessment
- Determine if a Corrective and Preventive Action is required
- If yes, initiate CAPA process with QA
Communication Templates
Stakeholder Notification: Hotfix Initiated
Subject: [HOTFIX] <System> - <Brief Issue Description>
Severity: SEV-<1|2>
Issue: <Description of production issue>
Impact: <Affected studies, sites, functionality>
Clinical Impact: <Data integrity / patient safety assessment>
Hotfix ETA: <Estimated completion time>
Authorized by: <Name(s)>
Updates will be provided every <30|60> minutes.
Stakeholder Notification: Hotfix Complete
Subject: [RESOLVED] <System> - <Brief Issue Description>
Resolution: <What was fixed>
Deployed: <Timestamp>
Verified: <Confirmation of fix>
Data Impact: <Any data reconciliation required>
Action Required: <Any follow-up needed from recipients>
Full incident report to follow within 24 hours.
Using Allowed Tools
- Use Read to examine source code and configuration related to the issue
- Use Grep to search for error patterns, related code paths, and impact scope
- Use Glob to find affected files and test files
- Use Bash to run tests, check build status, and verify deployments
Regulatory Compliance Notes
Even under emergency procedures:
- Audit trail must never be bypassed or disabled
- Electronic signature controls must remain intact
- All changes must be traceable and documented (post-hoc is acceptable)
- Abbreviated validation is permitted but must be risk-justified
- QA must be involved in validation, even if abbreviated
- The hotfix process itself should be defined in the company's SOP for change control
1---2name: hotfix-procedure3description: Emergency hotfix process for Talosix EDC production issues. Covers expedited change control, abbreviated but compliant validation, and communication/notification procedures.4---56# Hotfix Procedure Skill78Guide the creation and execution of emergency hotfix procedures for Talosix EDC production systems. Hotfixes bypass the standard release cycle but must still maintain regulatory compliance for validated clinical trial systems.910## When to Use1112- Production defect impacting clinical data collection or integrity13- Security vulnerability requiring immediate remediation14- System availability issue not resolvable by infrastructure changes alone15- Regulatory compliance gap discovered in production1617## Hotfix Classification1819### When a Hotfix Is Warranted2021A hotfix (emergency change) is justified when:22- Patient safety is potentially impacted23- Clinical data integrity is at risk24- System is unavailable and no infrastructure workaround exists25- A security breach or critical vulnerability is actively exploitable26- Regulatory non-compliance is discovered that cannot wait for next release2728### When a Hotfix Is NOT Warranted2930Route through standard release process instead:31- Cosmetic or UI issues with no data impact32- Feature requests or enhancements33- Performance issues with acceptable workarounds34- Non-critical bugs with workarounds documented3536## Hotfix Procedure3738### Phase 1: Authorization (Target: < 30 minutes)39401. **Report and classify** the production issue41 - Document the issue: symptoms, impact, affected studies/sites42 - Classify severity (SEV-1 or SEV-2 required for hotfix)43 - Identify clinical impact: data integrity, patient safety, regulatory44452. **Obtain emergency change authorization**46 - Contact: Engineering Manager + QA Lead + Product Owner47 - For patient safety impact: additionally notify Clinical Operations Director48 - Document verbal approval (written follow-up within 24 hours)49 - Record: approver names, timestamp, justification for emergency path50513. **Assign hotfix team**52 - Developer (code fix)53 - Reviewer (code review)54 - QA Engineer (abbreviated validation)55 - Deployment lead (production deployment)5657### Phase 2: Development (Target: scope-dependent)58591. **Create hotfix branch**60 ```61 Branch from: production tag (not develop)62 Naming: hotfix/<ticket-id>-<short-description>63 ```64652. **Implement the fix**66 - Minimal change scope: fix only the identified issue67 - No refactoring, no feature additions, no "while we're here" changes68 - Include unit tests covering the fix69 - Update any affected validation test scripts70713. **Code review**72 - Required even for hotfixes: minimum one reviewer73 - Focus review on: correctness, scope limitation, regression risk74 - Document review in pull request75764. **Merge strategy**77 - Merge hotfix branch to production branch/tag78 - Immediately also merge to develop/main to prevent regression7980### Phase 3: Abbreviated Validation (Target: < 2 hours)8182Hotfixes require abbreviated but compliant validation:83841. **Risk-based test scope**85 - Test the specific fix (direct verification)86 - Test immediately adjacent functionality (regression)87 - Test core critical paths: form save, audit trail, e-signatures88 - Document rationale for test scope limitation89902. **Required validation artifacts (abbreviated set)**91 - [ ] Hotfix change request document (can be post-hoc within 24 hours)92 - [ ] Risk assessment for the fix (brief, targeted)93 - [ ] Test protocol covering fix verification and critical regression94 - [ ] Test execution evidence (screenshots, logs)95 - [ ] Traceability: defect -> fix -> test -> result96973. **Validation execution**98 - Execute in pre-production environment first99 - All targeted tests must pass (no waivers on abbreviated set)100 - Document any observations or deviations101 - QA sign-off on test results102103### Phase 4: Deployment1041051. **Pre-deployment**106 - Database backup (mandatory, no exceptions)107 - Confirm rollback procedure for this specific hotfix108 - Notify stakeholders: deployment starting1091102. **Deploy to production**111 - Follow standard deployment procedure112 - Execute with deployment checklist (abbreviated for hotfix scope)1131143. **Post-deployment verification**115 - Execute smoke tests on the fixed functionality116 - Verify fix resolves the reported issue117 - Monitor for 1 hour minimum (2 hours for data integrity issues)118 - Confirm no new errors introduced119120### Phase 5: Post-Hotfix Documentation (Within 24-48 hours)1211221. **Complete change control documentation**123 - Formalize the emergency change request124 - Obtain written approvals (retroactive)125 - Document the full timeline of events126 - Attach all validation artifacts1271282. **Update validation records**129 - Update traceability matrix130 - File test evidence in validation repository131 - Update system validation summary if needed1321333. **Root cause analysis**134 - Why did the defect escape to production?135 - What process improvement prevents recurrence?136 - Document findings1371384. **CAPA assessment**139 - Determine if a Corrective and Preventive Action is required140 - If yes, initiate CAPA process with QA141142## Communication Templates143144### Stakeholder Notification: Hotfix Initiated145```146Subject: [HOTFIX] <System> - <Brief Issue Description>147148Severity: SEV-<1|2>149Issue: <Description of production issue>150Impact: <Affected studies, sites, functionality>151Clinical Impact: <Data integrity / patient safety assessment>152Hotfix ETA: <Estimated completion time>153Authorized by: <Name(s)>154155Updates will be provided every <30|60> minutes.156```157158### Stakeholder Notification: Hotfix Complete159```160Subject: [RESOLVED] <System> - <Brief Issue Description>161162Resolution: <What was fixed>163Deployed: <Timestamp>164Verified: <Confirmation of fix>165Data Impact: <Any data reconciliation required>166Action Required: <Any follow-up needed from recipients>167168Full incident report to follow within 24 hours.169```170171## Using Allowed Tools172173- Use **Read** to examine source code and configuration related to the issue174- Use **Grep** to search for error patterns, related code paths, and impact scope175- Use **Glob** to find affected files and test files176- Use **Bash** to run tests, check build status, and verify deployments177178## Regulatory Compliance Notes179180Even under emergency procedures:181- Audit trail must never be bypassed or disabled182- Electronic signature controls must remain intact183- All changes must be traceable and documented (post-hoc is acceptable)184- Abbreviated validation is permitted but must be risk-justified185- QA must be involved in validation, even if abbreviated186- The hotfix process itself should be defined in the company's SOP for change control