Extract Krea clothing cleanup

This commit is contained in:
2026-06-26 15:31:09 +02:00
parent 92469daf03
commit 031223255d
5 changed files with 115 additions and 66 deletions
+4 -3
View File
@@ -137,7 +137,6 @@ Keep here:
- Krea prose style;
- hardcore action sentence rewriting;
- POV sentence rewriting;
- clothing naturalization;
- camera-scene preservation;
- fallback text parsing.
@@ -145,11 +144,13 @@ Already isolated:
- `krea_cast.py` owns cast descriptor parsing, cast prose, label joining, and
natural label replacement for formatter routes.
- `krea_clothing.py` owns clothing-state cleanup and action-aware body-access
wording for formatter routes.
Improve later:
- split semantic blocks into modules:
`krea_actions.py`, `krea_pov.py`, `krea_clothing.py`;
`krea_actions.py`, `krea_pov.py`;
- add route-level smoke fixtures for representative metadata rows;
- make `_hardcore_action_sentence` dispatch by action family instead of long
conditional chains.
@@ -330,7 +331,7 @@ Medium-term:
## Recommended Next Passes
1. Split Krea action/POV/clothing helpers into separate modules, using
1. Split Krea action/POV helpers into separate modules, using
`krea_cast.py` as the pattern for stable import aliases and smoke coverage.
2. Split `__init__.py` node classes by family after behavior is covered by smoke
checks.