Add typed action route metadata

This commit is contained in:
2026-06-27 10:27:25 +02:00
parent 2b221463ee
commit 6abd17b165
5 changed files with 126 additions and 24 deletions
+5 -3
View File
@@ -138,9 +138,11 @@ Already isolated:
- row prompt/caption template selection, safe formatting, default prompt
templates, configured-cast descriptor insertion, and POV directive insertion
live in `row_rendering.py`; `prompt_builder.py` keeps compatibility aliases.
- row action/position route metadata resolution, template metadata precedence,
inferred position-key merging, and source action-family fallback live in
`row_route_metadata.py`; `prompt_builder.py` keeps a public delegate wrapper.
- row action/position route metadata resolution lives in
`row_route_metadata.py` behind `ActionPositionRoute`, covering template
metadata precedence, inferred position-key merging, legacy dict
compatibility, and source action-family fallback; `prompt_builder.py` keeps
public delegate wrappers.
- built-in legacy row generation, auto-weighted/auto-full selection, row mode
randomization, ratio clamps, and expression-intensity randomization live in
`row_generation.py`; `prompt_builder.py` keeps public delegate wrappers.
+1 -1
View File
@@ -75,7 +75,7 @@ Core helper ownership:
| `row_rendering.py` | Row prompt/caption text-field resolution, template selection, safe formatting, default prompt templates, configured-cast descriptor insertion, and POV directive insertion. |
| `row_role_graph.py` | Row role-graph route sequencing, including hardcore source graph construction, pose-category environment-anchor cleanup, and POV role-graph rewriting. |
| `row_assembly.py` | Final custom-row dictionary assembly behind `CustomRowAssemblyRequest`, render-context metadata population, prompt/caption rendering delegation, row-base indexing, cast/profile/slot metadata copying, and disabled-expression cleanup. |
| `row_route_metadata.py` | Row action/position route metadata resolution, template metadata precedence, inferred position-key merging, and source action-family fallback. |
| `row_route_metadata.py` | Row action/position route metadata resolution behind `ActionPositionRoute`, template metadata precedence, inferred position-key merging, legacy dict compatibility, and source action-family fallback. |
| `row_generation.py` | Built-in legacy row generation, auto-weighted/auto-full selection, row mode randomization, ratio clamps, and expression-intensity randomization. |
| `category_cast_config.py` | Category preset and cast preset schemas, category/cast config JSON builders, choice lists, and config parsers used by route nodes. |
| `cast_context.py` | Generation-time cast count phrases, configured-cast context metadata, character-slot label assignment, cast-summary wording, scene-kind labels, and couple count normalization. |