{
  "version": "p8_adaptation_planning_program_validation.v1",
  "created_at": "2026-05-30T23:47:04.415071Z",
  "stage": "P8_adaptation_planning_fresh_execution_contract",
  "status": "pass",
  "failure_count": 0,
  "failures": [],
  "checks": {
    "p8_gate_pass": true,
    "p8_validator_pass": true,
    "p8_required_files_exist": true,
    "p8_manifest_lists_required_files": true,
    "readiness_rows_complete": true,
    "adaptation_units_complete": true,
    "dependency_queue_complete": true,
    "single_future_executable": true,
    "adaptation_planning_executed": true,
    "groups_and_beats_present": true,
    "p5e_scene_count_6989": true,
    "p6_chronology_scene_count_6989": true,
    "p6_join_failure_zero": true,
    "no_downstream_or_writeback_side_effects": true,
    "next_entrypoint_unchanged": true
  },
  "summary": {
    "p5e_scene_count": 6989,
    "p6_chronology_scene_count": 6989,
    "p6_chronology_group_count": 5158,
    "p6_chronology_edge_count": 8951,
    "p6_chronology_conflict_count": 0,
    "p6_join_validation_failure_count": 0,
    "p7_planning_matrix_row_count": 8,
    "p7_dependency_queue_item_count": 8,
    "p8_readiness_matrix_row_count": 6989,
    "adaptation_unit_count": 6989,
    "retained_scene_group_count": 5002,
    "beat_count": 5002,
    "retain_scene_count": 5814,
    "compress_scene_count": 1140,
    "bridge_scene_count": 35,
    "drop_from_script_scene_count": 1518,
    "hard_merge_group_count": 1046,
    "dependency_queue_item_count": 7,
    "future_executable_after_p8_closeout_count": 1,
    "validator_failure_count": 0,
    "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
    "p7_deepseek_overall_verdict": "supports_p7_adaptation_screenplay_reentry_planning",
    "old_b7_reference_only": true,
    "old_b7_active_source_ref_count": 0,
    "adaptation_planning_execution_count": 1,
    "llm_enrichment_call_count": 0,
    "screenplay_execution_count": 0,
    "shooting_script_execution_count": 0,
    "shot_context_generation_count": 0,
    "prompt_packet_generation_count": 0,
    "adapter_render_count": 0,
    "provider_job_execution_count": 0,
    "media_generation_count": 0,
    "accepted_overlay_write_count": 0,
    "operator_overlay_write_count": 0,
    "canonical_kg_writeback_count": 0,
    "raw_kg_writeback_count": 0,
    "replay_action_count": 0,
    "outputs_index_mutation_count": 0,
    "outputs_run_deletion_count": 0,
    "outputs_run_cold_archive_count": 0,
    "runtime_branching_by_entity_name_rule_count": 0,
    "runtime_branching_by_work_title_rule_count": 0,
    "runtime_branching_by_block_title_rule_count": 0,
    "runtime_branching_by_sample_text_rule_count": 0
  },
  "source_artifacts": {
    "p8_gate": {
      "artifact": "P8_adaptation_gate.json",
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/P8_adaptation_gate.json",
      "exists": true,
      "size_bytes": 11157,
      "sha256": "9839073d2035a5146bf2fbf7b60c3c10da9d0d999bc93e08859527c6e51d94de"
    },
    "p8_validator": {
      "artifact": "P8_adaptation_validator_report.json",
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/P8_adaptation_validator_report.json",
      "exists": true,
      "size_bytes": 6262,
      "sha256": "6a9403ef42b5fb7a8bf0b36cbcb3dc4e1fd83162a63705c5ec5a555e567f031f"
    },
    "p8_manifest": {
      "artifact": "manifest.json",
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/manifest.json",
      "exists": true,
      "size_bytes": 5335,
      "sha256": "883262703f547b5d6338f39210311ef047ace9b3e7366a18f137de6503a64406"
    },
    "p8_readiness_matrix": {
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/P8_adaptation_scene_readiness_matrix.jsonl",
      "exists": true,
      "sha256": "917e596c9894112654dca20de24194e23acfc3e53ab791c6a206ccebbfc79be7",
      "size_bytes": 9554137
    },
    "p8_units": {
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/P8_adaptation_units.jsonl",
      "exists": true,
      "sha256": "51d549edfc74de50962e802d6f048094b11654b10c110c7257aba883bd07fe20",
      "size_bytes": 46735345
    },
    "p8_queue": {
      "path": "outputs/p8_adaptation_planning_fresh_execution_20260531_074542/P8_adaptation_dependency_queue.jsonl",
      "exists": true,
      "sha256": "4eee78ba3707aa6f0f0440a81bb599d2a9cf9306eb04f9b1778fa6b9271e8744",
      "size_bytes": 4737
    },
    "execution_state": {
      "artifact": "execution_state.json",
      "path": "execution_state.json",
      "exists": true,
      "size_bytes": 57461,
      "sha256": "ba66c3e9f7baa2b540c9da5854eeb91b76eb601ea30ada2e6d20aeccf2640396"
    }
  },
  "policy": {
    "stage": "P8_adaptation_planning_fresh_execution_contract",
    "fresh_run_required": true,
    "adaptation_planning_execution_allowed_in_p8": true,
    "deterministic_adaptation_builder": true,
    "llm_enrichment_allowed_in_p8": false,
    "deepseek_v4_pro_thinking_audit_required": true,
    "advisory_only": true,
    "screenplay_execution_allowed_in_p8": false,
    "shooting_script_execution_allowed_in_p8": false,
    "shot_context_execution_allowed_in_p8": false,
    "prompt_packet_execution_allowed_in_p8": false,
    "adapter_render_allowed_in_p8": false,
    "provider_job_execution_allowed": false,
    "media_generation_allowed": false,
    "accepted_overlay_writeback_allowed": false,
    "operator_overlay_writeback_allowed": false,
    "canonical_kg_writeback_allowed": false,
    "raw_kg_writeback_allowed": false,
    "replay_execution_allowed": false,
    "outputs_index_mutation_allowed": false,
    "outputs_run_deletion_allowed": false,
    "outputs_run_cold_archive_allowed": false,
    "old_b7_reference_only": true,
    "execution_state_next_entrypoint_unchanged": true,
    "runtime_branching_by_entity_name_allowed": false,
    "runtime_branching_by_work_title_allowed": false,
    "runtime_branching_by_block_title_allowed": false,
    "runtime_branching_by_sample_text_allowed": false
  }
}