Extract category extension policy
This commit is contained in:
@@ -68,6 +68,7 @@ Core helper ownership:
|
||||
| Python module | What it owns |
|
||||
| --- | --- |
|
||||
| `category_library.py` | JSON category loading, subcategory normalization, named scene/expression/composition pool loading, cast compatibility filtering, exact subcategory lookup, and inheritance-based pool merging. |
|
||||
| `category_extensions.py` | JSON `pool_extensions`, legacy pool patching, built-in category choice lists, and category/subcategory UI choices. |
|
||||
| `category_template_metadata.py` | Object-style item-template metadata extraction, action/position family normalization, position-key normalization, key merging, and audit validation errors. |
|
||||
| `row_item.py` | Row item selection, weighted item/pair choice, item-template axis filling, and oral/outercourse axis compatibility filters. |
|
||||
| `row_generation.py` | Built-in legacy row generation, auto-weighted/auto-full selection, row mode randomization, ratio clamps, and expression-intensity randomization. |
|
||||
@@ -246,7 +247,7 @@ Important JSON keys:
|
||||
- `prompt_template` / `caption_template`: final prompt assembly for that category.
|
||||
- `inherit_scenes`, `inherit_expressions`, `inherit_compositions`: stop or allow
|
||||
inheritance from category/subcategory/item levels.
|
||||
- `pool_extensions`: patch legacy pools from JSON.
|
||||
- `pool_extensions`: patch legacy pools from JSON through `category_extensions.py`.
|
||||
|
||||
Current category/pool files:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user