{
  "version": "screenplay_writing_strategy.v1",
  "generated_at": "2026-04-11T12:57:46.788979Z",
  "meta": {
    "candidate_run_dir": "/wwwb/aitools/writer/outputs/entity_registry_dramart_smoke_20260329_v1",
    "screenplay_path": "/wwwb/aitools/writer/outputs/entity_registry_dramart_smoke_20260329_v1/03d_screenplay.json",
    "consultant_path": "outputs/script_consultant/script_consultant_current.json",
    "screenplay_contract_version": ""
  },
  "strategy_contract": [
    {
      "rule_id": "retain_subject_anchor",
      "layer": "screenplay_text",
      "severity": "fail",
      "description": "当 block 已绑定角色时，正文应显式保留至少一个角色主体锚点，避免主体在前链即被抹平。"
    },
    {
      "rule_id": "retain_action_anchor",
      "layer": "screenplay_text",
      "severity": "warn",
      "description": "正文应包含可表演的动作锚点，而不是只有抽象结果或背景说明。"
    },
    {
      "rule_id": "retain_location_anchor",
      "layer": "screenplay_text_or_stage_direction",
      "severity": "warn",
      "description": "当 block 已绑定地点时，正文或短舞台提示应保留地点锚点，支撑下游空间理解。"
    },
    {
      "rule_id": "dialogue_attribution_ready",
      "layer": "screenplay_text",
      "severity": "fail",
      "description": "当正文写入直接引语时，必须保留可识别的说话人归属，避免对白内容可读但说话者不清。"
    },
    {
      "rule_id": "avoid_abstract_summary_prose",
      "layer": "precheck",
      "severity": "warn",
      "description": "避免把正文写成编年摘要、流程梗概、模板占位句或抽象压力标签，降低后续 prompt retention 修补压力。"
    }
  ],
  "consultant_focus": {
    "used": true,
    "source_path": "outputs/script_consultant/script_consultant_current.json",
    "confidence": "high",
    "writing_direction": [
      "基于已验证的高收益repair动作反向定义剧本写作前置规范，从源头减少后续repair成本",
      "推行Dramart结构化要求与Seedance 2.0镜头生成要求双对齐的写作标准",
      "优先落地可被prompt_guard自动校验的通用写作规则，支撑批量生产",
      "建立剧本片段与后续镜头生成参数的标准化映射规则，降低中间转换损耗"
    ],
    "writing_method": [
      "每个剧本段落前置标注标准化场景属性：时间、空间、氛围、核心角色站位",
      "动作描述采用「角色+具体动作+环境交互」三段式结构，无模糊指代",
      "对话内容单独标注说话人、标准化情绪标签、伴随动作三类辅助信息",
      "每个段落结尾标注可被机器识别的镜头类型标签（全景/中景/特写等）"
    ],
    "next_actions": [
      "基于现有高收益repair动作输出通用版剧本写作规范手册",
      "开发剧本写作前置自动校验工具，对接prompt_guard实现合规性预检查",
      "完成通用写作规范的小批量测试验证，统计repair率下降幅度",
      "将验证有效的写作规范回灌至前链剧本生成的prompt模板中"
    ]
  },
  "summary": {
    "status": "pass",
    "block_count": 3,
    "pass_block_count": 3,
    "warn_block_count": 0,
    "fail_block_count": 0,
    "pass_ratio": 1.0,
    "warn_ratio": 0.0,
    "fail_ratio": 0.0,
    "subject_anchor_gap_count": 0,
    "action_anchor_gap_count": 0,
    "location_anchor_gap_count": 0,
    "dialogue_attribution_gap_count": 0,
    "abstract_prose_risk_count": 0,
    "consultant_used": true,
    "consultant_confidence": "high",
    "next_fix_focus": [],
    "status_reason": "anchor_contract_basically_healthy"
  },
  "checks": [
    {
      "episode_id": "EP0001",
      "block_id": "EP0001B001",
      "status": "pass",
      "source_scene_ids": [
        "S0001"
      ],
      "character_names": [],
      "location_names": [
        "墨竹山"
      ],
      "subject_anchor_ok": true,
      "action_anchor_ok": true,
      "location_anchor_ok": true,
      "dialogue_expected": false,
      "dialogue_needs_attribution": false,
      "dialogue_attribution_ok": true,
      "abstract_risk_codes": [],
      "fail_reasons": [],
      "warn_reasons": [],
      "screenplay_preview": "【墨竹山 外 日】\n△ 远景。两山十四峰险峻连绵，墨色的竹林如海，在风中发出呜咽般的声响。瘴气如纱，在林间缓缓流动。\n△ 法坛之上，是一尊八臂六首的魔尊雕像，面目狰狞，俯瞰着这片蛮荒之地。\n用最精炼、最具冲击力的视听语言，在开场30-60秒内。"
    },
    {
      "episode_id": "EP0001",
      "block_id": "EP0001B002",
      "status": "pass",
      "source_scene_ids": [
        "S0002",
        "S0003"
      ],
      "character_names": [
        "老道",
        "修士",
        "童子",
        "李凡"
      ],
      "location_names": [
        "瑶光洞",
        "墨竹山法坛"
      ],
      "subject_anchor_ok": true,
      "action_anchor_ok": true,
      "location_anchor_ok": true,
      "dialogue_expected": false,
      "dialogue_needs_attribution": false,
      "dialogue_attribution_ok": true,
      "abstract_risk_codes": [],
      "fail_reasons": [],
      "warn_reasons": [],
      "screenplay_preview": "【瑶光洞前 外 日】\n△ 三名身着道袍的修士，领着七八个面色惶恐的童子走来。为首修士向等候在此的一位邋遢老道行礼。\n修士甲：人带来了。都是按规矩挑的，有灵根的，有道心的，还有……疑似身怀魔胎的。\n△ 老道眯着眼，扫视众童子，目光在李凡（混在童子中，穿着不合时宜的现代睡衣）身上略微停顿。\n修士乙（低声补充）：玉蟾婆那边吃紧，这些是好不容易“剩”下的。\n△ 老道点点头，没多问。他用脚在地上画了个大圈。\n老道（沙哑）：入夜后，就待在这圈里。听"
    },
    {
      "episode_id": "EP0001",
      "block_id": "EP0001B003",
      "status": "pass",
      "source_scene_ids": [
        "S0004"
      ],
      "character_names": [
        "李凡",
        "老道"
      ],
      "location_names": [],
      "subject_anchor_ok": true,
      "action_anchor_ok": true,
      "location_anchor_ok": true,
      "dialogue_expected": false,
      "dialogue_needs_attribution": false,
      "dialogue_attribution_ok": true,
      "abstract_risk_codes": [],
      "fail_reasons": [],
      "warn_reasons": [],
      "screenplay_preview": "【瑶光洞前 外 夜】\n△ 李凡闭目凝神。忽然，他“眼前”浮现出一片半透明的蓝色光幕。\n△ 光幕上浮现文字：【心理健康维护系统启动。欢迎您，用户李凡。检测到您正处于高压环境，建议立即选择一项先天气运，以维持心理稳定。】\n△ 下面列出几个选项：【镇静一点】、【乐观些许】、【麻木三分】等。\n李凡（内心咆哮）：心理健康维护系统？！我要的是修仙功法！是逆天法宝！你给我来个心理辅导？！\n△ 他忍不住低声骂了一句。\n△ 不远处打坐的老道，忽然睁开眼，"
    }
  ]
}