# Roadmap

LINGULIA v1 is deliberately a deep, focused **mental-health** slice. The architecture is built so
each step below adds to it without a rewrite.

## Near term — strengthen v1

- **Clinical & linguistic review** of all `draft` entries → flip to `reviewed` (see
  [Clinical Content](clinical-content.md)).
- **Substitute validated** Amharic/Afaan Oromo PHQ-9 & GAD-7 translations.
- **Expand the corpus** from ~90 to several hundred reviewed mental-health terms.
- **More tools**: suicide-risk structured assessment, AUDIT (alcohol), mhGAP master-chart flow.
- **Admin/review mode**: an in-app editor for clinicians to propose edits and flip review flags
  without touching JSON by hand.

## Mid term — platform breadth

- **More domains**, reusing the same schema and app: maternal & child health, infectious disease
  (malaria, TB, HIV), emergency & triage, NCDs.
- **More Ethiopian languages**: Tigrinya, Somali, Sidaama, and beyond — the data model already
  treats language as a per-field key.
- **Better voice**: high-quality neural **Text-to-Speech** and **Speech-to-Text** for Amharic and
  Afaan Oromo, so a health worker can speak and listen, not just read. This plugs in behind the
  existing `TTS.speak()` boundary.

## Long term — LINGULIA's own AI

- A **fine-tuned medical language model** for Ethiopian languages, trained/aligned to the safety
  spec in [`prompts/mental-health-system-prompt.md`](../prompts/mental-health-system-prompt.md),
  grounded on the reviewed corpus via retrieval.
- A **hosted LINGULIA API** exposed behind the same provider-agnostic interface already in
  `js/ai.js` (`custom` adapter) — so the app needs no rewrite to adopt it.
- **On-device inference** for a small model, to keep the AI assistant working offline too.

## Operational

- Packaging for **distribution** (signed PWA / TWA on the Play Store; clinic-server hosting).
- **Monitoring & feedback** loop from pilot sites.
- **Governance**: a named clinical reviewer board and a versioned content release process.

> Guiding constraint throughout: **offline-first and safety-first.** Every new capability must
> degrade gracefully without a connection, and must never turn the tool into something that
> diagnoses on its own.
