Honor softcore clothing restore for atlas prompts

This commit is contained in:
2026-07-01 00:31:58 +02:00
parent c95bb30a22
commit b7381b9d51
3 changed files with 70 additions and 9 deletions
+28 -2
View File
@@ -8639,9 +8639,35 @@ def smoke_pov_oral_position_routes() -> None:
clothing_only_top_krea.get("krea_prompt"),
60,
).lower()
clothing_only_prompt_key = _clean_key(clothing_only_top_prompt)
clothing_only_state = _clean_key(clothing_only_top_pair.get("hardcore_clothing_state"))
expected_clothing_terms = [
term
for term in (
"body is fully exposed",
"bare skin unobstructed",
"pushed aside",
"partly removed",
"oral contact unobstructed",
"belt open and pants lowered below the hips",
)
if term in clothing_only_state
]
_expect(
any(str(detail).lower() in clothing_only_top_prompt for detail in clothing_only_details),
f"Krea2 POV Prompt Restore clothing-only final prompt did not include sampled clothing detail: {clothing_only_top_prompt}",
expected_clothing_terms,
f"Krea2 POV Prompt Restore clothing-only fixture lost softcore-derived clothing state: {clothing_only_state}",
)
_expect(
any(term in clothing_only_prompt_key for term in expected_clothing_terms),
f"Krea2 POV Prompt Restore clothing-only final prompt did not follow softcore clothing continuity: {clothing_only_top_prompt}",
)
_expect(
"clothing state:" not in clothing_only_top_prompt,
f"Krea2 POV Prompt Restore clothing-only final prompt leaked raw clothing label: {clothing_only_top_prompt}",
)
_expect(
not any(str(detail).lower() in clothing_only_top_prompt for detail in clothing_only_details),
f"Krea2 POV Prompt Restore clothing-only final prompt should not dump raw clothing_detail: {clothing_only_top_prompt}",
)
sitting_variant_config = sxcp_nodes.NODE_CLASS_MAPPINGS["SxCPKrea2POVOralFilter"]().build(