Synchronize pair side metadata

This commit is contained in:
2026-06-27 02:32:38 +02:00
parent cfe11a4634
commit ab2a13ecde
4 changed files with 65 additions and 5 deletions
+7 -3
View File
@@ -195,7 +195,9 @@ Already isolated:
- final row and pair text normalization lives in `row_normalization.py`,
covering trigger prepending, extra-positive append, negative merge/dedupe,
caption-part joining, embedded soft/hard row output synchronization, and row
sanitation before metadata leaves generation.
sanitation before metadata leaves generation. It also copies side-specific
pair metadata, such as soft partner styling and hardcore clothing/detail
state, onto the embedded soft/hard rows.
### Pair / Adapter Layer
@@ -232,7 +234,9 @@ Already isolated:
shape; the final cleanup step is delegated to `row_normalization.py`.
Embedded soft/hard rows are synchronized to the final pair prompt, caption,
and negative outputs during normalization so serialized pair metadata does
not carry stale standalone row text.
not carry stale standalone row text. Side-specific structured fields are
synchronized there too, including soft partner styling and hardcore clothing
continuity metadata.
### Krea2 Formatter Path
@@ -441,7 +445,7 @@ Medium-term:
Near-term:
- Normalize pair metadata with one helper, including embedded row prompt,
caption, and negative synchronization.
caption, negative, and side-specific metadata synchronization.
- Confirm pair prompts, captions, and soft/hard rows carry the same sanitized
scene/camera/clothing fields.
- Keep same-room pair continuity synchronized in both assembled prompt text and