CI / ruff · pytest (pull_request) Successful in 2m33s
- CRISIS_BLOCKING (default off for the demo): a crisis no longer locks the dialog; the message and the doctor's acute alert still happen. The clinical protocol (blocking, immediate stop) stays behind the flag and keeps its tests. - Crisis signals inside a questionnaire (intake red flags, high C-SSRS, PHQ-9 item 9) no longer stop it: the test is finished and the crisis message comes at the end; the doctor's alert is raised at once/at the end. - Weapon access: asked and stored, triggers nothing (rule disabled, no red flag, no safety block). - ЕМИАС demo persona is «Никита В.»; the one-click demo stays «Андрей С.». Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
config/
Конфигурация клинической логики (ADR-008). Схемы задаёт зона core, значения утверждает психиатр (clinical).
scales/— шкалы: пункты, варианты, градации, флагиrules.yaml— правила алертов и действийmodules.yaml— модули и расписания шкалlexicon/risk_ru.yaml— лексикон рискаtexts/— тексты для пациента (кризисный скрипт, согласие, перефразировки)rag/— база знаний (ADR-011):sources.yaml(документы, параметры поиска, синонимы) иcorpus/*.txt, собранные из PDF вdocs/source/rag/