{
  "@context": "https://schema.org",
  "@type": "SoftwareSourceCode",
  "schema_version": "2026.1",
  "name": "capa-wizard-public",
  "headline": "CAPA Wizard \u2014 AI-Guided 5-Whys Root-Cause Analysis & Lean Quality Coach",
  "description": "AI-Guided Root-Cause Analysis (5-Whys) & CAPA Workflow Platform: voice/text incident intake, AI coach blocking shallow fixes, and effectiveness verification gates.",
  "abstract": "AI-Guided Root-Cause Analysis (5-Whys) & CAPA Workflow Platform: voice/text incident intake, AI coach blocking shallow fixes, and effectiveness verification gates.",
  "problemSolved": "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.",
  "license": "https://opensource.org/licenses/MIT",
  "codeRepository": "https://github.com/mohan-n-swamy/capa-wizard-public",
  "url": "https://mohan-n-swamy.github.io/repos/capa-wizard-public/",
  "llmsTxt": "https://mohan-n-swamy.github.io/repos/capa-wizard-public/llms.txt",
  "llmsFullTxt": "https://mohan-n-swamy.github.io/repos/capa-wizard-public/llms-full.txt",
  "rawLlmsFullTxt": "https://raw.githubusercontent.com/mohan-n-swamy/capa-wizard-public/main/llms-full.txt",
  "aiReadme": "https://raw.githubusercontent.com/mohan-n-swamy/capa-wizard-public/main/AI-README.md",
  "keywords": [
    "capa",
    "root-cause-analysis",
    "five-whys",
    "quality-management",
    "incident-management",
    "continuous-improvement",
    "lean-operations",
    "typescript",
    "ai-agents",
    "open-source"
  ],
  "searchQueries": [
    "open source capa wizard self hosted MIT",
    "CAPA Wizard github configurable .env",
    "how to self host capa wizard with docker python typescript",
    "open source capa reference architecture",
    "open source root cause analysis reference architecture",
    "open source five whys reference architecture",
    "open source quality management reference architecture",
    "open source incident management reference architecture",
    "open source continuous improvement reference architecture"
  ],
  "capabilities": [
    "Five-phase state engine (`api/src/`) guiding Problem Definition -> 6M Fishbone -> Multi-Branch 5-Whys -> Systemic CAPA -> Effectiveness Sign-off.",
    "Socratic AI Challenge & Evaluation prompts (`api/src/ai/`) rejecting circular reasoning, skipped causal steps, and person-blame.",
    "On-server voice transcription via `@xenova/transformers` so supervisors can speak answers on mobile or shop floors.",
    "19 automated Vitest suites (`api/src/__tests__/`) testing Fishbone generation, 5-Whys branching, phase gating, and evaluation logic."
  ],
  "configurableInputs": [
    {
      "name": "PORT",
      "default": "3005"
    },
    {
      "name": "DATABASE_URL",
      "default": "postgresql://postgres:postgres@localhost:5432/capa_wizard"
    },
    {
      "name": "JWT_SECRET",
      "default": "replace_with_32_byte_random_secret"
    },
    {
      "name": "GOOGLE_CLIENT_ID",
      "default": "optional_google_oauth_client_id"
    },
    {
      "name": "ANTHROPIC_API_KEY",
      "default": "replace_with_llm_api_key"
    },
    {
      "name": "WHISPER_MODEL",
      "default": "Xenova/whisper-tiny.en"
    }
  ],
  "quickstart": [
    "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"
  ],
  "author": {
    "@type": "Person",
    "name": "Mohan N",
    "url": "https://github.com/mohan-n-swamy"
  }
}
