Add workspace lounge Insta OF workflow

This commit is contained in:
2026-06-28 00:41:29 +02:00
parent 78e39734b5
commit b8d8066fdb
5 changed files with 2128 additions and 7 deletions
+26
View File
@@ -841,6 +841,18 @@ def smoke_scene_camera_adapter_pov_profile_policy() -> None:
"lower foreground is reserved for POV body or hand cues" in pov,
f"{key} POV scene directive lost lower-foreground body-cue reservation",
)
plural_directive = scene_camera_adapters.scene_camera_directive(
"",
parsed_camera,
pov_labels=[],
subject_kind="subjects",
profile_key="coworking_lounge",
)
_expect(
"the subjects are placed" in plural_directive,
"scene camera adapter used singular grammar for plural subjects",
)
_expect("the subjects is" not in plural_directive, "scene camera adapter leaked 'the subjects is'")
def smoke_row_camera_policy() -> None:
@@ -1724,6 +1736,7 @@ def smoke_location_config_policy() -> None:
_expect("classical_library" in location_config.location_theme_choices(), "Location themes lost classical_library")
_expect("creator_bedroom" in location_config.location_theme_choices(), "Location themes lost creator_bedroom")
_expect("mirror_room" in location_config.location_theme_choices(), "Location themes lost mirror_room")
_expect("workspace_lounge" in location_config.location_theme_choices(), "Location themes lost workspace_lounge")
_expect("fetish_studio" in location_config.location_theme_choices(), "Location themes lost fetish_studio")
custom = json.loads(
@@ -1822,6 +1835,19 @@ def smoke_location_config_policy() -> None:
_expect(themed_composition_payload.get("theme") == "classical_library", "Themed composition config lost theme metadata")
parsed_themed = pb._parse_location_config(themed_location_payload)
_expect(parsed_themed.get("theme") == "classical_library", "Location parser lost theme metadata")
workspace_location, workspace_composition, workspace_summary = pb.build_thematic_location_json(
enabled=True,
combine_mode="replace",
theme="workspace_lounge",
)
workspace_location_payload = json.loads(workspace_location)
workspace_composition_payload = json.loads(workspace_composition)
_expect("workspace_lounge" in workspace_summary, "Workspace theme summary lost theme name")
_expect(
workspace_location_payload.get("scene_entries", [{}])[0].get("slug") == "coworking_lounge_window",
"Workspace theme lost coworking lounge location slug",
)
_expect(workspace_composition_payload.get("composition_entries"), "Workspace theme did not output compositions")
replaced_after_theme = json.loads(
location_config.build_location_pool_json(
enabled=True,