Eleboba
62f34731f7
Merge pull request 'feat(core): движок правил алертов и действий + демо-часы' ( #30 ) from feat/5-rules into dev
CI / ruff · pytest (push) Successful in 37s
2026-10-03 14:59:47 +03:00
Eleboba and Claude Opus 5.5
711c646876
feat(core): rule engine for alerts/agent actions and virtual demo clock
...
CI / ruff · pytest (pull_request) Successful in 18s
- app/core/clock.py: now()/today(), virtual offset (advance/set_now/reset),
pluggable offset persistence hook (ADR-005)
- config/rules.yaml + app/core/rules.py: YAML declares rules (params, actions,
levels, reason_ru), Python evaluators implement predicates by id; dedup of
open alerts, crisis never suppressed; ADR-006 colours (ADR-007)
- tests: per-rule unit tests, dedup, clock, 13-day demo persona trajectory
Refs #5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:58:19 +03:00
Eleboba
10faec73e0
Merge pull request 'feat(core): движок шкал и скоринг PHQ-9, GAD-7, PCL-5, AUDIT-C, PC-PTSD-5, C-SSRS, PHQ-4' ( #28 ) from feat/3-scales into dev
CI / ruff · pytest (push) Successful in 17s
2026-10-03 14:57:45 +03:00
Eleboba and Claude Opus 5.5
0c8cedc0c6
feat(core): scale engine with YAML schema and deterministic scoring
...
CI / ruff · pytest (pull_request) Successful in 23s
Pydantic schema for config/scales/*.yaml, cached loader, score() with
severity bands (sex-specific for AUDIT-C), rule-based C-SSRS triage,
flags (PHQ-9 item 9, PCL-5 >= 33, PHQ-4 subscales) and delta().
Starting literature thresholds for phq9, gad7, pcl5, auditc, pcptsd5,
cssrs_screen, phq4; final values are approved by the psychiatrist (#8 ).
Refs #3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:56:40 +03:00
Eleboba
de27ff1b72
Merge pull request 'chore(core): общие контракты ядра для параллельной работы #2–#7' ( #27 ) from chore/0-core-contracts into dev
CI / ruff · pytest (push) Successful in 18s
2026-10-03 14:51:28 +03:00
Eleboba and Claude Opus 5.5
f8b1fa561b
style(core): wrap long docstrings
...
CI / ruff · pytest (pull_request) Successful in 18s
Refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:50:47 +03:00
Eleboba and Claude Opus 5.5
3b9cd36f92
chore(core): freeze shared core contracts — ScrubbedText, RiskLevel, AlertLevel, privacy signatures
...
Lets #2-#7 proceed in parallel against stable interfaces.
Refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:50:30 +03:00
Eleboba
e35f5b00af
Merge pull request 'chore(devops): каркас — uv, docker compose, Makefile, CI' ( #26 ) from chore/1-skeleton into dev
CI / ruff · pytest (push) Successful in 21s
2026-10-03 14:50:04 +03:00
Eleboba and Claude Opus 5.5
107b8dba51
chore(devops): project skeleton — uv, docker compose, Makefile, CI
...
CI / ruff · pytest (pull_request) Successful in 1m50s
One Postgres with isolated identity/clinical databases and roles (ADR-003),
FastAPI /health, Streamlit placeholder, typed settings with offline defaults.
Refs #1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:46:01 +03:00
Eleboba and Claude Opus 5.5
cf2cc8b5f4
docs: bootstrap repo — CLAUDE.md, spec, ADR, TenVex-style workflow
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-03 14:36:33 +03:00