{
  "schema_version": "1.0.0",
  "protocol_id": "cinematic_panel_design_v1",
  "mode": "protocol_derivation",
  "input": {
    "input_type": "text",
    "source_payload": "USER_INPUT_PLACEHOLDER",
    "extracted_semantics": [
      "scene",
      "characters",
      "actions",
      "style",
      "lighting",
      "camera"
    ]
  },
  "context": {
    "domain": [
      "comics",
      "composition",
      "camera",
      "lighting",
      "visual_action"
    ],
    "system_type": "mixed",
    "time_horizon": "unspecified",
    "risk_level": "low"
  },
  "protocol": {
    "items": [
      {
        "id": "cinematic_panel_design_v1",
        "primary_goal": "Produce artist-ready visual instructions using Cinematic Panel Design.",
        "goal_refinement": "Translate user ideas into concrete, drawable panels with explicit camera, composition, action, and style constraints for Cinematic Panel Design.",
        "tasks_and_steps": {
          "steps": [
            {
              "action": "Extract drawable entities: characters, props, environment. List only visible elements.",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "count",
                "unit": "elements",
                "collection_method": "checklist"
              }
            },
            {
              "action": "Define camera angle + shot (close-up/medium/wide, bird’s eye, low angle).",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "other",
                "unit": "preset",
                "collection_method": "checklist"
              }
            },
            {
              "action": "Block planes: foreground / midground / background. Place main subject and focal point.",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "other",
                "unit": "layout",
                "collection_method": "checklist"
              }
            },
            {
              "action": "Specify pose + physical action for each subject; forbid abstract emotions.",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "other",
                "unit": "constraints_met",
                "collection_method": "checklist"
              }
            },
            {
              "action": "Bind one style profile + palette + lighting preset (or default noir_graphic_novel).",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "other",
                "unit": "style_id",
                "collection_method": "checklist"
              }
            },
            {
              "action": "Emit final instruction starting with 'Нарисувай:' and end with technical style+lighting parameters.",
              "frequency": "once",
              "owner": "self",
              "measurement": {
                "type": "boolean",
                "unit": "starts_with_Narisuвай",
                "collection_method": "checklist"
              }
            }
          ]
        },
        "expected_results_and_obstacles": {
          "expected_results": [
            "Clear, drawable instructions per panel",
            "Consistent style, lighting, and composition rules",
            "Measurable outputs (panel count, elements, placement)"
          ],
          "possible_obstacles": [
            "User input too abstract or emotional without physical cues",
            "Too many actions in one scene without sequencing",
            "Style unspecified or inconsistent across panels"
          ]
        },
        "success_criteria": {
          "criteria": [
            {
              "metric": "Panels with explicit camera+planes+pose",
              "target": "≥ 1 per user request",
              "timeframe": "7_days",
              "measurement": {
                "type": "count",
                "unit": "panels",
                "collection_method": "checklist"
              }
            },
            {
              "metric": "Abstract terms in output",
              "target": "0",
              "timeframe": "7_days",
              "measurement": {
                "type": "count",
                "unit": "terms",
                "collection_method": "checklist"
              }
            },
            {
              "metric": "Outputs that start with 'Нарисувай:'",
              "target": "100%",
              "timeframe": "14_days",
              "measurement": {
                "type": "percentage",
                "unit": "%",
                "collection_method": "checklist"
              }
            }
          ]
        }
      }
    ]
  },
  "quality_control": {
    "anti_vagueness_rule": true,
    "measurement_rule": true,
    "diversity_rule": true,
    "ethical_constraints": {
      "no_diagnosis": true,
      "no_blame_language": true,
      "safety_override": "Describe only physically visible elements. Do not request or store personal/sensitive data. Avoid medical/psychological diagnosis. If content is external-facing or high-stakes, recommend human review."
    }
  },
  "metadata": {
    "title": "Cinematic Panel Design",
    "generated_utc": "2026-02-12T08:40:57Z",
    "notes": "Outputs must begin with 'Нарисувай:'. Use telegraphic Bulgarian. Always specify: camera angle, shot type, foreground/mid/background, pose+action, focal point, style, palette, lighting."
  }
}