Extract Krea action detail helpers

This commit is contained in:
2026-06-26 16:12:48 +02:00
parent ce90fb7593
commit c08af2c14a
4 changed files with 413 additions and 366 deletions
+7 -5
View File
@@ -154,14 +154,16 @@ Already isolated:
density limiting for Krea action prose.
- `krea_action_positions.py` owns non-POV pose anchors, body-arrangement text,
rear-entry detection, and action-position phrasing.
- `krea_actions.py` owns non-POV hardcore action sentence rewriting, item/detail
cleanup, and climax detail cleanup.
- `krea_action_details.py` owns non-climax item/detail cleanup for foreplay,
outercourse, oral, penetration, toy/double-contact, and anchor dedupe paths.
- `krea_actions.py` owns non-POV hardcore action sentence dispatch and
climax-specific role/detail cleanup.
- `krea_pov_actions.py` owns POV hardcore action sentence rewriting and
first-person body geometry.
Improve later:
- split `krea_actions.py` by action family once the extracted module is stable;
- split remaining climax-specific cleanup out of `krea_actions.py`;
- add route-level smoke fixtures for representative metadata rows;
- make `krea_actions.hardcore_action_sentence` dispatch by action family instead
of long conditional chains.
@@ -342,8 +344,8 @@ Medium-term:
## Recommended Next Passes
1. Split `krea_actions.py` by action family, using `krea_cast.py` as the
pattern for stable import aliases and smoke coverage.
1. Split climax-specific role/detail cleanup out of `krea_actions.py`, 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.
3. Add metadata fields such as `action_family` / `position_family` to reduce