background_pipeline_slice — 20260524_2042_54d537

plan_version: bps_w1 | run_status: succeeded | exit_code: 0

unit count
28
shot coverage
61 / 61
reference chain
31 steps
validation
PASS

Acceptance gates

invariantstatus
production_diff_zeroPASS
db_write_zeroPASS
image_call_zeroPASS
source_verbatimPASS
all_selected_shots_coveredPASS
bg_id_assigned_by_production_helperPASS
shot_background_map_n_to_1PASS
reference_chain_acyclicPASS
ref_contract_dry_run_passPASS

Failed invariants

[]

payload sample (first 2)

[
  {
    "shot_key": "S01_Shot1",
    "bg_id": "L01B01",
    "loc_id": "L01",
    "bg_intent_text": "Waist-height slightly low wide frame with cold blue dusk lighting. Thick, dark overgrown bushes scrape the left and right edges, their wet leaves catching faint highlights. The damp, muddy forest path recedes into the blue-gray twilight haze behind the center midground.",
    "expected_attached_meta": [
      {
        "kind": "background",
        "id": "L01B01"
      }
    ],
    "expected_reference_phrase_kinds": [
      "background"
    ],
    "expected_label_placeholder": "chain_bg:L01B01"
  },
  {
    "shot_key": "S01_Shot4",
    "bg_id": "L01B01",
    "loc_id": "L01",
    "bg_intent_text": "Tight low angle at ground level. Muddy forest floor scattered with slick, flattened wet leaves, bordered by dark, out-of-focus low underbrush blurring around them. The space is swallowed by cold dusk blue ambient light, with a damp ground sheen catching on the wet leaves.",
    "expected_attached_meta": [
      {
        "kind": "background",
        "id": "L01B01"
      }
    ],
    "expected_reference_phrase_kinds": [
      "background"
    ],
    "expected_label_placeholder": "chain_bg:L01B01"
  }
]
raw run_meta.json
{
  "run_id": "20260524_2042_54d537",
  "plan_version": "bps_w1",
  "generated_at": "2026-05-24T20:42:42.343173+09:00",
  "model": "gemini-3.5-flash",
  "args": {
    "project_id": "6cb862d9-590c-4dce-86e6-d10c2977db19",
    "episode_id": "08ad2cd3-3e96-4d84-808f-869ee628473c",
    "output_root": "/Users/manta/Documents/Projects/TheRoad-I1/scripts_output/background_pipeline_slice_experiment",
    "dry_run": false,
    "generate": true,
    "model": "gemini-3.5-flash",
    "skip_db": false,
    "stop_after": null,
    "diag_print_imports": false
  },
  "outputs": [
    "source_bundle.json",
    "production_pipeline_map.json",
    "llm_raw_plan.json",
    "production_adapter_plan.json",
    "generation_payload_dry_run.json",
    "reference_input_plan.json",
    "pipeline_compatibility_report.json"
  ],
  "run_status": "succeeded",
  "exit_code": 0,
  "failed_invariants": []
}
raw adapter plan (HTML preview only, slice 50000 chars — 원본 JSON 은 production_adapter_plan.json 전체 보존, slice/truncate 0)
{
  "schema_version": 1,
  "plan_version": "bps_w1",
  "building_groups": [
    {
      "group_id": "group_l04_l05_l11",
      "member_loc_ids": [
        "L04",
        "L05",
        "L11"
      ],
      "anchor_loc_id": "L04",
      "kind": "chain_bg",
      "rationale": "These represent the exterior building structures, internal living spaces/rooms, and landing stairs of the same residential complex."
    },
    {
      "group_id": "group_l08_l09_l10",
      "member_loc_ids": [
        "L08",
        "L09",
        "L10"
      ],
      "anchor_loc_id": "L09",
      "kind": "chain_bg",
      "rationale": "Connects the external street frontage of the mart, the shopping aisles inside, and the manager's security office."
    },
    {
      "group_id": "group_l13_l14",
      "member_loc_ids": [
        "L13",
        "L14"
      ],
      "anchor_loc_id": "L14",
      "kind": "chain_bg",
      "rationale": "Links the police department's exterior frontage and parking area with the internal duty offices and investigative desks."
    },
    {
      "group_id": "group_l17_l18",
      "member_loc_ids": [
        "L17",
        "L18"
      ],
      "anchor_loc_id": "L17",
      "kind": "chain_bg",
      "rationale": "Connects the open exterior deck with the enclosed steering cabin of the same small fishing vessel."
    }
  ],
  "floor_plans": [
    {
      "fp_id": "fp_l05_01",
      "loc_id": "L05",
      "space_key_hint": "main"
    },
    {
      "fp_id": "fp_l07_01",
      "loc_id": "L07",
      "space_key_hint": "main"
    },
    {
      "fp_id": "fp_l11_01",
      "loc_id": "L11",
      "space_key_hint": "exterior"
    }
  ],
  "background_catalog": {
    "L01B01": {
      "bg_id": "L01B01",
      "loc_id": "L01",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L01|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S01_Shot1",
        "S01_Shot4"
      ],
      "sub_location_label": "underbrush path",
      "state_label_raw": "Dusk Overgrown Path"
    },
    "L02B01": {
      "bg_id": "L02B01",
      "loc_id": "L02",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "normal",
      "semantic_key": "L02|main|night|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S02_Shot1",
        "S02_Shot4"
      ],
      "sub_location_label": "utility pole",
      "state_label_raw": "Night Alley Under Light"
    },
    "L03B01": {
      "bg_id": "L03B01",
      "loc_id": "L03",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L03|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S03_Shot2"
      ],
      "sub_location_label": "forensics area",
      "state_label_raw": "Crime Scene Investigation Day"
    },
    "L04B01": {
      "bg_id": "L04B01",
      "loc_id": "L04",
      "space_key": "main",
      "time_phase": "dawn",
      "state_class": "normal",
      "semantic_key": "L04|main|dawn|normal",
      "depends_on_fp": [],
      "depends_on_bg": [
        "L04B03"
      ],
      "applies_to_shots": [
        "S17_Shot2"
      ],
      "sub_location_label": "rooftop window",
      "state_label_raw": "Dawn Blue Hour Wall"
    },
    "L04B02": {
      "bg_id": "L04B02",
      "loc_id": "L04",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L04|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S04_Shot1"
      ],
      "sub_location_label": "rooftop yard",
      "state_label_raw": "Overhead Daylight Rooftop"
    },
    "L04B03": {
      "bg_id": "L04B03",
      "loc_id": "L04",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "intrusion",
      "semantic_key": "L04|main|night|intrusion",
      "depends_on_fp": [],
      "depends_on_bg": [
        "L04B02"
      ],
      "applies_to_shots": [
        "S10_Shot2",
        "S10_Shot5"
      ],
      "sub_location_label": "entrance door",
      "state_label_raw": "Night Intrusion at Door"
    },
    "L05B01": {
      "bg_id": "L05B01",
      "loc_id": "L05",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "dream_or_vision_state",
      "semantic_key": "L05|main|day|dream_or_vision_state",
      "depends_on_fp": [
        "fp_l05_01"
      ],
      "depends_on_bg": [
        "L05B02"
      ],
      "applies_to_shots": [
        "S18_Shot5",
        "S18_Shot9",
        "S18_Shot12"
      ],
      "sub_location_label": "bathroom and desk",
      "state_label_raw": "Hallucinatory Morning Bathroom and Living"
    },
    "L05B02": {
      "bg_id": "L05B02",
      "loc_id": "L05",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L05|main|day|normal",
      "depends_on_fp": [
        "fp_l05_01"
      ],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S05_Shot2",
        "S05_Shot6",
        "S05_Shot9"
      ],
      "sub_location_label": "kitchen living area",
      "state_label_raw": "Daylight Kitchen and Living"
    },
    "L05B03": {
      "bg_id": "L05B03",
      "loc_id": "L05",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "ransacked",
      "semantic_key": "L05|main|dusk|ransacked",
      "depends_on_fp": [
        "fp_l05_01"
      ],
      "depends_on_bg": [
        "L05B02"
      ],
      "applies_to_shots": [
        "S25_Shot3",
        "S25_Shot6",
        "S25_Shot7",
        "S27_Shot1",
        "S27_Shot4"
      ],
      "sub_location_label": "ransacked bedroom",
      "state_label_raw": "Ransacked Dusk Living and Bedroom"
    },
    "L05B04": {
      "bg_id": "L05B04",
      "loc_id": "L05",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "blood_scene",
      "semantic_key": "L05|main|night|blood_scene",
      "depends_on_fp": [
        "fp_l05_01"
      ],
      "depends_on_bg": [
        "L05B02"
      ],
      "applies_to_shots": [
        "S12_Shot4",
        "S12_Shot6",
        "S12_Shot11",
        "S12_Shot14"
      ],
      "sub_location_label": "bedroom floor",
      "state_label_raw": "Horrific Blood Splattered Bedroom"
    },
    "L05B05": {
      "bg_id": "L05B05",
      "loc_id": "L05",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "clean_after",
      "semantic_key": "L05|main|night|clean_after",
      "depends_on_fp": [
        "fp_l05_01"
      ],
      "depends_on_bg": [
        "L05B04"
      ],
      "applies_to_shots": [
        "S14_Shot4",
        "S14_Shot5",
        "S14_Shot9"
      ],
      "sub_location_label": "pristine bedroom",
      "state_label_raw": "Eerily Cleaned Night Bedroom"
    },
    "L06B01": {
      "bg_id": "L06B01",
      "loc_id": "L06",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L06|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S06_Shot1",
        "S24_Shot2"
      ],
      "sub_location_label": "coastal path",
      "state_label_raw": "Sunny Coastal Bicycle Road"
    },
    "L06B02": {
      "bg_id": "L06B02",
      "loc_id": "L06",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "normal",
      "semantic_key": "L06|main|night|normal",
      "depends_on_fp": [],
      "depends_on_bg": [
        "L06B01"
      ],
      "applies_to_shots": [
        "S09_Shot1"
      ],
      "sub_location_label": "foggy road",
      "state_label_raw": "Night Sea Fog Road"
    },
    "L07B01": {
      "bg_id": "L07B01",
      "loc_id": "L07",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L07|main|day|normal",
      "depends_on_fp": [
        "fp_l07_01"
      ],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S07_Shot2",
        "S07_Shot5"
      ],
      "sub_location_label": "kennel rows",
      "state_label_raw": "Daylight Animal Shelter"
    },
    "L08B01": {
      "bg_id": "L08B01",
      "loc_id": "L08",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L08|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [
        "L08B02"
      ],
      "applies_to_shots": [
        "S19_Shot4",
        "S19_Shot5"
      ],
      "sub_location_label": "awning",
      "state_label_raw": "Daylight Outside Mart Awning"
    },
    "L08B02": {
      "bg_id": "L08B02",
      "loc_id": "L08",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L08|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S08_Shot4"
      ],
      "sub_location_label": "storefront",
      "state_label_raw": "Dusk Busy Street Outside Mart"
    },
    "L09B01": {
      "bg_id": "L09B01",
      "loc_id": "L09",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L09|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S08_Shot2"
      ],
      "sub_location_label": "product aisle",
      "state_label_raw": "Dusk Mart Interior"
    },
    "L10B01": {
      "bg_id": "L10B01",
      "loc_id": "L10",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L10|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S20_Shot1",
        "S20_Shot3"
      ],
      "sub_location_label": "admin desk",
      "state_label_raw": "PC Monitor Admin Office"
    },
    "L11B01": {
      "bg_id": "L11B01",
      "loc_id": "L11",
      "space_key": "exterior",
      "time_phase": "night",
      "state_class": "normal",
      "semantic_key": "L11|exterior|night|normal",
      "depends_on_fp": [
        "fp_l11_01"
      ],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S11_Shot3",
        "S13_Shot4",
        "S13_Shot6"
      ],
      "sub_location_label": "stairwell landing",
      "state_label_raw": "Foggy Siren Night Outside"
    },
    "L12B01": {
      "bg_id": "L12B01",
      "loc_id": "L12",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "normal",
      "semantic_key": "L12|main|night|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S15_Shot1",
        "S15_Shot3",
        "S15_Shot6"
      ],
      "sub_location_label": "bus stop bench",
      "state_label_raw": "Night Sea Fog Bus Stop"
    },
    "L13B01": {
      "bg_id": "L13B01",
      "loc_id": "L13",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "evidence_display",
      "semantic_key": "L13|main|day|evidence_display",
      "depends_on_fp": [],
      "depends_on_bg": [
        "L13B02"
      ],
      "applies_to_shots": [
        "S21_Shot6",
        "S21_Shot10",
        "S21_Shot11"
      ],
      "sub_location_label": "evidence desk",
      "state_label_raw": "Daylight Crime Photos on Desk"
    },
    "L13B02": {
      "bg_id": "L13B02",
      "loc_id": "L13",
      "space_key": "main",
      "time_phase": "night",
      "state_class": "normal",
      "semantic_key": "L13|main|night|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S16_Shot3",
        "S16_Shot5"
      ],
      "sub_location_label": "duty desk",
      "state_label_raw": "Night Office Fluorescent Desk"
    },
    "L14B01": {
      "bg_id": "L14B01",
      "loc_id": "L14",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L14|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S22_Shot1"
      ],
      "sub_location_label": "frontage",
      "state_label_raw": "Daylight Police Station Frontage"
    },
    "L15B01": {
      "bg_id": "L15B01",
      "loc_id": "L15",
      "space_key": "main",
      "time_phase": "day",
      "state_class": "normal",
      "semantic_key": "L15|main|day|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S23_Shot1"
      ],
      "sub_location_label": "cubicle desk",
      "state_label_raw": "PC Room Cubicles"
    },
    "L16B01": {
      "bg_id": "L16B01",
      "loc_id": "L16",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L16|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S26_Shot1",
        "S26_Shot10"
      ],
      "sub_location_label": "quay edge",
      "state_label_raw": "Dusk Heavy Sea Fog Harbor"
    },
    "L17B01": {
      "bg_id": "L17B01",
      "loc_id": "L17",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L17|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S28_Shot1",
        "S28_Shot4",
        "S28_Shot6"
      ],
      "sub_location_label": "outer rail deck",
      "state_label_raw": "Dusk Open Sea Deck"
    },
    "L18B01": {
      "bg_id": "L18B01",
      "loc_id": "L18",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L18|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S29_Shot1",
        "S29_Shot4",
        "S29_Shot7",
        "S29_Shot11"
      ],
      "sub_location_label": "helm console",
      "state_label_raw": "Dusk Red Glow Wheelhouse"
    },
    "L19B01": {
      "bg_id": "L19B01",
      "loc_id": "L19",
      "space_key": "main",
      "time_phase": "dusk",
      "state_class": "normal",
      "semantic_key": "L19|main|dusk|normal",
      "depends_on_fp": [],
      "depends_on_bg": [],
      "applies_to_shots": [
        "S30_Shot2"
      ],
      "sub_location_label": "fog wall boundary",
      "state_label_raw": "Dusk Sea Fog Barrier"
    }
  },
  "shot_background_map": {
    "S01_Shot1": "L01B01",
    "S01_Shot4": "L01B01",
    "S02_Shot1": "L02B01",
    "S02_Shot4": "L02B01",
    "S03_Shot2": "L03B01",
    "S17_Shot2": "L04B01",
    "S04_Shot1": "L04B02",
    "S10_Shot2": "L04B03",
    "S10_Shot5": "L04B03",
    "S18_Shot5": "L05B01",
    "S18_Shot9": "L05B01",
    "S18_Shot12": "L05B01",
    "S05_Shot2": "L05B02",
    "S05_Shot6": "L05B02",
    "S05_Shot9": "L05B02",
    "S25_Shot3": "L05B03",
    "S25_Shot6": "L05B03",
    "S25_Shot7": "L05B03",
    "S27_Shot1": "L05B03",
    "S27_Shot4": "L05B03",
    "S12_Shot4": "L05B04",
    "S12_Shot6": "L05B04",
    "S12_Shot11": "L05B04",
    "S12_Shot14": "L05B04",
    "S14_Shot4": "L05B05",
    "S14_Shot5": "L05B05",
    "S14_Shot9": "L05B05",
    "S06_Shot1": "L06B01",
    "S24_Shot2": "L06B01",
    "S09_Shot1": "L06B02",
    "S07_Shot2": "L07B01",
    "S07_Shot5": "L07B01",
    "S19_Shot4": "L08B01",
    "S19_Shot5": "L08B01",
    "S08_Shot4": "L08B02",
    "S08_Shot2": "L09B01",
    "S20_Shot1": "L10B01",
    "S20_Shot3": "L10B01",
    "S11_Shot3": "L11B01",
    "S13_Shot4": "L11B01",
    "S13_Shot6": "L11B01",
    "S15_Shot1": "L12B01",
    "S15_Shot3": "L12B01",
    "S15_Shot6": "L12B01",
    "S21_Shot6": "L13B01",
    "S21_Shot10": "L13B01",
    "S21_Shot11": "L13B01",
    "S16_Shot3": "L13B02",
    "S16_Shot5": "L13B02",
    "S22_Shot1": "L14B01",
    "S23_Shot1": "L15B01",
    "S26_Shot1": "L16B01",
    "S26_Shot10": "L16B01",
    "S28_Shot1": "L17B01",
    "S28_Shot4": "L17B01",
    "S28_Shot6": "L17B01",
    "S29_Shot1": "L18B01",
    "S29_Shot4": "L18B01",
    "S29_Shot7": "L18B01",
    "S29_Shot11": "L18B01",
    "S30_Shot2": "L19B01"
  },
  "bg_catalog_hash": "05413d12d0bef42d",
  "shot_binding_hash": "c123e764d49c29ca",
  "gen_order": [
    "fp_l05_01",
    "fp_l07_01",
    "fp_l11_01",
    "L01B01",
    "L02B01",
    "L03B01",
    "L04B02",
    "L04B03",
    "L05B02",
    "L05B03",
    "L05B04",
    "L05B05",
    "L06B01",
    "L06B02",
    "L07B01",
    "L08B02",
    "L09B01",
    "L10B01",
    "L11B01",
    "L12B01",
    "L13B02",
    "L14B01",
    "L15B01",
    "L16B01",
    "L17B01",
    "L18B01",
    "L19B01",
    "L04B01",
    "L05B01",
    "L08B01",
    "L13B01"
  ],
  "intent_key_to_bg_id": {
    "bg_l01_dusk": "L01B01",
    "bg_l02_night": "L02B01",
    "bg_l03_day": "L03B01",
    "bg_l04_day": "L04B02",
    "bg_l04_night_intrusion": "L04B03",
    "bg_l04_dawn": "L04B01",
    "bg_l05_day_normal": "L05B02",
    "bg_l05_night_blood": "L05B04",
    "bg_l05_night_clean": "L05B05",
    "bg_l05_day_hallucination": "L05B01",
    "bg_l05_dusk_ransacked": "L05B03",
    "bg_l06_day": "L06B01",
    "bg_l06_night": "L06B02",
    "bg_l07_day": "L07B01",
    "bg_l08_dusk": "L08B02",
    "bg_l08_day": "L08B01",
    "bg_l09_dusk": "L09B01",
    "bg_l10_day": "L10B01",
    "bg_l11_night": "L11B01",
    "bg_l12_night": "L12B01",
    "bg_l13_night": "L13B02",
    "bg_l13_day_evidence": "L13B01",
    "bg_l14_day": "L14B01",
    "bg_l15_day": "L15B01",
    "bg_l16_dusk": "L16B01",
    "bg_l17_dusk": "L17B01",
    "bg_l18_dusk": "L18B01",
    "bg_l19_dusk": "L19B01"
  }
}