{
  "version": "screenplay_quality_gate.v2",
  "generated_at": "2026-04-04T16:32:52.591565Z",
  "candidate_run_dir": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1",
  "gate_config": {
    "structure": {
      "require_artifacts": true,
      "require_non_empty_episodes": true,
      "require_non_empty_blocks": true,
      "max_missing_episode_source_refs": 0,
      "max_missing_block_source_refs": 0,
      "max_missing_block_group_refs": 0,
      "max_missing_block_beat_refs": 0,
      "max_missing_time_mode_count": 0,
      "max_empty_block_text_count": 0
    },
    "text_quality": {
      "short_block_char_threshold": 120,
      "max_short_block_ratio": 0.2,
      "summary_like_char_threshold": 180,
      "max_summary_like_ratio": 0.15,
      "max_dialogue_sparse_ratio": 0.35,
      "max_narration_overload_ratio": 0.35,
      "max_chronicle_tone_ratio": 0.0,
      "max_summary_tone_ratio": 0.0,
      "max_weak_performable_tension_ratio": 0.0,
      "max_delayed_scene_entry_ratio": 0.0,
      "max_event_bundle_summary_ratio": 0.0,
      "max_excerpt_summary_lead_ratio": 0.0,
      "max_fallback_placeholder_ratio": 0.0,
      "max_template_leak_ratio": 0.0,
      "max_title_card_meta_ratio": 0.0,
      "max_expository_voiceover_lead_ratio": 0.0
    },
    "dramart": {
      "min_upload_script_chars": 2000,
      "min_upload_script_chars_floor": 600,
      "min_upload_script_chars_per_episode": 850,
      "min_upload_script_chars_per_block": 450,
      "require_upload_ready_summary": true,
      "max_missing_character_bio_ratio": 0.05,
      "max_missing_visual_card_ratio": 0.05,
      "max_missing_voice_card_ratio": 0.05,
      "max_missing_asset_binding_ratio": 0.05,
      "max_missing_identity_summary_ratio": 0.05
    },
    "manual_review": {
      "warn_on_run_needs_rewrite": true,
      "warn_on_episode_needs_rewrite": true,
      "warn_on_block_needs_rewrite": true,
      "warn_on_continuity_issue": true,
      "warn_on_summary_tone": true,
      "warn_on_weak_dialogue": true,
      "warn_on_bad_episode_boundary": true
    }
  },
  "candidate": {
    "run_dir": "guanchang_acceptance_smoke_20260331_v1",
    "run_id": "20260331T063417375536Z",
    "created_at": "2026-03-31T06:34:17.376691Z",
    "out_dir": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1",
    "input_path": "/wwwb/aitools/writer/outputs/_derived_inputs/guanchangxianxingji_pg24138_ch1_4.txt",
    "input_sha256": "fcc140223a3ef71abcaae6d404923dba4ea1dff7bcdff9396d31c0a414d6bcb4",
    "provider": "deepseek",
    "video_provider": "doubao",
    "enable_video": false,
    "style_preset": "电影化叙事，细节清晰，角色形象一致，光照连续",
    "limits": {
      "max_chars": 2200,
      "limit_chunks": 12,
      "limit_scenes": null,
      "limit_shots": null
    },
    "status": "ok",
    "errors": 0,
    "counts": {
      "chunks": 12,
      "ontology_samples": 12,
      "ontology_candidate_entity_types": 5,
      "ontology_candidate_relation_types": 4,
      "ontology_entity_taxonomy": 5,
      "ontology_relation_taxonomy": 4,
      "observations": 154,
      "entities": 38,
      "relations": 49,
      "type_candidates": 30,
      "type_apply_type_count": 2,
      "type_apply_subtype_count": 1,
      "type_other_before": 5,
      "type_other_after": 3,
      "entity_registry_entities": 35,
      "entity_visual_cards": 35,
      "entity_voice_cards": 26,
      "entity_asset_bindings": 35,
      "scenes": 13,
      "chronology_scenes": 13,
      "chronology_groups": 13,
      "chronology_edges": 14,
      "chronology_conflicts": 0,
      "adaptation_scenes": 13,
      "adaptation_groups": 6,
      "adaptation_beats": 6,
      "adaptation_retain_scenes": 10,
      "adaptation_compress_scenes": 3,
      "adaptation_bridge_scenes": 0,
      "adaptation_drop_scenes": 7,
      "screenplay_episodes": 1,
      "screenplay_blocks": 6,
      "screenplay_source_scene_refs": 6,
      "dramart_package_episodes": 1,
      "dramart_package_character_bios": 15,
      "dramart_package_location_assets": 16,
      "dramart_package_prop_assets": 0,
      "dramart_package_checklist": 47,
      "dramart_package_upload_chars": 5783,
      "dramart_review_checklist_done": 0,
      "dramart_review_checklist_open": 0,
      "dramart_review_upload_parts_done": 0,
      "dramart_review_upload_parts_open": 0,
      "dramart_review_episode_upload_done": 0,
      "dramart_review_episode_upload_open": 0,
      "dramart_review_events": 0,
      "scripts": 0,
      "shots": 0,
      "style_fixed_positive_terms": 0,
      "style_fixed_negative_terms": 0,
      "style_provider_profiles": 0,
      "style_manual_override_slots": 0,
      "style_reference_ready_entities": 0,
      "storyboards": 0,
      "storyboard_ready_status": "",
      "storyboard_ready_pass_count": 0,
      "storyboard_ready_warn_count": 0,
      "storyboard_ready_fail_count": 0,
      "storyboard_ready_issue_count": 0,
      "prompt_guard_shots": 0,
      "prompt_guard_pass_shots": 0,
      "prompt_guard_warning_shots": 0,
      "prompt_guard_fail_shots": 0,
      "prompt_guard_issue_count": 0,
      "segments": 0,
      "captions": 0,
      "audio_tasks": 0,
      "audio_results": 0,
      "video_tasks": 0,
      "video_results": 0,
      "manual_video_attempts": 0,
      "manual_video_task_covered_count": 0,
      "manual_video_result_ready_count": 0,
      "manual_video_eval_count": 0,
      "manual_video_selected_count": 0
    },
    "paths": {
      "project": "project.json",
      "manifest": "run_manifest.json",
      "chunks": "01_chunks.json",
      "ontology_samples": "01b_ontology_samples.json",
      "ontology_candidates": "01c_ontology_candidates.json",
      "ontology_doc": "01d_ontology.json",
      "kg": "02_kg.json",
      "kg_store": "02_kg_store.json",
      "kg_observations": "02_kg_observations.jsonl",
      "kg_closure": "02a_kg_closure.json",
      "kg_store_closure": "02a_kg_store_closure.json",
      "kg_closure_decisions": "02a_kg_closure_decisions.json",
      "type_candidates": "02b_type_candidates.json",
      "type_consolidation": "02c_type_consolidation.json",
      "kg_consolidated": "02d_kg_consolidated.json",
      "kg_store_consolidated": "02d_kg_store_consolidated.json",
      "entity_registry": "02e_entity_registry.json",
      "entity_visual_cards": "02f_entity_visual_cards.json",
      "entity_voice_cards": "02g_entity_voice_cards.json",
      "entity_assets": "02h_entity_assets.json",
      "kg_lite": "02i_kg_lite.json",
      "kg_lite_store": "02i_kg_lite_store.json",
      "kg_lite_decisions": "02i_kg_lite_decisions.json",
      "kg_deep": "02j_kg_deep.json",
      "kg_deep_store": "02j_kg_deep_store.json",
      "kg_deep_decisions": "02j_kg_deep_decisions.json",
      "scenes": "03_scenes.json",
      "chronology": "03b_chronology.json",
      "adaptation": "03c_adaptation.json",
      "screenplay": "03d_screenplay.json",
      "dramart_package": "03e_dramart_package.json",
      "dramart_upload_script": "03e_dramart_upload_script.md",
      "dramart_review_state": "03f_dramart_review_state.json",
      "scripts": "04_scripts.json",
      "style_bible": "04b_style_bible.json",
      "storyboard": "05_storyboard.json",
      "prompt_guard": "05b_storyboard_guard.json",
      "dramart_storyboard": "05c_dramart_storyboard.json",
      "timeline": "06_timeline.json",
      "audio_tasks": "06b_audio_tasks.json",
      "audio_results": "06c_audio_results.json",
      "video_tasks": "07_video_tasks.json",
      "video_results": "07_video_results.json",
      "manual_video_runs": "07b_manual_video_runs.json",
      "manual_video_eval": "07c_manual_video_eval.json",
      "events": "logs/run_events.jsonl",
      "errors": "logs/run_errors.jsonl",
      "stage_timings": "logs/stage_timings.jsonl",
      "llm_calls": "logs/llm_calls.jsonl",
      "report_html": "logs/run_report.html",
      "report_md": "logs/run_report.md",
      "metrics": "logs/run_metrics.json"
    },
    "dramart_review_status": "",
    "dramart_review_updated_at": "",
    "updated_at": "2026-04-04T16:32:52.588465Z",
    "run_uid": "20260331T063417375536Z",
    "run_key": "20260331T063417375536Z",
    "trace_scope": "live",
    "is_current_live": true,
    "archive_rel": "",
    "web_paths": {
      "run_root": "",
      "logs_dir": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/",
      "llm_dir": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/llm/",
      "manifest": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/run_manifest.json",
      "project": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/project.json",
      "report_html": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/run_report.html",
      "report_md": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/run_report.md",
      "metrics": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/run_metrics.json",
      "events": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/run_events.jsonl",
      "errors": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/run_errors.jsonl",
      "stage_timings": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/stage_timings.jsonl",
      "llm_calls": "/novel2video/runs/guanchang_acceptance_smoke_20260331_v1/logs/llm_calls.jsonl"
    }
  },
  "artifacts": {
    "adaptation": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03c_adaptation.json",
    "screenplay": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03d_screenplay.json",
    "dramart_package": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03e_dramart_package.json",
    "dramart_storyboard": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/05c_dramart_storyboard.json",
    "screenplay_review_state": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03d_screenplay_review_state.json"
  },
  "metrics": {
    "adaptation_item_count": 13,
    "retained_scene_group_count": 6,
    "beat_count": 6,
    "drop_from_script_count": 7,
    "hard_merge_count": 10,
    "episode_count": 1,
    "block_count": 6,
    "episode_summary_count": 1,
    "source_scene_ref_count": 6,
    "source_group_ref_count": 6,
    "source_beat_ref_count": 6,
    "character_binding_count": 36,
    "location_binding_count": 17,
    "unique_character_entity_count": 15,
    "unique_location_entity_count": 6,
    "missing_episode_source_ref_count": 0,
    "missing_block_source_ref_count": 0,
    "missing_block_group_ref_count": 0,
    "missing_block_beat_ref_count": 0,
    "missing_time_mode_count": 0,
    "empty_block_text_count": 0,
    "avg_block_char_count": 287.167,
    "short_block_count": 0,
    "short_block_ratio": 0.0,
    "summary_like_block_count": 0,
    "summary_like_block_ratio": 0.0,
    "dialogue_block_count": 6,
    "dialogue_block_ratio": 1.0,
    "dialogue_eligible_block_count": 5,
    "dialogue_sparse_block_count": 0,
    "dialogue_sparse_block_ratio": 0.0,
    "dialogue_guard_block_count": 1,
    "dialogue_guard_miss_count": 0,
    "dialogue_guard_miss_ratio": 0.0,
    "continuity_guard_block_count": 5,
    "narration_overload_block_count": 0,
    "narration_overload_block_ratio": 0.0,
    "chronicle_tone_block_count": 1,
    "chronicle_tone_block_ratio": 0.166667,
    "summary_tone_block_count": 0,
    "summary_tone_block_ratio": 0.0,
    "weak_performable_tension_block_count": 1,
    "weak_performable_tension_block_ratio": 0.166667,
    "delayed_scene_entry_block_count": 1,
    "delayed_scene_entry_block_ratio": 0.166667,
    "event_bundle_summary_block_count": 2,
    "event_bundle_summary_block_ratio": 0.333333,
    "excerpt_summary_lead_block_count": 0,
    "excerpt_summary_lead_block_ratio": 0.0,
    "fallback_placeholder_block_count": 0,
    "fallback_placeholder_block_ratio": 0.0,
    "template_leak_block_count": 0,
    "template_leak_block_ratio": 0.0,
    "title_card_meta_block_count": 0,
    "title_card_meta_block_ratio": 0.0,
    "expository_voiceover_lead_block_count": 0,
    "expository_voiceover_lead_block_ratio": 0.0,
    "character_bio_count": 15,
    "missing_character_bio_count": 0,
    "missing_character_bio_ratio": 0.0,
    "episode_summary_missing_character_bio_count": 0,
    "upload_script_char_count": 5783,
    "package_contract_present": false,
    "content_policy_version": "",
    "content_policy_roles_valid": 0,
    "content_policy_source_truth_valid": 0,
    "episode_summary_source_ref_missing_count": 1,
    "episode_summary_source_ref_invalid_count": 0,
    "upload_bundle_source_ref_present": 0,
    "upload_bundle_source_ref_valid": 0,
    "upload_episode_source_ref_missing_count": 1,
    "upload_episode_source_ref_invalid_count": 0,
    "upload_part_count": 1,
    "upload_part_source_ref_missing_count": 1,
    "upload_part_source_ref_invalid_count": 0,
    "asset_contract_item_count": 46,
    "asset_missing_init_action_count": 46,
    "asset_invalid_init_action_count": 0,
    "asset_missing_risk_summary_count": 46,
    "asset_missing_source_ref_count": 46,
    "asset_invalid_source_ref_count": 0,
    "asset_review_required_count": 0,
    "asset_review_required_ratio": 0.0,
    "package_risk_summary_present": 0,
    "package_risk_item_count": 0,
    "package_risk_flag_count": 0,
    "asset_ready_summary_present": true,
    "asset_ready_summary_inferred": 1,
    "asset_ready_status": "pass",
    "asset_ready_issue_count": 0,
    "asset_ready_fail_count": 0,
    "asset_ready_warn_count": 0,
    "upload_ready_summary_present": true,
    "upload_ready_summary_inferred": 1,
    "upload_ready_status": "pass",
    "upload_ready_issue_count": 1,
    "upload_ready_fail_count": 0,
    "upload_ready_warn_count": 0,
    "upload_ready_info_count": 1,
    "upload_has_global_preface": 1,
    "upload_time_layer_annotation_recommended": 1,
    "storyboard_ready_summary_present": false,
    "storyboard_ready_status": "unknown",
    "storyboard_ready_issue_count": 0,
    "storyboard_ready_fail_count": 0,
    "storyboard_ready_warn_count": 0,
    "storyboard_ready_shot_count": 0,
    "storyboard_ready_episode_mapped_count": 0,
    "storyboard_ready_block_mapped_count": 0,
    "asset_suggestion_character_count": 15,
    "asset_suggestion_location_count": 16,
    "asset_suggestion_prop_count": 0,
    "asset_suggestion_voice_count": 15,
    "missing_visual_card_count": 0,
    "missing_visual_card_ratio": 0.0,
    "missing_voice_card_count": 0,
    "missing_voice_card_ratio": 0.0,
    "missing_asset_binding_count": 0,
    "missing_asset_binding_ratio": 0.0,
    "missing_identity_summary_count": 0,
    "missing_identity_summary_ratio": 0.0,
    "expected_min_upload_script_chars": 2000,
    "time_mode_distribution": {
      "unknown": 1,
      "mainline": 4,
      "flashback": 2
    },
    "manual_review_present": true,
    "manual_review_event_count": 1,
    "manual_review_run_status": "accepted",
    "manual_review_episode_total": 1,
    "manual_review_episode_unreviewed_count": 1,
    "manual_review_episode_accepted_count": 0,
    "manual_review_episode_needs_rewrite_count": 0,
    "manual_review_episode_open_count": 1,
    "manual_review_block_total": 6,
    "manual_review_block_unreviewed_count": 6,
    "manual_review_block_accepted_count": 0,
    "manual_review_block_needs_rewrite_count": 0,
    "manual_review_block_open_count": 6,
    "manual_review_continuity_issue_count": 0,
    "manual_review_summary_tone_count": 0,
    "manual_review_weak_dialogue_count": 0,
    "manual_review_bad_episode_boundary_count": 0
  },
  "checks": [
    {
      "id": "artifacts.adaptation",
      "stage": "screenplay_gate",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "adaptation artifact is present",
      "actual": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03c_adaptation.json",
      "expected": "existing file path"
    },
    {
      "id": "artifacts.screenplay",
      "stage": "screenplay_gate",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "screenplay artifact is present",
      "actual": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03d_screenplay.json",
      "expected": "existing file path"
    },
    {
      "id": "artifacts.dramart_package",
      "stage": "screenplay_gate",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "dramart_package artifact is present",
      "actual": "/wwwb/aitools/writer/outputs/guanchang_acceptance_smoke_20260331_v1/03e_dramart_package.json",
      "expected": "existing file path"
    },
    {
      "id": "structure.adaptation_items",
      "stage": "adaptation",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "adaptation items are present",
      "actual": 13,
      "expected": ">= 1"
    },
    {
      "id": "structure.episodes",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "screenplay episodes are present",
      "actual": 1,
      "expected": ">= 1"
    },
    {
      "id": "structure.blocks",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "screenplay blocks are present",
      "actual": 6,
      "expected": ">= 1"
    },
    {
      "id": "structure.character_bios",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart character bios are present",
      "actual": 15,
      "expected": ">= 1"
    },
    {
      "id": "structure.episode_summaries",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart episode summaries are present",
      "actual": 1,
      "expected": ">= 1"
    },
    {
      "id": "structure.upload_bundle",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload bundle is present",
      "actual": true,
      "expected": true
    },
    {
      "id": "structure.upload_ready_summary",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload-ready summary is present",
      "actual": true,
      "expected": true
    },
    {
      "id": "structure.asset_ready_summary",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart asset-ready summary is present",
      "actual": true,
      "expected": true
    },
    {
      "id": "contract.content_policy_present",
      "stage": "dramart_package",
      "status": "warn",
      "severity": "warn",
      "failure_type": "legacy_pressure_only",
      "track_view": "baseline",
      "message": "dramart package content-policy contract is missing; this run is treated as legacy pressure only",
      "actual": false,
      "expected": true
    },
    {
      "id": "structure.episode_sources",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "missing episode source refs stay within threshold",
      "actual": 0,
      "expected": {
        "max_missing_episode_source_ref_count": 0
      }
    },
    {
      "id": "structure.block_sources",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "missing block source refs stay within threshold",
      "actual": 0,
      "expected": {
        "max_missing_block_source_ref_count": 0
      }
    },
    {
      "id": "structure.block_group_sources",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "missing block group refs stay within threshold",
      "actual": 0,
      "expected": {
        "max_missing_block_group_ref_count": 0
      }
    },
    {
      "id": "structure.block_beat_sources",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "missing block beat refs stay within threshold",
      "actual": 0,
      "expected": {
        "max_missing_block_beat_ref_count": 0
      }
    },
    {
      "id": "structure.time_modes",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "missing time modes stay within threshold",
      "actual": 0,
      "expected": {
        "max_missing_time_mode_count": 0
      }
    },
    {
      "id": "structure.empty_block_text",
      "stage": "screenplay",
      "status": "pass",
      "severity": "error",
      "failure_type": "structure_regression",
      "track_view": "delivery",
      "message": "empty block text count stays within threshold",
      "actual": 0,
      "expected": {
        "max_empty_block_text_count": 0
      }
    },
    {
      "id": "text_quality.short_block_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "short block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_short_block_ratio": 0.2
      }
    },
    {
      "id": "text_quality.summary_like_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "summary-like block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_summary_like_block_ratio": 0.15
      }
    },
    {
      "id": "text_quality.dialogue_sparse_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "dialogue-sparse block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_dialogue_sparse_block_ratio": 0.35
      }
    },
    {
      "id": "text_quality.narration_overload_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "narration-overload block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_narration_overload_block_ratio": 0.35
      }
    },
    {
      "id": "text_quality.chronicle_tone_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "chronicle-tone block ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_chronicle_tone_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.summary_tone_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "summary-tone block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_summary_tone_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.weak_performable_tension_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "weak performable tension ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_weak_performable_tension_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.delayed_scene_entry_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "delayed scene entry ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_delayed_scene_entry_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.event_bundle_summary_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "event bundle summary ratio exceeds threshold",
      "actual": 0.333333,
      "expected": {
        "max_event_bundle_summary_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.excerpt_summary_lead_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "excerpt-summary lead ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_excerpt_summary_lead_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.fallback_placeholder_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "fallback-placeholder block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_fallback_placeholder_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.template_leak_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "template-leak block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_template_leak_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.title_card_meta_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "title-card meta block ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_title_card_meta_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.expository_voiceover_lead_ratio",
      "stage": "screenplay",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "expository voiceover lead ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_expository_voiceover_lead_block_ratio": 0.0
      }
    },
    {
      "id": "dramart.upload_script_chars",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload script length meets minimum threshold",
      "actual": 5783,
      "expected": {
        "min_upload_script_chars": 2000
      }
    },
    {
      "id": "dramart.upload_ready_status",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "error",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload-ready status is pass",
      "actual": "pass",
      "expected": {
        "status": "pass"
      }
    },
    {
      "id": "dramart.upload_ready_fail_count",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "error",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload-ready fail count stays at zero",
      "actual": 0,
      "expected": {
        "max_upload_ready_fail_count": 0
      }
    },
    {
      "id": "dramart.upload_ready_warn_count",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart upload-ready warn count stays at zero",
      "actual": 0,
      "expected": {
        "max_upload_ready_warn_count": 0
      }
    },
    {
      "id": "dramart.asset_ready_status",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "error",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart asset-ready status is pass",
      "actual": "pass",
      "expected": {
        "status": "pass"
      }
    },
    {
      "id": "dramart.asset_ready_fail_count",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "error",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart asset-ready fail count stays at zero",
      "actual": 0,
      "expected": {
        "max_asset_ready_fail_count": 0
      }
    },
    {
      "id": "dramart.asset_ready_warn_count",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "dramart asset-ready warn count stays at zero",
      "actual": 0,
      "expected": {
        "max_asset_ready_warn_count": 0
      }
    },
    {
      "id": "dramart.missing_character_bio_ratio",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "missing character bio ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_missing_character_bio_ratio": 0.05
      }
    },
    {
      "id": "dramart.missing_visual_card_ratio",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "missing visual card ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_missing_visual_card_ratio": 0.05
      }
    },
    {
      "id": "dramart.missing_voice_card_ratio",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "missing voice card ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_missing_voice_card_ratio": 0.05
      }
    },
    {
      "id": "dramart.missing_asset_binding_ratio",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "missing asset binding ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_missing_asset_binding_ratio": 0.05
      }
    },
    {
      "id": "dramart.missing_identity_summary_ratio",
      "stage": "dramart_package",
      "status": "pass",
      "severity": "warn",
      "failure_type": "platform_readiness_regression",
      "track_view": "delivery",
      "message": "missing identity summary ratio stays within threshold",
      "actual": 0.0,
      "expected": {
        "max_missing_identity_summary_ratio": 0.05
      }
    },
    {
      "id": "manual_review.run_status",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual run review does not request rewrite",
      "actual": "accepted",
      "expected": {
        "not": "needs_rewrite"
      }
    },
    {
      "id": "manual_review.episode_needs_rewrite_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review episode rewrite count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_episode_needs_rewrite_count": 0
      }
    },
    {
      "id": "manual_review.block_needs_rewrite_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review block rewrite count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_block_needs_rewrite_count": 0
      }
    },
    {
      "id": "manual_review.issue.continuity_issue_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review continuity issue count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_continuity_issue_count": 0
      }
    },
    {
      "id": "manual_review.issue.summary_tone_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review summary-tone count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_summary_tone_count": 0
      }
    },
    {
      "id": "manual_review.issue.weak_dialogue_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review weak dialogue count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_weak_dialogue_count": 0
      }
    },
    {
      "id": "manual_review.issue.bad_episode_boundary_count",
      "stage": "screenplay_review",
      "status": "pass",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "manual review bad episode boundary count stays at zero",
      "actual": 0,
      "expected": {
        "max_manual_review_bad_episode_boundary_count": 0
      }
    }
  ],
  "summary": {
    "check_count": 51,
    "failure_count": 0,
    "warning_count": 5,
    "delivery_failure_count": 0,
    "delivery_warning_count": 4,
    "baseline_failure_count": 0,
    "baseline_warning_count": 1,
    "failure_type_counts": {
      "delivery": {
        "text_quality_regression": {
          "fail": 0,
          "warn": 4,
          "issue_count": 4
        }
      },
      "baseline": {
        "legacy_pressure_only": {
          "fail": 0,
          "warn": 1,
          "issue_count": 1
        }
      }
    }
  },
  "top_issues": [
    {
      "id": "text_quality.chronicle_tone_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "chronicle-tone block ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_chronicle_tone_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.delayed_scene_entry_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "delayed scene entry ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_delayed_scene_entry_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.event_bundle_summary_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "event bundle summary ratio exceeds threshold",
      "actual": 0.333333,
      "expected": {
        "max_event_bundle_summary_block_ratio": 0.0
      }
    },
    {
      "id": "text_quality.weak_performable_tension_ratio",
      "stage": "screenplay",
      "status": "warn",
      "severity": "warn",
      "failure_type": "text_quality_regression",
      "track_view": "delivery",
      "message": "weak performable tension ratio exceeds threshold",
      "actual": 0.166667,
      "expected": {
        "max_weak_performable_tension_block_ratio": 0.0
      }
    },
    {
      "id": "contract.content_policy_present",
      "stage": "dramart_package",
      "status": "warn",
      "severity": "warn",
      "failure_type": "legacy_pressure_only",
      "track_view": "baseline",
      "message": "dramart package content-policy contract is missing; this run is treated as legacy pressure only",
      "actual": false,
      "expected": true
    }
  ],
  "recommendations": [
    "压缩 block 不应继续写成章回/编年式串讲；要把背景和推进落回当场反应、群体异动或冲突节点。",
    "不要先用过长导语交代时间、站位和关系，再把真正场面推到下一句；应把时间地点压成短锚点，直接从发问、动作或反应切入。",
    "不要把前往、拜见、送礼、找人、等待等多个小事件按流程整段讲完；应挑出最能体现门道、压迫或转机的几个现场瞬间。",
    "不要用“尴尬/敬畏/卑微/气氛凝重”直接给压力贴标签；应把张力落成卡壳、停顿、笑声收住、旁人不敢接话或被迫附和等可见反应。",
    "冻结 dramart_package 的 content_policy 合同，保证 package 只做导出、资产建议和风险揭示，不回写正文修复职责。"
  ],
  "status": "warn",
  "broad_status": "warn",
  "failure_buckets": {
    "delivery": {
      "text_quality_regression": {
        "fail": 0,
        "warn": 4,
        "issue_count": 4
      }
    },
    "baseline": {
      "legacy_pressure_only": {
        "fail": 0,
        "warn": 1,
        "issue_count": 1
      }
    }
  }
}