Canonical clinician-vetted content for Baby Pulmo runtime. Private — trade-secret protected.
| File | What it is |
|---|---|
stock-bangla.json |
The 7 Romanized Bangla guidance scripts mapped to (coughClass:severity) tuples. Read at runtime via STOCK_BANGLA_JSON env var. |
severity-rules.json |
The deterministic severity table mapping coughClass → {mustEscalate, severity, action}. Read at runtime via SEVERITY_RULES_JSON env var. |
The public BabyPulmo/babypulmo repo no longer carries the literal values. At deploy time, the contents of these files are loaded into Vercel environment variables:
# Single-line JSON for env vars (no newlines)
export STOCK_BANGLA_JSON=$(jq -c . stock-bangla.json)
export SEVERITY_RULES_JSON=$(jq -c . severity-rules.json)Then lib/tts.ts and lib/claude.ts JSON.parse them on cold start.
- Clinical Advisor (Dr. Al Muktafi Saadi, post-confirmation) reviews + edits.
- PR into this repo with the edit + reviewer signature in commit message.
- Update Vercel env var with new JSON.
- Re-deploy. No public-repo touch required.
Clinical content is owned by Baby Pulmo. Not licensed for redistribution.