Inspiration
Medical device and pharmaceutical teams operating under ISO 13485 (incorporated into FDA's QMSR, 21 CFR 820, effective Feb 2, 2026), 21 CFR Part 11, and ICH Q10 rely on Jira for engineering and Confluence for SOPs — yet still fall back on clunky legacy eQMS tools because standard tickets lack tamper-evident audit logs, clause-cited lifecycle gates, and independent two-person electronic signatures. CAPAForge brings regulated CAPA, change control, and SOP traceability natively into Jira and Confluence.
What it does
- 6-Phase Clause-Gated CAPA Lifecycle: Guides every deviation, NCR, complaint, or audit finding through Intake, Containment, Root Cause, Action Plan, Effectiveness Verification, and Closure — every gate cites the exact ISO 13485 / 21 CFR 820 / Part 11 clause it enforces.
- Tamper-Evident SHA-256 Hash-Chained Audit Trail: Every state transition and signature appends a cryptographic hash-chain link with daily external seals stored outside app record storage. Any edit, deletion, or chain rewrite is detected immediately and freezes the tampered record.
- 21 CFR Part 11 Two-Person Electronic Signatures: Enforces PIN + printed name bound to the exact audit-trail entry hash, while preventing record or action owners from approving their own work.
- Automatic Confluence SOP Traceability: Links CAPA actions directly to Confluence SOP page versions and automatically updates traceability when a revised SOP is published.
- Quality Room Dashboard & Daily Escalation: Live audit-readiness score, full traceability matrix, exportable audit packets, and automated daily sweeps for overdue CAPAs.
- Rovo Agent & Atlassian MCP Server: Exposes 2 Rovo skills and 8 MCP actions for reading CAPAs, drafting root-cause summaries, and annotating records — strictly read/draft/annotate only, never permitted to sign, approve, or close regulated records.
How we built it
- Atlassian Forge (Jira + Confluence + Rovo + Atlassian MCP): Purpose-built for regulated life-sciences / specialized industries with its own cryptographic audit-chain storage, clause-gate state machine, and e-signature verifier.
- Completely distinct architecture: Separate domain, data model, UI, cryptographic audit trail, and regulatory workflow tailored specifically for Specialized Industries.
Challenges we ran into
- Preventing concurrent-write races from corrupting SHA-256 hash chains in Forge storage (solved with atomic compare/existence guards and verified with real concurrent-write race tests).
- Designing Rovo/MCP guardrails so AI accelerates quality documentation without violating 21 CFR Part 11 human-signature requirements.
Accomplishments that we're proud of
- 216/216 automated tests passing across 11 test suites (including tamper detection, lifecycle edge cases, and real concurrent-write race tests) with 94.99% statement coverage and 97.38% line coverage.
- 0 ESLint warnings, 0 TypeScript errors, 0
forge lintissues, and 29/29 headless Chrome QA checks passing (including 420px mobile layout). - Production-deployed and installed on Jira + Confluence.
What's next for CAPAForge
Automated FDA Form 483 / ISO 13485 audit-binder PDF exports, supplier CAPA portals, and training-record verification hooks in Confluence.
Built With
- atlassian-forge
- atlassian-mcp
- confluence
- jira
- node.js
- react
- rovo
- sha-256
- typescript
- vitest