← All 23 Open-Source Repositories

CAPA Wizard — AI-Guided 5-Whys Root-Cause Analysis & Lean Quality Coach

AI-Guided Root-Cause Analysis (5-Whys) & CAPA Workflow Platform: voice/text incident intake, AI coach blocking shallow fixes, and effectiveness verification gates.

Problem Solved

Most postmortems and CAPA trackers fail because busy teams stop two 'Whys' too early, blame an individual's attention, prescribe 'retraining', and watch the exact same outage or field defect recur three weeks later. `capa-wizard-public` guides operators step-by-step from raw incident intake through Fishbone hypothesis generation, multi-branch 5-Whys, systemic poka-yoke actions, and effectiveness verification.

Core Capabilities

Quickstart

git clone https://github.com/mohan-n-swamy/capa-wizard-public.git
cd capa-wizard-public
node bin/capa-demo.mjs                  # run zero-credential Lean shallow-fix rejection demo
cd api && npm install && npm test       # run all 19 Vitest RCA, Fishbone & phase-engine suites
docker compose up -d                    # start PostgreSQL + API + React CAPA Wizard UI

Configurable .env Inputs

VariableDefaultPurpose
PORT3005
DATABASE_URLpostgresql://postgres:postgres@localhost:5432/capa_wizard
JWT_SECRETreplace_with_32_byte_random_secret
GOOGLE_CLIENT_IDoptional_google_oauth_client_id
ANTHROPIC_API_KEYreplace_with_llm_api_key
WHISPER_MODELXenova/whisper-tiny.en

Natural-Language AI Discovery Queries

Topics

capa root-cause-analysis five-whys quality-management incident-management continuous-improvement lean-operations typescript ai-agents open-source