# @phoebe/apps — application suite (phase 181.30)

Next.js (App Router) applications for the Phoebe platform. Each imports the real
`@phoebe/*` packages and builds with the **webpack** builder (`next build
--webpack`): the packages use ESM `.js` import specifiers for sibling `.ts` files
(moduleResolution: bundler), and a webpack `extensionAlias` (`.js` → `.ts`)
resolves them. Next 16's default Turbopack does not yet apply that rewrite. A
single hoisted `libs/phoebe/apps/node_modules` shares `next`/`react` and the
`@phoebe/*` symlinks across all apps.

All five apps are **build-verified**: each production build prerenders HTML that
contains values genuinely computed by the real packages (no mock data).

- **researcher-workbench** (181.30.1.1) — power analysis + preregistration lock +
  FDR-corrected primary analysis (`@phoebe/reproducibility`, `@phoebe/analysis`).
- **clinician-console** (181.30.1.2) — PHQ-9/GAD-7 caseload + crisis routing to
  988 (`@phoebe/assessment`, `@phoebe/safety`).
- **control-room** (181.30.2.1) — live EEG band-power signal quality + real-time
  service topology + decode→stim latency SLA (`@phoebe/signal`, `@phoebe/gateway`,
  `@phoebe/experiment-runtime`).
- **knowledge-explorer** (181.30.2.2) — DSM↔ICD↔MeSH↔SNOMED↔RDoC crosswalk +
  KGARevion verified-citation answers + claim/evidence stance
  (`@phoebe/knowledge-graph`, `@phoebe/evidence-synthesis`, `@phoebe/literature`).
- **patient-app** (181.30.2.3) — mood check-in, crisis screen, grounded CBT skill,
  EMA streak (`@phoebe/assessment`, `@phoebe/safety`, `@phoebe/therapeutics`,
  `@phoebe/phenotyping`).
