Commit Graph
100 Commits
Author SHA1 Message Date
Leonid PershinandCursor c2579d6767 Scale lesson skill gain by the teacher's subject skill.
Hiring a 78-math applicant already cost more than a 41; the class now actually learns faster when that teacher is in the room.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:54:13 +03:00
Leonid Pershin 6dcbb3303c Merge branch 'phase/48-lesson-teacher-present' 2026-08-20 08:42:38 +03:00
Leonid PershinandCursor 32283bfada phase 48: mark complete
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:40:04 +03:00
Leonid PershinandCursor bdc902b7ff Renumber remaining lesson-coherence phases to 50-53.
Phase 49 is already claimed for skip-stale-build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:39:29 +03:00
Leonid PershinandCursor fbc32f2bfc Grow lesson skills only when the assigned teacher is standing in the room.
The timetable already named a teacher; learning ignored whether they were in the toilet, still walking, or not a person at all.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:33:28 +03:00
Leonid PershinandCursor 936d6fb04f phase 48: mark in progress
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:21:47 +03:00
Leonid Pershin 7266678ee9 Mark phase 42 talk-circles as in progress.
ci / server (push) Failing after 3m39s
ci / client (push) Failing after 14s
2026-08-20 08:21:21 +03:00
Leonid PershinandCursor 254c43535e Document off-queue lesson coherence (phases 48-52).
Teacher presence, teacher skill, warmth, textbooks and weather commute are already visible numbers that do not affect the lesson or the walk to school.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:21:14 +03:00
Leonid Pershin 9d96108516 Add portrait settings support to school creation and update related API and UI components. Enhance error handling for invalid presets and ensure proper cloning of settings. Update tests to validate new functionality.
ci / server (push) Failing after 3m40s
ci / client (push) Failing after 14s
2026-08-20 08:17:58 +03:00
Leonid Pershin db95de0ddf Update AGENTS.md with new task documentation and enhance Russian and English localization for portrait settings.
ci / server (push) Failing after 1m16s
ci / client (push) Failing after 13s
2026-08-20 08:01:46 +03:00
Leonid Pershin 6264034e4b Merge branch 'phase/41-opinions'
# Conflicts:
#	docs/phases/README.md
2026-08-20 07:58:05 +03:00
Leonid Pershin e35aa0d893 phase 39: mark in progress 2026-08-20 07:40:55 +03:00
Leonid Pershin 3fdbbf488e phase 41: mark complete 2026-08-20 07:35:36 +03:00
Leonid Pershin b1b4f18b40 Add opinions storage, morning drift, and Connections card tab. 2026-08-20 07:34:57 +03:00
Leonid Pershin 40929aa3ce Merge branch 'phase/38-session'
# Conflicts:
#	docs/phases/README.md
#	tests/HSchool.AppHost.Tests/PortraitApiTests.cs
2026-08-20 07:25:12 +03:00
Leonid Pershin 660340c216 Enhance apparel definitions: Introduce 'UpperUnderwear' layer and related items (Bra, SportsBra, SoftBra) to support gender-specific clothing. Update inventory and dress generation logic to accommodate new layers and ensure proper coverage. Adjust localization for new apparel terms and refine tests for underwear functionality. 2026-08-20 07:20:40 +03:00
Leonid Pershin fbd18a646f Mark phase 38 session complete. 2026-08-20 07:17:52 +03:00
Leonid Pershin a444fc011e Add alpha session gate with cookie auth and login UI. 2026-08-20 07:17:18 +03:00
Leonid Pershin 2af85e1c41 phase 41: mark in progress 2026-08-20 07:12:49 +03:00
Leonid Pershin b9d91d387e Merge phase/40-clock-tempo. 2026-08-20 07:07:00 +03:00
Leonid Pershin d459f50074 Update swarmui.json configuration: change model to 'babesByStableYogi_v4XLLightning.safetensors', adjust steps to 7, cfgScale to 1.5, clipSkip to 0, and update scheduler to 'normal'. Refine positive prompt and enhance avatar description.
ci / server (push) Failing after 3m42s
ci / client (push) Successful in 18s
2026-08-20 07:06:17 +03:00
Leonid Pershin 121d08b09a Mark phase 40 complete. 2026-08-20 07:02:52 +03:00
Leonid Pershin 9199ea36d2 Phase 40: clock tempo at 1 min/s, x5/x10 heavy stride. 2026-08-20 07:02:24 +03:00
Leonid Pershin 0401e22506 Update swarmui.json configuration: change model to 'lustifyNSFWCheckpoint_v40DMD2.safetensors', adjust steps to 4, cfgScale to 2, clipSkip to 1, and update scheduler to 'simple'.
ci / server (push) Failing after 3m42s
ci / client (push) Successful in 42s
2026-08-20 06:56:39 +03:00
Leonid Pershin 7a82bcc8b4 Journal: set slice 7 B-C review commit hash. 2026-08-20 06:54:23 +03:00
Leonid Pershin 5dcdee6cdd Merge review/slice-7bc-climate-wear (phases 32-37). 2026-08-20 06:51:27 +03:00
Leonid Pershin 230563d5c5 Merge main into review/slice-7bc-climate-wear; journal 32-37.
Integrate stage A review from main; resolve reviewed.md; fix dressRulesPanel unused import, managementPanel test, PortraitApiTests URL.
2026-08-20 06:46:36 +03:00
Leonid Pershin becfe367ba Mark phase 40 clock tempo as in progress.
ci / server (push) Failing after 1m32s
ci / client (push) Failing after 15s
2026-08-20 06:44:21 +03:00
Leonid Pershin 2900b70645 Mark phase 38 session as in progress. 2026-08-20 06:43:34 +03:00
Leonid Pershin 2a55a025f4 Merge review/slice-7a-wardrobe (phases 29-31)
ci / server (push) Failing after 1m57s
ci / client (push) Failing after 17s
# Conflicts:
#	src/HSchool.Client/src/i18n/strings.ts
2026-08-20 06:39:09 +03:00
Leonid Pershin c4d6ed6f72 Journal slice 7 stage B-C review (phases 32-36). 2026-08-20 06:32:07 +03:00
Leonid Pershin e461a9f3e4 Fix PE change-clothes interruption and post-PE mode detection.
Add appropriateness tests for staging PE kit, wearing form before gym, and returning to everyday clothes after the lesson.
2026-08-20 06:31:41 +03:00
Leonid Pershin dc9830f332 Merge branch 'phase/37-school-rules' 2026-08-20 06:23:35 +03:00
Leonid Pershin beb882123d Journal hash for slice 7A review 2026-08-20 06:21:43 +03:00
Leonid Pershin d5547b7b02 Review slice 7A phases 29-31: fix strings duplicate, journal 2026-08-20 06:20:57 +03:00
Leonid Pershin bb2031317d Mark phase 37 complete. 2026-08-20 06:20:36 +03:00
Leonid Pershin aab0c00988 Add school dress rules tab in Management with tests. 2026-08-20 06:20:06 +03:00
Leonid Pershin b36db2ab2b Update SwarmUI configuration with new model settings and parameters
ci / server (push) Failing after 1m24s
ci / client (push) Successful in 16s
- Changed the default model to 'pornmasterFlux2Klein_v4TurboFp8.safetensors' with updated steps and cfgScale.
- Modified the sampler and scheduler settings for improved performance.
- Cleared the positive prompt for better customization options.
- Updated the child preset model name for consistency.
- Reformatted ageRules for better readability.

These changes enhance the flexibility and clarity of the SwarmUI settings.
2026-08-20 06:14:56 +03:00
Leonid Pershin 11f48b6c99 Update phase documentation with new tasks and enhancements
ci / server (push) Failing after 1m34s
ci / client (push) Successful in 16s
- Added a link to phase 31 in the talk circles documentation.
- Expanded task list in phase 42 to include new topics and conditions for interactions.
- Updated phase 43 to reflect changes in student-teacher dynamics and opinion shifts.
- Enhanced phase 44 with new rules for quarrels and fights, including the role of bystanders and apologies.
- Revised phase 46 to clarify the impact of weekend events on student opinions and relationships.
- Updated README to reflect the latest changes in phases 42, 43, and 44.

These updates improve clarity and detail in the phase documentation, ensuring better understanding of interactions and dynamics.
2026-08-20 06:07:42 +03:00
Leonid Pershin 5a400be792 Add SwarmUI settings management and portrait generation enhancements
- Introduced new API endpoints for managing SwarmUI settings, including fetching and saving presets and age rules.
- Updated the portrait generation logic to utilize the new settings structure, allowing for dynamic preset selection based on age.
- Enhanced UI components to support SwarmUI settings, including localization for new strings and improved styling for settings sections.
- Added tests to verify the functionality of new settings endpoints and portrait generation behavior.

This commit lays the groundwork for more flexible and user-friendly portrait generation options.
2026-08-20 06:06:45 +03:00
Leonid Pershin e0b7122f3b Mark phase 37 as in progress. 2026-08-20 06:00:24 +03:00
Leonid Pershin c541156614 Merge branch 'merge/lock'
ci / server (push) Failing after 3m58s
ci / client (push) Failing after 16s
2026-08-20 05:54:23 +03:00
Leonid Pershin 8b4fbdc41b Merge branch 'phase/36-person-card-tabs' 2026-08-20 05:54:23 +03:00
Leonid PershinandCursor b5ea9f4667 Mark phase 36 complete in phases README.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 05:45:05 +03:00
Leonid PershinandCursor 3485ce8ac4 Close phase 36 apparel-changed log tail.
Add simulation and paged day-log tests; mark the log task complete in the phase doc.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 05:44:09 +03:00
Leonid Pershin 6eb16d0edf Enhance person card functionality: add custom prompt textarea persistence during input, streamline portrait prompt API by removing unused parameters, and ensure proper button state management based on input. Update tests to verify new behavior.
ci / server (push) Failing after 3m44s
ci / client (push) Failing after 14s
2026-08-20 05:32:40 +03:00
Leonid Pershin 3fa6ce95df Implement portrait prompt API and UI enhancements. Added a new endpoint to fetch portrait prompts, updated the client to handle prompt display, and improved localization for prompt-related text. Enhanced styling for prompt elements in the UI.
ci / server (push) Failing after 3m40s
ci / client (push) Failing after 15s
2026-08-20 05:27:01 +03:00
Leonid Pershin a214378c6e Merge branch 'phase/35-appropriateness'
ci / server (push) Failing after 3m44s
ci / client (push) Failing after 14s
# Conflicts:
#	docs/phases/README.md
2026-08-20 05:19:33 +03:00
Leonid Pershin feda98d555 Mark phase 35 complete. 2026-08-20 05:17:23 +03:00
Leonid Pershin 6a0d5a9886 Implement phase 35 dress appropriateness and school rules.
Adds outfit evaluation, morning home dressing, locker-room ChangeClothes with day-log events, PE/weather AI goals, dress-rules API, and tests.
2026-08-20 05:16:52 +03:00
Leonid Pershin ac0470bbc4 Implement custom portrait generation: update API, UI, and localization to support user-defined prompts for portraits, replacing half-body option with custom variant.
ci / server (push) Failing after 3m38s
ci / client (push) Failing after 14s
2026-08-20 05:16:40 +03:00
Leonid Pershin df0aaad403 Add half-body portrait support: update API, UI, and localization for new portrait type
ci / server (push) Failing after 3m40s
ci / client (push) Failing after 14s
2026-08-20 05:10:51 +03:00
Leonid Pershin 9e11c8c693 Update full body avatar dimensions in swarmui.json to 896x1152 for better visual representation.
ci / server (push) Failing after 3m44s
ci / client (push) Failing after 14s
2026-08-20 05:07:31 +03:00
Leonid Pershin 2d6bf4041c Update avatar dimensions in swarmui.json to 1024x1024 for improved image quality.
ci / server (push) Failing after 3m44s
ci / client (push) Failing after 14s
2026-08-20 05:05:35 +03:00
Leonid Pershin 9225327d31 Enhance SwarmUI settings by adding a scheduler property and updating the client to send clip stop at layer instead of clip skip. Added tests to verify the new behavior.
ci / server (push) Failing after 3m41s
ci / client (push) Failing after 14s
2026-08-20 05:02:44 +03:00
Leonid Pershin f603cdd9a9 Mark phase 35 as in progress. 2026-08-20 04:51:13 +03:00
Leonid Pershin 5b63c72806 Update model name in swarmui.json for consistency with naming conventions.
ci / server (push) Failing after 3m57s
ci / client (push) Failing after 16s
2026-08-20 04:48:29 +03:00
Leonid Pershin 7525710c5b Merge branch 'phase/33-lockers-technician' 2026-08-20 04:47:35 +03:00
Leonid Pershin ea18d6bcb0 Mark phase 33 complete. 2026-08-20 04:46:20 +03:00
Leonid Pershin ce772cd3c3 Phase 33: technician climate control and locker assignment. 2026-08-20 04:44:41 +03:00
Leonid Pershin f60d1595ca Mark phase 33 in progress. 2026-08-20 04:40:11 +03:00
Leonid Pershin ee23fb4994 Merge branch 'phase/36-person-card-tabs'
ci / server (push) Failing after 4m1s
ci / client (push) Failing after 17s
2026-08-20 04:35:35 +03:00
Leonid Pershin 5991dcd5c4 Enhance SwarmUI integration by adding swarm connection status to the API and updating client-side components to reflect this status. Improved localization strings for various SwarmUI states and refactored ApplicantsDialog and PersonCard components to utilize the new connection information, ensuring a more responsive user experience.
ci / server (push) Failing after 4m56s
ci / client (push) Failing after 15s
2026-08-20 04:21:35 +03:00
Leonid Pershin 36b46774a7 Refactor ManagementPanel and PeoplePanel to remove unused painted property and streamline card painting logic. Updated paintCard method to use a more concise function for determining card placement.
ci / server (push) Failing after 3m47s
ci / client (push) Successful in 27s
2026-08-20 04:19:43 +03:00
Leonid Pershin 47241a5bd4 Merge branch 'phase/32-weather-warmth' 2026-08-20 04:18:49 +03:00
Leonid Pershin d0e9f4a9d3 Enhance ApplicantsDialog by integrating game status fetching and updating card rendering logic. Introduced swarm configuration handling and improved person card rendering with tab support, ensuring a more dynamic user experience.
ci / server (push) Failing after 3m42s
ci / client (push) Failing after 15s
2026-08-20 04:17:40 +03:00
Leonid Pershin 3b9bfc0b9e Refactor openCard method in ApplicantsDialog to streamline error handling and remove redundant checks against selectedId. This improves code clarity and maintains state management consistency.
ci / server (push) Failing after 3m45s
ci / client (push) Failing after 13s
2026-08-20 04:16:20 +03:00
Leonid Pershin 03378793be Refactor ApplicantsDialog to remove unused cardToken and improve card fetching logic. Updated openCard method to check against selectedId instead of cardToken for better state management.
ci / server (push) Failing after 3m40s
ci / client (push) Failing after 13s
2026-08-20 04:15:41 +03:00
Leonid Pershin dfa9a25dca Implement portrait generation and retrieval for people in the school system. Added new API endpoints for generating and fetching portraits, including support for avatar and full-body images. Updated the client-side to handle portrait states and display options. Enhanced the person card UI to include tabs for overview and portrait, with appropriate localization strings. Updated solution files to include new test projects. Adjusted server configuration for SwarmUI integration.
ci / server (push) Failing after 3m46s
ci / client (push) Failing after 14s
2026-08-20 04:14:41 +03:00
Leonid Pershin 5a431bba99 Merge branch 'main' into phase/32-weather-warmth
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	src/HSchool.Simulation/School.cs
2026-08-20 04:03:42 +03:00
Leonid PershinandCursor 02d11cdbbb Mark phase 32 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 04:01:22 +03:00
Leonid PershinandCursor 53c4ae0f92 Sum warmth insulation from worn items and refresh goldens for the new trait pool.
HeatLoving and ColdLoving shift later trait rolls; worn clothes now feed PersonInsulation instead of reflection.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 04:00:53 +03:00
Leonid PershinandCursor 6be4fa75ab Split the person card into overview, clothes, carry and now tabs.
Today's history is a paged HTTP log on the worker, not on the card or in people.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 04:00:38 +03:00
Leonid PershinandCursor 871178909e Merge phase 34 wear and home.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:52:48 +03:00
Leonid Pershin 34acec16c2 Merge branch 'main' into phase/32-weather-warmth 2026-08-20 03:50:04 +03:00
Leonid PershinandCursor 8e7ab46e79 Sample outdoor weather from the climate preset so people can freeze and the clock can show it.
Protocol v8 adds tenths of a °C and precipitation to the clock frame; warmth drains from insulation versus place temperature.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:49:40 +03:00
Leonid PershinandCursor 84da00f1e8 Mark phase 34 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:49:38 +03:00
Leonid PershinandCursor 1ba739dd9b Wear worn clothes on campus and replace rags at the work morning.
Condition drops from catalog hours only while the person is at school; skip through the night issues the same fresh set as a lived night so the school does not walk in in rags.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:49:11 +03:00
Leonid PershinandCursor 3a77a8f985 Mark phase 36 as in progress.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:43:20 +03:00
Leonid PershinandCursor 69106cb48b Mark phase 34 as in progress.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:33:10 +03:00
Leonid PershinandCursor af90bb9f9d Merge phase 31 dress generator.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:27:06 +03:00
Leonid PershinandCursor e0a349d7cc Mark phase 31 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:25:35 +03:00
Leonid PershinandCursor 37501c506a Dress people at generation from a separate apparel stream.
Wardrobes live on the person in people.json: everyday layers, textbooks per parallel, and chance-based bags from catalog data. Hauling and the carry cap are defs, not constants. The golden roster gains an items column; later family members shift because Hauling consumes extra appearance rolls. Old saves without items are dressed on load.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:24:54 +03:00
Leonid Pershin d68a91da4d Update design documentation for phases 2 and 1, clarifying canceled features and their implications. Documented changes in behavior regarding scheduling, lessons, and hiring processes, along with references to related files. Enhanced the reviewed phase details, confirming the integrity of phases 0-4 and adding new tests for catalog and map functionalities.
ci / server (push) Failing after 3m58s
ci / client (push) Successful in 16s
2026-08-20 03:08:05 +03:00
Leonid PershinandCursor eb7e8b5b99 Mark phase 32 as in progress.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:06:26 +03:00
Leonid PershinandCursor d8f4958167 Merge phase 29 country.
ci / server (push) Failing after 3m53s
ci / client (push) Successful in 19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:59:46 +03:00
Leonid Pershin ed80aa5d08 Update AGENTS.md to correct the behavior of presence frames during school pauses, clarify the design documentation regarding mod load order, and add a new test for uncovered teaching positions in the management panel. Enhance reviewed phase details for accuracy and completeness.
ci / server (push) Failing after 3m48s
ci / client (push) Successful in 42s
2026-08-20 02:57:13 +03:00
Leonid PershinandCursor 13d3353609 Mark phase 29 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:55:57 +03:00
Leonid PershinandCursor 1b66c89cd7 Replace selectable name sets with a country that owns names and climate presets.
Create picks a country; climate is rolled from the school seed and stored. Old Slavic saves lift as Russia.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:55:13 +03:00
Leonid PershinandCursor cf086600c3 Merge phase 30 apparel defs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:54:21 +03:00
Leonid PershinandCursor 2b9bb23f9f Mark phase 30 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:48:17 +03:00
Leonid Pershin cbe739a4e6 Update reviewed phase details, enhance presence tests for hiring and assigning teachers during lessons, and fix timetable handling in the School class. Added new tests for presence management and ensured proper campus staffing behavior during lesson transitions.
ci / server (push) Failing after 4m0s
ci / client (push) Successful in 17s
2026-08-20 02:47:24 +03:00
Leonid PershinandCursor abcf67eaab Let the catalog describe clothes and carryables on ThingDef without dressing anyone.
Empty layers keep furniture on the map; a known layer set and ColorDef palette reject unknown ids at load.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:47:23 +03:00
Leonid PershinandCursor 2833a09799 Mark phase 29 as in progress.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 02:38:46 +03:00
Leonid Pershin 450495f666 Update design documentation for inventory and climate phases, clarify staffing test results, and add new presence test for hiring and assigning a teacher during lessons.
ci / server (push) Failing after 3m41s
ci / client (push) Successful in 16s
2026-08-20 02:34:16 +03:00
Leonid Pershin bdb1253fdb Fix duplicate field in School interface and update event panel description in design documentation. Adjusted reviewed phase details for clarity and accuracy.
ci / server (push) Failing after 3m42s
ci / client (push) Successful in 18s
2026-08-20 01:58:37 +03:00
Leonid PershinandCursor 418a4eaec2 Merge phase 23 example pack.
ci / server (push) Failing after 3m32s
ci / client (push) Failing after 12s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 01:12:47 +03:00
Leonid PershinandCursor 7744436a2f Merge phase 28 screen tests.
ci / server (push) Failing after 3m39s
ci / client (push) Failing after 14s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 01:08:32 +03:00
Leonid PershinandCursor 5985c56b38 Mark phase 23 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 01:06:48 +03:00
Leonid PershinandCursor 4460780c7f Mark phase 28 as done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 01:06:24 +03:00