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
@@ -134,6 +134,9 @@ Already isolated:
couple count normalization live in `cast_context.py`; `prompt_builder.py`
keeps delegate wrappers where existing generation paths still call the old
helper names.
- row subject-context routing for single, couple, configured-cast, group, and
layout subjects lives in `subject_context.py`; it combines appearance policy,
cast metadata, and generator subject pools behind one row-facing entry point.
- ethnicity/filter choices, advanced filter JSON, ethnicity-list JSON, filter
parsing, and ethnicity normalization live in `filter_config.py`; character
routes and builder filters use `prompt_builder.py` delegate wrappers.