Extract subject context policy

This commit is contained in:
2026-06-27 08:41:13 +02:00
parent 70a8698cbe
commit d9275f5f0c
5 changed files with 140 additions and 56 deletions
+4 -3
View File
@@ -79,6 +79,7 @@ Core helper ownership:
| `filter_config.py` | Ethnicity/filter choices, advanced filter JSON, ethnicity-list JSON, filter parsing, and ethnicity normalization used by builder and character routes. |
| `generation_profile_config.py` | Generation profile presets, profile option overrides, trigger policy, expression/pose/clothing config normalization, and profile config parsing. |
| `seed_config.py` | Seed axis salts/aliases, seed mode choices, global/axis lock JSON builders, seed config parsing, row seed math, and deterministic axis RNG construction. |
| `subject_context.py` | Row subject-context routing for single, couple, configured-cast, group, and layout subjects, combining appearance policy, cast metadata, and generator subject pools. |
| `location_config.py` | Location/composition preset schemas, themed location packs, custom location/composition parsing, pool merge behavior, and location/composition config parsing. |
| `row_location.py` | Built-in row location/composition config application, deterministic scene/composition choice, source metadata, and legacy prompt/caption rewrites. |
| `hardcore_position_config.py` | Hardcore position/action-filter choices, selected-position normalization, config JSON builders/parsers, focus-policy toggles, subcategory allow-list policy, position-key detection, and category/template/axis filtering. |
@@ -391,9 +392,9 @@ Important behavior:
Edit targets:
- Character slot JSON/parsing/summary: `character_slot.py`; generation-time
appearance field resolution: `character_appearance.py`; character-slot label
assignment:
- Subject routing: `subject_context.py`; character slot JSON/parsing/summary:
`character_slot.py`; generation-time appearance field resolution:
`character_appearance.py`; character-slot label assignment:
`cast_context.character_slot_label_map`; pair cast descriptor entry assembly:
`pair_cast.cast_descriptor_entries`.
- Profile save/load: `SxCPCharacterProfileSave`,