Commit Graph
194 Commits
Author SHA1 Message Date
Leonid Pershin 148c81d4e4 Mark phase 84 wet-aftereffect in progress. 2026-08-21 20:14:00 +03:00
Leonid Pershin 59a7023bc4 Wire grade trail notices, dress mark factor, and truancy summons weights.
Lesson multipliers stay explicit in tests; poor marks and unexcused absences toast and may auto-summon, while illness stays excused.
2026-08-21 14:18:41 +03:00
Leonid Pershin b314f50112 Wire sick-teacher stay-home into cancelled lessons.
Heavy flu keeps the assigned teacher off the day plan; pupils get 48/73 no-teacher marks and a one-shot LessonCancelled notice instead of silent empty rooms.
2026-08-21 14:17:37 +03:00
Leonid Pershin e40bec3aa3 Merge branch 'phase/75-gradebook-ui'
# Conflicts:
#	docs/phases/13-grades/README.md
2026-08-21 14:02:32 +03:00
Leonid PershinandCursor 4a52107bd2 Add person-to-person disease contagion with outbreak notices.
Node/class contact rolls use pair+day seeds; vanilla respiratory diseases spread, and a threshold raises an info toast instead of per-sneeze noise.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 13:55:24 +03:00
Leonid PershinandCursor db6e60929d Show lesson marks and attendance on the person card.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 13:42:37 +03:00
Leonid PershinandCursor a369308116 Merge branch 'phase/78-diseases'
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 13:39:49 +03:00
Leonid Pershin 3288287da9 Add AI parent meetings after a class last lesson.
Class teachers rarely keep the homeroom; invited parents walk onto the map, opinions nudge, then parents leave OffCampus. No player schedule API.
2026-08-21 13:33:40 +03:00
Leonid Pershin 2d633411e4 Add DiseaseDef diseases with weather vectors and excused absence.
Vanilla ships several diseases whose stages drive lesson gain, stay-home
rolls, and illness attendance; cold/rain/snow raise onset via BehaviorDef scale.
2026-08-21 13:28:57 +03:00
Leonid Pershin ccb185566e Merge branch 'phase/74-attendance' 2026-08-21 13:15:05 +03:00
Leonid Pershin 9e429d0cd7 Show director summons as info toasts and presence queue labels.
Corridor waiters need a summon-phase byte on presence (v11); EventDef DirectorSummoned is info-only so clocks keep running.
2026-08-21 13:07:47 +03:00
Leonid PershinandCursor a2b35da4dd Add lesson attendance from presence (present/late/absent).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 12:37:01 +03:00
Leonid PershinandCursor d3c2327e23 Merge branch 'phase/77-health-conditions'
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 12:22:23 +03:00
Leonid PershinandCursor 1ac71aa80d Merge branch 'phase/73-lesson-marks'
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 12:00:53 +03:00
Leonid Pershin e40f130248 Auto-summon pupils to the principal after fight breaks, with a corridor FIFO queue. 2026-08-21 11:49:06 +03:00
Leonid PershinandCursor b359bebb41 Add lesson marks 2-5 from lesson quality once per slot.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:45:14 +03:00
Leonid PershinandCursor 2d31a59a81 Add health condition list, tick, and save for phase 77.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:41:25 +03:00
Leonid Pershin 8f1a82f42d Merge branch 'review/slice-2-recheck'
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	docs/phases/reviewed.md
2026-08-21 10:00:24 +03:00
Leonid Pershin bb0b799d41 Merge branch 'phase/69-offense-memory'
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	src/HSchool.Server/Api/PeopleModels.cs
#	src/HSchool.Server/Game/PersonCardReader.cs
2026-08-21 09:58:31 +03:00
Leonid PershinandCursor 4096d5306e Add class-teacher slots on SchoolClass with owner-only assign/clear.
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 09:37:37 +03:00
Leonid Pershin fdcaed0f74 Remember recent quarrels, fights and reprimands on the person.
Short offense list for the pupil card and save, capped by BehaviorDef — not a discipline score.
2026-08-21 09:37:12 +03:00
Leonid Pershin 2a199fda8f Record slice 2 recheck after notices and portraits. 2026-08-21 03:08:40 +03:00
Leonid Pershin e160e005a2 Merge main to keep slice 11 stage A review journal. 2026-08-21 02:47:07 +03:00
Leonid PershinandCursor 1097d8ddf5 Add review tests for notices, scene prompts, and Play lock.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 02:46:30 +03:00
Leonid Pershin 1002aeb680 Lock the Krea catalog at ages 6-11 and keep SDXL ids when a living save has no models list. 2026-08-21 02:40:08 +03:00
Leonid PershinandCursor 3061e09d3e Retry a failed portrait from the notice with the same scene builder.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 01:48:30 +03:00
Leonid Pershin 3c70227229 Merge branch 'phase/63-krea-only'
# Conflicts:
#	docs/phases/11-events/README.md
2026-08-21 01:04:49 +03:00
Leonid Pershin 023dbc85c3 Merge branch 'phase/66-scene-prompt' 2026-08-20 23:43:13 +03:00
Leonid PershinandCursor 3c682a2b74 Add scene fragments to portrait prompts after clothing.
Thing, room, yard and climate precipitation can contribute a short prompt when they are in frame, with a budget so chairs stay silent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 23:35:17 +03:00
Leonid PershinandCursor f36af269bb Pause the school on warning notices until the owner dismisses them.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 22:33:38 +03:00
Leonid PershinandCursor a554738084 Add EventDef notices, morning and lesson bells, and info toasts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:46:33 +03:00
Leonid PershinandCursor 6fb6efbd45 Drop SDXL from the vanilla Swarm catalog so new schools draw only Krea 2.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:40:50 +03:00
Leonid PershinandCursor 9972b30257 Keep defender-victim opinions as allies after a quarrel.
The clash penalty applied to every pair except defender looking at the victim, so the person being helped disliked the defender like a second enemy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 18:15:55 +03:00
Leonid Pershin 15017ad9a6 Merge branch 'review/slice-10-bc-recheck' 2026-08-20 18:08:20 +03:00
Leonid PershinandCursor 34f28f9ab8 Lock PersonCardReader to a single public Read.
Phase 58 promised no second public card API; reflection now fails if another method appears.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:37:55 +03:00
Leonid Pershin 3bd6b2021c Merge branch 'review/slice-9-ab-recheck' 2026-08-20 17:33:02 +03:00
Leonid Pershin cecd79cf50 Merge branch 'review/slice-10-a-recheck' 2026-08-20 17:28:00 +03:00
Leonid PershinandCursor a80c6f097a Refuse enemies joining an open talk circle.
RankInvitees already skipped enemies when a circle formed; a later Chat in the same node still joined without checking opinions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:25:36 +03:00
Leonid Pershin efa27ab3fa Merge branch 'review/off-queue-lessons' 2026-08-20 17:25:26 +03:00
Leonid PershinandCursor 68179de413 Record slice 10 A recheck after architecture paths stayed still.
Later slices did not touch 56-57 paths. Add remaining projects.md graph bans and document Simulation's direct Schedule reference.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:23:52 +03:00
Leonid PershinandCursor ee452b2d61 Merge branch 'review/off-queue-dx'
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:15:22 +03:00
Leonid Pershin 8b175c05e7 Merge branch 'main' into review/off-queue-lessons 2026-08-20 17:12:30 +03:00
Leonid Pershin aa20534b77 Add tests that lesson-consequence promises were missing.
Teacher action must not cancel gain, a missing warmth need matches full warmth, snow on the street must reach DayPlans, and a lazy pupil still appears closer to the bell.
2026-08-20 17:11:06 +03:00
Leonid PershinandCursor d8d042349a Close gaps in off-queue DX 49/54/55.
Pass -c through to dotnet run so Release stamp and process match, assert changelog order for more than one commit, and restore the last school tab from sessionStorage when opening from the menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:10:01 +03:00
Leonid PershinandCursor b188deef94 Record phase 62 portrait-prompt-craft as reviewed.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:09:13 +03:00
Leonid PershinandCursor ed015b9d6b Add Krea portrait models and write appearance as prose.
New schools default to Realism v2.5; living saves keep their catalog.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 16:45:40 +03:00
Leonid Pershin 5e23d1f500 Merge branch 'review/off-queue-portraits' 2026-08-20 16:21:21 +03:00
Leonid PershinandCursor 118d1815d8 Record slice 7 B-C recheck after later slices drifted climate and dress paths.
Adds a weather-drop walk test so a jacket is not teleported onto the body; PE change regressions already red on main stay open.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 16:17:45 +03:00
Leonid PershinandCursor 94e3e661e8 Record portrait phases 60-61 as reviewed.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 16:17:17 +03:00
Leonid Pershin 71000655e0 Merge branch 'review/slice-8-recheck' 2026-08-20 16:10:07 +03:00