Technical reference
The active frontend is Next.js 16 with React 19, TypeScript, App Router, Tailwind CSS v4, shadcn/Radix primitives, TanStack Query, Axios, React Hook Form, and Zod.
Web boundary
Authentication uses HTTP-only cookies. Verified clinicians own patient relationships and assignments. Assignment submission receives its task type from the server-authoritative assignment and atomically publishes exactly one queued assessment job.
Generic audio uploads never dispatch assessment processing.
Processing boundary
A dedicated worker resolves CTP or PBJ through the production registry, materializes private audio for local ASR, runs the task-owned production graph, and persists terminal output transactionally. The FastAPI web process never runs the assessment graphs in-process.
Result boundary
MongoDB stores queryable clinical interpretations and immutable snapshots; private object storage remains the exact execution record. Machine output begins at snapshot version 0. The capability-controlled clinician review workflow creates positive immutable versions from finalized drafts; it never overwrites machine version 0.
The protected result route is version-pinned and owning-clinician-only. The longitudinal clinician chat is a separate capability-controlled, patient-scoped workspace whose answers retain exact links to immutable result evidence.
Authoritative repository records
The maintained architecture, web experience, web CI/CD, and responsible-use documents
under the repository docs directory are the source of truth. The complete task
handbook is intentionally excluded from this public static site because it contains
protected clinician material.