Enhance school day structure and decision-making for lunch breaks
ci / server (push) Failing after 3m43s
ci / client (push) Successful in 15s

- Updated `ai.md` to clarify the mechanics of hunger restoration and the importance of lunch breaks in the school schedule.
- Revised `schedule.md` to detail the new lunch break structure, allowing for separate sittings for different grade levels.
- Enhanced `Decision.cs` and `DecisionPlanner.cs` to incorporate logic for lunch breaks, ensuring that students only leave lessons during their designated lunch windows.
- Updated `DayFrameDef` and related classes to support multiple lunch breaks and validate their configurations.
- Adjusted tests to validate the new decision-making logic regarding lunch breaks and hunger management, ensuring robust functionality.
- Improved localization strings to reflect changes in the school day structure and lunch functionalities.
This commit is contained in:
Leonid Pershin
2026-08-19 23:17:16 +03:00
parent a441ed9763
commit 5eabc90d53
33 changed files with 831 additions and 404 deletions
+4
View File
@@ -17,6 +17,10 @@
- [x] Клик по дереву переключает панель локации на клиенте (пока узлы-заглушки или пустое дерево)
- [x] Переключение языка обновляет подписи панелей и пустых состояний (`t(...)`)
> **Отменено в фазе 8.** Панель общих событий убрана с экрана: пока ленты событий нет, постоянно
> пустая треть экрана мешала, и место отдано вкладкам «Карта» и «Люди». Решение записано в
> [`../design/near-term.md`](../design/near-term.md); появится лента — вернётся и панель.
## Критерий готовности
- Школу можно открыть, часы и пауза работают как раньше